/* =========================================================
   M & N — Together Forever | Wedding Microsite Styles
   ========================================================= */

:root{
  --primary:#5BB8FF;
  --secondary:#1a3a7a;
  --accent:#FFD66B;
  --bgnavy:#0f2d5e;
  --white:#FFFFFF;
}

*{ scroll-behavior:smooth; }

img{ max-width:100%; height:auto; display:block; }

html{ scroll-padding-top: 84px; }

body{
  background:var(--bgnavy);
  font-family:'Poppins',sans-serif;
}

::selection{ background:var(--accent); color:var(--secondary); }

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

/* =========== SCROLLBAR =========== */
::-webkit-scrollbar{ width:10px; }
::-webkit-scrollbar-track{ background:var(--bgnavy); }
::-webkit-scrollbar-thumb{ background:linear-gradient(var(--primary),var(--secondary)); border-radius:10px; }

/* =========== PRELOADER / SPLASH =========== */
#preloader{
  position:fixed; inset:0; z-index:9999;
  background:radial-gradient(ellipse at 60% 40%, #1e4a8a 0%, #0f2d5e 60%, #091f44 100%);
  display:flex; align-items:center; justify-content:center;
  transition:opacity .7s ease, visibility .7s ease;
}
#preloader.loaded{ opacity:0; visibility:hidden; pointer-events:none; }
.preloader-inner{
  text-align:center;
  display:flex; flex-direction:column; align-items:center; gap:10px;
  animation:splashIn .8s ease both;
}
@keyframes splashIn{
  from{ opacity:0; transform:translateY(24px); }
  to{ opacity:1; transform:translateY(0); }
}
.preloader-ball{
  width:72px; height:72px; object-fit:contain;
  animation:spin-roll 1.2s linear infinite;
  margin-bottom:8px;
}
@keyframes spin-roll{ from{ transform:rotate(0deg);} to{ transform:rotate(360deg);} }

.preloader-names{
  font-family:'Bebas Neue', sans-serif;
  font-size:3.2rem; letter-spacing:.3em; color:#fff; line-height:1;
}
.preloader-names span{ color:var(--accent); }
.preloader-tagline{
  font-family:'Great Vibes', cursive;
  font-size:2rem; color:rgba(255,255,255,.7); line-height:1;
}
.preloader-date{
  font-size:.72rem; letter-spacing:.35em; text-transform:uppercase;
  color:rgba(255,255,255,.4); margin-bottom:8px;
}
.preloader-enter{
  margin-top:20px;
  position:relative;
  display:inline-flex; flex-direction:column; align-items:center; gap:4px;
  padding:1rem 2.6rem 1rem 1.6rem;
  border-radius:14px;
  background:linear-gradient(135deg, #0E2A66 0%, #0b1e4d 100%);
  border:2px solid rgba(110,193,255,.5);
  cursor:pointer;
  box-shadow:0 0 0 0 rgba(110,193,255,.4);
  transition:transform .25s ease, box-shadow .25s ease, border-color .25s;
  animation:goalPulse 2.2s ease-in-out infinite;
  overflow:hidden;
}
/* net pattern overlay */
.preloader-enter::before{
  content:'';
  position:absolute; inset:0;
  background-image:
    linear-gradient(rgba(255,255,255,.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.07) 1px, transparent 1px);
  background-size:14px 14px;
  pointer-events:none;
}
.preloader-enter:hover, .preloader-enter:focus-visible{
  transform:scale(1.07) translateY(-3px);
  border-color:var(--accent);
  box-shadow:0 10px 40px rgba(110,193,255,.35), 0 0 0 3px rgba(255,214,107,.25);
  outline:none;
}
@keyframes goalPulse{
  0%,100%{ box-shadow:0 0 0 0 rgba(110,193,255,.5), 0 8px 30px rgba(0,0,0,.4); }
  50%{ box-shadow:0 0 0 10px rgba(110,193,255,0), 0 8px 30px rgba(0,0,0,.4); }
}

.pe-ball{
  position:absolute; right:14px; top:50%; transform:translateY(-50%);
  font-size:1.7rem; line-height:1;
  animation:ballBounce 1.1s ease-in-out infinite alternate;
  filter:drop-shadow(0 2px 6px rgba(0,0,0,.5));
}
@keyframes ballBounce{
  0%{ transform:translateY(-60%) rotate(-15deg); }
  100%{ transform:translateY(-40%) rotate(15deg); }
}

.pe-text{
  font-family:'Bebas Neue', sans-serif;
  font-size:1.5rem; letter-spacing:.25em; color:#fff; line-height:1;
}
.pe-sub{
  font-size:.65rem; letter-spacing:.3em; text-transform:uppercase;
  color:rgba(255,255,255,.5); line-height:1;
}

/* =========== CONFETTI CANVAS =========== */
#confetti-canvas{
  position:fixed; inset:0; width:100%; height:100%;
  pointer-events:none; z-index:2; opacity:.55;
}

/* =========== NAVBAR =========== */
#navbar{
  background:transparent;
}
#navbar.scrolled{
  background:rgba(8,29,69,0.65);
  backdrop-filter:blur(16px);
  -webkit-backdrop-filter:blur(16px);
  box-shadow:0 4px 30px rgba(0,0,0,.25);
  border-bottom:1px solid rgba(255,214,107,0.15);
}
.nav-link{
  position:relative; color:#fff; opacity:.85; transition:opacity .25s, color .25s;
}
.nav-link::after{
  content:''; position:absolute; left:0; bottom:-6px; width:0; height:2px;
  background:var(--accent); transition:width .3s ease;
}
.nav-link:hover, .nav-link.active{ opacity:1; color:var(--accent); }
.nav-link:hover::after, .nav-link.active::after{ width:100%; }

.afa-crest-mini{ background:rgba(255,255,255,0.05); }

#mobile-menu.flex{ display:flex; }

/* =========== HERO =========== */
.hero-section{
  position:relative; width:100%; min-height:100svh;
  display:flex; flex-direction:column;
  align-items:center; justify-content:center;
  overflow:hidden; padding:100px 24px 80px;
}

/* Background image */
.hero-bg{
  position:absolute; inset:0; z-index:0;
}
.hero-bg-img{
  position:absolute; inset:0;
  width:100%; height:100%; object-fit:cover; object-position:center top; display:block;
}
/* Dark overlay so text stays readable over the photo */
.hero-bg-overlay{
  position:absolute; inset:0;
  background:linear-gradient(
    135deg,
    rgba(10,30,70,0.60) 0%,
    rgba(15,45,94,0.42) 40%,
    rgba(10,30,70,0.68) 100%
  );
}

/* Ribbon accents */
.hero-ribbon{
  position:absolute; bottom:0; width:80px; height:55vh; z-index:1; opacity:.15;
  background:repeating-linear-gradient(180deg,#6EC1FF 0 12px,rgba(255,255,255,.8) 12px 24px);
  filter:blur(1px); animation:ribbonSway 7s ease-in-out infinite;
  transform-origin:bottom center;
}
.hero-ribbon--left{ left:-20px; transform:rotate(7deg); }
.hero-ribbon--right{ right:-20px; transform:rotate(-7deg); animation-delay:1.5s; }
@keyframes ribbonSway{
  0%,100%{ transform:rotate(7deg) skewY(0); }
  50%{ transform:rotate(9deg) skewY(2deg); }
}

/* Hero body */
.hero-body{
  position:relative; z-index:10;
  display:flex; flex-direction:column; align-items:center; text-align:center;
  max-width:800px; width:100%;
}
.hero-eyebrow{
  display:flex; align-items:center; gap:12px;
  font-size:.7rem; letter-spacing:.4em; text-transform:uppercase;
  color:rgba(255,255,255,0.5); margin-bottom:20px;
}
.hero-eyebrow span{
  display:block; width:32px; height:1px; background:rgba(255,255,255,.3);
}
.hero-title{
  display:flex; flex-direction:column; align-items:center;
  gap:0; margin-bottom:12px;
}
.hero-name{
  font-family:'Bebas Neue', sans-serif;
  font-size:clamp(2.8rem, 10vw, 6.5rem);
  letter-spacing:.1em; line-height:1;
  color:#fff;
  text-shadow:0 4px 40px rgba(110,193,255,.3);
}
.hero-amp-wrap{
  margin:4px 0;
}
.hero-amp-circle{
  display:inline-flex; align-items:center; justify-content:center;
  width:48px; height:48px; border-radius:50%;
  background:linear-gradient(135deg, var(--accent), #ffb347);
  color:var(--secondary); font-size:1.1rem;
  box-shadow:0 0 30px rgba(255,214,107,.5);
  animation:heartBeat 2s ease-in-out infinite;
}
@keyframes heartBeat{
  0%,100%{ transform:scale(1); }
  14%{ transform:scale(1.2); }
  28%{ transform:scale(1); }
  42%{ transform:scale(1.15); }
  70%{ transform:scale(1); }
}
.hero-tagline{
  font-size:clamp(1.8rem, 4vw, 2.6rem);
  color:var(--accent); line-height:1.2; margin-bottom:24px;
}
.hero-meta{
  display:flex; align-items:center; gap:16px;
  margin-bottom:16px; flex-wrap:wrap; justify-content:center;
}
.hero-meta-item{
  display:flex; align-items:center; gap:7px;
  font-size:.88rem; color:rgba(255,255,255,.75); letter-spacing:.05em;
}
.hero-meta-item i{ color:var(--accent); }
.hero-meta-sep{
  width:4px; height:4px; border-radius:50%;
  background:rgba(255,255,255,.35);
}
.hero-events{
  display:flex; flex-wrap:wrap; gap:10px; justify-content:center; margin-bottom:32px;
}
.hero-event-pill{
  display:flex; align-items:center; gap:7px;
  padding:.4rem 1.1rem; border-radius:999px;
  background:rgba(110,193,255,.1); border:1px solid rgba(110,193,255,.3);
  font-size:.78rem; letter-spacing:.08em; text-transform:uppercase;
  color:rgba(255,255,255,.8);
}
.hero-event-pill i{ color:var(--primary); }
.hero-cta{
  display:inline-flex; align-items:center; gap:.5rem;
  padding:.8rem 2.2rem; border-radius:999px;
  border:2px solid var(--accent); color:var(--accent);
  font-size:.85rem; font-weight:600; letter-spacing:.1em; text-transform:uppercase;
  background:rgba(255,214,107,.08); backdrop-filter:blur(8px);
  transition:background .3s, color .3s, transform .3s;
}
.hero-cta:hover{ background:var(--accent); color:var(--secondary); transform:translateY(-3px); }

/* Scroll indicator */
.scroll-indicator{
  position:relative; z-index:10; margin-top:40px;
  display:flex; flex-direction:column; align-items:center; gap:6px;
}
.scroll-indicator>span{
  font-size:.65rem; letter-spacing:.3em; text-transform:uppercase; color:rgba(255,255,255,.5);
}
.scroll-mouse{
  width:22px; height:34px; border:2px solid rgba(255,255,255,.5); border-radius:12px; position:relative;
}
.scroll-mouse span{
  position:absolute; top:5px; left:50%; transform:translateX(-50%);
  width:3px; height:7px; border-radius:2px; background:var(--accent);
  animation:scrollDot 1.6s ease-in-out infinite;
}
@keyframes scrollDot{
  0%{ opacity:1; top:5px; } 70%{ opacity:0; top:18px; } 100%{ opacity:0; top:5px; }
}

/* =========== SHARED SECTION HELPERS =========== */
.section-header{ text-align:center; padding:0 24px 48px; }
.section-script{
  font-family:'Great Vibes', cursive;
  font-size:clamp(1.8rem,4vw,2.6rem); color:var(--accent); line-height:1.2; margin-bottom:4px;
}
.section-title{
  font-family:'Bebas Neue', sans-serif;
  font-size:clamp(2rem,5vw,3.4rem); letter-spacing:.12em; color:#fff; margin-bottom:14px;
}

/* =========== FROM LITTLE SMILES TO FOREVER =========== */
.littlesmiles-section{
  padding:80px 24px 80px;
  background:linear-gradient(180deg, var(--bgnavy) 0%, #1a3a7a 50%, var(--bgnavy) 100%);
}
.littlesmiles-grid{
  display:grid; grid-template-columns:1fr;
  gap:40px; max-width:1100px; margin:0 auto;
  align-items:center;
}
@media(min-width:768px){ .littlesmiles-grid{ grid-template-columns:1fr auto 1fr; gap:32px; } }

.ls-card{
  display:flex; flex-direction:column; align-items:center; gap:16px;
}
.ls-tag{
  font-family:'Bebas Neue', sans-serif;
  font-size:1.5rem; letter-spacing:.2em;
  padding:.3rem 1.2rem; border-radius:999px;
  border:2px solid;
}
.ls-tag--then{
  color:var(--accent); border-color:rgba(255,214,107,.5);
  background:rgba(255,214,107,.08);
}
.ls-tag--now{
  color:var(--primary); border-color:rgba(110,193,255,.5);
  background:rgba(110,193,255,.08);
}

.ls-photo-frame{
  position:relative; width:100%; max-width:340px;
  border-radius:20px; overflow:hidden;
  border:2px solid rgba(255,214,107,.25);
  box-shadow:0 24px 60px rgba(0,0,0,.5), 0 0 0 1px rgba(255,255,255,.05);
  transition:transform .4s ease, box-shadow .4s ease;
}
.ls-photo-frame:hover{ transform:translateY(-8px); box-shadow:0 32px 70px rgba(0,0,0,.6); }
.ls-photo-frame img{
  width:100%; height:auto; display:block;
  aspect-ratio:3/4; object-fit:cover;
}
.ls-photo-shine{
  position:absolute; inset:0; pointer-events:none;
  background:linear-gradient(135deg, rgba(255,255,255,.07) 0%, transparent 60%);
}

.ls-card-caption{
  display:flex; align-items:center; gap:8px;
  font-family:'Great Vibes', cursive; font-size:1.4rem;
  color:#fff;
}
.ls-card-caption i{ color:var(--accent); font-size:.9rem; }

/* Scratch reveal overlay */
.ls-scratch{
  position:absolute; inset:0; z-index:3;
  border-radius:inherit;
  overflow:hidden;
  cursor:crosshair;
  transition:opacity .5s ease, visibility .5s ease;
}
.ls-scratch.revealed{ opacity:0; visibility:hidden; pointer-events:none; }
.ls-scratch-canvas{
  position:absolute; inset:0;
  width:100%; height:100%;
  border-radius:inherit;
}
.ls-scratch-label{
  position:absolute; inset:0;
  display:flex; align-items:center; justify-content:center;
  font-size:1.7rem; color:rgba(255,255,255,.9);
  text-shadow:0 2px 10px rgba(0,0,0,.6);
  pointer-events:none; z-index:1;
  animation:scratchPulse 2s ease-in-out infinite;
}
@keyframes scratchPulse{
  0%,100%{ opacity:1; transform:scale(1); }
  50%{ opacity:.55; transform:scale(.96); }
}

/* Centre connector */
.ls-center{
  display:flex; justify-content:center; align-items:center;
}
.ls-center-inner{
  display:flex; flex-direction:column; align-items:center; gap:10px;
}
.ls-vline{
  width:2px; height:50px;
  background:linear-gradient(180deg, transparent, rgba(255,214,107,.4), transparent);
}
.ls-heart{
  width:44px; height:44px; border-radius:50%;
  background:linear-gradient(135deg, #e6395a, #ff6b8a);
  display:flex; align-items:center; justify-content:center;
  font-size:1.1rem; color:#fff;
  box-shadow:0 0 20px rgba(230,57,90,.45);
  animation:heartBeat 2s ease-in-out infinite;
}
.ls-center-label{
  font-size:1.5rem; color:rgba(255,255,255,.65); text-align:center; line-height:1.3;
}

/* =========== INVITATION BANNER =========== */
.invite-banner{
  position:relative; width:100%; padding:48px 24px;
  overflow:hidden; text-align:center;
}
.invite-banner-bg{
  position:absolute; inset:0;
  background:linear-gradient(135deg, #0b2255 0%, #0E2A66 50%, #0b2255 100%);
}
.invite-banner-bg::before{
  content:''; position:absolute; inset:0;
  background:repeating-linear-gradient(
    90deg, transparent 0, transparent 48px,
    rgba(255,214,107,.04) 48px, rgba(255,214,107,.04) 50px
  );
}
.invite-banner-content{
  position:relative; z-index:1;
  display:flex; align-items:center; justify-content:center; gap:20px;
}
.invite-banner-line{
  display:block; flex:1; max-width:180px; height:1px;
  background:linear-gradient(90deg, transparent, rgba(255,214,107,.6), transparent);
}
.invite-banner-text{
  font-size:clamp(1.8rem,4vw,3rem); color:var(--accent); white-space:nowrap;
}

/* =========== INVITATION CARD (image) =========== */
.invitation-section{
  margin:0; padding:0; line-height:0;
  background:var(--bgnavy);
}
.invite-img-wrap{
  position:relative;
  max-width:100%; margin:0;
  border-radius:0; overflow:hidden;
  box-shadow:none;
}
.invite-img{
  width:100%; height:auto; display:block;
  filter:drop-shadow(0 0 0 transparent);
}

/* Top and bottom fade/blur edges */
.invite-img-fade{
  position:absolute; left:0; right:0; z-index:2;
  height:120px; pointer-events:none;
}
.invite-img-fade--top{
  top:0;
  background:linear-gradient(to bottom,
    var(--bgnavy) 0%,
    rgba(15,45,94,0.7) 40%,
    transparent 100%
  );
  backdrop-filter:blur(6px);
  -webkit-backdrop-filter:blur(6px);
  -webkit-mask-image:linear-gradient(to bottom, black 0%, transparent 100%);
  mask-image:linear-gradient(to bottom, black 0%, transparent 100%);
}
.invite-img-fade--bottom{
  bottom:0;
  background:linear-gradient(to top,
    var(--bgnavy) 0%,
    rgba(15,45,94,0.7) 40%,
    transparent 100%
  );
  backdrop-filter:blur(6px);
  -webkit-backdrop-filter:blur(6px);
  -webkit-mask-image:linear-gradient(to top, black 0%, transparent 100%);
  mask-image:linear-gradient(to top, black 0%, transparent 100%);
}

/* =========== COUNTDOWN ICON =========== */
.countdown-icon{
  width:44px; height:44px; border-radius:50%; margin:0 auto 2.5rem;
  background:linear-gradient(135deg, #e6395a, #ff6b8a);
  display:flex; align-items:center; justify-content:center;
  font-size:1.2rem; color:#fff;
  box-shadow:0 0 25px rgba(230,57,90,.4);
  animation:heartBeat 2s ease-in-out infinite;
}

/* =========== SECTION HEADERS =========== */
.divider-star{
  width:120px; height:2px; margin:0 auto; position:relative;
  background:linear-gradient(90deg, transparent, var(--accent), transparent);
}
.divider-star::before{
  content:'\2605'; position:absolute; top:50%; left:50%; transform:translate(-50%,-50%);
  color:var(--accent); font-size:14px; background:var(--bgnavy); padding:0 8px;
}.font-script{ font-family:'Great Vibes', cursive; }

/* =========== FULL-BLEED PHOTO SECTIONS =========== */
.full-bleed-section{
  display:block;
  width:100%;
  margin:0;
  padding:0;
  line-height:0; /* removes the gap browsers add under inline images */
}
.full-bleed-section picture,
.full-bleed-section picture img{
  display:block;
  width:100%;
  height:auto;
  margin:0;
  padding:0;
  border-radius:0;
  box-shadow:none;
}

/* =========== GLASS CARD BASE =========== */
.glass-card{
  background:rgba(255,255,255,0.06);
  border:1px solid rgba(255,214,107,0.25);
  backdrop-filter:blur(14px);
  -webkit-backdrop-filter:blur(14px);
}

/* =========== EVENT CARDS =========== */
.event-card{
  background:rgba(255,255,255,0.05);
  border:1px solid rgba(110,193,255,0.25);
  border-radius:18px;
  padding:2.2rem 2rem;
  backdrop-filter:blur(14px);
  -webkit-backdrop-filter:blur(14px);
  box-shadow:0 10px 40px rgba(0,0,0,.3);
  transition:transform .4s ease, box-shadow .4s ease, border-color .4s ease;
  position:relative; overflow:hidden;
}
.event-card::before{
  content:''; position:absolute; inset:0; border-radius:18px; padding:1px;
  background:linear-gradient(135deg, rgba(255,214,107,0.5), transparent 40%, rgba(110,193,255,0.4));
  -webkit-mask:linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite:xor; mask-composite:exclude;
  pointer-events:none;
}
.event-card:hover{
  transform:translateY(-10px);
  border-color:rgba(255,214,107,0.6);
  box-shadow:0 20px 55px rgba(110,193,255,.25);
}
.event-icon{
  width:56px; height:56px; border-radius:50%;
  background:linear-gradient(135deg, var(--primary), var(--secondary));
  display:flex; align-items:center; justify-content:center; font-size:1.4rem; color:#fff;
  box-shadow:0 0 25px rgba(110,193,255,.5);
  margin-bottom:1.1rem;
}
.event-detail{
  display:flex; align-items:flex-start; gap:.6rem; color:rgba(255,255,255,.8);
  font-size:.92rem; margin-top:.65rem;
}
.event-detail i{ color:var(--primary); margin-top:3px; }
.event-btn{
  margin-top:1.4rem; display:inline-flex; align-items:center; gap:.5rem;
  padding:.65rem 1.4rem; border-radius:999px; font-size:.85rem; font-weight:600; letter-spacing:.03em;
  color:var(--secondary); background:linear-gradient(135deg, var(--accent), #ffe8a3);
  border:1px solid rgba(255,214,107,.6);
  box-shadow:0 6px 20px rgba(255,214,107,.25);
  transition:transform .3s ease, box-shadow .3s ease;
}
.event-btn:hover{ transform:translateY(-3px) scale(1.03); box-shadow:0 10px 28px rgba(255,214,107,.4); }

/* =========== COUNTDOWN =========== */
.countdown-bg{
  position:absolute; inset:0; z-index:0;
  background:
    radial-gradient(ellipse 70% 50% at 50% 100%, rgba(110,193,255,0.16), transparent 70%),
    radial-gradient(ellipse 50% 30% at 10% 0%, rgba(255,214,107,0.08), transparent 70%);
}
.count-box{
  background:rgba(255,255,255,0.06);
  border:1px solid rgba(255,214,107,0.35);
  border-radius:16px;
  padding:1.1rem 0.4rem;
  display:flex; flex-direction:column; align-items:center; justify-content:center;
  backdrop-filter:blur(14px); -webkit-backdrop-filter:blur(14px);
  box-shadow:0 0 30px rgba(110,193,255,0.18), inset 0 0 20px rgba(255,255,255,0.03);
  transition:transform .3s ease, box-shadow .3s ease;
}
.count-box:hover{ transform:translateY(-6px); box-shadow:0 0 40px rgba(255,214,107,0.35); }
.count-num{
  font-family:'Bebas Neue', sans-serif; font-size:clamp(2rem, 6vw, 3.2rem); line-height:1;
  color:var(--accent); text-shadow:0 0 20px rgba(255,214,107,.5);
}
.count-label{
  margin-top:.4rem; font-size:.68rem; letter-spacing:.2em; text-transform:uppercase; color:rgba(255,255,255,.7);
}

/* =========== VENUE =========== */
.venue-card{
  display:grid; grid-template-columns:1fr; border-radius:20px; overflow:hidden;
  background:rgba(255,255,255,0.05);
  border:1px solid rgba(110,193,255,0.3);
  backdrop-filter:blur(14px); -webkit-backdrop-filter:blur(14px);
  box-shadow:0 20px 60px rgba(0,0,0,.35);
  transition:transform .4s ease, box-shadow .4s ease;
}
@media(min-width:768px){
  .venue-card{ grid-template-columns:1fr 1fr; align-items:stretch; }
}
.venue-card:hover{ transform:translateY(-8px); box-shadow:0 26px 70px rgba(110,193,255,.25); }
.venue-card-img{ position:relative; overflow:hidden; aspect-ratio:4/3; }
.venue-card-img iframe{ position:absolute; inset:0; width:100%; height:100%; border:0; display:block; }
.venue-card-body{ padding:2.2rem; display:flex; flex-direction:column; justify-content:center; }


/* =========== TEXT COLOUR FIXES =========== */
/* Section subtitles & body text — lifted from .65 to .85 opacity */
.ls-center-label{ color:rgba(255,255,255,.85); }
.hero-eyebrow{ color:rgba(255,255,255,.75); }
.hero-meta-item{ color:rgba(255,255,255,.9); }
.hero-event-pill{ color:#fff; }
.scroll-indicator>span{ color:rgba(255,255,255,.7); }
.preloader-tagline{ color:rgba(255,255,255,.85); }
.preloader-date{ color:rgba(255,255,255,.65); }
.pe-sub{ color:rgba(255,255,255,.7); }
/* Event cards */
.event-detail{ color:rgba(255,255,255,.9); }
/* Venue card body */
.venue-card-body p{ color:rgba(255,255,255,.9); }
/* Countdown label */
.count-label{ color:rgba(255,255,255,.85); }
/* Invite banner */
.invite-banner-text{ color:var(--accent); }
/* Event section heading */
.text-white\/70{ color:rgba(255,255,255,.85) !important; }
.text-white\/60{ color:rgba(255,255,255,.75) !important; }
.footer-img-section{
  display:block; width:100%; margin:0; padding:0; line-height:0;
  overflow:hidden;
}
.footer-img-section img{
  display:block; width:100%; height:auto; margin:0; padding:0;
  /* On mobile the landscape image becomes tiny — give it a min-height
     and crop to keep the focal content visible */
  min-height:220px;
  object-fit:cover;
  object-position:center center;
}
@media(min-width:480px){
  .footer-img-section img{ min-height:280px; }
}
@media(min-width:768px){
  .footer-img-section img{
    min-height:0;    /* desktop: let natural aspect-ratio take over */
    height:auto;
    object-fit:unset;
    object-position:unset;
  }
}
.footer-bottom{ background:var(--bgnavy); border-top:1px solid rgba(255,214,107,.15); line-height:normal; }
.wishes-content{ width:100%; }
.wishes-card{
  max-width:520px;
  margin:0 auto;
  padding:2.4rem 2rem;
  border-radius:20px;
  display:flex; flex-direction:column; gap:1.1rem;
  background:rgba(255,255,255,0.03);
  border:1px solid rgba(110,193,255,0.18);
  box-shadow:0 20px 60px rgba(0,0,0,.4);
}
.wish-field{
  display:flex; align-items:center; gap:.7rem;
  background:rgba(8,29,69,0.4);
  border:1px solid rgba(110,193,255,0.35);
  border-radius:10px;
  padding:.9rem 1.1rem;
}
.wish-field--textarea{ align-items:flex-start; }
.wish-field--textarea i{ margin-top:.2rem; }
.wish-field i{ color:var(--primary); font-size:1rem; flex-shrink:0; }
.wish-field input,
.wish-field textarea{
  background:transparent; border:none; outline:none; color:#fff; width:100%;
  font-family:'Poppins',sans-serif; font-size:.95rem; resize:none;
}
.wish-field input::placeholder,
.wish-field textarea::placeholder{ color:rgba(255,255,255,0.45); }
.wish-field input[aria-invalid="true"],
.wish-field textarea[aria-invalid="true"]{ box-shadow:0 0 0 1px rgba(255,107,107,.6); }
.wish-submit{
  margin-top:.4rem;
  padding:.9rem 1.4rem;
  background:linear-gradient(135deg, var(--primary), var(--secondary));
  border:1px solid rgba(255,214,107,.6);
  color:#fff; font-weight:600; letter-spacing:.05em;
  border-radius:999px;
  font-size:.95rem;
  box-shadow:0 6px 20px rgba(110,193,255,.3);
  transition:transform .3s ease, box-shadow .3s ease;
  cursor:pointer;
}
.wish-submit:hover{ transform:translateY(-3px) scale(1.02); box-shadow:0 10px 26px rgba(255,214,107,.35); }
.wish-thanks{
  font-size:.9rem; color:var(--accent); min-height:1.2em; text-align:center;
}

.social-icon{
  width:38px; height:38px; border-radius:50%; display:inline-flex; align-items:center; justify-content:center;
  background:rgba(255,255,255,0.06); border:1px solid rgba(110,193,255,0.3); color:#fff;
  transition:all .3s ease;
}
.social-icon:hover{ background:var(--accent); color:var(--secondary); transform:translateY(-4px); }

/* =========== MUSIC TOGGLE =========== */
.music-toggle{
  position:fixed; left:22px; bottom:22px; z-index:60;
  width:46px; height:46px; border-radius:50%;
  background:#111;
  color:#fff; display:flex; align-items:center; justify-content:center;
  border:1px solid rgba(255,255,255,.2);
  box-shadow:0 8px 24px rgba(0,0,0,.5);
  cursor:pointer; transition:transform .3s ease, box-shadow .3s ease;
  overflow:hidden;
}
.music-toggle:hover{ transform:scale(1.1); box-shadow:0 10px 30px rgba(0,0,0,.6); }
.music-toggle i{ position:relative; z-index:2; font-size:.95rem; }

/* animated bars when playing */
.music-toggle-waves{
  position:absolute; inset:0; display:flex;
  align-items:flex-end; justify-content:center;
  gap:2px; padding-bottom:6px; opacity:0;
  transition:opacity .3s;
}
.music-toggle.playing .music-toggle-waves{ opacity:.35; }
.music-toggle.playing i{ opacity:0; }
.music-toggle-waves span{
  display:block; width:3px; border-radius:2px;
  background:#fff; transform-origin:bottom;
}
.music-toggle-waves span:nth-child(1){ height:10px; animation:bar 0.8s ease-in-out infinite; }
.music-toggle-waves span:nth-child(2){ height:18px; animation:bar 0.8s ease-in-out infinite .15s; }
.music-toggle-waves span:nth-child(3){ height:14px; animation:bar 0.8s ease-in-out infinite .3s; }
.music-toggle-waves span:nth-child(4){ height:8px;  animation:bar 0.8s ease-in-out infinite .45s; }
@keyframes bar{
  0%,100%{ transform:scaleY(1); }
  50%{ transform:scaleY(.35); }
}
.music-toggle.playing{ background:linear-gradient(135deg, #e6395a, #c0223f); }
.back-to-top{
  position:fixed; right:22px; bottom:22px; z-index:60;
  width:46px; height:46px; border-radius:50%;
  background:linear-gradient(135deg, var(--primary), var(--secondary));
  color:#fff; display:flex; align-items:center; justify-content:center;
  border:1px solid rgba(255,214,107,.5);
  box-shadow:0 8px 24px rgba(0,0,0,.35);
  opacity:0; visibility:hidden; transform:translateY(15px);
  transition:all .35s ease;
}
.back-to-top.visible{ opacity:1; visibility:visible; transform:translateY(0); }
.back-to-top:hover{ transform:translateY(-5px) scale(1.06); }

/* =========== GENERIC REVEAL HELPERS =========== */
.aos-init.aos-animate{ }

/* Keyboard focus visibility */
a:focus-visible, button:focus-visible, input:focus-visible{
  outline:2px solid var(--accent); outline-offset:3px;
}

/* Prevent horizontal scroll */
html, body{ max-width:100%; overflow-x:hidden; }

/* =========================================================
   PRODUCTION ENHANCEMENTS
   ========================================================= */

/* ---------- Lenis smooth scroll ---------- */
html.lenis, html.lenis body{ height:auto; }
.lenis.lenis-smooth{ scroll-behavior:auto !important; }
.lenis.lenis-smooth [data-lenis-prevent]{ overscroll-behavior:contain; }
.lenis.lenis-stopped{ overflow:hidden; }

/* ---------- picture/img consistency ---------- */
picture{ display:block; width:100%; }
picture img{ width:100%; height:auto; display:block; }

/* ---------- Hero parallax layers ---------- */
.hero-bg-wrap{ will-change:transform; }
.hero-parallax-layer{ position:absolute; inset:0; pointer-events:none; }
.deco-ball{ will-change:transform; }

/* ---------- Reveal utility (driven by GSAP ScrollTrigger, class toggled via JS) ---------- */
.reveal{ opacity:0; transform:translateY(40px); }
.reveal.reveal-in{ opacity:1; transform:none; transition:opacity .9s cubic-bezier(.16,.84,.44,1), transform .9s cubic-bezier(.16,.84,.44,1); }
@media (prefers-reduced-motion: reduce){
  .reveal{ opacity:1; transform:none; }
}

/* ---------- Countdown flip animation ---------- */
.count-box{ perspective:400px; }
.count-num{ display:inline-block; transform-style:preserve-3d; }
.count-num.flip{
  animation:flipNum .5s ease;
}
@keyframes flipNum{
  0%{ transform:rotateX(0deg); opacity:1; }
  45%{ transform:rotateX(90deg); opacity:.3; }
  55%{ transform:rotateX(-90deg); opacity:.3; }
  100%{ transform:rotateX(0deg); opacity:1; }
}
@media (prefers-reduced-motion: reduce){ .count-num.flip{ animation:none; } }

/* ---------- Image loading polish ---------- */
img{ background:rgba(255,255,255,0.03); }
img[loading="lazy"]{ transition:opacity .5s ease; }

/* ---------- Focus / a11y polish for skip link ---------- */
.skip-link{
  position:absolute; left:-9999px; top:0; z-index:999; background:var(--accent); color:var(--secondary);
  padding:.8rem 1.4rem; border-radius:0 0 10px 0; font-weight:600; text-decoration:none;
}
.skip-link:focus{ left:0; }
