/* ========================
   Global styles
   ======================== */
html,
body {
  margin: 0;
  padding: 0;
  height: 100%;
}

/* Navbar height variable (desktop vs mobile) */
:root {
  --nav-h: 60px;
  --bs-body-font-family: "Cormorant Garamond", serif;
  --bs-body-font-size: 1.125rem;
  --bs-body-color: #463e2e; /* Taupe Grey */
  --bs-body-bg: #f8f5f0;
  --primary: #9c6e64; /* Dusty Rose Olive Green */
  --bs-primary: #886057; /* Olive Green */
  --accent-dark: #470f0e; /* Alizarin Crimson (deep) */
  --neutral-dark: #463e2e; /* Taupe Grey */
  --neutral-black: #000000;
}
body {
  padding-top: var(--nav-h);
  font-family: var(--bs-body-font-family);
  background-color: var(--bs-body-bg);
  color: var(--bs-body-color);
}
@media (max-width: 991.98px) {
  :root {
    --nav-h: 70px;
  }
}

/* ========================
   Wedding Navbar
   ======================== */
.wedding-navbar {
  background: #9c6e64; /* taupe grey with transparency */
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}
.wedding-navbar .navbar-nav {
  gap: 1.5rem;
  font-size: 1.1rem;
}
.wedding-navbar .navbar-brand {
  margin-right: 2rem;
  font-family: "Dancing Script", cursive;
  font-size: 1.9rem;
  color: #fff;
}
.wedding-navbar .nav-link {
  font-family: "Cinzel", serif;
  color: #fff;
}
.wedding-navbar .nav-link:hover,
.wedding-navbar .nav-link:focus,
.wedding-navbar .nav-link.active {
  color: var(--primary); /* soft green highlight */
}
.wedding-navbar .btn-outline-light {
  border: 1px solid #d79a8c;
  color: #d79a8c;
  transition: all 0.2s ease;
}
.wedding-navbar .btn-outline-light:hover {
  background: #fff;
  color: var(--neutral-dark);
}

/* ========================
   Scroll snap container
   ======================== */
.snap-container {
  position: relative;
  height: calc(100vh - var(--nav-h));
  overflow-y: auto;
  scroll-snap-type: y mandatory;
  -webkit-overflow-scrolling: touch;
}
.snap-panel {
  min-height: 100%;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

/* ========================
   Hero video section
   ======================== */
.hero-video-wrap {
  position: relative;
  min-height: 100%;
}
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.35) 0%, rgba(0, 0, 0, 0.55) 60%, rgba(0, 0, 0, 0.65) 100%), radial-gradient(1200px 700px at 70% 10%, rgba(156, 190, 100, 0.25), rgba(0, 0, 0, 0.55));
  pointer-events: none;
}
.hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
  width: 100%;
  max-width: 900px;
  padding: 0 1rem;
  text-align: center;
  color: #fff;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

/* Hero fonts */
.hero-eyebrow {
  font-family: "Italianno", serif;
  opacity: 0.9;
  letter-spacing: 0.14em;
  font-size: clamp(2rem, 4.4vw, 2.5rem);
}
.hero-title {
  font-family: "Waterfall", cursive;
  font-size: clamp(5rem, 12vw, 8rem);
  line-height: 1.05;
}
.hero-sub,
.hero-details {
  font-family: "Italianno", serif;
  font-size: clamp(1rem, 2.2vw, 1.35rem);
  opacity: 0.95;
  letter-spacing: 0.14em;
}

/* Scroll cue */
.scroll-cue {
  position: absolute;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.85rem;
  opacity: 0.9;
}
.scroll-cue .chevron {
  width: 16px;
  height: 16px;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(45deg);
  margin: 6px auto 0;
  animation: cue 1.6s infinite ease-in-out;
}
@keyframes cue {
  0%,
  100% {
    transform: translateY(0) rotate(45deg);
    opacity: 0.9;
  }
  50% {
    transform: translateY(6px) rotate(45deg);
    opacity: 0.6;
  }
}

/* ========================
   Panels
   ======================== */
.panel {
  position: relative;
}
.panel-light {
  background: #f8f5f0;
}
.panel-paper {
  background: linear-gradient(#fbf8f1, #f5efe6);
}
.panel-paper::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='60' height='60' viewBox='0 0 60 60'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='1' stitchTiles='stitch'/><feColorMatrix type='saturate' values='0'/><feComponentTransfer><feFuncA type='table' tableValues='0 0.02'/></feComponentTransfer></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  mix-blend-mode: multiply;
  opacity: 0.7;
}
.panel .container {
  position: relative;
  z-index: 1;
}
.panel-title {
  font-family: "Cinzel", serif;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: var(--accent-dark);
}

/* ========================
   Buttons
   ======================== */
.btn-primary {
  --bs-btn-bg: var(--primary);
  --bs-btn-border-color: var(--bs-primary);
  --bs-btn-hover-bg: var(--bs-primary);
  --bs-btn-hover-border-color: var(--neutral-dark);
  --bs-btn-color: #fff;
}
.btn-outline-secondary {
  --bs-btn-color: var(--neutral-dark);
  --bs-btn-border-color: var(--neutral-dark);
  --bs-btn-hover-bg: var(--neutral-dark);
  --bs-btn-hover-color: #fff;
}

/* ========================
   Helpers
   ======================== */
.letter-spacing-2 {
  letter-spacing: 0.12em;
}

/* ---------- Florals ---------- */
.floral {
  position: absolute;
  z-index: 0;
  opacity: 0.6;
  filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.15));
}
.floral-top-left {
  top: -40px;
  left: -40px;
  width: clamp(200px, 24vw, 360px);
  transform: rotate(-6deg);
}
.floral-top-right {
  top: -40px;
  right: -40px;
  width: clamp(200px, 24vw, 360px);
  transform: rotate(8deg);
}
.floral-bottom-right {
  bottom: -40px;
  right: -20px;
  width: clamp(220px, 28vw, 420px);
  transform: rotate(4deg);
}
.floral-bottom-left {
  bottom: -40px;
  left: -20px;
  width: clamp(220px, 28vw, 420px);
  transform: rotate(-4deg);
}
.floral-center-fade {
  top: 50%;
  left: 50%;
  width: clamp(280px, 40vw, 520px);
  transform: translate(-50%, -50%);
  opacity: 0.25;
}

/* ---------- Photo grid ---------- */
.object-fit-cover {
  object-fit: cover;
}
.ratio > img {
  width: 100%;
  height: 100%;
  display: block;
}

@media (max-width: 575.98px) {
  .floral {
    opacity: 0.45;
  }
}

/* ---------- Prose ---------- */
.prose {
  color: var(--neutral-dark);
  font-family: "Cormorant Garamond", serif;
  font-size: 1.125rem;
  line-height: 1.3;
  max-width: 700px;
  margin: 0 auto;
}
