/* =========================================
   ROYAL INDIAN PALACE WEDDING CSS
   Luxury Heritage · Timeless Grandeur
   ========================================= */

/* ---- IMPORTS & FONTS ---- */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400;1,500&family=Jost:wght@200;300;400;500&family=Great+Vibes&family=Montserrat:wght@200;300;400;500;600&display=swap');

/* ---- ROOT VARIABLES ---- */
:root {
  /* ─── Core Palette ─── */
  --ivory:         #F8F3E9;
  --ivory-off:     #F2EAD8;
  --beige:         #E8DCCB;
  --beige-light:   #F0E9D8;
  --beige-mid:     #DDD0BC;
  --gold:          #D4AF37;
  --gold-royal:    #C89B3C;
  --gold-light:    #E8CC6A;
  --gold-pale:     #F5E9B0;
  --gold-dark:     #A07828;
  --maroon:        #7A1F2B;
  --maroon-dark:   #5A1520;
  --maroon-deeper: #3D0E15;
  --maroon-light:  #9A2535;
  --maroon-blush:  #C45A6A;
  --warm-brown:    #8B5E3C;
  --warm-brown-lt: #B88A60;
  --text-primary:  #2D0F14;
  --text-mid:      #5A2428;
  --text-soft:     #8B5E65;
  --white:         #FFFFFF;

  /* ─── Fonts ─── */
  --font-serif:  'Cormorant Garamond', Georgia, serif;
  --font-script: 'Great Vibes', cursive;
  --font-sans:   'Jost', 'Montserrat', sans-serif;

  /* ─── Easing ─── */
  --ease-luxury: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-in-out: cubic-bezier(0.87, 0, 0.13, 1);

  /* ─── Z-Index ─── */
  --z-loader:  9999;
  --z-cursor:  9998;
  --z-nav:     1000;
  --z-modal:   2000;
  --z-overlay: 500;

  /* ─── Design Tokens ─── */
  --section-padding: clamp(80px, 12vw, 160px);
  --gold-shadow:     0 8px 40px rgba(212, 175, 55, 0.3);
  --maroon-shadow:   0 8px 40px rgba(122, 31, 43, 0.15);
  --card-bg:         rgba(255, 255, 255, 0.88);
  --card-border:     rgba(212, 175, 55, 0.4);
  --card-radius:     0px;
}

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  font-size: 16px;
}

body {
  font-family: var(--font-sans);
  background: var(--ivory);
  color: var(--text-primary);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  cursor: none;
}

img  { display: block; max-width: 100%; }
a    { text-decoration: none; color: inherit; }
button { cursor: none; border: none; background: none; font-family: inherit; }
ul   { list-style: none; }

::selection {
  background: var(--gold);
  color: var(--maroon-deeper);
}

::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--beige); }
::-webkit-scrollbar-thumb { background: var(--gold-royal); border-radius: 2px; }

/* =========================================
   LOADING SCREEN
   ========================================= */
#loading-screen {
  position: fixed;
  inset: 0;
  background: var(--maroon-deeper);
  z-index: var(--z-loader);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* Decorative corner ornaments on loader */
#loading-screen::before,
#loading-screen::after {
  content: '';
  position: absolute;
  width: 160px;
  height: 160px;
  border: 1px solid rgba(212, 175, 55, 0.3);
  pointer-events: none;
}
#loading-screen::before {
  top: 30px; left: 30px;
  border-right: none; border-bottom: none;
}
#loading-screen::after {
  bottom: 30px; right: 30px;
  border-left: none; border-top: none;
}

.loader-mandala {
  width: 160px;
  height: 160px;
  position: relative;
  margin-bottom: 40px;
  opacity: 0;
  animation: loaderMandalaIn 1s var(--ease-luxury) 0.3s forwards;
}

.loader-mandala svg {
  width: 100%;
  height: 100%;
  animation: loaderSpin 12s linear infinite;
}

.loader-text {
  font-family: var(--font-script);
  font-size: clamp(2.5rem, 5vw, 4rem);
  color: var(--gold);
  opacity: 0;
  animation: loaderTextIn 1s var(--ease-luxury) 0.8s forwards;
  letter-spacing: 0.02em;
  text-shadow: 0 0 40px rgba(212, 175, 55, 0.4);
}

.loader-tagline {
  font-family: var(--font-sans);
  font-size: 0.6rem;
  font-weight: 300;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: rgba(212, 175, 55, 0.6);
  margin-top: 8px;
  opacity: 0;
  animation: loaderTextIn 1s var(--ease-luxury) 1.2s forwards;
}

.loader-bar-wrap {
  position: absolute;
  bottom: 60px;
  left: 50%;
  transform: translateX(-50%);
  width: 200px;
}

.loader-bar-track {
  width: 100%;
  height: 1px;
  background: rgba(212, 175, 55, 0.15);
  overflow: hidden;
}

.loader-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--gold-royal), var(--gold), var(--gold-light));
  width: 0;
  animation: loaderBarFill 2.2s var(--ease-smooth) 0.5s forwards;
  box-shadow: 0 0 12px rgba(212, 175, 55, 0.6);
}

.loader-percent {
  text-align: center;
  margin-top: 10px;
  font-size: 0.6rem;
  letter-spacing: 0.3em;
  color: rgba(212, 175, 55, 0.4);
  font-family: var(--font-sans);
  font-weight: 200;
}

.loader-panel-left,
.loader-panel-right {
  position: absolute;
  top: 0;
  width: 50%;
  height: 100%;
  background: var(--maroon-deeper);
  z-index: 2;
  transition: transform 1s var(--ease-luxury);
}
.loader-panel-left  { left: 0; }
.loader-panel-right { right: 0; }

.loader-exiting .loader-panel-left  { transform: translateX(-100%); }
.loader-exiting .loader-panel-right { transform: translateX(100%); }
.loader-exiting .loader-mandala,
.loader-exiting .loader-text,
.loader-exiting .loader-tagline,
.loader-exiting .loader-bar-wrap { opacity: 0 !important; transition: opacity 0.4s ease; }

@keyframes loaderMandalaIn {
  from { opacity: 0; transform: scale(0.8) rotate(-15deg); }
  to   { opacity: 1; transform: scale(1) rotate(0deg); }
}
@keyframes loaderTextIn {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes loaderSpin {
  to { transform: rotate(360deg); }
}
@keyframes loaderBarFill {
  to { width: 100%; }
}

/* =========================================
   CUSTOM CURSOR
   ========================================= */
.cursor-dot, .cursor-ring {
  position: fixed;
  border-radius: 50%;
  pointer-events: none;
  z-index: var(--z-cursor);
  transform: translate(-50%, -50%);
  transition-property: opacity;
  transition-duration: 0.3s;
}

.cursor-dot {
  width: 6px;
  height: 6px;
  background: var(--gold);
  top: 0; left: 0;
  transition: transform 0.1s ease, background 0.3s ease, width 0.3s ease, height 0.3s ease;
  box-shadow: 0 0 8px rgba(212, 175, 55, 0.7);
}

.cursor-ring {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(212, 175, 55, 0.5);
  top: 0; left: 0;
  transition: transform 0.15s var(--ease-smooth), width 0.3s var(--ease-luxury), height 0.3s var(--ease-luxury), border-color 0.3s ease;
}

.cursor-hover .cursor-dot  { transform: translate(-50%,-50%) scale(0); }
.cursor-hover .cursor-ring { width: 60px; height: 60px; border-color: var(--gold); background: rgba(212,175,55,0.08); }
.cursor-press .cursor-dot  { transform: translate(-50%,-50%) scale(1.5); }
.cursor-press .cursor-ring { transform: translate(-50%,-50%) scale(0.8); }

/* =========================================
   NAVIGATION
   ========================================= */
#nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: var(--z-nav);
  padding: 28px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background 0.5s ease, padding 0.4s ease, box-shadow 0.4s ease,
              opacity 0.5s ease, transform 0.5s var(--ease-luxury);
}

/* Hidden on hero — completely invisible */
#nav.nav-hero {
  opacity: 0;
  pointer-events: none;
  transform: translateY(-100%);
}

/* After hero — slides down with ivory background */
#nav.nav-scrolled {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0);
  background: rgba(248, 243, 233, 0.97);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  padding: 16px 48px;
  box-shadow: 0 1px 0 rgba(212, 175, 55, 0.2), 0 4px 20px rgba(122, 31, 43, 0.06);
}

#nav.nav-scrolled .nav-logo        { color: var(--maroon); }
#nav.nav-scrolled .nav-logo span   { color: var(--warm-brown-lt); }
#nav.nav-scrolled .nav-links a     { color: rgba(45, 15, 20, 0.6); }
#nav.nav-scrolled .nav-links a:hover { color: var(--maroon); }
#nav.nav-scrolled .nav-rsvp        { color: var(--maroon) !important; border-color: rgba(122,31,43,0.35) !important; }
#nav.nav-scrolled .nav-hamburger span { background: var(--maroon); }

.nav-logo {
  font-family: var(--font-script);
  font-size: 2rem;
  color: var(--gold);
  letter-spacing: 0.02em;
  transition: color 0.3s ease;
}

.nav-logo span {
  font-family: var(--font-sans);
  font-size: 0.5rem;
  font-weight: 300;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  display: block;
  margin-top: -4px;
  text-align: center;
}

.nav-links {
  display: flex;
  gap: 40px;
  align-items: center;
}

.nav-links a {
  font-size: 0.65rem;
  font-weight: 400;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  transition: color 0.3s ease;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width 0.4s var(--ease-luxury);
}

.nav-links a:hover::after { width: 100%; }

.nav-rsvp {
  font-size: 0.6rem !important;
  font-weight: 500 !important;
  letter-spacing: 0.3em !important;
  padding: 10px 24px;
  border: 1px solid !important;
  transition: background 0.4s ease, border-color 0.4s ease !important;
}

.nav-rsvp:hover { background: rgba(212, 175, 55, 0.12) !important; }
.nav-rsvp::after { display: none !important; }

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 28px;
}

.nav-hamburger span {
  display: block;
  height: 1px;
  background: var(--gold);
  transition: transform 0.4s ease, opacity 0.4s ease;
}

.nav-hamburger span:nth-child(2) { width: 70%; margin-left: auto; }

/* =========================================
   GOLD DECORATIVE LINE
   ========================================= */
.gold-line {
  display: flex;
  align-items: center;
  gap: 16px;
  justify-content: center;
  margin-bottom: 20px;
}

.gold-line::before,
.gold-line::after {
  content: '';
  flex: 1;
  max-width: 80px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold));
}

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

.gold-line .diamond {
  width: 7px;
  height: 7px;
  background: var(--gold);
  transform: rotate(45deg);
  box-shadow: 0 0 8px rgba(212, 175, 55, 0.5);
}

.section-tag {
  font-size: 0.6rem;
  font-weight: 400;
  letter-spacing: 0.45em;
  text-transform: uppercase;
  color: var(--gold-royal);
  display: block;
  text-align: center;
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 5vw, 5rem);
  font-weight: 400;
  color: var(--maroon);
  text-align: center;
  line-height: 1.1;
  letter-spacing: -0.01em;
}

.section-title em {
  font-style: italic;
  color: var(--gold-royal);
}

.section-subtitle {
  font-size: clamp(0.85rem, 1.5vw, 1rem);
  font-weight: 300;
  color: var(--text-soft);
  text-align: center;
  max-width: 500px;
  margin: 16px auto 0;
  line-height: 1.9;
  letter-spacing: 0.02em;
}

/* =========================================
   HERO SECTION — Royal Palace Dramatic
   ========================================= */
#hero {
  position: relative;
  width: 100%;
  height: 100svh;
  min-height: 700px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-slides {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.5s ease;
  animation: heroZoom 12s ease-in-out infinite alternate;
}

.hero-slide.active { opacity: 1; z-index: 1; }
.hero-slide.prev   { opacity: 0; z-index: 0; }

@keyframes heroZoom {
  from { transform: scale(1.08); }
  to   { transform: scale(1.02); }
}

.hero-slide-img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* Royal palace gradient fallbacks */
.hero-slide-img.grad-1 {
  background: linear-gradient(155deg,
    #3D0E15 0%,
    #7A1F2B 35%,
    #5A1520 65%,
    #2D0810 100%);
}
.hero-slide-img.grad-2 {
  background: radial-gradient(ellipse at 40% 50%,
    #7A1F2B 0%,
    #5A1520 40%,
    #3D0E15 100%);
}
.hero-slide-img.grad-3 {
  background: linear-gradient(225deg,
    #2D0810 0%,
    #5A1520 40%,
    #9A2535 75%,
    #5A1520 100%);
}

/* Gold lattice overlay — palace jali pattern */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(30, 5, 10, 0.25) 0%,
    rgba(30, 5, 10, 0.10) 30%,
    rgba(30, 5, 10, 0.35) 70%,
    rgba(20, 3, 8, 0.80)  100%
  );
  z-index: 2;
}

/* Gold geometric pattern overlay */
.hero-pattern {
  position: absolute;
  inset: 0;
  z-index: 2;
  opacity: 0.07;
  background-image: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23D4AF37' fill-opacity='1'%3E%3Cpath d='M40 0L50 30H80L56 48.5L66 80L40 62L14 80L24 48.5L0 30H30L40 0Z' fill-opacity='0.3'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 80px 80px;
}

/* Border ornament inside hero */
#hero::after {
  content: '';
  position: absolute;
  inset: 24px;
  border: 1px solid rgba(212, 175, 55, 0.18);
  z-index: 4;
  pointer-events: none;
}

/* Corner ornaments */
#hero .hero-corner {
  position: absolute;
  z-index: 5;
  pointer-events: none;
}
#hero .corner-tl { top: 24px; left: 24px; }
#hero .corner-tr { top: 24px; right: 24px; transform: scaleX(-1); }
#hero .corner-bl { bottom: 24px; left: 24px; transform: scaleY(-1); }
#hero .corner-br { bottom: 24px; right: 24px; transform: scale(-1); }

#hero-canvas {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  padding: 0 20px;
}

.hero-eyebrow {
  font-size: 0.6rem;
  font-weight: 300;
  letter-spacing: 0.55em;
  text-transform: uppercase;
  color: var(--gold-light);
  display: block;
  margin-bottom: 24px;
  opacity: 0;
  transform: translateY(30px);
}

.hero-names {
  font-family: var(--font-script);
  font-size: clamp(4rem, 12vw, 10rem);
  color: var(--ivory);
  line-height: 0.95;
  margin-bottom: 24px;
  opacity: 0;
  transform: translateY(40px);
  text-shadow: 0 4px 40px rgba(0, 0, 0, 0.4), 0 0 80px rgba(212, 175, 55, 0.15);
}

.hero-names .ampersand {
  color: var(--gold);
  display: inline-block;
  font-size: 0.7em;
  vertical-align: middle;
  margin: 0 0.1em;
  filter: drop-shadow(0 0 20px rgba(212,175,55,0.5));
}

.hero-date-line {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-bottom: 32px;
  opacity: 0;
  transform: translateY(30px);
}

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

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

.hero-date-text {
  font-family: var(--font-sans);
  font-size: 0.65rem;
  font-weight: 300;
  letter-spacing: 0.45em;
  text-transform: uppercase;
  color: rgba(248, 243, 233, 0.8);
}

.hero-tagline {
  font-family: var(--font-serif);
  font-size: clamp(1rem, 2.5vw, 1.6rem);
  font-weight: 300;
  font-style: italic;
  color: rgba(248, 243, 233, 0.7);
  margin-bottom: 60px;
  opacity: 0;
  transform: translateY(30px);
}

/* Countdown */
.hero-countdown {
  display: flex;
  gap: 40px;
  justify-content: center;
  margin-bottom: 60px;
  opacity: 0;
  transform: translateY(30px);
}

.countdown-item {
  text-align: center;
  position: relative;
}

.countdown-item::after {
  content: ':';
  position: absolute;
  top: 50%;
  right: -22px;
  transform: translateY(-50%);
  color: rgba(212, 175, 55, 0.4);
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 300;
  margin-top: -8px;
}

.countdown-item:last-child::after { display: none; }

.countdown-num {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 300;
  color: var(--gold);
  line-height: 1;
  display: block;
  text-shadow: 0 0 30px rgba(212,175,55,0.4);
  min-width: 80px;
}

.countdown-label {
  font-size: 0.55rem;
  font-weight: 300;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(248, 243, 233, 0.4);
  margin-top: 8px;
  display: block;
}

/* Hero CTA */
.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 16px 48px;
  border: 1px solid rgba(212, 175, 55, 0.5);
  font-family: var(--font-sans);
  font-size: 0.6rem;
  font-weight: 400;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--gold);
  position: relative;
  overflow: hidden;
  transition: color 0.4s ease, border-color 0.4s ease;
  opacity: 0;
  transform: translateY(30px);
}

.hero-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(212, 175, 55, 0.12);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--ease-luxury);
}

.hero-cta:hover { border-color: var(--gold); }
.hero-cta:hover::before { transform: scaleX(1); }

.hero-cta .cta-arrow {
  width: 20px;
  height: 1px;
  background: var(--gold);
  position: relative;
  transition: width 0.4s ease;
}

.hero-cta .cta-arrow::after {
  content: '';
  position: absolute;
  right: 0; top: -3px;
  width: 7px; height: 7px;
  border-right: 1px solid var(--gold);
  border-top: 1px solid var(--gold);
  transform: rotate(45deg);
}

.hero-cta:hover .cta-arrow { width: 32px; }

.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  text-align: center;
  opacity: 0;
}

.hero-scroll .scroll-text {
  font-size: 0.55rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: rgba(248, 243, 233, 0.35);
  display: block;
  margin-bottom: 12px;
}

.scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(180deg, rgba(212,175,55,0.7), transparent);
  margin: 0 auto;
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.4; transform: scaleY(1); }
  50%       { opacity: 1;   transform: scaleY(0.8); }
}

/* Slide indicators */
.hero-indicators {
  position: absolute;
  left: 56px;
  bottom: 50%;
  transform: translateY(50%);
  z-index: 10;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.hero-indicator {
  width: 1px;
  height: 32px;
  background: rgba(212, 175, 55, 0.2);
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.hero-indicator.active { background: rgba(212, 175, 55, 0.35); }
.hero-indicator.active::after {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: var(--gold);
  animation: indicatorFill 5s linear forwards;
}

@keyframes indicatorFill {
  from { transform: scaleY(0); transform-origin: top; }
  to   { transform: scaleY(1); transform-origin: top; }
}

/* =========================================
   SECTION SEPARATOR
   ========================================= */
.section-sep {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 56px 48px;
  gap: 24px;
  background: var(--ivory);
}

.section-sep-line {
  flex: 1;
  max-width: 300px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.5));
}

.section-sep-line-r {
  background: linear-gradient(90deg, rgba(212, 175, 55, 0.5), transparent);
}

.section-sep-ornament {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(212, 175, 55, 0.4);
  transform: rotate(45deg);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--ivory);
}

.section-sep-ornament::after {
  content: '';
  width: 7px;
  height: 7px;
  background: var(--gold);
  transform: rotate(0deg);
}

/* =========================================
   JOURNEY SECTION
   ========================================= */
#journey {
  position: relative;
  background: var(--beige);
  padding: var(--section-padding) 0;
  overflow: hidden;
}

/* Subtle floral print background */
.journey-bg {
  position: absolute;
  inset: 0;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg width='120' height='120' viewBox='0 0 120 120' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='60' cy='60' r='50' fill='none' stroke='%237A1F2B' stroke-width='0.8'/%3E%3Ccircle cx='60' cy='60' r='35' fill='none' stroke='%237A1F2B' stroke-width='0.8'/%3E%3Ccircle cx='60' cy='60' r='20' fill='none' stroke='%23D4AF37' stroke-width='0.6'/%3E%3C/svg%3E");
  background-size: 120px 120px;
}

.journey-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 48px;
}

.journey-header {
  text-align: center;
  margin-bottom: 80px;
}

.journey-timeline-wrap {
  position: relative;
}

.journey-timeline-bg {
  position: absolute;
  inset: -60px -40px;
  pointer-events: none;
  z-index: 0;
  width: calc(100% + 80px);
  height: calc(100% + 120px);
}

.journey-timeline {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
  margin-top: 80px;
}

.journey-card {
  position: relative;
  padding: 40px 32px;
  background: var(--white);
  border: 1px solid rgba(212, 175, 55, 0.25);
  border-top: 3px solid var(--gold);
  box-shadow: 0 4px 24px rgba(122, 31, 43, 0.06);
  opacity: 0;
  transform: translateY(40px);
  transition: transform 0.6s var(--ease-luxury), opacity 0.6s ease, box-shadow 0.4s ease, border-color 0.4s ease;
}

.journey-card.revealed { opacity: 1; transform: translateY(0); }

.journey-card:hover {
  box-shadow: 0 12px 48px rgba(122, 31, 43, 0.12), 0 0 0 1px rgba(212,175,55,0.3);
  border-color: rgba(212, 175, 55, 0.5);
  transform: translateY(-4px);
}

.journey-card-num {
  font-family: var(--font-serif);
  font-size: 4rem;
  font-weight: 300;
  color: rgba(212, 175, 55, 0.55);
  line-height: 1;
  position: absolute;
  top: 16px;
  right: 20px;
}

.journey-card-icon {
  display: block;
  margin-bottom: 20px;
  width: 28px;
  height: 28px;
  color: var(--gold-royal);
}

.journey-card-icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

.journey-card-title {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--maroon);
  margin-bottom: 12px;
  letter-spacing: 0.01em;
}

.journey-card-text {
  font-size: 0.85rem;
  font-weight: 300;
  color: var(--text-soft);
  line-height: 1.9;
}

.journey-card-place {
  margin-top: 20px;
  font-size: 0.6rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold-royal);
  font-weight: 400;
}

/* =========================================
   CELEBRATIONS SECTION
   ========================================= */
#celebrations {
  position: relative;
  background: var(--ivory);
  padding: var(--section-padding) 0;
  overflow: hidden;
}

/* Large maroon mandala background */
.celebrations-bg-ornament {
  position: absolute;
  right: -200px;
  top: 50%;
  transform: translateY(-50%);
  width: 600px;
  height: 600px;
  opacity: 0.04;
  pointer-events: none;
}

.celebrations-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 48px;
}

.celebrations-header {
  text-align: center;
  margin-bottom: 80px;
}

.events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.event-card {
  position: relative;
  overflow: hidden;
  background: var(--white);
  border: 1px solid rgba(212, 175, 55, 0.25);
  box-shadow: 0 4px 24px rgba(122, 31, 43, 0.06);
  transition: transform 0.6s var(--ease-luxury), box-shadow 0.6s ease, border-color 0.4s ease;
  opacity: 0;
  transform: translateY(60px) scale(0.97);
}

.event-card.revealed { opacity: 1; transform: translateY(0) scale(1); }

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

.event-card:hover {
  transform: translateY(-8px) scale(1.01);
  box-shadow: 0 20px 60px rgba(122, 31, 43, 0.14), 0 0 0 1px rgba(212,175,55,0.4);
  border-color: rgba(212, 175, 55, 0.5);
}

.event-card-header {
  padding: 36px 32px 24px;
  border-bottom: 1px solid rgba(212, 175, 55, 0.12);
  position: relative;
}

.event-tag {
  font-size: 0.55rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--maroon);
  font-weight: 400;
  display: inline-block;
  padding: 4px 14px;
  border: 1px solid rgba(122, 31, 43, 0.2);
  margin-bottom: 20px;
  background: rgba(122, 31, 43, 0.04);
}

.event-name {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 500;
  color: var(--maroon-dark);
  line-height: 1.2;
}

.event-card-body { padding: 28px 32px; }

.event-meta {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
}

.event-meta-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.78rem;
  font-weight: 300;
  color: var(--text-soft);
  letter-spacing: 0.04em;
}

.event-meta-item .icon {
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(212, 175, 55, 0.35);
  flex-shrink: 0;
  background: rgba(212, 175, 55, 0.05);
}

.event-meta-item .icon svg { width: 11px; height: 11px; fill: var(--gold-royal); }

.event-desc {
  font-size: 0.82rem;
  font-weight: 300;
  color: var(--text-soft);
  line-height: 1.9;
  border-top: 1px solid rgba(212, 175, 55, 0.1);
  padding-top: 20px;
}

.event-icon-bg {
  position: absolute;
  bottom: -16px;
  right: -16px;
  width: 120px;
  height: 120px;
  opacity: 0.06;
  pointer-events: none;
  color: var(--maroon);
}

.event-icon-bg svg {
  width: 100%;
  height: 100%;
}

/* =========================================
   VENUE SECTION
   ========================================= */
#venue {
  position: relative;
  background: var(--beige);
  padding: var(--section-padding) 0;
  overflow: hidden;
  min-height: 80vh;
  display: flex;
  align-items: center;
}

/* Tiled paisley-like pattern */
#venue::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M30 5 C15 5 5 15 5 30 C5 45 15 55 30 55 C45 55 55 45 55 30 C55 15 45 5 30 5Z' fill='none' stroke='%237A1F2B' stroke-width='0.8'/%3E%3C/svg%3E");
  background-size: 60px 60px;
}

.venue-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 48px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  width: 100%;
}

.venue-visual {
  position: relative;
  opacity: 0;
  transform: translateX(-40px);
  transition: all 0.8s var(--ease-luxury);
}

.venue-visual.revealed { opacity: 1; transform: translateX(0); }

.venue-img-frame {
  position: relative;
  aspect-ratio: 4/5;
  overflow: visible;
  max-height: 600px;
}

/* Layered gold border system */
.venue-img-frame::before {
  content: '';
  position: absolute;
  inset: -10px;
  border: 1.5px solid rgba(212, 175, 55, 0.35);
  border-radius: 2px;
  z-index: 2;
  pointer-events: none;
}
.venue-img-frame::after {
  content: '';
  position: absolute;
  inset: -4px;
  border: 2px solid rgba(212, 175, 55, 0.6);
  border-radius: 1px;
  z-index: 2;
  pointer-events: none;
}

/* Map wrapper clips the iframe */
.venue-map-wrap {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 1px;
  box-shadow:
    0 20px 60px rgba(122, 31, 43, 0.18),
    0 6px 20px rgba(0, 0, 0, 0.12);
}

.venue-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease-luxury);
  background: linear-gradient(155deg, var(--maroon-dark) 0%, var(--maroon) 50%, var(--maroon-light) 100%);
}

.venue-img-frame:hover .venue-img { transform: scale(1.04); }

.venue-map-embed {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
  filter: grayscale(15%) contrast(1.08) brightness(0.97);
  transition: filter 0.4s ease;
}
.venue-map-wrap:hover .venue-map-embed {
  filter: grayscale(0%) contrast(1.05) brightness(1);
}

/* Subtle maroon tint overlay on map */
.venue-map-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(122, 31, 43, 0.06) 0%,
    transparent 40%,
    transparent 70%,
    rgba(122, 31, 43, 0.1) 100%
  );
  pointer-events: none;
  z-index: 1;
}

/* Gold corner accents — larger, more ornate */
.venue-img-accent {
  position: absolute;
  width: 60px;
  height: 60px;
  right: -20px;
  bottom: -20px;
  border-right: 2px solid var(--gold);
  border-bottom: 2px solid var(--gold);
  z-index: 4;
}
.venue-img-accent::before {
  content: '';
  position: absolute;
  right: 8px;
  bottom: 8px;
  width: 28px;
  height: 28px;
  border-right: 1px solid rgba(212, 175, 55, 0.4);
  border-bottom: 1px solid rgba(212, 175, 55, 0.4);
}

.venue-img-accent-tl {
  position: absolute;
  width: 60px;
  height: 60px;
  left: -20px;
  top: -20px;
  border-left: 2px solid var(--gold);
  border-top: 2px solid var(--gold);
  z-index: 4;
}
.venue-img-accent-tl::before {
  content: '';
  position: absolute;
  left: 8px;
  top: 8px;
  width: 28px;
  height: 28px;
  border-left: 1px solid rgba(212, 175, 55, 0.4);
  border-top: 1px solid rgba(212, 175, 55, 0.4);
}

.venue-details {
  opacity: 0;
  transform: translateX(40px);
  transition: all 0.8s var(--ease-luxury) 0.2s;
}

.venue-details.revealed { opacity: 1; transform: translateX(0); }

.venue-details .section-tag   { text-align: left; }
.venue-details .section-title { text-align: left; font-size: clamp(2rem, 4vw, 3.5rem); }
.venue-details .gold-line      { justify-content: flex-start; }

.venue-info-list {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.venue-info-item {
  display: flex;
  gap: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(212, 175, 55, 0.15);
}

.venue-info-item:last-child { border-bottom: none; }

.venue-info-icon {
  width: 38px;
  height: 38px;
  border: 1px solid rgba(212, 175, 55, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
  background: rgba(212, 175, 55, 0.05);
}

.venue-info-icon svg { width: 14px; height: 14px; fill: var(--gold-royal); }

.venue-info-content .label {
  font-size: 0.55rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold-royal);
  font-weight: 400;
  display: block;
  margin-bottom: 4px;
}

.venue-info-content .value {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  color: var(--maroon-dark);
  font-weight: 500;
}

.venue-info-content .sub {
  font-size: 0.75rem;
  font-weight: 300;
  color: var(--text-soft);
  margin-top: 2px;
}

.venue-map-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 40px;
  font-size: 0.6rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--maroon);
  padding: 13px 28px;
  border: 1px solid rgba(122, 31, 43, 0.3);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
  background: transparent;
}

.venue-map-link::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(122, 31, 43, 0.05);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease-luxury);
}

.venue-map-link:hover { border-color: var(--maroon); }
.venue-map-link:hover::before { transform: scaleX(1); }

/* =========================================
   GALLERY SECTION
   ========================================= */
#gallery {
  position: relative;
  background: var(--ivory);
  padding: var(--section-padding) 0;
  overflow: hidden;
}

.gallery-container {
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 48px;
}

.gallery-header {
  text-align: center;
  margin-bottom: 60px;
}

.gallery-filters {
  display: flex;
  justify-content: center;
  gap: 4px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.gallery-filter-btn {
  padding: 8px 24px;
  font-size: 0.6rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--text-soft);
  border: 1px solid transparent;
  transition: all 0.3s ease;
  font-family: var(--font-sans);
  font-weight: 400;
  background: transparent;
}

.gallery-filter-btn:hover {
  color: var(--maroon);
  border-color: rgba(122, 31, 43, 0.25);
}

.gallery-filter-btn.active {
  color: var(--maroon);
  border-color: rgba(212, 175, 55, 0.5);
  background: rgba(212, 175, 55, 0.06);
}

.gallery-masonry {
  columns: 4;
  column-gap: 16px;
}

.gallery-item {
  break-inside: avoid;
  margin-bottom: 16px;
  position: relative;
  overflow: hidden;
  opacity: 0;
  transform: translateY(30px) scale(0.97);
  transition: opacity 0.5s ease, transform 0.5s var(--ease-luxury);
  cursor: pointer;
  border: 1px solid rgba(212, 175, 55, 0.15);
}

.gallery-item.revealed { opacity: 1; transform: translateY(0) scale(1); }

.gallery-item.hidden {
  opacity: 0 !important;
  transform: scale(0.9) !important;
  pointer-events: none;
  position: absolute;
  visibility: hidden;
}

.gallery-item-img {
  width: 100%;
  display: block;
  transition: transform 0.7s var(--ease-luxury);
  background: linear-gradient(135deg, var(--beige), var(--beige-mid));
  aspect-ratio: 1;
  object-fit: cover;
}

.gallery-item:nth-child(3n) .gallery-item-img { aspect-ratio: 3/4; }
.gallery-item:nth-child(5n) .gallery-item-img { aspect-ratio: 4/3; }

.gallery-item-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(58, 14, 21, 0.85) 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
  display: flex;
  align-items: flex-end;
  padding: 20px;
}

.gallery-item:hover .gallery-item-overlay { opacity: 1; }
.gallery-item:hover .gallery-item-img { transform: scale(1.06); }

.gallery-item-caption {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 300;
  font-style: italic;
  color: var(--ivory);
}

.gallery-expand-icon {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  background: rgba(248, 243, 233, 0.9);
  border: 1px solid rgba(212, 175, 55, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-expand-icon { opacity: 1; }
.gallery-expand-icon svg { width: 12px; height: 12px; fill: var(--maroon); }

/* Lightbox */
#lightbox {
  position: fixed;
  inset: 0;
  background: rgba(30, 5, 10, 0.97);
  z-index: var(--z-modal);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease, visibility 0.5s ease;
  backdrop-filter: blur(8px);
}

#lightbox.open { opacity: 1; visibility: visible; }

.lightbox-img-wrap {
  max-width: 90vw;
  max-height: 85vh;
  position: relative;
  transform: scale(0.9);
  transition: transform 0.5s var(--ease-luxury);
}

#lightbox.open .lightbox-img-wrap { transform: scale(1); }

.lightbox-img {
  max-width: 90vw;
  max-height: 80vh;
  object-fit: contain;
  border: 1px solid rgba(212, 175, 55, 0.2);
}

.lightbox-close {
  position: absolute;
  top: 20px; right: 20px;
  width: 48px; height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(212, 175, 55, 0.35);
  color: var(--gold);
  font-size: 1.2rem;
  transition: all 0.3s ease;
  z-index: 1;
}

.lightbox-close:hover { background: rgba(212, 175, 55, 0.12); }

.lightbox-nav {
  position: absolute;
  top: 50%; transform: translateY(-50%);
  width: 48px; height: 48px;
  border: 1px solid rgba(212, 175, 55, 0.3);
  display: flex; align-items: center; justify-content: center;
  color: var(--gold);
  transition: all 0.3s ease;
}

.lightbox-nav:hover { background: rgba(212, 175, 55, 0.12); }
.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }

.lightbox-caption {
  position: absolute;
  bottom: -40px;
  left: 0; right: 0;
  text-align: center;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 0.9rem;
  color: rgba(212, 175, 55, 0.55);
}

/* =========================================
   RSVP SECTION
   ========================================= */
#rsvp {
  position: relative;
  background: var(--beige);
  padding: var(--section-padding) 0;
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

/* Gold mandala background */
.rsvp-bg-mandala {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  opacity: 0.04;
}

.rsvp-bg-mandala svg { width: 80vw; max-width: 900px; }

.rsvp-container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 48px;
  width: 100%;
  position: relative;
  z-index: 2;
}

.rsvp-header {
  text-align: center;
  margin-bottom: 60px;
}

.rsvp-card {
  background: var(--white);
  border: 1px solid rgba(212, 175, 55, 0.3);
  box-shadow: 0 8px 60px rgba(122, 31, 43, 0.1);
  padding: 60px;
  position: relative;
  overflow: hidden;
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s var(--ease-luxury);
}

.rsvp-card.revealed { opacity: 1; transform: translateY(0); }

/* Gold top rule */
.rsvp-card::before {
  content: '';
  position: absolute;
  top: 0; left: 10%; right: 10%;
  height: 3px;
  background: linear-gradient(90deg, transparent 0%, var(--gold) 30%, var(--gold-royal) 50%, var(--gold) 70%, transparent 100%);
}

/* Subtle corner ornament */
.rsvp-card::after {
  content: '';
  position: absolute;
  bottom: 0; right: 0;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle at bottom right, rgba(212,175,55,0.05) 0%, transparent 70%);
}

.rsvp-form { display: flex; flex-direction: column; gap: 32px; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }

.form-group { position: relative; }

.form-group label {
  display: block;
  font-size: 0.55rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--gold-royal);
  font-weight: 500;
  margin-bottom: 10px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(122, 31, 43, 0.2);
  padding: 12px 0;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 300;
  color: var(--text-primary);
  outline: none;
  transition: border-color 0.4s ease;
  appearance: none;
  -webkit-appearance: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(90, 36, 40, 0.3); }

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

.form-group textarea { resize: none; height: 80px; }

.form-group select option { background: var(--white); color: var(--text-primary); }

.form-line {
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--gold-royal));
  transition: width 0.4s var(--ease-luxury);
}

.form-group input:focus ~ .form-line,
.form-group select:focus ~ .form-line { width: 100%; }

.attendance-group { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.attendance-option input { display: none; }

.attendance-label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 20px;
  border: 1px solid rgba(122, 31, 43, 0.2);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-soft);
  cursor: pointer;
  transition: all 0.3s ease;
  background: rgba(248, 243, 233, 0.5);
}

.attendance-option input:checked + .attendance-label {
  border-color: var(--gold);
  color: var(--maroon-dark);
  background: rgba(212, 175, 55, 0.08);
}

.form-submit {
  width: 100%;
  padding: 18px;
  background: transparent;
  border: 1px solid rgba(212, 175, 55, 0.5);
  font-family: var(--font-sans);
  font-size: 0.65rem;
  font-weight: 400;
  letter-spacing: 0.5em;
  text-transform: uppercase;
  color: var(--maroon);
  cursor: pointer;
  transition: all 0.5s var(--ease-luxury);
  position: relative;
  overflow: hidden;
  margin-top: 16px;
}

.form-submit::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(212,175,55,0.1), rgba(200,155,60,0.12));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--ease-luxury);
}

.form-submit:hover::before { transform: scaleX(1); }
.form-submit:hover { border-color: var(--gold); }

/* RSVP Success */
.rsvp-success { display: none; text-align: center; padding: 60px 0; }
.rsvp-success.show { display: block; }

.success-icon {
  width: 80px; height: 80px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 32px;
  color: var(--gold);
  animation: successPulse 2s ease-in-out infinite;
}

.success-icon svg {
  color: var(--gold);
}

@keyframes successPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.3); }
  50%       { box-shadow: 0 0 0 20px rgba(212, 175, 55, 0); }
}

.success-title {
  font-family: var(--font-script);
  font-size: 3rem;
  color: var(--maroon);
  margin-bottom: 16px;
}

.success-text {
  font-size: 0.88rem;
  font-weight: 300;
  color: var(--text-soft);
  line-height: 1.9;
}

/* =========================================
   FOOTER — Royal Maroon
   ========================================= */
footer {
  position: relative;
  background: var(--maroon-deeper);
  border-top: 3px solid;
  border-image: linear-gradient(90deg, transparent, var(--gold), var(--gold-royal), var(--gold), transparent) 1;
  padding: 80px 48px 40px;
  overflow: hidden;
}

/* Footer corner ornaments */
footer::before,
footer::after {
  content: '';
  position: absolute;
  width: 120px;
  height: 120px;
  border: 1px solid rgba(212, 175, 55, 0.15);
  pointer-events: none;
}
footer::before { top: 20px; left: 20px; border-right: none; border-bottom: none; }
footer::after  { bottom: 20px; right: 20px; border-left: none; border-top: none; }

.footer-mandala {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0.04;
  pointer-events: none;
  width: 600px;
}

.footer-inner {
  max-width: 1400px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 2;
}

.footer-logo {
  font-family: var(--font-script);
  font-size: 4rem;
  color: var(--gold);
  display: block;
  margin-bottom: 8px;
  text-shadow: 0 0 40px rgba(212, 175, 55, 0.3);
}

.footer-tagline {
  font-size: 0.6rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: rgba(212, 175, 55, 0.5);
  font-weight: 300;
  margin-bottom: 48px;
}

.footer-divider {
  width: 1px;
  height: 60px;
  background: linear-gradient(180deg, var(--gold), transparent);
  margin: 0 auto 48px;
  opacity: 0.4;
}

.footer-date {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  font-weight: 300;
  color: rgba(248, 243, 233, 0.35);
  margin-bottom: 12px;
}

.footer-location {
  font-size: 0.65rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(248, 243, 233, 0.2);
  margin-bottom: 60px;
}

.footer-nav {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  margin-bottom: 60px;
}

.footer-nav a {
  font-size: 0.6rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(248, 243, 233, 0.3);
  transition: color 0.3s ease;
}

.footer-nav a:hover { color: var(--gold); }

.footer-bottom {
  border-top: 1px solid rgba(212, 175, 55, 0.1);
  padding-top: 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.6rem;
  color: rgba(248, 243, 233, 0.2);
  letter-spacing: 0.1em;
}

.footer-flags { font-size: 1rem; letter-spacing: 0.3em; }

/* =========================================
   REVEAL ANIMATIONS — UTILITY
   ========================================= */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s var(--ease-luxury);
}

.reveal.revealed { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* =========================================
   FLOATING DECORATIONS
   ========================================= */
.floating-leaf {
  position: absolute;
  pointer-events: none;
  opacity: 0;
  animation: floatLeaf 15s ease-in-out infinite;
}

@keyframes floatLeaf {
  0%   { opacity: 0; transform: translateY(0) rotate(0deg); }
  10%  { opacity: 0.2; }
  90%  { opacity: 0.12; }
  100% { opacity: 0; transform: translateY(-120px) rotate(30deg); }
}

/* =========================================
   SHIMMER EFFECT — luxury shine
   ========================================= */
@keyframes goldShimmer {
  0%   { background-position: -200% center; }
  100% { background-position:  200% center; }
}

.shimmer-text {
  background: linear-gradient(90deg,
    var(--gold-royal) 0%,
    var(--gold-light) 40%,
    var(--gold) 50%,
    var(--gold-light) 60%,
    var(--gold-royal) 100%
  );
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: goldShimmer 4s linear infinite;
}

/* =========================================
   RESPONSIVE
   ========================================= */
@media (max-width: 1200px) {
  .gallery-masonry { columns: 3; }
}

@media (max-width: 900px) {
  #nav { padding: 20px 24px; }
  #nav.nav-scrolled { padding: 14px 24px; }
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }

  .journey-container,
  .celebrations-container,
  .gallery-container,
  .rsvp-container { padding: 0 24px; }

  .venue-container { grid-template-columns: 1fr; gap: 48px; padding: 0 24px; }

  .form-row { grid-template-columns: 1fr; }
  .rsvp-card { padding: 40px 28px; }

  .gallery-masonry { columns: 2; }

  footer { padding: 60px 24px 32px; }
  .footer-bottom { flex-direction: column; gap: 12px; }

  .hero-indicators { display: none; }
  .hero-countdown { gap: 24px; }
  .countdown-item::after { right: -14px; }

  #hero::after { inset: 12px; }
}

@media (max-width: 600px) {
  .gallery-masonry { columns: 1; }
  .hero-names { font-size: clamp(3.5rem, 16vw, 6rem); }
  .events-grid { grid-template-columns: 1fr; }
  .journey-timeline { grid-template-columns: 1fr; }
}

/* =========================================
   SVG ICON STYLES
   ========================================= */

/* Journey card icons */
.journey-card-icon svg {
  color: var(--gold-royal);
  display: block;
  margin-bottom: 20px;
}

/* Event card large background icons */
.event-icon-bg svg {
  color: var(--maroon);
}

/* Attendance option icons */
.attendance-icon {
  display: inline-block;
  vertical-align: middle;
  color: inherit;
  flex-shrink: 0;
}

/* RSVP success icon */
.success-icon svg {
  color: var(--gold);
  display: block;
}

/* Footer ornament */
.footer-ornament {
  color: var(--gold);
  opacity: 0.5;
  vertical-align: middle;
}

.footer-flags {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* =========================================
   ACCESSIBILITY
   ========================================= */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0);
  border: 0;
}

.touch-detect * { cursor: auto !important; }
