/* Weight 100–600 → Bold Head, 601–800 → Heavy Body */
@font-face {
  font-family: "Sequel";
  src: url("../fonts/SequelSans-BoldHead.woff2") format("woff2");
  font-weight: 100 600;
  font-display: swap;
}
@font-face {
  font-family: "Sequel";
  src: url("../fonts/SequelSans-HeavyBody.woff2") format("woff2");
  font-weight: 601 800;
  font-display: swap;
}
/* Northwell nema č, ć, đ — ta slova padaju na Sacramento */
@font-face {
  font-family: "Northwell";
  src: url("../fonts/Northwell.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}

:root {
  --red: #A5071C;
  --red-hover: #C4152C;
  --red-press: #7C0514;
  --red-50: rgba(165, 7, 28, 0.5);
  --red-20: rgba(165, 7, 28, 0.2);
  --cream: #EFE9E0;
  --paper: #F7F3EC;
  --ink: #1F1A17;
  --ink-600: #4A423C;

  --font-display: "Sequel", "Archivo", system-ui, sans-serif;
  --font-body: "Montserrat", system-ui, sans-serif;
  --font-script: "Northwell", "Sacramento", cursive;

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --dur: 220ms;
  --pad: 22px;
  --max: 1180px;
  --bar-h: 76px;
}

/* ---------- Base: phone ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
  padding-bottom: calc(var(--bar-h) + env(safe-area-inset-bottom));
}
img { display: block; max-width: 100%; }
a { color: var(--red); }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); }

/* Type */
/* line-height ostavlja mesta za kvačice (Č, Š) iznad velikih slova */
h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 36px;
  text-transform: uppercase;
  letter-spacing: -0.028em;
  line-height: 1.04;
  color: var(--red);
  margin: 0;
  padding-top: 0.08em;
}
h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  line-height: 1.3;
  margin: 0 0 4px;
}
.rule { width: 64px; height: 3px; background: var(--red); margin: 20px 0; }
.lead { font-size: 17px; max-width: 34em; margin: 0; }
.script {
  font-family: var(--font-script);
  font-size: 44px;
  line-height: 1.1;
  color: var(--red);
  margin: 18px 0 0;
}

/* CTA */
.cta {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  margin-top: 26px;
  padding: 0 28px;
  background: var(--red);
  color: var(--paper);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.04em;
  text-decoration: none;
  text-align: center;
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease);
}
.cta:hover { background: var(--red-hover); }
.cta:active { background: var(--red-press); }

/* ---------- Hero: video preko celog ekrana ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  background: var(--ink);
  color: var(--paper);
}
.hero-media {
  position: absolute; inset: 0;
  background: var(--ink);
}
/* Dok se video učitava vidi se crno-beli kadar; kad video krene, dobija boju i oživi */
.hero-media .poster, .hero-media video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 40%;
}
.hero-media .poster { filter: grayscale(1); transition: filter 900ms var(--ease); }
.hero-media video { opacity: 0; transition: opacity 900ms var(--ease); }
.hero-media.live .poster { filter: none; }
.hero-media.live video { opacity: 1; }
.hero-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg,
    rgba(31, 26, 23, 0.35) 0%,
    rgba(31, 26, 23, 0) 22%,
    rgba(31, 26, 23, 0) 42%,
    rgba(31, 26, 23, 0.72) 72%,
    rgba(31, 26, 23, 0.9) 100%);
}
.hero-top {
  position: absolute; z-index: 2; top: 0; left: 0; right: 0;
}
.hero-top .wrap { display: flex; justify-content: flex-end; align-items: center; height: 72px; }
.hero-top nav { display: none; }
.hero-top a { color: var(--paper); text-decoration: none; }
.ig {
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 44px; padding: 0 16px 0 12px;
  border-radius: 999px;
  background: rgba(31, 26, 23, 0.45);
  font-size: 15px; font-weight: 600;
  transition: background var(--dur) var(--ease);
}
.ig svg { width: 22px; height: 22px; flex: none; }
.ig:hover { background: rgba(31, 26, 23, 0.65); }
.hero .wrap.content { position: relative; z-index: 2; width: 100%; padding-bottom: 36px; }

/* Logo: BACHATA + rukopisno "Anita i Nikola" */
.logo { margin: 0; line-height: 1; }
.logo .word {
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 64px;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  line-height: 0.9;
}
.logo .hand {
  display: block;
  font-family: var(--font-script);
  font-weight: 400;
  font-size: 62px;
  line-height: 1;
  margin: -0.2em 0 0 0.14em;
  white-space: nowrap;
  color: var(--red);
}
/* Na tamnom videu crvena mora biti svetlija da bi se videla */
.hero .logo .hand { color: #E3304A; font-size: 56px; text-shadow: 0 2px 14px rgba(31, 26, 23, 0.35); }
.hero .tagline { margin: 22px 0 0; font-size: 17px; line-height: 1.55; max-width: 24em; }
.hero .tagline strong { display: block; font-weight: 600; }
.hero .cta { background: var(--paper); color: var(--red); }
.hero .cta:hover { background: #fff; }
.hero .cta:active { background: var(--cream); }

/* Sections */
section { padding: 64px 0; }
.alt { background: var(--paper); }

.notice {
  border-left: 3px solid var(--red);
  padding: 2px 0 2px 16px;
  margin: 28px 0 0;
  max-width: 36em;
  font-size: 16px;
}

/* Termini: isti raspored kao story "BACHATA ČASOVI" — ikonice i tanke linije */
.info { list-style: none; padding: 0; margin: 20px 0 0; max-width: 560px; }
.info li {
  display: flex; gap: 16px; align-items: center;
  min-height: 54px; padding: 12px 0;
  border-bottom: 1px solid var(--red-20);
  font-size: 16px; font-weight: 500; line-height: 1.4;
}
.info li:last-child { border-bottom: 0; }
.info svg { width: 22px; height: 22px; flex: none; color: var(--red); }
.info a { color: inherit; text-decoration: underline; text-decoration-color: var(--red-50); text-underline-offset: 3px; }
.info small { display: block; margin-top: 2px; font-size: 14px; font-weight: 400; color: var(--ink-600); }

/* Kako izgleda čas: fotografija sa časa se utapa u tamnu pozadinu, tekst ide preko */
.overlay { position: relative; overflow: hidden; padding: 0; background: var(--ink); color: var(--paper); }
.overlay .bg {
  width: 100%; height: auto; aspect-ratio: 1125 / 1350;
  object-fit: cover; object-position: center 60%;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 38%, rgba(0,0,0,.72) 56%, rgba(0,0,0,.3) 76%, transparent 96%);
          mask-image: linear-gradient(180deg, #000 0%, #000 38%, rgba(0,0,0,.72) 56%, rgba(0,0,0,.3) 76%, transparent 96%);
}
/* Naslov i tekst počinju preko parketa, gde fotografija već prelazi u tamnu pozadinu */
.overlay .wrap { position: relative; z-index: 2; margin-top: -58vw; padding-bottom: 64px; }
.overlay h2, .overlay h3 { color: var(--paper); }
.overlay .rule { background: var(--paper); }

.points { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 20px; }
.points li { padding-left: 18px; border-left: 2px solid rgba(247, 243, 236, 0.35); }
.points p { margin: 0; font-size: 16px; color: rgba(247, 243, 236, 0.86); }

/* O nama: fotografija se utapa u pozadinu, kao na storijima */
.veil { position: relative; overflow: hidden; padding-top: 0; }
.veil .photo {
  width: 100%; height: auto; aspect-ratio: 1 / 1.1;
  object-fit: cover; object-position: center 30%;
  -webkit-mask-image: linear-gradient(180deg, #000 55%, rgba(0,0,0,.5) 80%, transparent 100%);
          mask-image: linear-gradient(180deg, #000 55%, rgba(0,0,0,.5) 80%, transparent 100%);
}
.veil .wrap { position: relative; margin-top: -96px; }
.veil .script { margin-top: 40px; }

/* Brojke */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 28px; }
.stat { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.stat .n { font-family: var(--font-script); font-size: 48px; line-height: 1; color: var(--red); }
.stat .d { display: none; flex: none; width: 2px; height: 44px; background: var(--red-50); }
.stat .l { font-size: 13px; font-weight: 500; line-height: 1.34; }
.about { margin: 22px 0 0; font-size: 16px; max-width: 36em; }

/* Pitanja */
.faq { margin-top: 24px; max-width: 760px; }
.faq details { border-bottom: 1px solid var(--red-20); }
.faq details:first-child { border-top: 1px solid var(--red-20); }
.faq summary {
  cursor: pointer; list-style: none;
  min-height: 60px; display: flex; align-items: center;
  padding: 14px 40px 14px 0; position: relative;
  font-family: var(--font-display); font-weight: 700; font-size: 17px; line-height: 1.3;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 8px; top: 50%;
  width: 9px; height: 9px; margin-top: -7px;
  border-right: 2px solid var(--red); border-bottom: 2px solid var(--red);
  transform: rotate(45deg); transition: transform var(--dur) var(--ease);
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq details p { margin: 0 0 20px; max-width: 40em; font-size: 16px; }

/* Kontakt */
footer { padding: 64px 0 32px; }
.contact { display: grid; gap: 20px; margin-top: 24px; }
.contact a { text-decoration: none; }
.contact p { margin: 0; }
.sign { margin-top: 56px; color: var(--ink); }
.sign .logo .word { font-size: 40px; }
.sign .logo .hand { font-size: 40px; }
.fine { margin-top: 20px; font-size: 13px; color: var(--ink-600); }

/* Traka sa dugmetom na dnu ekrana (samo telefon) */
.bar {
  position: fixed; z-index: 10; left: 0; right: 0; bottom: 0;
  padding: 10px var(--pad) calc(10px + env(safe-area-inset-bottom));
  background: rgba(239, 233, 224, 0.96);
  border-top: 1px solid var(--red-20);
  transform: translateY(110%);
  transition: transform var(--dur) var(--ease);
}
.bar.show { transform: none; }
.bar .cta { margin: 0; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-media video { display: none; }
  .hero-media .poster { filter: none; }
}

/* ---------- Veći telefoni i tableti ---------- */
@media (min-width: 600px) {
  :root { --pad: 40px; }
  h2 { font-size: 46px; }
    .logo .word { font-size: 96px; }
  .logo .hand { font-size: 92px; }
  .hero .logo .hand { font-size: 84px; }
  .cta { display: inline-flex; }
  .bar .cta { display: flex; }
  .stats { display: flex; flex-wrap: wrap; gap: 26px 40px; }
  .stat { flex-direction: row; align-items: center; gap: 14px; }
  .stat .d { display: block; }
  .stat .n { font-size: 58px; }
  .stat .l { font-size: 14px; }
  .contact { grid-template-columns: repeat(3, 1fr); }
}

/* ---------- Desktop: logo levo, video desno ---------- */
@media (min-width: 960px) {
  :root { --pad: 64px; --bar-h: 0px; }
  body { padding-bottom: 0; }
  .bar { display: none; }

  .hero {
    min-height: min(100vh, 900px);
    justify-content: center;
    background: var(--cream);
    color: var(--ink);
  }
  .hero .logo .hand { color: var(--red); text-shadow: none; font-size: clamp(80px, 6.3vw, 104px); }
  .hero-media { left: auto; width: 44%; }
  .hero-media::after { display: none; }
  .hero-top { right: 44%; }
  .hero-top .wrap { justify-content: space-between; height: 84px; max-width: none; margin: 0; padding-left: max(var(--pad), calc((100vw - var(--max)) / 2 + var(--pad))); }
  .hero-top nav { display: flex; gap: 30px; }
  .hero-top nav a { color: var(--ink); font-size: 15px; font-weight: 500; transition: color var(--dur) var(--ease); }
  .hero-top nav a:hover { color: var(--red); }
  .ig { color: var(--ink) !important; background: transparent; padding: 0; }
  .ig:hover { background: transparent; color: var(--red) !important; }
  .hero .wrap.content { padding-top: 84px; padding-bottom: 84px; }
  .hero .wrap.content > div { max-width: 50%; }
  .logo .word { font-size: clamp(84px, 6.6vw, 108px); }
  .logo .hand { font-size: clamp(80px, 6.3vw, 104px); }
  .hero .tagline { color: var(--ink); font-size: 19px; margin-top: 30px; }
  .hero .cta { background: var(--red); color: var(--paper); }
  .hero .cta:hover { background: var(--red-hover); }
  .hero .cta:active { background: var(--red-press); }

  section { padding: 110px 0; }
  h2 { font-size: 60px; }
    .rule { width: 72px; margin: 26px 0 24px; }
  .script { font-size: 54px; }

  .info li { font-size: 17px; }

  .overlay .bg {
    position: absolute; top: 0; right: 0; bottom: 0; width: 60%; height: 100%; aspect-ratio: auto;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.5) 16%, #000 36%);
            mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.5) 16%, #000 36%);
  }
  .overlay .wrap { margin-top: 0; padding-top: 120px; padding-bottom: 120px; min-height: 760px; display: flex; align-items: center; }
  .overlay .inner { max-width: 480px; }

  .veil { padding-top: 110px; }
  .veil .photo {
    position: absolute; top: 0; right: 0; bottom: 0; width: 52%; height: 100%; aspect-ratio: auto;
    object-position: center 30%;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.5) 18%, #000 40%);
            mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.5) 18%, #000 40%);
  }
  .veil .wrap { margin-top: 0; }
  .veil .inner { max-width: 520px; }
  .about { font-size: 17px; }

  .faq summary { font-size: 18px; }
  footer { padding: 100px 0 40px; }
}

/* ---------- Tekst samo za Google i čitače ekrana ---------- */
.sr-only {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}

/* ---------- Izbor jezika: SR / EN ---------- */
.hero-top .wrap { justify-content: space-between; gap: 12px; }
.lang {
  display: inline-flex; align-items: center; gap: 2px;
  min-height: 44px; padding: 4px;
  border-radius: 999px;
  background: rgba(31, 26, 23, 0.45);
}
.hero-top .lang a {
  display: flex; align-items: center; justify-content: center;
  min-width: 40px; height: 36px; padding: 0 10px;
  border-radius: 999px;
  font-size: 13px; font-weight: 600; letter-spacing: 0.06em;
  color: rgba(247, 243, 236, 0.85);
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease);
}
.hero-top .lang a:hover { color: var(--paper); }
.hero-top .lang a[aria-current="page"] { background: var(--paper); color: var(--red); }

@media (min-width: 960px) {
  .hero-top nav { margin-right: auto; gap: 24px; }
  .hero-top nav a { white-space: nowrap; }
  .lang { background: transparent; box-shadow: inset 0 0 0 1px var(--red-20); min-height: 40px; }
  .hero-top .lang a { color: var(--ink); height: 32px; }
  .hero-top .lang a:hover { color: var(--red); }
  .hero-top .lang a[aria-current="page"] { background: var(--red); color: var(--paper); }
}
