/* ===== CSS VARIABLES ===== */
:root {
  --cream: #F8F4ED;
  --cream-dark: #F0E9DC;
  --green: #2E5D50;
  --green-dark: #1E3D34;
  --green-light: #3D7A68;
  --gold: #C8A96A;
  --gold-light: #E2C98D;
  --gold-dark: #A07840;
  --white: #FFFFFF;
  --text-dark: #2A2A2A;
  --text-medium: #555555;
  --text-light: #888888;
  --overlay: rgba(248, 244, 237, 0.75);
  
  --font-serif: 'Playfair Display', 'Georgia', serif;
  --font-script: 'Great Vibes', cursive;
  --font-sans: 'Cormorant Garamond', serif;
  --font-body: 'Lato', sans-serif;
  
  --transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --transition-fast: all 0.3s ease;

  --gold-gradient: linear-gradient(135deg, #E2C98D 0%, #C8A96A 45%, #A07840 100%);
  --shadow-soft: 0 4px 40px rgba(46, 93, 80, 0.06);
  --shadow-lift: 0 24px 60px rgba(20, 40, 34, 0.14);
  --shadow-gold: 0 10px 30px rgba(200, 169, 106, 0.25);
}

/* ===== RESET & BASE ===== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

body {
  font-family: var(--font-body);
  background-color: var(--cream);
  color: var(--text-dark);
  overflow-x: hidden;
  line-height: 1.6;
}

/* ===== OPENING GATE (click-to-enter invitation) ===== */
body.gate-active {
  overflow: hidden;
  height: 100vh;
}

#gate {
  position: fixed;
  inset: 0;
  z-index: 9999;
  overflow: hidden;
  background: var(--green-dark);
}

#gate.gate-hidden {
  display: none;
}

/* Couple photo backdrop */
.gate-image {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.gate-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  filter: sepia(15%) saturate(85%) brightness(0.85);
  transform: scale(1.08);
  transition: transform 6s cubic-bezier(0.19, 1, 0.22, 1), filter 1.2s ease;
}

/* Slow ambient zoom while gate is open */
#gate:not(.gate-closing) .gate-image img {
  animation: gateSlowZoom 14s ease-in-out infinite alternate;
}

@keyframes gateSlowZoom {
  from { transform: scale(1.08); }
  to { transform: scale(1.16); }
}

/* Black fade overlay for luxury contrast + text legibility */
.gate-fade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom,
      rgba(10, 15, 13, 0.55) 0%,
      rgba(10, 15, 13, 0.35) 30%,
      rgba(10, 15, 13, 0.55) 60%,
      rgba(6, 10, 9, 0.92) 100%
    );
}

.gate-vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, transparent 35%, rgba(0, 0, 0, 0.55) 100%);
  pointer-events: none;
}

/* Content sits above the image + fade */
.gate-content {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
  padding: 40px 24px;
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  color: inherit;
  -webkit-tap-highlight-color: transparent;
}

/* Gold corner frame, inset from viewport edge */
.gate-corner {
  position: absolute;
  width: 44px;
  height: 44px;
  border-color: var(--gold);
  border-style: solid;
  opacity: 0.75;
}

.gate-corner.tl { top: 28px; left: 28px; border-width: 1px 0 0 1px; }
.gate-corner.tr { top: 28px; right: 28px; border-width: 1px 1px 0 0; }
.gate-corner.bl { bottom: 28px; left: 28px; border-width: 0 0 1px 1px; }
.gate-corner.br { bottom: 28px; right: 28px; border-width: 0 1px 1px 0; }

/* Bismillah — the hero transition element of the gate */
.gate-bismillah {
  font-family: 'Amiri', serif;
  font-size: clamp(24px, 4.5vw, 42px);
  color: var(--gold-light);
  letter-spacing: 0.04em;
  text-shadow: 0 2px 24px rgba(200, 169, 106, 0.35);
  opacity: 0;
  filter: blur(6px);
  transform: translateY(-16px) scale(0.94);
  animation: gateBismillahIn 1.6s cubic-bezier(0.19, 1, 0.22, 1) 0.3s forwards,
             gateBismillahGlow 3.5s ease-in-out 2s infinite;
  margin-bottom: 28px;
}

@keyframes gateBismillahIn {
  0% {
    opacity: 0;
    filter: blur(6px);
    transform: translateY(-16px) scale(0.94);
  }
  100% {
    opacity: 1;
    filter: blur(0);
    transform: translateY(0) scale(1);
  }
}

@keyframes gateBismillahGlow {
  0%, 100% { text-shadow: 0 2px 24px rgba(200, 169, 106, 0.35); }
  50% { text-shadow: 0 2px 34px rgba(200, 169, 106, 0.65); }
}

.gate-ornament {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
  opacity: 0;
  animation: fadeIn 1s ease 1s forwards;
}

.gate-line {
  width: 52px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold));
}

.gate-line:last-child {
  background: linear-gradient(90deg, var(--gold), transparent);
}

.gate-diamond {
  width: 7px;
  height: 7px;
  background: var(--gold);
  transform: rotate(45deg);
}

.gate-label {
  font-size: 11px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0;
  animation: fadeUp 1s ease 1.2s forwards;
  margin-bottom: 18px;
}

.gate-names {
  font-family: var(--font-script);
  font-size: clamp(40px, 8vw, 72px);
  color: var(--cream);
  line-height: 1;
  opacity: 0;
  animation: fadeUp 1.1s ease 1.4s forwards;
  margin-bottom: 14px;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
}

.gate-date {
  font-family: var(--font-serif);
  font-size: clamp(13px, 2vw, 16px);
  letter-spacing: 0.3em;
  color: rgba(248, 244, 237, 0.65);
  opacity: 0;
  animation: fadeUp 1s ease 1.6s forwards;
  margin-bottom: 56px;
}

/* Tap-to-open affordance */
.gate-tap {
  position: relative;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  animation: fadeIn 1s ease 2s forwards;
  margin-bottom: 14px;
}

.gate-tap-ring {
  position: absolute;
  inset: 0;
  border: 1px solid var(--gold);
  border-radius: 50%;
  animation: gateTapPulse 2.2s ease-out infinite;
}

.gate-tap-icon {
  position: relative;
  z-index: 1;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-light), var(--gold-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green-dark);
  font-size: 16px;
  box-shadow: 0 8px 24px rgba(200, 169, 106, 0.35);
}

@keyframes gateTapPulse {
  0% { transform: scale(1); opacity: 0.8; }
  100% { transform: scale(1.7); opacity: 0; }
}

.gate-tap-text {
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(248, 244, 237, 0.7);
  opacity: 0;
  animation: fadeIn 1s ease 2.1s forwards;
}

/* ===== GATE CLOSING TRANSITION ===== */
#gate.gate-closing .gate-content > * {
  transition: opacity 0.6s ease, transform 0.6s ease, filter 0.6s ease;
}

#gate.gate-closing .gate-bismillah {
  opacity: 0;
  filter: blur(10px);
  transform: translateY(-24px) scale(1.06);
  animation: none;
}

#gate.gate-closing .gate-ornament,
#gate.gate-closing .gate-label,
#gate.gate-closing .gate-date,
#gate.gate-closing .gate-tap,
#gate.gate-closing .gate-tap-text {
  opacity: 0;
  transform: translateY(-10px);
  animation: none;
}

#gate.gate-closing .gate-names {
  opacity: 0;
  transform: translateY(-10px) scale(1.04);
  animation: none;
  transition-delay: 0.08s;
}

#gate.gate-closing .gate-corner {
  opacity: 0;
  transition: opacity 0.5s ease;
}

#gate.gate-closing .gate-fade,
#gate.gate-closing .gate-vignette {
  transition: opacity 0.9s ease 0.15s;
  opacity: 0;
}

#gate.gate-closing .gate-image img {
  transition: transform 1.1s cubic-bezier(0.19, 1, 0.22, 1), filter 1.1s ease;
  transform: scale(1.3);
  filter: sepia(15%) saturate(85%) brightness(1);
}

#gate.gate-closing {
  transition: opacity 0.9s ease 0.35s, visibility 0.9s ease 0.35s;
  opacity: 0;
  pointer-events: none;
}

/* ===== NAVIGATION ===== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 20px 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.nav.scrolled {
  background: rgba(248, 244, 237, 0.95);
  backdrop-filter: blur(12px);
  padding: 14px 40px;
  box-shadow: 0 2px 30px rgba(0,0,0,0.08);
}

.nav-logo {
  font-family: var(--font-script);
  font-size: 28px;
  color: var(--gold);
  letter-spacing: 0.05em;
}

/* ===== HERO SECTION ===== */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('../assets/images/hero-bg.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transform: scale(1.05);
  transition: transform 8s ease;
}

.hero-bg.loaded {
  transform: scale(1);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(248, 244, 237, 0.88) 0%,
    rgba(248, 244, 237, 0.70) 50%,
    rgba(248, 244, 237, 0.82) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 40px 20px;
  max-width: 800px;
  width: 100%;
}

.hero-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 0 auto 20px;
  opacity: 0;
  animation: fadeIn 1s ease 0.4s forwards;
}

.hero-divider-line {
  width: 80px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold));
}

.hero-divider-line.right {
  background: linear-gradient(90deg, var(--gold), transparent);
}

.hero-divider-icon {
  color: var(--gold);
  font-size: 18px;
}

.hero-label {
  font-family: var(--font-sans);
  font-size: clamp(12px, 2vw, 15px);
  letter-spacing: 0.3em;
  color: var(--green);
  text-transform: uppercase;
  margin-bottom: 12px;
  opacity: 0;
  animation: fadeUp 1s ease 1s forwards;
}

.hero-names {
  margin: 20px 0;
  opacity: 0;
  animation: fadeUp 1.2s ease 1.2s forwards;
}

.hero-name-bride {
  font-family: var(--font-script);
  font-size: clamp(52px, 10vw, 96px);
  color: var(--green);
  line-height: 0.9;
  display: block;
}

.hero-and {
  font-family: var(--font-script);
  font-size: clamp(28px, 5vw, 48px);
  color: var(--gold);
  display: block;
  margin: 8px 0;
}

.hero-name-groom {
  font-family: var(--font-script);
  font-size: clamp(52px, 10vw, 96px);
  color: var(--green);
  line-height: 0.9;
  display: block;
}

.hero-date {
  margin-top: 32px;
  opacity: 0;
  animation: fadeUp 1s ease 1.6s forwards;
}

.hero-date-text {
  font-family: var(--font-serif);
  font-size: clamp(14px, 2.5vw, 18px);
  color: var(--green);
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.hero-date-number {
  font-family: var(--font-serif);
  font-size: clamp(32px, 6vw, 56px);
  color: var(--gold);
  font-weight: 700;
  letter-spacing: 0.05em;
  display: block;
  margin: 8px 0;
}

.hero-scroll-hint {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  opacity: 0;
  animation: fadeIn 1s ease 2.5s forwards;
}

.scroll-mouse {
  width: 24px;
  height: 38px;
  border: 2px solid var(--gold);
  border-radius: 12px;
  position: relative;
}

.scroll-wheel {
  width: 4px;
  height: 8px;
  background: var(--gold);
  border-radius: 2px;
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  animation: scrollWheel 1.5s ease-in-out infinite;
}

.scroll-text {
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--gold);
  text-transform: uppercase;
}

/* ===== OPENING INVITATION ===== */
#opening {
  padding: 100px 20px;
  background: var(--cream);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.opening-bg-pattern {
  position: absolute;
  inset: 0;
  background-image: url('../assets/images/hero-bg.png');
  background-size: cover;
  background-position: center;
  opacity: 0.06;
}

.opening-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
}

.section-eyebrow {
  font-size: 11px;
  letter-spacing: 0.45em;
  text-transform: uppercase;
  color: var(--gold-dark);
  font-family: var(--font-body);
  font-weight: 700;
  margin-bottom: 18px;
  display: block;
  position: relative;
}

.section-title {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: clamp(30px, 5vw, 48px);
  color: var(--green);
  line-height: 1.22;
  letter-spacing: 0.01em;
  margin-bottom: 24px;
  position: relative;
}

.ornament-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin: 32px auto;
}

.ornament-line {
  width: 100px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold));
  position: relative;
}

.ornament-line::after {
  content: '';
  position: absolute;
  top: -1.5px;
  right: 0;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--gold);
}

.ornament-line.right {
  background: linear-gradient(90deg, var(--gold), transparent);
}

.ornament-line.right::after {
  right: auto;
  left: 0;
}

.ornament-flower {
  color: var(--gold);
  font-size: 22px;
  filter: drop-shadow(0 2px 6px rgba(200, 169, 106, 0.35));
}

.opening-couple-photo {
  margin: 48px auto;
  max-width: 480px;
  position: relative;
}

.couple-photo-frame {
  position: relative;
  border-radius: 0;
  overflow: hidden;
}

.couple-photo-frame::before {
  content: '';
  position: absolute;
  inset: 12px;
  border: 1px solid var(--gold);
  z-index: 2;
  pointer-events: none;
}

.couple-photo-frame::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(248, 244, 237, 0.1) 0%,
    transparent 30%,
    transparent 70%,
    rgba(248, 244, 237, 0.2) 100%
  );
  z-index: 1;
}

.couple-photo-frame img {
  width: 100%;
  height: auto;
  display: block;
  filter: sepia(10%) saturate(90%) brightness(1.02);
}

.corner-ornament {
  position: absolute;
  width: 30px;
  height: 30px;
  border-color: var(--gold);
  border-style: solid;
  z-index: 3;
}

.corner-ornament.tl { top: 4px; left: 4px; border-width: 2px 0 0 2px; }
.corner-ornament.tr { top: 4px; right: 4px; border-width: 2px 2px 0 0; }
.corner-ornament.bl { bottom: 4px; left: 4px; border-width: 0 0 2px 2px; }
.corner-ornament.br { bottom: 4px; right: 4px; border-width: 0 2px 2px 0; }

.opening-quote {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(16px, 2.5vw, 22px);
  color: var(--green);
  line-height: 1.8;
  max-width: 600px;
  margin: 0 auto;
}

.opening-quote-arabic {
  font-family: 'Amiri', serif;
  font-size: clamp(18px, 3vw, 26px);
  color: var(--gold);
  display: block;
  margin-bottom: 12px;
  direction: rtl;
}

/* ===== COUPLE SECTION ===== */
#couple {
  padding: 100px 20px;
  background: var(--green-dark);
  position: relative;
  overflow: hidden;
}

.couple-bg-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.05;
  background-image: repeating-linear-gradient(
    45deg,
    var(--gold) 0px,
    var(--gold) 1px,
    transparent 1px,
    transparent 60px
  );
}

.couple-content {
  position: relative;
  z-index: 2;
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}

.couple-content .section-eyebrow {
  color: var(--gold-light);
}

.couple-content .section-title {
  color: var(--cream);
}

.couple-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 40px;
  align-items: center;
  margin-top: 64px;
}

.couple-card {
  background: rgba(248, 244, 237, 0.05);
  border: 1px solid rgba(200, 169, 106, 0.3);
  outline: 1px solid rgba(200, 169, 106, 0.12);
  outline-offset: -8px;
  padding: 56px 32px;
  position: relative;
  transition: var(--transition);
}

.couple-card:hover {
  background: rgba(248, 244, 237, 0.08);
  border-color: rgba(200, 169, 106, 0.5);
  transform: translateY(-4px);
}

.couple-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.couple-role {
  font-size: 10px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 24px;
  display: block;
}

.couple-name-script {
  font-family: var(--font-script);
  font-size: clamp(42px, 6vw, 64px);
  color: var(--cream);
  line-height: 1;
  display: block;
  margin-bottom: 20px;
}

.couple-parent-label {
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(248, 244, 237, 0.5);
  margin-bottom: 8px;
}

.couple-parent-names {
  font-family: var(--font-serif);
  font-size: clamp(14px, 2vw, 18px);
  color: var(--cream);
  line-height: 1.6;
}

.couple-parent-names span {
  display: block;
}

.couple-divider-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.couple-divider-center .and-text {
  font-family: var(--font-script);
  font-size: 56px;
  color: var(--gold);
  line-height: 1;
}

.couple-divider-center .vline {
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, transparent, var(--gold), transparent);
}

/* ===== EVENTS SECTION ===== */
#events {
  padding: 100px 20px;
  background: var(--cream);
  position: relative;
}

.events-content {
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}

.events-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-top: 64px;
}

.event-card {
  background: var(--white);
  border: 1px solid rgba(200, 169, 106, 0.3);
  outline: 1px solid rgba(200, 169, 106, 0.1);
  outline-offset: -8px;
  padding: 52px 36px;
  position: relative;
  text-align: center;
  transition: var(--transition);
  box-shadow: var(--shadow-soft);
}

.event-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lift);
  border-color: rgba(200, 169, 106, 0.55);
}

.event-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  transform: scaleX(0);
  transition: var(--transition);
}

.event-card:hover::after {
  transform: scaleX(1);
}

.event-icon {
  width: 60px;
  height: 60px;
  background: var(--gold-gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  font-size: 20px;
  color: var(--white);
  box-shadow: var(--shadow-gold);
}

.event-type {
  font-size: 10px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}

.event-title {
  font-family: var(--font-serif);
  font-size: clamp(22px, 3vw, 30px);
  color: var(--green);
  margin-bottom: 32px;
}

.event-detail {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
  text-align: left;
}

.event-detail-icon {
  width: 32px;
  height: 32px;
  background: rgba(46, 93, 80, 0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--green);
  font-size: 13px;
}

.event-detail-text {
  flex: 1;
}

.event-detail-label {
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-light);
  display: block;
  margin-bottom: 2px;
}

.event-detail-value {
  font-family: var(--font-sans);
  font-size: clamp(14px, 2vw, 16px);
  color: var(--text-dark);
  font-weight: 600;
}

.maps-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 28px;
  padding: 14px 28px;
  background: transparent;
  border: 1.5px solid var(--gold);
  color: var(--gold);
  font-family: var(--font-body);
  font-size: 12px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition-fast);
}

.maps-btn:hover {
  background: var(--gold);
  color: var(--white);
  transform: translateY(-2px);
}

/* ===== COUNTDOWN ===== */
#countdown {
  padding: 100px 20px;
  background: var(--green);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.countdown-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(200, 169, 106, 0.1) 0%, transparent 70%);
}

.countdown-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
}

.countdown-content .section-eyebrow {
  color: rgba(200, 169, 106, 0.8);
}

.countdown-content .section-title {
  color: var(--cream);
}

.countdown-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 64px;
}

.countdown-item {
  position: relative;
}

.countdown-box {
  background: rgba(248, 244, 237, 0.08);
  border: 1px solid rgba(200, 169, 106, 0.3);
  padding: 32px 16px;
  position: relative;
  overflow: hidden;
}

.countdown-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.countdown-number {
  font-family: var(--font-serif);
  font-size: clamp(44px, 7vw, 80px);
  color: var(--gold);
  line-height: 1;
  display: block;
  font-weight: 700;
}

.countdown-label {
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(248, 244, 237, 0.6);
  margin-top: 8px;
  display: block;
}

.countdown-separator {
  display: none;
}

/* ===== QUOTE SECTION ===== */
#quote-section {
  padding: 120px 20px;
  background: var(--cream-dark);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.quote-bg {
  position: absolute;
  inset: 0;
  background-image: url('../assets/images/hero-bg.png');
  background-size: cover;
  background-position: center;
  opacity: 0.04;
}

.quote-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  margin: 0 auto;
}

.quote-mark {
  font-family: var(--font-serif);
  font-size: 120px;
  color: var(--gold);
  opacity: 0.3;
  line-height: 0.5;
  display: block;
  margin-bottom: 32px;
}

.quote-arabic {
  font-family: 'Amiri', serif;
  font-size: clamp(22px, 4vw, 36px);
  color: var(--green);
  direction: rtl;
  line-height: 1.8;
  margin-bottom: 24px;
}

.quote-translation {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(16px, 2.5vw, 20px);
  color: var(--text-medium);
  line-height: 1.8;
  margin-bottom: 16px;
}

.quote-source {
  font-size: 12px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
}

/* ===== GALLERY ===== */
#gallery {
  padding: 100px 20px;
  background: var(--cream);
}

.gallery-content {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 64px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3/4;
  background: var(--cream-dark);
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
  filter: sepia(10%) saturate(90%);
}

.gallery-item:hover img {
  transform: scale(1.08);
}

.gallery-item-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(46, 93, 80, 0.6), transparent);
  opacity: 0;
  transition: var(--transition);
  display: flex;
  align-items: flex-end;
  padding: 24px;
}

.gallery-item:hover .gallery-item-overlay {
  opacity: 1;
}

.gallery-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--cream-dark), rgba(200, 169, 106, 0.15));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--gold);
  font-family: var(--font-serif);
  font-size: 14px;
}

/* ===== TIMELINE / LOVE STORY ===== */
#love-story {
  padding: 100px 20px;
  background: var(--green-dark);
  position: relative;
  overflow: hidden;
}

.love-story-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.love-story-content .section-title {
  color: var(--cream);
}

.timeline {
  margin-top: 64px;
  position: relative;
  padding: 0 40px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(to bottom, transparent, var(--gold), transparent);
  transform: translateX(-50%);
}

.timeline-item {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 32px;
  align-items: center;
  margin-bottom: 48px;
}

.timeline-item:nth-child(odd) .timeline-text {
  text-align: right;
  order: -1;
}

.timeline-item:nth-child(even) .timeline-text {
  text-align: left;
  grid-column: 3;
}

.timeline-item:nth-child(even) .timeline-empty {
  grid-column: 1;
  grid-row: 1;
}

.timeline-dot {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 16px;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
  box-shadow: 0 0 0 6px rgba(200, 169, 106, 0.15);
}

.timeline-text {}

.timeline-date {
  font-size: 11px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 6px;
}

.timeline-title {
  font-family: var(--font-serif);
  font-size: clamp(18px, 2.5vw, 22px);
  color: var(--cream);
  margin-bottom: 8px;
}

.timeline-desc {
  font-size: clamp(13px, 1.8vw, 15px);
  color: rgba(248, 244, 237, 0.6);
  line-height: 1.7;
}

/* ===== RSVP ===== */
#rsvp {
  padding: 100px 20px;
  background: var(--cream);
  text-align: center;
}

.rsvp-content {
  max-width: 600px;
  margin: 0 auto;
}

.rsvp-form-group {
  margin-bottom: 20px;
  text-align: left;
}

.rsvp-form-group label {
  display: block;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 8px;
}

.rsvp-form-group input,
.rsvp-form-group select,
.rsvp-form-group textarea {
  width: 100%;
  padding: 14px 18px;
  background: transparent;
  border: 1px solid rgba(46, 93, 80, 0.2);
  color: var(--text-dark);
  font-family: var(--font-body);
  font-size: 15px;
  outline: none;
  transition: var(--transition-fast);
  -webkit-appearance: none;
}

.rsvp-form-group input:focus,
.rsvp-form-group select:focus,
.rsvp-form-group textarea:focus {
  border-color: var(--gold);
}

.rsvp-form-group textarea {
  height: 120px;
  resize: vertical;
}

.rsvp-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 18px 48px;
  background: var(--green);
  color: var(--cream);
  border: none;
  font-family: var(--font-body);
  font-size: 12px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  cursor: pointer;
  transition: var(--transition-fast);
  margin-top: 16px;
}

.rsvp-btn:hover {
  background: var(--green-dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(46, 93, 80, 0.3);
}

/* ===== FOOTER ===== */
footer {
  background: var(--green-dark);
  padding: 80px 20px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.footer-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.04;
  background-image: repeating-linear-gradient(
    45deg,
    var(--gold) 0px,
    var(--gold) 1px,
    transparent 1px,
    transparent 60px
  );
}

.footer-content {
  position: relative;
  z-index: 2;
}

.footer-names {
  font-family: var(--font-script);
  font-size: clamp(36px, 6vw, 64px);
  color: var(--cream);
  margin-bottom: 8px;
}

.footer-date {
  font-family: var(--font-serif);
  font-size: clamp(14px, 2vw, 18px);
  color: rgba(248, 244, 237, 0.5);
  letter-spacing: 0.2em;
  margin-bottom: 48px;
}

.footer-divider {
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  margin: 0 auto 32px;
}

.footer-bottom {
  font-size: 12px;
  color: rgba(248, 244, 237, 0.35);
  letter-spacing: 0.1em;
}

/* ===== FLOATING ELEMENTS ===== */
.floating-leaf {
  position: absolute;
  width: 200px;
  height: 200px;
  opacity: 0.08;
  pointer-events: none;
}

.floating-leaf svg {
  width: 100%;
  height: 100%;
  fill: var(--gold);
}

/* ===== MUSIC MUTE / UNMUTE BUTTON ===== */
#mute-btn {
  position: fixed;
  bottom: 28px;
  left: 28px;
  z-index: 9998;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(30, 61, 52, 0.85);
  border: 1px solid rgba(200, 169, 106, 0.55);
  color: var(--gold-light);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
  transition: background 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
  outline: none;
  padding: 0;
}

#mute-btn:hover {
  background: rgba(46, 93, 80, 0.95);
  border-color: var(--gold);
  transform: scale(1.1);
  box-shadow: 0 6px 28px rgba(200, 169, 106, 0.35);
}

#mute-btn:active {
  transform: scale(0.96);
}

#mute-btn svg {
  display: block;
  flex-shrink: 0;
}

/* Subtle pulse ring to hint it's playing */
#mute-btn::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1px solid rgba(200, 169, 106, 0.3);
  animation: musicPulse 2.8s ease-out infinite;
}

#mute-btn.muted::before {
  animation: none;
  opacity: 0;
}

@keyframes musicPulse {
  0%   { transform: scale(1);   opacity: 0.6; }
  100% { transform: scale(1.5); opacity: 0;   }
}

/* ===== UTILITY CLASSES ===== */
.text-gold { color: var(--gold); }
.text-green { color: var(--green); }
.text-cream { color: var(--cream); }

.aos-hidden {
  opacity: 0;
}

/* ===== KEYFRAMES ===== */
@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

@keyframes loadingProgress {
  0% { width: 0%; }
  60% { width: 80%; }
  100% { width: 100%; }
}

@keyframes scrollWheel {
  0% { top: 6px; opacity: 1; }
  100% { top: 18px; opacity: 0; }
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.6; }
}

@keyframes floatY {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-15px); }
}

@keyframes shimmer {
  0% { background-position: -200% center; }
  100% { background-position: 200% center; }
}

/* Parents Section */
#parents {
  padding: 100px 20px;
  background: var(--cream-dark);
  text-align: center;
}

.parents-content {
  max-width: 900px;
  margin: 0 auto;
}

.parents-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-top: 64px;
}

.parents-card {
  background: var(--white);
  border: 1px solid rgba(200, 169, 106, 0.25);
  padding: 40px 28px;
  text-align: center;
  transition: var(--transition);
}

.parents-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(46, 93, 80, 0.1);
}

.parents-card-title {
  font-size: 10px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 24px;
}

.parents-card-name {
  font-family: var(--font-script);
  font-size: clamp(32px, 5vw, 48px);
  color: var(--green);
  line-height: 1;
  display: block;
  margin-bottom: 20px;
}

.parents-card-parent {
  font-family: var(--font-serif);
  font-size: clamp(14px, 2vw, 17px);
  color: var(--text-medium);
  line-height: 2;
}

.parents-card-parent strong {
  display: block;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-light);
  font-weight: normal;
  margin-bottom: 4px;
  margin-top: 16px;
  font-family: var(--font-body);
}