:root {
  --navy-950: #04060d;
  --navy-900: #070b18;
  --navy-800: #0b1330;
  --navy-700: #101c44;
  --gold: #d4af37;
  --gold-light: #f1d98b;
  --gold-dark: #9c7a1e;
  --text-primary: #f3f1e7;
  --text-secondary: #b9c0d4;
  --border-gold: rgba(212, 175, 55, 0.35);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}

body {
  font-family: 'Inter', Arial, sans-serif;
  margin: 0;
  padding: 0;
  color: var(--text-secondary);
  background:
    radial-gradient(circle at 15% -10%, #14204a 0%, transparent 45%),
    radial-gradient(circle at 90% 10%, #1a1030 0%, transparent 40%),
    linear-gradient(160deg, var(--navy-950) 0%, var(--navy-900) 45%, var(--navy-800) 100%);
  background-attachment: fixed;
}

h1, h2, h3 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 700;
  color: var(--gold-light);
  letter-spacing: 0.02em;
}

::selection {
  background: var(--gold);
  color: #1a1204;
}

/* Reveal-on-scroll animation */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-18px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes shimmer {
  to { background-position: 200% center; }
}

header {
  background:
    linear-gradient(135deg, rgba(4, 6, 13, 0.94), rgba(11, 19, 48, 0.88)),
    url('assets/header-pozadina.jpg') center/cover no-repeat;
  color: white;
  padding: 64px 40px 56px;
  text-align: center;
  border-bottom: 1px solid var(--border-gold);
}
header h1 {
  font-size: 2.6rem;
  margin: 0 0 12px;
  background: linear-gradient(90deg, var(--gold-dark), var(--gold-light), var(--gold), var(--gold-dark));
  background-size: 300% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shimmer 10s linear infinite, fadeInDown 0.9s ease both;
}
header p {
  color: var(--text-secondary);
  font-size: 1.05rem;
  animation: fadeInDown 0.9s ease 0.15s both;
}

main {
  width: 100%;
  background: transparent;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

section {
  background: linear-gradient(160deg, rgba(16, 24, 52, 0.75), rgba(7, 11, 24, 0.85));
  border: 1px solid var(--border-gold);
  border-radius: 14px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(6px);
  padding: 32px;
  margin-top: 56px;
  margin-bottom: 56px;
}

section h2 {
  display: inline-block;
  position: relative;
  margin-bottom: 24px;
}
section h2::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -10px;
  width: 48px;
  height: 3px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
}

.about h2 {
  text-align: center;
  margin-bottom: 16px;
}
.about p {
  color: var(--text-secondary);
}

/* Homepage "about" video section */
.about-video-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}
.about-video-text p {
  color: var(--text-secondary);
}
.about-video-media video {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
  border: 2px solid var(--border-gold);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  background: #070b18;
}
@media (max-width: 640px) {
  .about-video-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

.tagline-banner {
  text-align: center;
}
.tagline-banner h1 {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  background: linear-gradient(90deg, var(--gold-dark), var(--gold-light));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin: 6px 0;
}
.tagline-banner p {
  color: var(--text-secondary);
  margin-top: 12px;
  font-size: 1.05rem;
}

/* Categories section is a plain wrapper — only the individual cards are boxed */
#categories {
  background: none;
  border: none;
  box-shadow: none;
  backdrop-filter: none;
  padding: 0;
}

/* Category grid (homepage) */
.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 40px;
}
.category-card {
  background: linear-gradient(160deg, #101c44, #070b18);
  color: var(--text-primary);
  border: 1px solid var(--border-gold);
  border-radius: 12px;
  padding: 32px 24px;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 14px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.category-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -150%;
  width: 60%;
  height: 100%;
  background: linear-gradient(120deg, transparent, rgba(212, 175, 55, 0.22), transparent);
  transform: skewX(-20deg);
  transition: left 0.6s ease;
}
.category-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 14px 34px rgba(212, 175, 55, 0.25);
  border-color: var(--gold);
}
.category-card:hover::before {
  left: 150%;
}
.category-grid .category-card:nth-child(1) { transition-delay: 0s; }
.category-grid .category-card:nth-child(2) { transition-delay: 0.08s; }
.category-grid .category-card:nth-child(3) { transition-delay: 0.16s; }
.category-grid .category-card:nth-child(4) { transition-delay: 0.24s; }
.category-grid .category-card:nth-child(5) { transition-delay: 0.32s; }
.category-grid .category-card:nth-child(6) { transition-delay: 0.4s; }

.category-icon {
  width: 48px;
  height: 48px;
  color: var(--gold-light);
  flex-shrink: 0;
  filter: drop-shadow(0 0 6px rgba(212, 175, 55, 0.4));
}
.category-title {
  font-size: 1.1rem;
  font-weight: 800;
  margin: 0;
  color: var(--text-primary);
}
.category-blurb {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin: 0;
}

/* Category detail pages */
.category-hero {
  text-align: center;
}
.category-hero p {
  color: var(--text-secondary);
  max-width: 640px;
  margin: 12px auto 0;
}

.service-list {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  max-width: 600px;
  display: grid;
  gap: 12px;
}
.service-list li {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-gold);
  border-radius: 8px;
  padding: 14px 18px;
  font-weight: 600;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 10px;
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.service-list li:hover {
  transform: translateX(4px);
  border-color: var(--gold);
}
.service-list li::before {
  content: "\2713";
  color: var(--gold);
  font-weight: 700;
}

.gallery {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
}
.gallery img {
  width: 260px;
  height: 260px;
  object-fit: cover;
  border-radius: 8px;
  border: 2px solid var(--border-gold);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
}
.gallery img:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 30px rgba(212, 175, 55, 0.3);
  border-color: var(--gold);
}

.gallery-placeholder {
  width: 260px;
  height: 260px;
  border: 2px dashed var(--border-gold);
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--text-secondary);
  font-size: 0.85rem;
  text-align: center;
  padding: 16px;
  transition: border-color 0.3s ease, color 0.3s ease;
}
.gallery-placeholder svg {
  width: 36px;
  height: 36px;
  opacity: 0.6;
}
.gallery-placeholder:hover {
  border-color: var(--gold);
  color: var(--gold-light);
}

/* Inquiry form */
.inquiry-form {
  max-width: 480px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.inquiry-form label {
  font-weight: 600;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.95rem;
  color: var(--text-primary);
}
.inquiry-form input,
.inquiry-form textarea {
  padding: 10px 12px;
  border: 1px solid var(--border-gold);
  border-radius: 6px;
  font-family: inherit;
  font-size: 1rem;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-primary);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.inquiry-form input::placeholder,
.inquiry-form textarea::placeholder {
  color: rgba(233, 233, 233, 0.35);
}
.inquiry-form input:focus,
.inquiry-form textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.15);
}
.inquiry-form textarea {
  min-height: 120px;
  resize: vertical;
}
.inquiry-form button {
  align-self: center;
  background: linear-gradient(135deg, var(--gold-light), var(--gold) 60%, var(--gold-dark));
  color: #1a1204;
  border: none;
  padding: 12px 28px;
  border-radius: 6px;
  font-weight: 800;
  letter-spacing: 0.02em;
  font-size: 1rem;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(212, 175, 55, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.inquiry-form button:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 22px rgba(212, 175, 55, 0.5);
}
.form-note {
  font-size: 0.8rem;
  color: var(--text-secondary);
  opacity: 0.7;
  text-align: center;
  max-width: 480px;
  margin: 0 auto;
}

/* Contact details */
.contact-details {
  text-align: center;
  margin-bottom: 20px;
}
.contact-details p {
  margin: 4px 0;
  color: var(--text-primary);
}
.contact-details strong {
  color: var(--gold-light);
}

footer {
  text-align: center;
  padding: 24px 0;
  background: linear-gradient(180deg, var(--navy-900), var(--navy-950));
  color: var(--text-secondary);
  border-top: 1px solid var(--border-gold);
}

.instagram-link {
  display: block;
  width: max-content;
  margin: 0 auto 20px;
  background: linear-gradient(135deg, var(--gold-light), var(--gold) 60%, var(--gold-dark));
  color: #1a1204;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: 0.02em;
  padding: 10px 20px;
  border-radius: 6px;
  box-shadow: 0 4px 14px rgba(212, 175, 55, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.instagram-link:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 22px rgba(212, 175, 55, 0.5);
}

.contact-info {
  list-style: none;
  padding: 0;
  margin: 0;
}

.navbar {
  position: sticky;
  top: 0;
  z-index: 9999;
  background: rgba(7, 11, 24, 0.75);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-gold);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  width: 100%;
}
.navbar ul {
  display: flex;
  justify-content: center;
  align-items: center;
  list-style: none;
  padding: 16px 20px;
  margin: 0;
  gap: 30px;
  width: 100%;
  max-width: 1100px;
}
.navbar a {
  font-size: 1.05rem;
  text-decoration: none;
  color: var(--text-primary);
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 8px 4px;
  display: inline-block;
  position: relative;
  transition: color 0.25s ease;
}
.navbar a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.3s ease;
}
.navbar a:hover {
  color: var(--gold-light);
}
.navbar a:hover::after {
  transform: scaleX(1);
}

/* Bigger, roomier cards on desktop */
@media (min-width: 1024px) {
  .category-card {
    padding: 40px 28px;
  }
  .category-icon {
    width: 56px;
    height: 56px;
  }
  .category-title {
    font-size: 1.25rem;
  }
  .category-blurb {
    font-size: 0.95rem;
  }
}

/* Phone layout */
@media (max-width: 640px) {
  header {
    padding: 40px 20px 32px;
  }
  header h1 {
    font-size: 1.7rem;
  }
  header p {
    font-size: 0.9rem;
  }

  .navbar ul {
    flex-wrap: wrap;
    gap: 10px 18px;
    padding: 12px 16px;
  }
  .navbar a {
    font-size: 0.9rem;
    padding: 6px 4px;
  }

  main {
    padding: 0 14px;
  }
  section {
    padding: 20px;
    margin-top: 32px;
    margin-bottom: 32px;
  }

  .category-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  .category-card {
    padding: 18px 12px;
    gap: 8px;
  }
  .category-icon {
    width: 34px;
    height: 34px;
  }
  .category-title {
    font-size: 0.9rem;
  }
  .category-blurb {
    font-size: 0.75rem;
  }

  .tagline-banner h1 {
    font-size: 1.4rem;
  }

  .gallery {
    gap: 12px;
  }
  .gallery img,
  .gallery-placeholder {
    width: 42vw;
    height: 42vw;
    max-width: 200px;
    max-height: 200px;
  }
}
