/* ============================================================
   FarMore Weddings — styles
   Palette: warm ivory, soft ink, clay/taupe accent
   Type: Cormorant Garamond (display) + Jost (UI/body)
   ============================================================ */

:root {
  /* Brand palette — navy #171345 (everything) + peach #F3A06C (signature) */
  --navy:   #171345;
  --navy-2: #221c5e;        /* lighter navy for elevations on dark */
  --orange: #F3A06C;
  --orange-deep: #e2884f;

  --ivory:  #f7f1ea;        /* warm off-white light background */
  --cream:  #fdf9f4;        /* near-white */
  --ink:    #171345;        /* primary text = navy */
  --muted:  rgba(23, 19, 69, 0.62);
  --line:   rgba(23, 19, 69, 0.14);
  --accent: #F3A06C;
  --accent-deep: #e2884f;

  --maxw: 1180px;
  --pad: clamp(1.25rem, 5vw, 4rem);
  --r: 14px;

  --serif: "Cormorant Garamond", Georgia, serif;
  --sans:  "Jost", "Helvetica Neue", Arial, sans-serif;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--ivory);
  line-height: 1.6;
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* ---------- Shared bits ---------- */
.eyebrow {
  font-family: var(--sans);
  font-size: 0.72rem;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--accent-deep);
  font-weight: 500;
  margin-bottom: 1.1rem;
}

.section-head { max-width: 640px; margin: 0 auto clamp(2.5rem, 5vw, 4rem); text-align: center; }
.section-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  line-height: 1.04;
  letter-spacing: -0.01em;
}
.section-lead { color: var(--muted); margin-top: 1rem; font-size: 1.05rem; }

/* "Our signature" title — keep it on one line on desktop (wraps only on small screens) */
#voices .section-head { max-width: 860px; }
#voices .section-title { font-size: clamp(1.7rem, 3.4vw, 2.5rem); white-space: nowrap; }
@media (max-width: 600px) { #voices .section-title { white-space: normal; } }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--sans);
  font-size: 0.82rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 1.05rem 2.1rem;
  border-radius: 100px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.4s var(--ease), background 0.4s var(--ease), color 0.4s var(--ease), border-color 0.4s var(--ease);
  will-change: transform;
}
.btn--solid { background: var(--accent); color: var(--ink); }
.btn--solid:hover { background: var(--ink); color: #fff; transform: translateY(-2px); }
.btn--ghost { border-color: rgba(255,255,255,0.55); color: #fff; }
.btn--ghost:hover { background: rgba(255,255,255,0.12); transform: translateY(-2px); }
.btn--full { width: 100%; }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  transition: background 0.5s var(--ease), box-shadow 0.5s var(--ease), padding 0.5s var(--ease);
  padding: 0.5rem 0;
}
.nav__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--pad);
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav__brand {
  font-family: var(--serif);
  font-size: 1.45rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: #fff;
  display: flex;
  gap: 0.4ch;
  transition: color 0.4s var(--ease);
}
.nav__brand span { font-style: italic; font-weight: 400; opacity: 0.85; }

.nav__links { display: flex; align-items: center; gap: 2.2rem; }
.nav__links a {
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.92);
  position: relative;
  transition: color 0.3s var(--ease);
}
.nav__links a:not(.nav__cta)::after {
  content: "";
  position: absolute;
  left: 0; bottom: -6px;
  width: 0; height: 1px;
  background: currentColor;
  transition: width 0.35s var(--ease);
}
.nav__links a:not(.nav__cta):hover::after { width: 100%; }
.nav__cta {
  border: 1px solid rgba(255,255,255,0.5);
  padding: 0.6rem 1.3rem;
  border-radius: 100px;
  transition: background 0.35s var(--ease), color 0.35s var(--ease);
}
.nav__cta:hover { background: #fff; color: var(--ink); }

/* dropdown: Work → Video / Stills */
.nav__item { position: relative; display: flex; align-items: center; }
.nav__top { display: inline-flex; align-items: center; gap: 0.45rem; }
.nav__chev { transition: transform 0.35s var(--ease); }
@media (hover: hover) { .nav__has-sub:hover .nav__chev { transform: rotate(180deg); } }
/* invisible bridge so the menu doesn't close in the gap */
.nav__has-sub::after { content: ""; position: absolute; top: 100%; left: -1rem; right: -1rem; height: 1rem; }
.nav__sub {
  position: absolute;
  top: calc(100% + 0.7rem);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  display: flex;
  flex-direction: column;
  min-width: 168px;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.5rem;
  box-shadow: 0 26px 54px -28px rgba(23, 19, 69, 0.55);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0.3s;
}
@media (hover: hover) {
  .nav__has-sub:hover .nav__sub,
  .nav__has-sub:focus-within .nav__sub {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
  }
}
.nav__sub a {
  color: var(--ink) !important;
  text-transform: none;
  letter-spacing: 0.02em;
  font-size: 0.95rem;
  padding: 0.55rem 0.85rem;
  border-radius: 8px;
  transition: background 0.25s var(--ease), color 0.25s var(--ease);
}
.nav__sub a::after { display: none !important; }
.nav__sub a:hover { background: var(--accent); color: var(--ink) !important; }

/* language toggle (Lokalni / ENG) */
.lang { display: inline-flex; align-items: center; gap: 0.25rem; }
.lang__opt {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 0.3rem 0.45rem;
  border-radius: 100px;
  font-family: var(--sans);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.9);
  opacity: 0.6;
  transition: opacity 0.25s var(--ease), color 0.4s var(--ease);
}
.lang__opt:hover { opacity: 0.9; }
.lang__opt.is-active { opacity: 1; }
.lang__opt.is-active > span:last-child { border-bottom: 1.5px solid var(--accent); padding-bottom: 1px; }
.lang__flags { display: inline-flex; gap: 2px; }
.lang__opt img {
  width: 18px; height: 13px;
  border-radius: 2px;
  display: block;
  object-fit: cover;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.12);
}
.nav.is-scrolled .lang__opt { color: var(--ink); }

/* scrolled state (toggled by JS) */
.nav.is-scrolled {
  background: rgba(252, 250, 246, 0.92);
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 var(--line);
}
.nav.is-scrolled .nav__brand,
.nav.is-scrolled .nav__links a { color: var(--ink); }
.nav.is-scrolled .nav__cta { border-color: var(--line); }
.nav.is-scrolled .nav__cta:hover { background: var(--ink); color: var(--cream); }
.nav.is-scrolled .nav__toggle span { background: var(--ink); }

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 8px;
}
.nav__toggle span {
  width: 26px; height: 2px;
  background: #fff;
  transition: transform 0.35s var(--ease), opacity 0.35s var(--ease), background 0.4s var(--ease);
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 0 var(--pad);
  color: #fff;
  overflow: hidden;
}
.hero__media { position: absolute; inset: 0; z-index: -2; background: #0f0c30; }

/* full-bleed background film */
.hero__video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
/* navy scrim — keeps the headline legible and on-brand over any footage */
.hero__overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(8,6,28,0.5) 0%, rgba(8,6,28,0.2) 32%, rgba(8,6,28,0.26) 100%),
    linear-gradient(90deg, rgba(8,6,28,0.55) 0%, rgba(8,6,28,0.12) 55%, rgba(8,6,28,0) 80%);
}

/* subtle film grain */
.hero__grain {
  position: absolute; inset: 0;
  opacity: 0.06;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
  pointer-events: none;
}

/* dissolves the bottom of the video into the cream "Our approach" section.
   Tall + many soft stops so there's no visible edge — it just melts in. */
.hero__fade {
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 60%;
  background: linear-gradient(
    180deg,
    rgba(253, 249, 244, 0) 0%,
    rgba(253, 249, 244, 0.04) 45%,
    rgba(253, 249, 244, 0.14) 62%,
    rgba(253, 249, 244, 0.32) 76%,
    rgba(253, 249, 244, 0.62) 88%,
    rgba(253, 249, 244, 0.86) 95%,
    var(--cream) 100%
  );
  pointer-events: none;
}

.hero__content { max-width: 760px; margin-bottom: 2vh; }
.hero__content .eyebrow { color: rgba(255,235,218,0.95); }
.hero__title {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(2.9rem, 8vw, 6.2rem);
  line-height: 1.0;
  letter-spacing: -0.015em;
}
.hero__title em { font-style: italic; font-weight: 400; }
.hero__sub {
  max-width: 30em;
  margin: 1.6rem 0 2.4rem;
  font-size: clamp(1rem, 1.6vw, 1.18rem);
  color: rgba(255,255,255,0.88);
  font-weight: 300;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 1rem; }

.hero__scroll {
  position: absolute;
  bottom: 2rem; left: 50%;
  transform: translateX(-50%);
  font-size: 0.66rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(23, 19, 69, 0.75);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.7rem;
}
.hero__scroll span {
  width: 1px; height: 42px;
  background: rgba(23, 19, 69, 0.28);
  position: relative;
  overflow: hidden;
}
.hero__scroll span::after {
  content: "";
  position: absolute; top: -100%; left: 0;
  width: 100%; height: 100%;
  background: var(--accent);
  animation: scrolldot 2.2s var(--ease) infinite;
}
@keyframes scrolldot {
  0% { top: -100%; } 60%,100% { top: 100%; }
}

/* ============================================================
   STATEMENT / APPROACH
   ============================================================ */
.statement {
  background: var(--cream);
  padding: clamp(5rem, 12vw, 9rem) var(--pad);
}
.statement__inner { max-width: 920px; margin: 0 auto; text-align: center; }
.statement__text {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(1.7rem, 4vw, 3rem);
  line-height: 1.22;
  letter-spacing: -0.01em;
}
.statement__text em { font-style: italic; color: var(--accent-deep); }

.statement__meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(2rem, 7vw, 5rem);
  margin-top: clamp(2.5rem, 5vw, 4rem);
  padding-top: clamp(2.5rem, 5vw, 4rem);
  border-top: 1px solid var(--line);
}
.statement__meta > div { display: flex; flex-direction: column; gap: 0.3rem; }
.stat {
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: var(--ink);
}
.stat__label {
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ============================================================
   FEATURED FILMS
   ============================================================ */
.work { padding: clamp(5rem, 12vw, 9rem) var(--pad); max-width: var(--maxw); margin: 0 auto; }

/* Tabs */
.tabs {
  display: flex;
  justify-content: center;
  gap: 0.6rem;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}
.tab {
  font-family: var(--sans);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 100px;
  padding: 0.75rem 1.8rem;
  cursor: pointer;
  transition: background 0.35s var(--ease), color 0.35s var(--ease), border-color 0.35s var(--ease);
}
.tab:hover { border-color: var(--accent); }
.tab.is-active { background: var(--accent); color: var(--ink); border-color: var(--accent); }

.tab-panel { display: none; }
.tab-panel.is-active { display: block; animation: fadeUp 0.5s var(--ease); }
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: none; }
}

.film-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(1rem, 2.5vw, 1.8rem);
  align-items: start;
}
.film {
  position: relative;
  border-radius: var(--r);
  overflow: hidden;
  aspect-ratio: 16 / 10;
  cursor: pointer;
  isolation: isolate;
}
.film--tall { aspect-ratio: 4 / 5; }

.film__media {
  position: absolute; inset: 0;
  background:
    radial-gradient(120% 120% at 30% 20%, var(--g1, #caa98c), var(--g2, #7d5e44));
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.9s var(--ease);
}
.film__thumb {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  pointer-events: none;
}
.film__media::after { /* texture + darken for legibility */
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.05) 0%, rgba(0,0,0,0.05) 55%, rgba(0,0,0,0.5) 100%);
}
.film:hover .film__media { transform: scale(1.06); }

.film__play {
  position: relative;
  z-index: 2;
  width: 78px; height: 78px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.7);
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(2px);
  cursor: pointer;
  transition: transform 0.4s var(--ease), background 0.4s var(--ease);
}
.film__play::before {
  content: "";
  position: absolute; top: 50%; left: 53%;
  transform: translate(-50%, -50%);
  border-style: solid;
  border-width: 9px 0 9px 15px;
  border-color: transparent transparent transparent #fff;
}
.film:hover .film__play { transform: scale(1.12); background: rgba(255,255,255,0.25); }

.film__info { position: absolute; z-index: 2; left: 1.6rem; bottom: 1.4rem; color: #fff; }
.film__info h3 { font-family: var(--serif); font-weight: 500; font-size: 1.7rem; line-height: 1.05; }
.film__info p { font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase; opacity: 0.85; margin-top: 0.35rem; }
.film__time {
  position: absolute; z-index: 2; right: 1.4rem; top: 1.4rem;
  font-size: 0.74rem; letter-spacing: 0.12em;
  color: #fff;
  background: rgba(0,0,0,0.35);
  padding: 0.3rem 0.7rem;
  border-radius: 100px;
  backdrop-filter: blur(3px);
}

/* ---- Video lightbox ---- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(1rem, 4vw, 3rem);
  background: rgba(8, 6, 28, 0.92);
  backdrop-filter: blur(8px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s var(--ease), visibility 0.35s;
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox__inner {
  width: min(1100px, 100%);
  max-height: 86vh;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: scale(0.96);
  transition: transform 0.4s var(--ease);
}
.lightbox.is-open .lightbox__inner { transform: scale(1); }
.lightbox__embed {
  width: 100%;
  aspect-ratio: 16 / 9;
  max-height: 86vh;
  border: 0;
  border-radius: var(--r);
  background: #000;
  box-shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.7);
}
.lightbox__image {
  max-width: 100%;
  max-height: 86vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: var(--r);
  box-shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.7);
}
.lightbox__embed[hidden], .lightbox__image[hidden] { display: none; }
.lightbox__close {
  position: absolute;
  top: 1.2rem; right: 1.5rem;
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 1.7rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.25s var(--ease), transform 0.25s var(--ease);
}
.lightbox__close:hover { background: rgba(255, 255, 255, 0.2); transform: rotate(90deg); }
.lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px; height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  z-index: 2;
  transition: background 0.25s var(--ease);
}
.lightbox__nav:hover { background: rgba(255, 255, 255, 0.2); }
.lightbox__nav--prev { left: clamp(0.75rem, 3vw, 2rem); }
.lightbox__nav--next { right: clamp(0.75rem, 3vw, 2rem); }
.lightbox__nav[hidden] { display: none; }
body.no-scroll { overflow: hidden; }

/* ---- Stills gallery (masonry — keeps each photo's natural shape) ---- */
.stills-grid {
  columns: 3 260px;
  column-gap: clamp(1rem, 2.2vw, 1.6rem);
}
.still {
  position: relative;
  break-inside: avoid;
  margin: 0 0 clamp(1rem, 2.2vw, 1.6rem);
  border-radius: var(--r);
  overflow: hidden;
  background: var(--navy-2);
  display: block;
  cursor: pointer;
}
.still img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.9s var(--ease);
}
.still figcaption {
  position: absolute; z-index: 2; left: 1.3rem; bottom: 1.1rem; right: 1.1rem;
  color: #fff;
}
.still figcaption h3 { font-family: var(--serif); font-weight: 500; font-size: 1.35rem; line-height: 1.05; }
.still figcaption p { font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; opacity: 0.85; margin-top: 0.3rem; }
.still:hover img { transform: scale(1.05); }

/* "View more" for the stills (shown only on mobile) */
.stills-more {
  display: none;
  margin: 1.5rem auto 0;
  font-family: var(--sans);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 100px;
  padding: 0.8rem 1.9rem;
  cursor: pointer;
  transition: background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.stills-more:hover { background: var(--accent); color: var(--ink); border-color: var(--accent); }

/* ============================================================
   ABOUT US
   ============================================================ */
.about { background: var(--navy); color: var(--cream); padding: clamp(5rem, 12vw, 9rem) var(--pad); }
.about__grid {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.8fr 1.4fr 0.8fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
}
.about__person {
  position: relative;
  margin: 0;
  border-radius: var(--r);
  overflow: hidden;
  aspect-ratio: 3 / 4;
  background: linear-gradient(155deg, var(--navy-2) 0%, #0d0a26 100%);
  border: 1px solid rgba(243, 160, 108, 0.22);
}
.about__person img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.about__person figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 1.6rem 1rem 0.85rem;
  background: linear-gradient(transparent, rgba(8, 6, 28, 0.72));
  color: #fff;
  font-family: var(--serif);
  font-size: 1.2rem;
  letter-spacing: 0.02em;
  text-align: center;
}
.about .eyebrow { color: var(--orange); }
.about .section-title { text-align: left; color: #fff; white-space: nowrap; font-size: clamp(1.4rem, 3vw, 2.2rem); }
.about__body p { color: rgba(253, 249, 244, 0.74); margin-top: 1.1rem; max-width: 48ch; font-size: 1.05rem; text-align: justify; }
.about__sign { font-family: var(--serif); font-style: italic; font-size: 1.25rem; color: #fff !important; margin-top: 1.7rem; }

/* ============================================================
   EXPERIENCE / PACKAGES
   ============================================================ */
.experience { background: var(--cream); padding: clamp(5rem, 12vw, 9rem) var(--pad); }
.cards {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
  align-items: stretch;
}
.card {
  background: var(--ivory);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 2.4rem 2rem;
  display: flex;
  flex-direction: column;
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease), border-color 0.5s var(--ease);
}
.card:hover { transform: translateY(-6px); box-shadow: 0 24px 50px -28px rgba(33,29,24,0.4); }
.card--featured {
  background: var(--ink);
  color: var(--cream);
  border-color: var(--ink);
}
.card__tag {
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent-deep);
  font-weight: 500;
}
.card--featured .card__tag { color: var(--accent); }
.card__name {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 2rem;
  margin: 0.4rem 0 0.2rem;
}
.card__price {
  font-family: var(--serif);
  font-size: 1.55rem;
  color: var(--accent-deep);
  margin-bottom: 1.3rem;
  display: grid;
  justify-items: start;
}
.card--featured .card__price { color: var(--accent); }
.card__price-from { font-family: var(--sans); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.14em; color: var(--muted); }
.card--featured .card__price-from { color: rgba(252,250,246,0.6); }

/* price hidden behind a "click to reveal" button — they cross-fade */
.card__price > * { grid-area: 1 / 1; transition: opacity 0.5s var(--ease), visibility 0.5s; }
.price-value { opacity: 0; visibility: hidden; }
.card__price.is-revealed .price-value { opacity: 1; visibility: visible; }
.card__price.is-revealed .price-reveal { opacity: 0; visibility: hidden; pointer-events: none; }
.price-reveal {
  font-family: var(--sans);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-deep);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 100px;
  padding: 0.55rem 1.2rem;
  cursor: pointer;
  transition: opacity 0.5s var(--ease), visibility 0.5s, background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.price-reveal:hover { background: var(--accent); color: var(--ink); border-color: var(--accent); }
.card--featured .price-reveal { color: var(--accent); border-color: rgba(252, 250, 246, 0.25); }
.card--featured .price-reveal:hover { background: var(--accent); color: var(--ink); border-color: var(--accent); }
.card__tagline {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.18rem;
  line-height: 1.35;
  color: var(--ink);
  margin-bottom: 0.9rem;
}
.card--featured .card__tagline { color: #fff; }
.card__desc { font-size: 0.95rem; color: var(--muted); margin-bottom: 1.6rem; }
.card--featured .card__desc { color: rgba(252,250,246,0.78); }
.card__includes {
  font-size: 0.66rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--accent-deep);
  padding-bottom: 0.9rem;
  margin-bottom: 1rem;
  border-bottom: 1px solid var(--line);
}
.card--featured .card__includes { color: var(--accent); border-color: rgba(252,250,246,0.16); }
.card__list { list-style: none; display: flex; flex-direction: column; gap: 0.85rem; margin-bottom: 2rem; flex: 1; }
.card__list li {
  position: relative;
  padding-left: 1.5rem;
  font-size: 0.95rem;
  color: var(--muted);
}
.card--featured .card__list li { color: rgba(252,250,246,0.82); }
.card__list li::before {
  content: "✦";
  position: absolute; left: 0;
  color: var(--accent);
  font-size: 0.8rem;
}
.card__link {
  font-size: 0.82rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 500;
  align-self: flex-start;
  border-bottom: 1px solid currentColor;
  padding-bottom: 3px;
  transition: gap 0.3s var(--ease), opacity 0.3s var(--ease);
}
.card__link:hover { opacity: 0.65; }

.price-note {
  margin-top: 1.1rem;
  font-size: 0.82rem;
  color: var(--muted);
}

/* Add-ons panel */
.addons {
  max-width: var(--maxw);
  margin: 1.4rem auto 0;
  background: var(--ivory);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: clamp(1.8rem, 4vw, 2.8rem);
  display: grid;
  grid-template-columns: 0.55fr 1fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: start;
}
.addons__title { font-family: var(--serif); font-weight: 400; font-size: 1.9rem; }
.addons__sub { color: var(--muted); font-size: 0.95rem; margin-top: 0.3rem; }
.addons__list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.1rem 2rem;
}
.addons__list li { position: relative; padding-left: 1.5rem; font-size: 0.97rem; }
.addons__list li::before { content: "+"; position: absolute; left: 0; color: var(--accent-deep); font-weight: 600; }
.addons__list li strong { font-weight: 500; }
.addons__list li span { display: block; color: var(--muted); font-size: 0.87rem; margin-top: 0.15rem; }

/* ============================================================
   QUOTE
   ============================================================ */
.quote { padding: clamp(5rem, 12vw, 9rem) var(--pad); text-align: center; }
.quote__inner { max-width: 860px; margin: 0 auto; }
.quote__mark { font-family: var(--serif); font-size: 6rem; line-height: 0.5; color: var(--accent); height: 3rem; }
.quote blockquote {
  font-family: var(--serif);
  font-weight: 300;
  font-style: italic;
  font-size: clamp(1.6rem, 3.6vw, 2.6rem);
  line-height: 1.3;
  letter-spacing: -0.01em;
}
.quote cite {
  display: block;
  margin-top: 1.8rem;
  font-family: var(--sans);
  font-style: normal;
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}

/* auto-rotating reviews — slides stack in one grid cell and cross-fade */
.quote__slides { display: grid; }
.quote__slide {
  grid-area: 1 / 1;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease), visibility 0.9s;
}
.quote__slide.is-active {
  opacity: 1;
  visibility: visible;
  transform: none;
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact { background: var(--ink); color: var(--cream); padding: clamp(5rem, 12vw, 9rem) var(--pad); }
.contact__grid {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: start;
}
.contact .eyebrow { color: var(--accent); }
.contact .section-title { text-align: left; }
.contact .section-lead { color: rgba(252,250,246,0.7); }
.contact__detail { list-style: none; margin-top: 2.2rem; display: flex; flex-direction: column; gap: 0.9rem; }
.contact__detail li { color: rgba(252,250,246,0.85); font-size: 0.98rem; }
.contact__detail a { border-bottom: 1px solid rgba(252,250,246,0.3); transition: border-color 0.3s var(--ease); }
.contact__detail a:hover { border-color: var(--accent); }

.form { display: flex; flex-direction: column; gap: 1.1rem; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.form label { display: flex; flex-direction: column; gap: 0.5rem; }
.form label span {
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(252,250,246,0.6);
}
.form input, .form textarea {
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 300;
  color: var(--cream);
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 10px;
  padding: 0.95rem 1.05rem;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
  resize: vertical;
}
.form input::placeholder, .form textarea::placeholder { color: rgba(252,250,246,0.35); }
.form input:focus, .form textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: rgba(255,255,255,0.07);
}
.form .btn--solid { background: var(--accent); color: var(--ink); margin-top: 0.4rem; }
.form .btn--solid:hover { background: #fff; }
.form__note {
  font-size: 0.9rem;
  color: var(--accent);
  text-align: center;
}
.form__note.is-error { color: #ff9e8a; }

/* ---- Custom date picker (matches the form inputs) ---- */
.field { display: flex; flex-direction: column; gap: 0.5rem; }
.field__label {
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(252,250,246,0.6);
}
.datepicker { position: relative; }
.field__control {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  width: 100%;
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 300;
  text-align: left;
  color: var(--cream);
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 10px;
  padding: 0.95rem 1.05rem;
  cursor: pointer;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.field__control:hover { border-color: rgba(255,255,255,0.32); }
.datepicker.is-open .field__control { border-color: var(--accent); background: rgba(255,255,255,0.07); }
.datepicker__value.is-placeholder { color: rgba(252,250,246,0.35); }
.datepicker__icon { color: var(--accent); flex-shrink: 0; }

.calendar {
  position: absolute;
  z-index: 60;
  top: calc(100% + 0.6rem);
  left: 0;
  width: min(320px, calc(100vw - 3rem));
  background: var(--cream);
  color: var(--ink);
  border-radius: var(--r);
  padding: 1.1rem;
  box-shadow: 0 28px 60px -24px rgba(0,0,0,0.55);
  transform-origin: top left;
  animation: calIn 0.28s var(--ease);
}
.calendar[hidden] { display: none; }
@keyframes calIn {
  from { opacity: 0; transform: translateY(-8px) scale(0.97); }
  to   { opacity: 1; transform: none; }
}
.calendar__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.9rem;
}
.calendar__title { font-family: var(--serif); font-size: 1.25rem; font-weight: 500; }
.calendar__nav {
  width: 34px; height: 34px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  color: var(--ink);
  font-size: 1.2rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease), opacity 0.25s var(--ease);
}
.calendar__nav:hover { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.calendar__nav:disabled { opacity: 0.25; cursor: default; }
.calendar__nav:disabled:hover { background: transparent; color: var(--ink); border-color: var(--line); }

.calendar__dow,
.calendar__days { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; }
.calendar__dow {
  margin-bottom: 0.4rem;
}
.calendar__dow span {
  text-align: center;
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 0.3rem 0;
}
.calendar__day {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0;
  background: transparent;
  border-radius: 50%;
  font-family: var(--sans);
  font-size: 0.92rem;
  color: var(--ink);
  cursor: pointer;
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}
.calendar__day:hover:not(:disabled) { background: rgba(176,137,104,0.18); }
.calendar__day:disabled { color: rgba(33,29,24,0.22); cursor: default; }
/* already-booked dates: crossed out, not selectable */
.calendar__day.is-occupied {
  color: rgba(23, 19, 69, 0.45);
  text-decoration: line-through;
  text-decoration-thickness: 2px;
  text-decoration-color: var(--accent);
  cursor: not-allowed;
}
.calendar__day.is-today { box-shadow: inset 0 0 0 1px var(--accent); }
.calendar__day.is-selected { background: var(--accent); color: #fff; }
.calendar__day.is-selected:hover { background: var(--accent-deep); }
.calendar__day.is-blank { pointer-events: none; }

.calendar__tbc {
  width: 100%;
  margin-top: 0.9rem;
  padding-top: 0.9rem;
  border: 0;
  border-top: 1px solid var(--line);
  background: transparent;
  font-family: var(--sans);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-deep);
  cursor: pointer;
  transition: color 0.25s var(--ease);
}
.calendar__tbc:hover { color: var(--ink); }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--ink); color: var(--cream); padding: 0 var(--pad) 3.5rem; }
.footer__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding-top: 3rem;
  border-top: 1px solid rgba(255,255,255,0.12);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.7rem;
}
.footer .nav__brand { color: var(--cream); }
.footer__tag { font-family: var(--serif); font-style: italic; font-size: 1.1rem; color: rgba(252,250,246,0.75); }
.footer__copy { font-size: 0.76rem; letter-spacing: 0.1em; color: rgba(252,250,246,0.45); text-transform: uppercase; }

/* ============================================================
   REVEAL ANIMATION
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: none; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 880px) {
  .nav__links {
    position: fixed;
    inset: 76px 0 auto 0;
    flex-direction: column;
    gap: 1.6rem;
    background: rgba(252, 250, 246, 0.98);
    backdrop-filter: blur(12px);
    padding: 2.5rem var(--pad) 3rem;
    transform: translateY(-120%);
    transition: transform 0.5s var(--ease);
    box-shadow: 0 20px 40px -24px rgba(0,0,0,0.3);
  }
  .nav__links a { color: var(--ink); }
  .nav.is-open .nav__links { transform: translateY(0); }
  .nav__toggle { display: flex; }
  .nav.is-open .nav__toggle span:first-child { transform: translateY(3.5px) rotate(45deg); }
  .nav.is-open .nav__toggle span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
  .nav.is-open .nav__toggle span { background: var(--ink); }

  /* RADOVI: centered like the rest, and collapsible (tap to reveal Fotografije / Video) */
  .nav__item { flex-direction: column; align-items: center; width: auto; }
  .nav__top { cursor: pointer; }
  .nav__chev { display: block; }
  .nav__has-sub.is-expanded .nav__chev { transform: rotate(180deg); }
  .nav__sub {
    position: static; transform: none; visibility: visible;
    box-shadow: none; border: 0; background: transparent; min-width: 0;
    align-items: center; gap: 0;
    overflow: hidden; max-height: 0; opacity: 0; padding: 0;
    transition: max-height 0.4s var(--ease), opacity 0.3s var(--ease), padding 0.3s var(--ease), gap 0.3s var(--ease);
  }
  .nav__has-sub.is-expanded .nav__sub { max-height: 200px; opacity: 1; padding-top: 1.1rem; gap: 1.1rem; }
  .nav__has-sub::after { display: none; }

  /* language toggle sits in the mobile panel (light bg → ink text) */
  .lang { margin-top: 0.4rem; }
  .lang__opt { color: var(--ink); }

  .cards { grid-template-columns: 1fr; max-width: 460px; }
  .addons { grid-template-columns: 1fr; max-width: 460px; }
  .addons__list { grid-template-columns: 1fr; }
  .contact__grid { grid-template-columns: 1fr; }
  .contact .section-title { text-align: left; }

  .about__grid { grid-template-columns: 1fr; }
  .about__person { max-width: 360px; margin: 0 auto; }
  .stills-grid { columns: 2 200px; }

  /* hero CTAs centered on mobile */
  .hero__actions { justify-content: center; }

  /* packages: collapsible cards — tap the name to expand */
  .card__name { cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
  .card__name::after {
    content: ""; flex: none; width: 9px; height: 9px; margin-right: 4px;
    border-right: 2px solid var(--accent-deep); border-bottom: 2px solid var(--accent-deep);
    transform: rotate(45deg); transition: transform 0.3s var(--ease);
  }
  .card--featured .card__name::after { border-color: var(--accent); }
  .card.is-open .card__name::after { transform: rotate(-135deg); }
  .card:not(.is-open) .card__desc,
  .card:not(.is-open) .card__includes,
  .card:not(.is-open) .card__list,
  .card:not(.is-open) .card__link { display: none; }

  /* stills: show first 3, reveal the rest with the button */
  .stills-grid:not(.is-expanded) .still:nth-child(n+4) { display: none; }
  .stills-more { display: block; }
  .stills-grid.is-expanded + .stills-more { display: none; }
}

@media (max-width: 560px) {
  .film-grid { grid-template-columns: 1fr; }
  .film, .film--tall { aspect-ratio: 16 / 11; }
  .stills-grid { columns: 1; }
  .form__row { grid-template-columns: 1fr; }
  .hero__actions { width: 100%; }
  .hero__actions .btn { flex: 1; }
}

/* respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}
