/* ============================
   Fonts
============================ */
@font-face {
    font-family: "daydream";
    src: url("./assets/fonts/daydream.ttf") format("truetype");
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: "magik";
    src: url("./assets/fonts/magik.TTF") format("truetype");
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: "magical_me";
    src: url("./assets/fonts/magical_me.ttf") format("truetype");
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: "parisienne";
    src: url("./assets/fonts/Parisienne-Regular.ttf") format("truetype");
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: "hagrid";
    src: url("./assets/fonts/hagrid.ttf") format("truetype");
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: "pabasing";
    src: url("./assets/fonts/PabasingSignature-q2x3d.otf") format("opentype");
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: "educational-decree";
    src: url("./assets/fonts/educational-decree.otf") format("opentype");
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/* Google Fonts – keep display=swap */
@import url('https://fonts.googleapis.com/css2?family=Norican&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Great+Vibes&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Dancing+Script:wght@400..700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100..900;1,100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Rock+Salt&display=swap');



/* ============================
   Config-driven variables
   (loaded from site-config.json via config-loader.js; fallbacks below)
============================ */
:root {
    --config-preloader-bg: #b29b77;
    --config-theme-color: #b29b77;
}
#preloader {
    background-color: var(--config-preloader-bg);
}

/* ============================
   Root Variables
============================ */
:root {

    /* 🎨 Colors from palette */
    --color-deep-rose: #C4747B;
    --color-peach: #F7B6A4;
    --color-blush: #F6D9D6;
    --color-cream: #F3E6DC;
    --color-soft-white: #F8F6F2;
    --color-brown:rgb(112, 85, 32);

    /* Assign roles */
    --color-primary: var(--color-brown);
    --color-secondary: var(--color-peach);
    --color-accent: var(--color-blush);
    --color-bg-light: #e5cfa9;
    --color-text: #6c757d;
    /* --color-text: #161616; */

    /* ✨ Fonts */
    --font-main: 'Poppins', sans-serif;
    --font-script: 'Dancing Script', cursive;
    --font-names: 'Great Vibes', cursive;
    --font-daydream: 'daydream', sans-serif;
    --font-pabasing: 'pabasing', sans-serif;
    --font-magik: 'magik', sans-serif;
    --font-magical_me: 'magical_me', sans-serif;
    --font-parisienne: 'parisienne', sans-serif;
    --font-hagrid: 'hagrid', sans-serif;
    --font-educational-decree: 'educational-decree', sans-serif;
    --font-rock-salt :'Rock Salt',cursive;

    /* 🔠 Font Sizes */
    --font-size-xxl: 6rem;
    --font-size-xl: 3rem;
    --font-size-lg: 1.5rem;
    --font-size-md: 1.2rem;
    --font-size-sm: 0.9rem;
    --font-size-xs: 0.7rem;

    /* 📦 Layout */
    --radius-lg: 12px;
    --radius-md: 8px;
    --shadow-soft: 0 4px 15px rgba(166, 30, 77, 0.2);
    --shadow-box: 0 2px 8px rgba(0,0,0,0.1);

    --color-blush-light: #f2d7d5;
    --color-blush-medium: #e6b7b5;
    --color-blush-rose: #d59894;
    --color-blush-deep: #b37777;

    /* Beige Palette */
    --color-beige-ivory: #f7f1e9;
    --color-beige-cream: #f2e4d7;
    --color-beige-sand: #e6d5c3;
    --color-beige-taupe: #cbb8a3;

    /* Black/Dark Palette */
    --color-dark-gray: #4a4a4a;
    --color-charcoal: #2f2f2f;
    --color-black: #000000;
}

/* ============================
   Global Styles
============================ */
body, html {
    margin: 0;
    padding: 0;
    font-family: var(--font-main);
    scroll-behavior: smooth;
    /* background-color:white; */
    color: var(--color-text);
    background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  /* overflow: hidden; */
}
body{
    background-color: white;
}
.map-background {
  background: radial-gradient(circle at 30% 30%, #cbb994, #b29b77, #8d7752);
  background-size: 200% 200%;
  animation: parchmentGlow 3s ease-in-out infinite alternate;
}

@keyframes parchmentGlow {
  0% {
    background-position: 30% 30%;
    
  }
  100% {
    background-position: 70% 70%;
    
  }
}

.parisienne{
    color: var(--color-primary);
    font-family: var(--font-parisienne);
    font-size: 1.75rem;
    font-weight: 750;
    /* line-height: 1rem; */
    padding-right: 1rem;
}
.parisienne.bridename{
    padding-left: 1rem ;
}
.about_text{
    line-height: 1.75rem;
}
.proposal_text span{
    margin-block:1rem;
}
.proposal_text{
    line-height: 1.75rem;
}
.navbar{
    font-family: var(--font-script);
    font-weight: 1000;
    background: var(--color-beige-ivory) !important;
}
.proposal_dateandtime{
    /* display: block; */
    text-align: justify;
    color: var(--color-primary);
    font-family: var(--font-hagrid);
    font-size: 1.25rem;
    font-weight: 1000;
    margin-inline: 0rem;
}
.proposal_yes{
    display: block;
    text-align: center;
    color: var(--color-primary);
    font-family: var(--font-rock-salt);
    font-size: 3rem;
    font-weight: 400;
    line-height: 4rem;
}
.proposal_yes_yes{
    font-weight: 1000;
}
.row{
    margin-left: 0px !important;
    margin-right: 0px !important;
}
.text-map{
    font-family: "Dancing Script";
}
.daydream { font-family: var(--font-daydream); text-align:center; font-weight: 600; letter-spacing: 2px; font-size: 2.75rem;}
.names {
     font-family: var(--font-parisienne); 
     color:white;
     /* text-shadow:1px 1px 30px rgb(129, 99, 44); */
     font-weight: 1000;
}
.l1{
    font-family: var(--font-main);
    font-size: 1.3rem;
    color:#ffffff;
    font-weight: lighter;
}
.l2{
    font-family: var(--font-main);
    font-size: 1.3rem;
    color:#ffffff;
    font-weight: lighter;
}
.text-primary { color: var(--color-primary) !important; }
.monogram.d-flex{
    gap: 1rem;
    justify-content: center;
    
}
.monogram .image-container{
    width:5% !important;
}
/* ============================
   Landing (Names + Map)
============================ */
#landing { background-color: var(--color-bg-light);overflow: hidden; }
.map-wrapper { margin-top: 2rem; display: flex; flex-direction: column; align-items: center; }
.description { font-family: var(--font-main); }
.groom, .bride {
    font-size: var(--font-size-xxl);
    color: var(--color-primary);
    
}
.bride { margin-left: 7rem; }
.groom { margin-right: 7rem; }
.ampersand {
    font-size: var(--font-size-xl);
    color: var(--color-primary);
}

.hint { 
    margin-top: 20px;
    font-family: var(--font-script);
    font-size: var(--font-size-lg);
    color: var(--color-primary);
}
.church{
    position:absolute;
    width:69px !important;
    top:38%;
    left:15%;
    transform: rotate(-15deg);
}

/* ============================
   Countdown Timer
============================ */
#countdown {
    position: fixed;
    top: 1rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.8rem;
    background: rgba(255, 245, 250, 0.9);
    padding: 0.6rem 1rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
    font-family: var(--font-main);
    color: var(--color-primary);
    z-index: 1000;
    font-size: 1rem;
}
#countdown .time-box {
    text-align: center;
    min-width: 60px;
    padding: 0.4rem 0.6rem;
    background: var(--color-beige-ivory);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-box);
    transition: transform 0.3s ease;
}
#countdown .number {
    font-weight: 600;
    font-size: var(--font-size-md);
}
#countdown .label {
    font-size: var(--font-size-xs);
    color: var(--color-text);
    margin-top: 0.2rem;
    display: block;
}
#countdown .time-box:hover {
    transform: translateY(-3px);
}
.date-banner{
    /* background-color: black; */
    width:100%;
    font-size: clamp(4px,calc(3vw + 1rem),48px);
    font-family: var(--font-magical_me);
    color: #030303;
    position: relative;
    top: clamp(30px, 4vh, 40px);
    z-index: 999 !important;
}
/* ============================
   Hero Section
============================ */
.hero {
    position: relative;
    overflow: hidden;
}
.hero img {
    width: 100%;
    height: auto;
    display: block;
}

/* Hero Video Wrapper - Full Width Responsive */
.hero-video-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.hero-text-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    text-align: center;
    background: rgba(0,0,0,0.5);
    padding: 2rem;
    
    visibility: middle;
    border-radius: var(--radius-lg);
    color: var(--color-soft-white);
    z-index: 10;
    pointer-events: auto;
}

.hero-text-overlay * {
    pointer-events: auto;
}

/* Ensure main content sits above background footsteps */
#wedding-page { position: relative; z-index:0;}

@media (max-width: 768px) {
    .hero-text-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    text-align: center;
    background: rgba(0,0,0,0.5);
    padding-inline: 4rem;
    padding-top: 8rem;
    visibility: middle;
    border-radius: 0;
    color: var(--color-soft-white);
    z-index: 10;
    pointer-events: auto;
    
}
    .hero {
        padding-top: 6rem;
        padding-bottom: 0;
    }
    
    /* Ensure video wrapper adjusts properly on mobile */
    .hero-video-wrapper {
        padding-bottom: 56.25%; /* Maintain 16:9 ratio on mobile */
    }
    .l1,.l2{
        font-size: 0.6rem;
    }
    .names{
        font-size: 1.5rem;
    }
}

/* ============================
   Dress Code Palette
============================ */
.palette {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1.5rem;
    flex-direction: column;
    align-items: center;
    
}
.palette-wrapper{
    margin-top: 4px;
    padding:1rem;
    display: flex;
    justify-content: center;
}
.palette-container{
    border:rgba(0,0,0,0.2) solid 1px;
    width: auto;
    border-radius: 2rem;
    padding-bottom: 1rem;
    padding-inline: 2rem;
    box-shadow: 3px 3px 10px rgba(0,0,0,0.1);
     background: linear-gradient(45deg, var(--color-blush-light) 0%, var(--color-beige-ivory) 100%);
}
.palette .color-box-container{
    display: flex;
    gap:1rem;
}
  .color-box-container {
      display: flex;
      gap: 10px;
      flex-wrap: wrap;
    }

    .color-box {
      border-radius: 8px;
      cursor: pointer;
      transition: transform 0.2s ease, box-shadow 0.2s ease;
    }

    /* Desktop hover */
    .color-box:hover {
      transform: scale(1.15);
      box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
    }

    /* Mobile tap / click */
    .color-box:active {
      transform: scale(1.1);
      box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
    }
.glass-blur {
  background: transparent;
  border-radius: 3px;        /* keep it invisible */
  backdrop-filter: blur(5px);     /* blur whatever is behind */
  -webkit-backdrop-filter: blur(5px); /* Safari support */
  z-index: 998 !important;
}

.palette .color-box {
    /* display: flex; */
    width: 45px;
    height: 45px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-box);
    border: 2px solid #fff;
}
/* Blush Pink Palette */
.color-blush-light { background-color: #f2d7d5; }
.color-blush-medium { background-color: #e6b7b5; }
.color-blush-rose { background-color: #d59894; }
.color-blush-deep { background-color: #b37777; }

/* Beige Palette */
.color-beige-ivory { background-color: #f7f1e9; }
.color-beige-cream { background-color: #f2e4d7; }
.color-beige-sand { background-color: #e6d5c3; }
.color-beige-taupe { background-color: #cbb8a3; }

/* Black/Dark Palette */
.color-dark-gray { background-color: #4a4a4a; }
.color-charcoal { background-color: #2f2f2f; }
.color-black { background-color: #000000; }

/* ============================
   Map Component (from wedsite-front)
============================ */
.map-base {
  width: min(90vw, 306px);
  aspect-ratio: 306 / 600;
  margin: auto;
  background: url('./assets/images/map-fragment/9.png') center center / cover;
  position: relative;
  display: inline-block;
  cursor: pointer;
}
.map-flap {
  transform-style: preserve-3d;
  position: absolute;
  width: 100%;
  height: 25%;
  margin: auto;
  left: 0;
  right: 0;
  transition: 0.5s ease;
  top: 25%;
}
.map-flap__front,
.map-flap__back { backface-visibility: hidden; width: 100%; height: 100%; position: absolute; }
.map-flap__back { transform: scale(-1) rotateY(180deg); }
/* .map-flap.flap--1 { box-shadow: 0 -1px 6px rgba(97, 83, 73, 0.5); } */
.map-flap.flap--1 .map-flap__front { background: url('./assets/images/map-fragment/mini-1.png') center left / cover; }
.map-flap.flap--1 .map-flap__back { background: url('./assets/images/map-fragment/mini-3.png') -3px 0 / cover; }
.map-flap.flap--2 { box-shadow: 0 1px 6px rgba(97, 83, 73, 0.5); top: 50%; }
.map-flap.flap--2 .map-flap__front { background: url('./assets/images/map-fragment/mini-2.png') center left / cover; }
.map-flap.flap--2 .map-flap__back { background: url('./assets/images/map-fragment/mini-4.png') -3px 0 / cover; }

.map-side { height: 100%; width: 50%; position: absolute; transform-style: preserve-3d; transition: 0.3s ease; }
.map-side .front,
.map-side .back { width: 100%; height: 100%; position: absolute; background-repeat: no-repeat; background-position: left top; background-size: cover; background-image: var(--image); backface-visibility: hidden; }
.map-side .back { background-image: url('./assets/images/map-fragment/back.png'); }
.map-side.side-1 { left: 0; margin-left: 1.5px; }
.map-side.side-2 { left: 50%; margin-left: -2px; }
.map-side.side-3 { left: 0; margin-left: 3px; }
.map-side.side-3 .back { transform: rotateY(180deg); }
.map-side.side-4 { left: 50%; margin-left: -1px; }
.map-side.side-4 .back { transform: rotateY(180deg); }
.map-side.side-5 { left: 0; }
.map-side.side-5 .back { background-image: url('./assets/images/map-fragment/1.png'); }
.map-side.side-6 { left: 50%; }
.map-side.side-6 .front { background-size: 99.5%; }
.map-side.side-6 .back { background-image: url('./assets/images/map-fragment/17.png'); }

.scroll-name { position: absolute; bottom: 105px; left: -60px; width: clamp(100px, 25vw, 150px); height: clamp(20px, 5vw, 30px); font: clamp(12px, 3vw, 15px) Satisfy, cursive; text-align: center; background: url('./assets/images/map-fragment/scroll.svg') center center / cover; z-index: 10; color: #615349; cursor: default; opacity: 0; }
.scroll-name p { display: inline-block; margin: 4px 0 0 15px; }

.footstep { position: absolute; background: #615349; width: 2vw; height: 4vw; min-width: 5px; min-height: 10px; max-width: 6px; max-height: 12px; border-radius: 80% 80% 70% 70% / 130% 130% 25% 25%; z-index: 10; opacity: 0; }
.footstep:before { content: ""; position: absolute; width: 5px; height: 5px; top: 110%; left: 0; background: #615349; border-radius: 0 0 100% 100%; }
.footstep.left { transform: rotate(5deg); }
.footstep.right { transform: rotate(-3deg) translateY(15px) translateX(10px); }

.footsteps-1 .footstep.left { bottom: 150px; left: 18px; transform: rotate(35deg); }
.footsteps-1 .footstep.right { bottom: 150px; left: 28px; transform: rotate(30deg); }
.footsteps-2 .footstep.left { bottom: 285px; left: 280px; transform: rotate(-90deg); }
.footsteps-2 .footstep.right { bottom: 275px; left: 285px; transform: rotate(-85deg); }
.footsteps-2 .scroll-name { bottom: 300px; left: 220px; }

.map-base.active .flap--1 { transform: rotateX(180deg); transform-origin: top center; transition: 0.6s transform 1.5s; }
.map-base.active .flap--2 { transform: rotateX(180deg); transform-origin: bottom center; transition: 0.6s transform 1.8s; }
.map-base.active .side-1 { transform-origin: center left; transform: rotateY(180deg) skewY(2deg); transition: 0.5s all ease-in-out 0.6s; }
.map-base.active .side-1 .front { transform: rotateY(180deg); }
.map-base.active .side-2 { transform: rotateY(180deg) skewY(-2deg); transform-origin: center right; transition: 0.5s all ease-in-out 0.6s; }
.map-base.active .side-2 .front { transform: rotateY(180deg); }
.map-base.active .side-3 { left: -50%; transform: skewY(2deg) translateX(-100%); top: 8px; transition: 0.5s transform ease 0.8s, 0.3s left ease 0.8s, 0.5s top ease 0.8s; }
.map-base.active .side-4 { left: 100%; transform: skewY(-2deg) translateX(100%); top: 8px; margin-left: -7px; transition: 0.5s transform ease 0.8s, 0.3s left ease 0.8s, 0.5s top ease 0.8s, 0.5s margin ease 0.8s; }
.map-base.active .side-5 { left: -100%; transform-origin: center left; transform: rotateY(180deg); transition: 0.5s transform, 0.7s left 0.8s, 0.2s margin 0.8s; top: 0px; margin-left: 4px; }
.map-base.active .side-5 .front { transform: rotateY(180deg); transition: 0.1s transform; }
.map-base.active .side-6 { left: 150%; transform: rotateY(180deg); transform-origin: center right; margin-left: -8px; transition: 0.5s transform 0.3s, 0.7s left 0.8s, 0.5s top 0.8s, 0.5s margin 0.8s; }
.map-base.active .side-6 .front { transform: rotateY(180deg); transition: 0.1s transform; }
.map-base.active .footstep,
.map-base.active .scroll-name { opacity: 1; transition: 0.5s opacity 2.5s; }
.map-base.active .footsteps-1 .footstep { animation: 8s footsteps-1 ease 3s forwards; }
.map-base.active .footsteps-1 .scroll-name { animation: 8s scroll-1 ease 3s forwards; }
.map-base.active .footsteps-2 .footstep { animation: 8s footsteps-2 ease 3.2s forwards; }
.map-base.active .footsteps-2 .scroll-name { animation: 8s scroll-2 ease 3.2s forwards; }

@keyframes footsteps-1 { 10% { transform: translate(8px, -15px) rotate(30deg); } 20% { transform: translate(30px, -45px) rotate(30deg); } 30% { transform: translate(40px, -75px) rotate(20deg); } 40% { transform: translate(45px, -100px) rotate(10deg); } 50% { transform: translate(50px, -125px) rotate(10deg); } 60% { transform: translate(50px, -135px) rotate(10deg); } 100% { transform: translate(50px, -135px) rotate(20deg); } }
@keyframes footsteps-2 { 0% { } 80% { transform: translate(-170px, -25px) rotate(-90deg); } 100% { transform: translate(-180px, -25px) rotate(-90deg); } }
@keyframes scroll-1 { 10% { transform: translate(8px, -15px); } 20% { transform: translate(30px, -45px); } 30% { transform: translate(40px, -75px); } 40% { transform: translate(45px, -100px); } 50% { transform: translate(50px, -125px); } 60% { transform: translate(50px, -135px); } 100% { transform: translate(50px, -135px); } }
@keyframes scroll-2 { 0% { } 80% { transform: translate(-170px, -25px); } 100% { transform: translate(-180px, -25px); } }

/* =========================
   Footsteps Overlay (Refined)
========================= */
.footsteps-overlay {
    position: fixed;        /* stays visible even during scroll */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;   /* allows interacting with underlying content */
    overflow: hidden;       /* prevent scrollbars from appearing */
    z-index: -1;           /* above background, below modals */
    opacity: 0.4;
}

/* Footprint base */
.footprint {
    position: absolute;
    opacity: 0;
    transform-origin: center bottom;
    transition: transform 0.2s linear, opacity 0.3s linear;
    mix-blend-mode: multiply; /* makes footsteps blend with background */
}

/* Human Footprints */
/* Human Footprints (shoe-like) */
.footprint.human.left {
    width: 24px; 
    height: 40px;
    background: rgba(97, 83, 73, 0.8);
    clip-path: polygon(
        50% 0%,   /* toe tip */
        65% 5%, 
        80% 20%, 
        85% 35%, 
        85% 60%, 
        70% 80%, 
        60% 95%,  /* heel */
        40% 95%, 
        30% 80%, 
        15% 60%, 
        15% 35%, 
        20% 20%, 
        35% 5%
    );
}

.footprint.human.right {
    width: 24px; 
    height: 40px;
    background: rgba(97, 83, 73, 0.8);
    clip-path: polygon(
        50% 0%, 
        35% 5%, 
        20% 20%, 
        15% 35%, 
        15% 60%, 
        30% 80%, 
        40% 95%, 
        60% 95%, 
        70% 80%, 
        85% 60%, 
        85% 35%, 
        80% 20%, 
        65% 5%
    );
}

/* Dog Paw Prints */
.footprint.dog.left {
    width: 18px; 
    height: 18px;
    background: rgba(79, 56, 38, 0.85);
    clip-path: polygon(
        50% 0%,    /* main pad top */
        60% 5%, 
        70% 15%, 
        65% 25%, 
        60% 30%, 
        55% 35%, 
        50% 40%,  /* pad center */
        45% 35%, 
        40% 30%, 
        35% 25%, 
        30% 15%, 
        40% 5%
    );
}

.footprint.dog.right {
    width: 18px; 
    height: 18px;
    background: rgba(79, 56, 38, 0.85);
    clip-path: polygon(
        50% 0%, 
        40% 5%, 
        30% 15%, 
        35% 25%, 
        40% 30%, 
        45% 35%, 
        50% 40%, 
        55% 35%, 
        60% 30%, 
        65% 25%, 
        70% 15%, 
        60% 5%
    );
}


/* Smooth fade-out animation for footprints */
.footprint.fade-out {
    opacity: 0;
    transition: opacity 2s linear, transform 0.2s linear;
}

/* Optional: subtle shadow to give depth */
.footprint::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    filter: blur(1px);
    background: inherit;
    border-radius: 50%;
    opacity: 0.3;
}

.walker {
    position: absolute;
    pointer-events: none;
}
.walker-label {
    position: absolute;
    left: 25%;
    top: 50%;
    transform: translate(-50%, 20px);
    width:100px;
    height: 250px;
    background: url('./assets/images/map-fragment/scroll.svg') no-repeat center;
    background-size: 100% 100%; /* stretch to fit container */

    padding: 10px 25px;  /* bigger padding for longer names */
    min-width: 120px;    /* ensure scroll isn’t too small */
    min-height: 50px;    /* taller scroll for a better look */
    
    font-family: "Dancing Script", cursive;
    font-size: 1rem;      /* slightly larger text */
    color: #3a2a1a;
    text-align: center;
    white-space: nowrap;

    display: flex;
    align-items: center;
    justify-content: center;

    pointer-events: none;
    opacity:1;
}





/* Subtle floating effect like handwriting moving */
@keyframes floaty {
    0%, 100% { transform: translate(-50%, 0); }
    50% { transform: translate(-50%, -5px); }
}

.image-mask {
  display: inline-block;
  position: relative;
  overflow: hidden;

  /* Apply brush stroke PNG as mask */
  -webkit-mask-image: url("assets/images/dry-brush-stroke-8.png");
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;
  -webkit-mask-size: 100%;

  mask-image: url("assets/images/dry-brush-stroke-8.png");
  mask-repeat: no-repeat;
  mask-position: center;
  mask-size: 100%;

  /* Animate smoothly */
  transition: -webkit-mask-size 2s ease, mask-size 2s ease;
}
/* On hover, remove mask */
.image-mask:hover {
  -webkit-mask-size: 250%; 
  mask-size: 250%;
}
.image-mask-2:hover {
  -webkit-mask-size: 250%; 
  mask-size: 250%;
}
.image-mask-2 {
  display: inline-block;
  position: relative;
  overflow: hidden;

  /* Apply brush stroke PNG as mask */
  -webkit-mask-image: url("assets/images/dry-brush-stroke-8.png");
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;
  -webkit-mask-size: 100%;

  mask-image: url("assets/images/dry-brush-stroke-8.png");
  mask-repeat: no-repeat;
  mask-position: center;
  mask-size: 100%;

  /* Animate smoothly */
  transition: -webkit-mask-size 2s ease, mask-size 2s ease;
}
.image-mask-2 {
  transform: scaleX(-1);
}
.image-mask-2 img {
  transform: scaleX(-1); /* flip the image back to normal */
}
/* Floating QR / Hoverable Shadow */
.hoverable-shadow {
  display: inline-block;
  border-radius: 1rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  /* box-shadow: 0 6px 15px rgba(0, 0, 0, 0.08); */
  transform: translateY(0);
  cursor: pointer;
}

/* Hover (for desktop) */
/* .hoverable-shadow:hover {
    border-radius: 1rem;
  transform: translateY(-8px) scale(1.03);
  box-shadow: 0 15px 25px rgba(0, 0, 0, 0.15);
} */

/* Active / Tap (for mobile and click) */
/* .hoverable-shadow:active {
    border-radius: 1rem;
  transform: translateY(-3px) scale(0.98);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.12);
} */

.dancing-script{
    font-family:"Dancing Script";
    font-size:1.5rem;
}
.music-btn {
  position: fixed;
  bottom: 80px;   /* just above bottom navbar */
  right: 20px;
  width: 55px;
  height: 55px;
  z-index: 1100;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  color:var(--color-brown);
}
.text-justify{
    text-align: justify !important;
}

    .wedding-table {
        width: 100%;
        max-width: 900px;
        margin: 40px auto;
        border-collapse: collapse;
        color: #333;
        text-align: center;
    }

    .wedding-table th {
        background: #f8f3f0;
        color: #444;
        font-size: 1.75rem;
        padding: 1px;
        border-bottom: 2px solid #d9cdc5;
        text-transform: capitalize;
        letter-spacing: 1px;
        font-family: var(--font-script);
    }

    .wedding-table td {
        padding: 1px 12px;
        border-bottom: 1px solid #eee;
        text-align: center;
        font-family: var(--font-main);
        font-size: 1rem;
    }

    .wedding-table tr:last-child td {
        border-bottom: none;
    }

    .section-title {
        background: #efe7e3 !important;
        font-weight: bold;
        font-size: 1.5rem !important;
        padding: 14px !important;
        letter-spacing: 1px;
    }
/* Hover effect */
.music-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 12px rgba(0,0,0,0.2);
  color:var(--color-brown);
}

/* Pulse animation */
@keyframes pulse {
  0% { transform: scale(1); box-shadow: 0 0 0 rgba(0,0,0,0.2); }
  50% { transform: scale(1.1); box-shadow: 0 0 15px rgba(0,0,0,0.15); }
  100% { transform: scale(1); box-shadow: 0 0 0 rgba(0,0,0,0.2); }
}

.music-btn.playing {
  animation: pulse 1.8s infinite ease-in-out;
}
section{
    padding-top:2rem;
}
.suit-preview {
  position: relative;
  display: block;
}

.suit-preview::after {
  content: "";
  position: absolute;
  inset: 0;
  background: transparent; /* will be set by JS */
  mix-blend-mode: multiply;
  pointer-events: none;
  transition: background 0.4s ease;
}
.suit-preview::after {
  background: var(--suit-color, transparent);
}
/* Color swatches */
.color-box-container { display:flex; gap:10px; flex-wrap:wrap; align-items:center; }
.color-box {
  width:50px; height:50px; border-radius:8px; cursor:pointer;
  transition: transform .18s ease, box-shadow .18s ease, outline .08s;
  box-shadow: var(--shadow-box);
  border: 2px solid rgba(255,255,255,0.35);
}
.color-box:hover { transform: scale(1.08); box-shadow: 0 8px 20px rgba(0,0,0,0.12); }
.color-box:active { transform: scale(0.98); }

/* active swatch outline */
.color-box.active {
  outline: 3px solid rgba(255,255,255,0.85);
  transform: scale(1.12);
}

/* Example color classes (uses your :root vars) */
.color-blush-light { background: var(--color-blush-light); }
.color-blush-medium { background: var(--color-blush-medium); }
.color-blush-rose { background: var(--color-blush-rose); }
.color-blush-deep { background: var(--color-blush-deep); }

.color-beige-ivory { background: var(--color-beige-ivory); }
.color-beige-cream { background: var(--color-beige-cream); }
.color-beige-sand { background: var(--color-beige-sand); }
.color-beige-taupe { background: var(--color-beige-taupe); }

/* Suit wrapper + overlay (overlay will carry the chosen color) */
.suit-wrapper img {
  transition: opacity 0.4s ease-in-out, filter 0.4s ease-in-out;
  opacity: 1;
}

.suit-fade {
  opacity: 0;
}

/* 👗 Dress recolor wrapper */
.dress-wrapper img {
  transition: opacity 0.4s ease-in-out, filter 0.4s ease-in-out;
  opacity: 1;
}

.dress-fade {
  opacity: 0;
}


/* Special forbidden colors */
.color-box.forbidden {
  position: relative;
  cursor: not-allowed;
  opacity: 1;
  pointer-events: none; /* disables clicks */
}

/* Forbidden color boxes (not allowed) */
.color-box.forbidden {
  position: relative;
  cursor: not-allowed;
  opacity: 1;
  pointer-events: none; /* not clickable */
}

/* Red X overlay */
.color-box.forbidden::before,
.color-box.forbidden::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 120%;
  height: 5px;
  background: red;
  transform-origin: center;
}

.color-box.forbidden::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

.color-box.forbidden::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}
/* ================================
   Hero Background Video Styles
================================ */
.hero-video-background {
    position: relative;
    width: 100%;
    height: 100vh; /* Full screen */
    overflow: hidden;
    background: #000;
}

/* Make iframe behave like a video background */
.hero-video-background iframe {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 177.78vh; /* Maintain 16:9 ratio while filling vertical space */
    height: 100vh;
    transform: translate(-50%, -50%);
    border: 0;
    pointer-events: none; /* Disable click-to-pause and UI interactions */
    opacity: 0;
    transition: opacity 1.2s ease-in-out;
}

/* Fade in on load */
.hero-video-background iframe.loaded {
    opacity: 1;
}

/* For small devices: ensure full cover */
@media (max-aspect-ratio: 16/9) {
    .hero-video-background iframe {
        width: 100vw;
        height: 56.25vw;
    }
}
.btn-brand{
    background-color: var(--color-beige-taupe);
    color:white;
    margin-bottom: 2rem;
}
.btn-brand:hover, .btn-brand:active{
    background-color: var(--color-beige-taupe);
    color:white;
    transform: translateY(-3px);
    transition: 0.5s;
    /* box-shadow: 0px 5px 3px rgba(0,0,0,0.3); */
    /* border:black solid 1px; */
}
.icon_link{
    all:unset;
    font-size: 3rem;
}
.section {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.section.visible {
    opacity: 1;
    transform: translateY(0);
}


.color-box {
    cursor: pointer; /* still works if hovered in desktop or for accessibility */
    border: 2px solid transparent;
    border-radius: 8px;
    position: relative;
    transition: border 0.2s, transform 0.2s;
}

.color-box:active {
    transform: scale(0.95); /* subtle press feedback */
}

/* Pulsing animation for tap cue */
@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 0.7; }
  50% { transform: scale(1.1); opacity: 0.7; }
}

.tap-cue {
  display: block;
  text-align: center;
  font-size: 1rem;
  color: #454545;
  opacity: 0.7;
  margin-top: 0px;
  font-weight: 1000;
  font-family: var(--font-main);
  
  /* animation properties */
  animation: pulse 1.2s infinite;
}

.faq-item {
  
  margin-bottom: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
}
.faq-label{
    /* background-color: blue; */
    
    font-size: 2rem;
    font-family: var(--font-script);
    height: 100%;
    /* background-color: blue; */
}
.faq-label.q{
    border-right:#ddd solid 2px;
    padding: 10px 15px 10px 15px;
}
.faq-label.a{
    border-left:#ddd solid 2px;
     padding: 10px 0px 10px 15px;
}
.faq-question-wrapper{
    padding-inline:20px;
    width:100%;
    display: flex;
    justify-content: center;
    align-items: center;
}
.faq-question-container {
  border: 1px solid var(--color-beige-ivory);
  border-radius: 8px;
  background: var(--color-beige-ivory);
  padding: 5px 20px 5px 0px;
  font-weight: 500;
  cursor: pointer;
  position: relative;
  min-width: 300px;
  width: 100%;
  max-width: 500px;
  display: flex;
  align-items: center !important;
}
/* Triangle on the left */
.faq-question-container::before {
  content: "";
  position: absolute;
  left: -20px; /* distance from left edge */
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-top: 15px solid transparent;
  border-bottom: 15px solid transparent;
  border-right: 20px solid var(--color-beige-ivory); /* same as background */
  z-index: 1;
}
.faq-question{
    padding: 15px 20px;
}
.faq-answer{
    padding: 15px 20px;
    max-height: 0;
    text-align: justify;
    transition: max-height 0.4s ease, padding 0.4s ease, border 0.4s ease;
}
.faq-question-container::after {
  content: '+';
  position: absolute;
  right: 20px;
  font-size: 1.2rem;
  transition: transform 0.3s ease;
}

.faq-item.open .faq-question-container::after {
  transform: rotate(45deg);
}
.faq-answer-wrapper{
    padding-inline:20px;
    width:100%;
    display: flex;
    justify-content: center;
    align-items: center;
}
.faq-answer-container {
    margin-top:12px;
  max-height: 0;
  overflow: hidden;
  padding: 0px 20px 0px 0px;
  background: transparent;
  transition: max-height 0.4s ease, padding 0.4s ease, border 0.4s ease;
}

.faq-answer-container {
  border-radius: 8px;
  font-weight: 500;
  cursor: pointer;
  position: relative;
  min-width: 300px;
  width: 100%;
  max-width: 500px;
  display: flex;
  align-items: center !important;
  border: 1px solid transparent;
}
.faq-item.open .faq-answer-container::before {
  content: "";
  position: absolute;
  right: -20px; /* distance from left edge */
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-top: 15px solid transparent;
  border-bottom: 15px solid transparent;
  border-left: 20px solid #fff; /* same as background */
  z-index: 1;
}
.faq-item.open .faq-answer-container::after {
  content: "";
  position: absolute;
  right: -21px; /* distance from left edge */
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-top: 16px solid transparent;
  border-bottom: 16px solid transparent;
  border-left: 20px solid #ddd; /* same as background */
  z-index: 0;
}
.faq-item.open .faq-answer-container {
    margin-top:12px;
    border: 1px solid #ddd;
  border-radius: 10px;
  max-height: 2000px; /* big enough for content */
  padding: 5px 20px 5px 0px;
  overflow: visible;
  background: white;
  display: flex;
  justify-content: end;
}
.faq-item.open .faq-answer {
    /* height:100%; */
  max-height:2000px; /* big enough for content */
  text-align: justify;
 
}

.faq-item a{
    color:var(--color-beige-taupe);
    font-weight: bold;
    text-decoration: none;
}

.faq-item a:hover, .faq-item a:active{
    color:var(--color-beige-taupe);
    font-weight: bold;
    text-decoration: underline;
}

.text-container{
    max-width: 900px;
}