/* ════════════════════════════════════════════════════════════
   TOKENS
   ════════════════════════════════════════════════════════════ */
:root {
  --bg-dark:     #16140F;
  --bg-darker:   #0F0D09;
  --cream:       #F5F1EA;
  --cream-dim:   #D9D2C4;
  --rust:        #B8754A;
  --rust-light:  #D29766;
  --line:        rgba(245, 241, 234, 0.14);
  --line-strong: rgba(245, 241, 234, 0.28);

  --font-display: "Fraunces", serif;
  --font-body:    "Inter", sans-serif;
  --font-mono:    "JetBrains Mono", monospace;

  --container: 1180px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  background: var(--bg-dark);
  color: var(--cream);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.5;
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }

img { display: block; width: 100%; height: 100%; object-fit: cover; }

/* Film grain overlay for warmth/texture */
.grain {
  position: fixed;
  inset: 0;
  z-index: 999;
  pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
}

:focus-visible {
  outline: 2px solid var(--rust-light);
  outline-offset: 3px;
}

/* ════════════════════════════════════════════════════════════
   SHARED
   ════════════════════════════════════════════════════════════ */
.section-kicker {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--rust-light);
  margin-bottom: 1rem;
}

.section-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  letter-spacing: -0.01em;
  color: var(--bg-dark);
  margin-bottom: 1.5rem;
}
.section-title.light { color: var(--cream); }

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 1rem 2.1rem;
  background: var(--rust);
  color: var(--cream);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.95rem;
  border-radius: 100px;
  transition: background 0.3s var(--ease), transform 0.3s var(--ease);
}
.btn-primary:hover { background: var(--rust-light); transform: translateY(-2px); }
.btn-primary.large { padding: 1.2rem 2.6rem; font-size: 1.05rem; }

/* ════════════════════════════════════════════════════════════
   NAV
   ════════════════════════════════════════════════════════════ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 1.4rem 0;
  transition: background 0.4s var(--ease), padding 0.4s var(--ease);
}
.nav.scrolled {
  background: rgba(22, 20, 15, 0.85);
  backdrop-filter: blur(12px);
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.3rem;
  font-weight: 500;
}
.nav-logo img {
  height: 40px;
  width: auto;
  display: block;
  transition: height 0.4s var(--ease);
}
.nav.scrolled .nav-logo img { height: 32px; }
.nav-links { display: flex; align-items: center; gap: 2.2rem; }
.nav-links a {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--cream-dim);
  transition: color 0.25s;
}
.nav-links a:hover { color: var(--cream); }
.nav-cta {
  padding: 0.55rem 1.3rem;
  border: 1px solid var(--line-strong);
  border-radius: 100px;
  color: var(--cream) !important;
}
.nav-cta:hover { background: var(--rust); border-color: var(--rust); }

.lang-switch {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  background: transparent;
  border: 1px solid var(--line-strong);
  border-radius: 100px;
  padding: 0.35rem 0.7rem;
  cursor: pointer;
  transition: border-color 0.25s, background 0.25s;
}
.lang-switch:hover { border-color: var(--rust-light); background: rgba(245,241,234,0.06); }
.lang-flag {
  width: 16px;
  height: 11px;
  border-radius: 2px;
  overflow: hidden;
  display: block;
  opacity: 0.4;
  transition: opacity 0.25s;
}
.lang-flag svg { width: 100%; height: 100%; display: block; }
.lang-flag-hu { opacity: 1; }
.lang-switch.is-en .lang-flag-hu { opacity: 0.4; }
.lang-switch.is-en .lang-flag-en { opacity: 1; }
.lang-divider {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--cream-dim);
}
.lang-current {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.05em;
  color: var(--cream);
  min-width: 18px;
}

@media (max-width: 768px) {
  .nav-links { gap: 1.1rem; }
  .nav-links a:not(.nav-cta) { display: none; }
}

/* ════════════════════════════════════════════════════════════
   HERO
   ════════════════════════════════════════════════════════════ */
.hero {
  position: relative;
  width: 100%;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  animation: heroFade 18s infinite;
}
.img-1 { background-image: url("images/wedding-hero-1.jpg"); animation-delay: 0s; }
.img-2 { background-image: url("images/wedding-gallery-13.jpg"); animation-delay: 4.5s; }
.img-3 { background-image: url("images/wedding-hero-3.jpg"); animation-delay: 9s; }
.img-4 { background-image: url("images/wedding-hero-4.jpg"); animation-delay: 13.5s; }

@keyframes heroFade {
  0%   { opacity: 0; transform: scale(1.04); }
  3%   { opacity: 1; transform: scale(1.08); }
  22%  { opacity: 1; transform: scale(1.1); }
  25%  { opacity: 0; transform: scale(1.12); }
  100% { opacity: 0; }
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15,13,9,0.55) 0%, rgba(15,13,9,0.72) 55%, rgba(15,13,9,0.92) 100%);
  z-index: 1;
}

/* Light glow signature element */
.light-layer {
  position: absolute;
  inset: 0;
  z-index: 2;
  overflow: hidden;
  pointer-events: none;
}
.light-glow {
  position: absolute;
  top: 8%;
  width: 380px;
  height: 84%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(210, 151, 102, 0.22), rgba(210, 151, 102, 0) 70%);
  filter: blur(50px);
  mix-blend-mode: screen;
  animation: lightDrift 16s ease-in-out infinite;
}
.light-glow.l1 { left: -160px; animation-delay: 0s; }
.light-glow.l2 { right: -160px; animation-delay: 5s; }

@keyframes lightDrift {
  0%, 100% { opacity: 0.35; transform: translateY(0) scale(1); }
  50%      { opacity: 0.7; transform: translateY(-36px) scale(1.12); }
}

.hero-content {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
  padding: 0 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-eyebrow {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--rust-light);
  margin-bottom: 1.6rem;
  margin-right: -0.2em;
  opacity: 0;
  animation: riseIn 1s var(--ease) 0.2s forwards;
}

.hero-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2.8rem, 7vw, 5.2rem);
  line-height: 1.08;
  letter-spacing: -0.01em;
  margin-bottom: 1.6rem;
  opacity: 0;
  animation: riseIn 1.1s var(--ease) 0.4s forwards;
}

.hero-sub {
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  color: var(--cream-dim);
  max-width: 540px;
  margin: 0 auto 2.4rem;
  opacity: 0;
  animation: riseIn 1.1s var(--ease) 0.6s forwards;
}

.hero-content .btn-primary {
  opacity: 0;
  animation: riseIn 1.1s var(--ease) 0.8s forwards;
}

@keyframes riseIn {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}

.scroll-line {
  width: 1px;
  height: 32px;
  background: var(--line-strong);
  position: relative;
  overflow: hidden;
}
.scroll-line::after {
  content: "";
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--rust-light);
  animation: scrollDrip 2s ease-in-out infinite;
}
@keyframes scrollDrip {
  0% { top: -100%; }
  100% { top: 100%; }
}

/* ════════════════════════════════════════════════════════════
   INTRO
   ════════════════════════════════════════════════════════════ */
.intro {
  background: var(--cream);
  color: var(--bg-dark);
  padding: 8rem 0;
}
.intro-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 2rem;
}
.intro-kicker {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--rust);
  margin-bottom: 1.4rem;
}
.intro-headline {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.9rem, 4vw, 3rem);
  line-height: 1.25;
  letter-spacing: -0.005em;
  max-width: 780px;
  margin-bottom: 4rem;
}
.intro-headline em {
  font-style: italic;
  color: var(--rust);
}

.usp-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem 3rem;
  margin-bottom: 3.5rem;
}
.usp-item {
  border-top: 1px solid rgba(22,20,15,0.14);
  padding-top: 1.6rem;
}
.usp-mark {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  color: var(--rust);
  margin-bottom: 1rem;
}
.usp-item h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.3rem;
  margin-bottom: 0.7rem;
  color: var(--bg-dark);
}
.usp-item p {
  font-size: 0.98rem;
  color: #5A5648;
  line-height: 1.6;
}
.intro-cta { text-align: center; margin-top: 1rem; }

@media (max-width: 860px) {
  .intro { padding: 5rem 0; }
  .usp-grid { grid-template-columns: 1fr; gap: 2rem; }
}

/* ════════════════════════════════════════════════════════════
   HOW IT WORKS
   ════════════════════════════════════════════════════════════ */
.about {
  background: var(--bg-dark);
  padding: 7rem 0;
}
.about-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 2rem;
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 0.85fr;
  gap: 4rem;
  align-items: center;
}
.about-text .section-kicker { color: var(--rust-light); }
.about-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.9rem, 3.6vw, 2.8rem);
  color: var(--cream);
  margin-bottom: 1.6rem;
  line-height: 1.2;
}
.about-text p {
  font-size: 1.02rem;
  color: var(--cream-dim);
  margin-bottom: 1.2rem;
  line-height: 1.65;
}
.about-signature {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.3rem !important;
  color: var(--cream) !important;
  margin-top: 1.6rem !important;
}
.about-photo {
  border-radius: 4px;
  overflow: hidden;
  aspect-ratio: 4/5;
}

.style {
  background: var(--cream);
  color: var(--bg-dark);
  padding: 7rem 0;
}
.style-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 2rem;
}
.style-grid {
  display: grid;
  grid-template-columns: 0.85fr 1fr;
  gap: 4rem;
  align-items: center;
}
.style-text .section-kicker { color: var(--rust); }
.style-text .section-kicker.light { color: var(--rust); }
.style-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.9rem, 3.6vw, 2.8rem);
  margin-bottom: 1.6rem;
  line-height: 1.2;
}
.style-text p {
  font-size: 1.02rem;
  color: #4A4640;
  margin-bottom: 1.2rem;
  line-height: 1.65;
  max-width: 480px;
}
.style-signature {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.25rem !important;
  color: var(--bg-dark) !important;
}
.style-photo {
  border-radius: 4px;
  overflow: hidden;
  aspect-ratio: 4/5;
}

@media (max-width: 860px) {
  .about, .style { padding: 5rem 0; }
  .about-grid, .style-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .about-photo, .style-photo { max-width: 360px; margin: 0 auto; }
  .style-grid .style-photo { order: -1; }
}

/* ════════════════════════════════════════════════════════════
   QUOTE
   ════════════════════════════════════════════════════════════ */
.quote {
  position: relative;
  padding: 8rem 2rem;
  text-align: center;
  overflow: hidden;
}
.quote-bg {
  position: absolute;
  inset: 0;
  background: url("images/wedding-quote-bg.jpg") center/cover;
}
.quote-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(15, 13, 9, 0.65);
}
.quote-inner {
  position: relative;
  z-index: 1;
  max-width: 760px;
  margin: 0 auto;
}
.quote-text {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.4rem, 3vw, 2rem);
  line-height: 1.5;
  color: var(--cream);
  margin-bottom: 2.4rem;
}

/* ════════════════════════════════════════════════════════════
   TESTIMONIALS
   ════════════════════════════════════════════════════════════ */
.testimonials {
  background: var(--bg-darker);
  padding: 7rem 0;
}
.testimonials-inner {
  max-width: 820px;
  margin: 0 auto;
  padding: 0 2rem;
  text-align: center;
}
.testimonials .section-title { color: var(--cream); margin-bottom: 3.5rem; }

.testimonial-track {
  position: relative;
  min-height: 220px;
}
.testimonial-card {
  display: none;
  animation: fadeInTestimonial 0.5s ease;
}
.testimonial-card.active { display: block; }
@keyframes fadeInTestimonial {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
.testimonial-quote {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  line-height: 1.65;
  color: var(--cream-dim);
  margin-bottom: 1.6rem;
}
.testimonial-author {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  color: var(--rust-light);
}

.testimonial-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.6rem;
  margin-top: 2.5rem;
}
.testimonial-arrow {
  background: transparent;
  border: 1px solid var(--line-strong);
  color: var(--cream);
  width: 40px;
  height: 40px;
  border-radius: 100px;
  cursor: pointer;
  font-size: 1rem;
  transition: background 0.25s, border-color 0.25s;
}
.testimonial-arrow:hover { background: var(--rust); border-color: var(--rust); }
.testimonial-dots {
  display: flex;
  gap: 0.5rem;
}
.testimonial-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--line-strong);
  cursor: pointer;
  transition: background 0.25s;
}
.testimonial-dot.active { background: var(--rust-light); }

/* ════════════════════════════════════════════════════════════
   BEHIND THE CAMERA (VIDEO)
   ════════════════════════════════════════════════════════════ */
.behind {
  background: var(--bg-dark);
  padding: 7rem 0;
}
.behind-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 2rem;
}
.behind-grid {
  display: grid;
  grid-template-columns: 0.85fr 1fr;
  gap: 4rem;
  align-items: center;
}
.behind-text .section-kicker { color: var(--rust-light); }
.behind-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.9rem, 3.6vw, 2.8rem);
  color: var(--cream);
  margin-bottom: 1.6rem;
}
.behind-text p {
  font-size: 1.02rem;
  color: var(--cream-dim);
  margin-bottom: 1.2rem;
  line-height: 1.65;
}
.behind-signature {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.2rem !important;
  color: var(--cream) !important;
}
.behind-video {
  border-radius: 4px;
  overflow: hidden;
  aspect-ratio: 16/10;
  background: var(--bg-darker);
}
.behind-video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.behind-video-cta {
  padding-top: 1.2rem;
  display: flex;
  justify-content: flex-end;
  overflow: visible;
}

@media (max-width: 860px) {
  .behind { padding: 5rem 0; }
  .behind-grid { grid-template-columns: 1fr; gap: 2.5rem; }
}

/* ════════════════════════════════════════════════════════════
   WORK GALLERY
   ════════════════════════════════════════════════════════════ */
.work {
  background: var(--bg-darker);
  padding: 5rem 0;
}
.work-header {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 2rem;
  margin-bottom: 2.2rem;
  text-align: center;
}
.work-header .section-kicker {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  letter-spacing: -0.01em;
  text-transform: none;
  color: var(--cream);
}
.work-cta {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 2rem;
  text-align: center;
}

.work-gallery {
  max-width: var(--container);
  margin: 0 auto 3.5rem;
  padding: 0 2rem;
  column-count: 3;
  column-gap: 1rem;
}
.work-gallery-item {
  break-inside: avoid;
  margin-bottom: 1rem;
  overflow: hidden;
  border-radius: 4px;
  background: var(--bg-dark);
}
.work-gallery-item img {
  width: 100%;
  display: block;
  transition: transform 0.6s var(--ease), filter 0.4s var(--ease);
}
.work-gallery-item:hover img {
  transform: scale(1.035);
}

@media (max-width: 860px) {
  .work-gallery { column-count: 2; column-gap: 0.75rem; padding: 0 1.25rem; }
  .work-gallery-item { margin-bottom: 0.75rem; }
}
@media (max-width: 480px) {
  .work-gallery { padding: 0 1rem; column-gap: 0.6rem; }
  .work-gallery-item { margin-bottom: 0.6rem; }
}

/* ════════════════════════════════════════════════════════════
   CTA
   ════════════════════════════════════════════════════════════ */
.cta {
  position: relative;
  padding: 9rem 2rem;
  text-align: center;
  overflow: hidden;
}
.cta-bg {
  position: absolute;
  inset: 0;
  background: url("images/wedding-hero-4.jpg") center/cover;
}
.cta-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(15, 13, 9, 0.82);
}
.cta-inner {
  position: relative;
  z-index: 1;
  max-width: 680px;
  margin: 0 auto;
}
.cta-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2.6rem, 6vw, 4.2rem);
  line-height: 1.1;
  margin-bottom: 1.6rem;
}
.cta-sub {
  font-size: 1.1rem;
  color: var(--cream-dim);
  margin-bottom: 2.4rem;
}
.cta-meta {
  margin-top: 2rem;
  display: flex;
  justify-content: center;
  gap: 0.7rem;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--cream-dim);
}

/* Thank-you page */
.thanks-eyebrow { justify-content: center; }
.thanks-signature {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.25rem;
  color: var(--cream);
  margin-bottom: 2.4rem;
  opacity: 0;
  animation: riseIn 1.1s var(--ease) 0.7s forwards;
}
.thanks-page .cta-meta { margin-top: 2.4rem; }
.thanks-photo {
  width: 100%;
  max-height: 70vh;
  overflow: hidden;
  display: block;
}
.thanks-photo img {
  width: 100%;
  height: 70vh;
  object-fit: cover;
  object-position: center 30%;
  display: block;
}

.contact-form {
  text-align: left;
  margin-top: 1rem;
}
.form-row { margin-bottom: 1.4rem; }
.form-row label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  color: var(--cream-dim);
  margin-bottom: 0.5rem;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  background: rgba(245, 241, 234, 0.06);
  border: 1px solid var(--line-strong);
  border-radius: 4px;
  padding: 0.85rem 1rem;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--cream);
  outline: none;
  transition: border-color 0.25s, background 0.25s;
}
.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--rust-light);
  background: rgba(245, 241, 234, 0.1);
}
.contact-form textarea {
  min-height: 120px;
  resize: vertical;
  font-family: var(--font-body);
}
.btn-primary.large {
  display: inline-block;
  margin-top: 0.5rem;
  border: none;
  font-family: var(--font-body);
  cursor: pointer;
}

/* ════════════════════════════════════════════════════════════
   FOOTER
   ════════════════════════════════════════════════════════════ */
.footer {
  background: var(--bg-darker);
  text-align: center;
  padding: 2.2rem 0;
  font-size: 0.8rem;
  color: var(--cream-dim);
}
