/* ==========================================================================
   Design System Variables & Setup
   ========================================================================== */
:root {
    /* Color Tokens (HSL values) */
    --background: 40 24% 95%;       /* Light warm ivory */
    --foreground: 33 47% 25%;       /* Deep warm brown */
    --card: 40 20% 92%;             /* Warm card background */
    --card-foreground: 25 49% 15%;  /* Dark terracotta for text */
    
    --primary: 38 43% 40%;          /* Classic warm copper/burgundy */
    --primary-foreground: 50 52% 96%;
    --secondary: 50 52% 92%;
    --secondary-foreground: 25 49% 15%;
    
    --muted: 40 15% 85%;
    --muted-foreground: 33 25% 45%;
    
    --border: 40 20% 82%;
    --input: 40 20% 82%;
    --ring: 38 43% 60%;
    
    /* Specific Curated Wedding Palette Colors */
    --ivory: hsl(40 37% 96%);
    --cream: hsl(50 45% 89%);
    --sage: hsl(50 33% 24%);
    --sage-dark: hsl(33 47% 35%);
    --sage-light: hsl(50 25% 38%);
    --gold: hsl(38 43% 55%);
    --gold-soft: hsl(38 35% 48%);
    --terracotta: hsl(25 49% 15%);
    --burgundy: hsl(38 43% 40%);
    --burgundy-dark: hsl(38 50% 30%);
    --champagne: hsl(50 40% 85%);
    --champagne-dark: hsl(50 30% 70%);
    --white-5: rgba(255, 255, 255, 0.05);
    
    /* Typography Fallbacks */
    --font-display: 'sweet-fancy-script', 'Great Vibes', cursive;
    --font-body: 'arek-armenian', Georgia, serif;
    --font-serif: 'arek-armenian', 'Cormorant Garamond', Georgia, serif;
    --font-sans: 'arek-armenian', 'Montserrat', 'Inter', sans-serif;
    
    /* System parameters */
    --radius: 0.75rem;
    --transition-smooth: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    --shadow-soft: 0 4px 20px -3px rgba(59, 38, 19, 0.06), 0 4px 6px -2px rgba(59, 38, 19, 0.03);
    --shadow-elegant: 0 10px 40px -10px rgba(59, 38, 19, 0.12), 0 4px 15px -3px rgba(59, 38, 19, 0.06);
    --shadow-lifted: 0 20px 50px -15px rgba(59, 38, 19, 0.18), 0 8px 20px -5px rgba(59, 38, 19, 0.08);
}

/* Reset and Base Styles */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    color-scheme: light only;
}

body {
    background-color: hsl(var(--background));
    color: hsl(var(--foreground));
    font-family: var(--font-serif);
    font-size: 1.125rem;
    line-height: 1.6;
    overflow-x: hidden;
    /* Textured paper/grain background overlay */
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    background-blend-mode: overlay;
    background-size: 200px;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: hsl(var(--background));
}
::-webkit-scrollbar-thumb {
    background: var(--gold);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--gold-soft);
}

/* Noise overlay */
.noise-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    /* Fallback for older browsers */
    background-image: url('../assets/white-textured-paper-KasY8RAJ.png');
    /* Modern browsers */
    background-image: image-set(
        url('../assets/white-textured-paper-KasY8RAJ.webp') type('image/webp'),
        url('../assets/white-textured-paper-KasY8RAJ.png') type('image/png')
    );
    background-size: cover;
    background-position: center;
    opacity: 0.08;
    pointer-events: none;
    z-index: 999;
}

/* Typography utility classes */
.font-display {
    font-family: var(--font-display);
    font-weight: 400;
}
.font-body {
    font-family: var(--font-body);
}
.font-serif {
    font-family: var(--font-serif);
}
.font-sans {
    font-family: var(--font-sans);
    font-weight: 300;
}

/* Helper Utilities */
.flex-1 {
    flex: 1;
}
.container {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}
.max-w-lg {
    max-width: 48rem; /* 768px */
}
.max-w-md {
    max-width: 36rem; /* 576px */
}
.max-w-sm {
    max-width: 28rem; /* 448px */
}
.section-padding {
    padding: 6rem 1.5rem;
}
@media (max-width: 768px) {
    .section-padding {
        padding: 4rem 1rem;
    }
}
.text-center {
    text-align: center;
}
.text-left {
    text-align: left;
}
.text-gold {
    color: var(--gold);
}
.text-muted-foreground {
    color: hsl(var(--muted-foreground));
}
.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 0.75rem; }
.mt-4 { margin-top: 1rem; }
.mt-5 { margin-top: 1.5rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-4 { margin-bottom: 1rem; }
.my-4 { margin-top: 1rem; margin-bottom: 1rem; }
.py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.py-3 { padding-top: 0.75rem; padding-bottom: 0.75rem; }
.mx-auto { margin-left: auto; margin-right: auto; }
.mr-2 { margin-right: 0.5rem; }
.w-full { width: 100%; }
.hidden { display: none !important; }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 2rem;
    border-radius: var(--radius);
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition-smooth);
    border: 1px solid transparent;
}
.btn-gold {
    background-color: var(--gold);
    color: white;
}
.btn-gold:hover {
    background-color: var(--gold-soft);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(197, 164, 109, 0.3);
}
.btn-outline {
    background-color: transparent;
    border: 1px solid var(--gold);
    color: var(--gold);
}
.btn-outline:hover {
    background-color: var(--gold);
    color: white;
    transform: translateY(-2px);
}

/* Elegant Cards */
.card-elegant {
    background-color: rgba(255, 255, 255, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: var(--radius);
    padding: 3rem 2rem;
    box-shadow: var(--shadow-soft);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: var(--transition-smooth);
}
.card-elegant:hover {
    box-shadow: var(--shadow-elegant);
    transform: translateY(-2px);
}
@media (max-width: 480px) {
    .card-elegant {
        padding: 2rem 1.25rem;
    }
}

/* Dividers */
.divider-gold {
    width: 60px;
    height: 1px;
    background-color: var(--gold);
    margin: 1.5rem auto;
}

.divider-ornament {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin: 2rem 0;
}
.divider-ornament::before, .divider-ornament::after {
    content: "";
    height: 1px;
    max-width: 6rem;
    flex: 1 1 0%;
    background-color: hsl(var(--border));
}

/* Section Title */
.section-title {
    font-size: 3.5rem;
    color: var(--sage-dark);
    margin-bottom: 0.5rem;
}
.section-subtitle {
    font-size: 1.25rem;
    font-style: italic;
    color: var(--gold-soft);
    margin-bottom: 2rem;
}
@media (max-width: 768px) {
    .section-title {
        font-size: 2.75rem;
    }
}

/* ==========================================================================
   Navigation Bar
   ========================================================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background: rgba(253, 251, 247, 0.4);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    transition: var(--transition-smooth);
}
.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0.75rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.nav-brand {
    font-size: 1.75rem;
    color: var(--sage-dark);
    letter-spacing: 0.05em;
}
.nav-controls {
    display: flex;
    align-items: center;
    gap: 1rem;
}
.btn-control {
    background: transparent;
    border: 1px solid rgba(197, 164, 109, 0.3);
    color: var(--sage-dark);
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 500;
    transition: var(--transition-smooth);
}
.btn-control:hover {
    background-color: var(--gold);
    border-color: var(--gold);
    color: white;
    box-shadow: 0 0 10px rgba(197, 164, 109, 0.2);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
    position: relative;
    height: 100vh;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    text-align: center;
    overflow: hidden;
}
.hero-video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}
.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.9);
}
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.3);
}
.hero-content-wrapper {
    position: relative;
    z-index: 2;
    flex: 1;
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}
.hero-top-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    padding-top: 5rem;
}
@media (min-width: 768px) {
    .hero-top-group {
        padding-top: 7rem;
    }
}
.hero-subtitle {
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.4em;
    text-transform: uppercase;
    color: #ffffff;
    margin-bottom: 2rem;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}
@media (min-width: 768px) {
    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 2.5rem;
    }
}
.couple-names {
    margin-bottom: 0;
    line-height: 1.1;
}
.couple-names span {
    font-family: var(--font-display);
    color: #ffffff;
    display: block;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}
.couple-names span.name-span {
    font-size: 3.75rem;
    font-weight: 400;
    line-height: 0.9;
}
@media (min-width: 768px) {
    .couple-names span.name-span {
        font-size: 6rem;
    }
}
@media (min-width: 1024px) {
    .couple-names span.name-span {
        font-size: 8rem;
    }
}
.couple-names span.ampersand-span {
    font-size: 1.875rem;
    font-weight: 400;
    font-style: italic;
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
    line-height: 1;
}
@media (min-width: 768px) {
    .couple-names span.ampersand-span {
        font-size: 2.25rem;
        margin-top: 0.75rem;
        margin-bottom: 0.75rem;
    }
}
.hero-bottom-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    padding-bottom: 2rem;
}
.divider-white {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1rem;
    width: 100%;
}
.divider-white .line-divider {
    height: 1px;
    background-color: rgba(255, 255, 255, 0.7);
    width: 3rem;
}
@media (min-width: 768px) {
    .divider-white .line-divider {
        width: 6rem;
    }
}
.divider-white span.text-white {
    font-size: 1.25rem;
    color: #ffffff;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}
.hero-date {
    font-family: var(--font-body);
    font-weight: 300;
    font-size: 1.5rem;
    letter-spacing: 0.15em;
    color: #ffffff;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    margin-bottom: 0;
}
@media (min-width: 768px) {
    .hero-date {
        font-size: 2.25rem;
    }
}
.hero-rsvp-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding-bottom: 2rem;
    cursor: pointer;
    text-decoration: none;
    transition: color 0.3s ease;
    z-index: 10;
    color: white;
}
.hero-rsvp-btn:visited {
    color: white;
}
.hero-rsvp-btn:hover {
    color: var(--gold) !important;
}
.bouncing-chevron {
    color: inherit;
    font-size: 1.5rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
    animation: bounceChevron 1.5s ease-in-out infinite;
}
@keyframes bounceChevron {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(8px);
    }
}

/* ==========================================================================
   Countdown Section
   ========================================================================== */
.countdown-section {
    background-color: rgba(248, 244, 237, 0.5);
}
.countdown-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    margin-top: 2.5rem;
}
.countdown-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 80px;
}
.countdown-num {
    font-size: 3.5rem;
    font-weight: 300;
    color: var(--sage-dark);
    line-height: 1;
}
.countdown-label {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--gold);
    margin-top: 0.5rem;
}
@media (max-width: 480px) {
    .countdown-container {
        gap: 0.75rem;
    }
    .countdown-item {
        min-width: 60px;
    }
    .countdown-num {
        font-size: 2.5rem;
    }
    .countdown-label {
        font-size: 0.65rem;
    }
}

/* ==========================================================================
   Welcome Section
   ========================================================================== */
.welcome-section {
    background-image: radial-gradient(rgba(240, 232, 220, 0.4) 1px, transparent 0);
    background-size: 24px 24px;
    padding-top: 5rem;
    padding-bottom: 4rem;
}
@media (max-width: 768px) {
    .welcome-section {
        padding-top: 4rem;
        padding-bottom: 3rem;
    }
}
.welcome-image {
    max-width: 140px;
    height: auto;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.05));
}
.welcome-text {
    font-size: 1.15rem;
    color: var(--sage-dark);
    font-weight: 300;
    line-height: 1.7;
    font-style: italic; /* Explicitly match italics in screenshot */
}
.welcome-section .max-w-3xl {
    margin-bottom: 3rem;
}
@media (min-width: 768px) {
    .welcome-section .max-w-3xl {
        margin-bottom: 4rem;
    }
}
.welcome-section .divider-gold {
    margin-top: 3.5rem;
    margin-bottom: 2.5rem;
}
.welcome-section .section-title {
    font-size: 3rem;
}
@media (max-width: 768px) {
    .welcome-section .section-title {
        font-size: 2.25rem;
    }
    .welcome-text {
        font-size: 1.05rem;
    }
}

/* ==========================================================================
   Venue Section
   ========================================================================== */
.venue-image-container {
    width: 100%;
    height: 320px;
    border-radius: calc(var(--radius) - 2px);
    overflow: hidden;
}
.venue-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}
.venue-card:hover .venue-image {
    transform: scale(1.03);
}
.venue-details {
    margin-top: 2rem;
}
.venue-details p {
    font-size: 0.925rem;
}
.venue-details p.font-sans {
    font-size: 0.825rem;
}
.venue-details .btn {
    margin-top: 2rem;
}

/* ==========================================================================
   YouTube Video Section
   ========================================================================== */
.video-section {
    border-bottom: 1px solid rgba(197, 164, 109, 0.1);
}
.video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    max-width: 100%;
    border-radius: var(--radius);
    border: 1px solid rgba(197, 164, 109, 0.25);
    box-shadow: var(--shadow-soft);
    background-color: #000;
}
.video-wrapper iframe,
.video-wrapper video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* ==========================================================================
   Day Programme Timeline
   ========================================================================== */
.timeline {
    position: relative;
    padding: 2rem 0;
}
.timeline-line {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 20px;
    width: 2px;
    background-color: var(--gold);
    transform: translateX(-50%);
    opacity: 0.4;
}
.timeline-item {
    position: relative;
    margin-bottom: 2.5rem;
    display: flex;
    justify-content: flex-start;
    padding-left: 45px;
}
.timeline-dot {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: var(--gold);
    border: 2px solid hsl(var(--background));
    z-index: 2;
}
.timeline-content {
    position: relative;
    width: 100%;
    max-width: 467px;
    padding: 0;
}
.timeline-img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
    transition: transform 0.5s ease, box-shadow 0.5s ease;
}
.timeline-img:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 35px rgba(197, 164, 109, 0.2);
}


/* ==========================================================================
   Know Us Section (Groom & Bride)
   ========================================================================== */
.know-us-container {
    display: flex;
    gap: 2rem;
    justify-content: center;
}
.know-us-column {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    max-width: 250px;
}
.know-us-card {
    width: 100%;
    aspect-ratio: 3 / 4;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 255, 255, 0.45);
    border: 1px solid rgba(197, 164, 109, 0.25);
    border-radius: var(--radius);
    box-shadow: var(--shadow-soft);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: var(--transition-smooth);
    overflow: hidden;
}
.know-us-card:hover {
    box-shadow: var(--shadow-elegant);
    transform: translateY(-2px);
    background-color: rgba(255, 255, 255, 0.6);
}
.know-us-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.know-us-card:hover .know-us-photo {
    transform: scale(1.05);
}
.know-us-subheading {
    font-family: var(--font-display);
    font-size: 1.75rem;
    color: var(--gold);
    margin-top: 1rem;
    font-weight: 400;
}
@media (max-width: 480px) {
    .know-us-container {
        flex-direction: column;
        align-items: center;
        gap: 2rem;
    }
    .know-us-column {
        width: 100%;
        max-width: 280px;
    }
}

/* ==========================================================================
   Ceremony Section
   ========================================================================== */
.ceremony-section {
    background-color: var(--ivory);
}
.ceremony-card {
    background-color: rgba(255, 255, 255, 0.45);
    border: 1px solid rgba(197, 164, 109, 0.35);
    border-radius: var(--radius);
    box-shadow: var(--shadow-elegant);
    padding: 4rem 3rem;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}
.ceremony-title {
    font-family: var(--font-display);
    font-size: 3.5rem;
    color: var(--gold);
    font-weight: 400;
}
.ceremony-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    margin: 1.5rem auto 2.5rem;
    width: 60%;
    max-width: 300px;
}
.ceremony-divider .line {
    height: 1px;
    background-color: var(--gold);
    flex: 1;
    opacity: 0.7;
}
.ceremony-divider .ornament {
    color: var(--gold);
    font-size: 1rem;
}
.parents-text {
    color: #3c2d1b;
    letter-spacing: 0.15em;
    font-size: 1.15rem;
    font-weight: 500;
}
.request-text, .couple-intro-text {
    font-style: italic;
    color: #4e3d2a;
    line-height: 1.7;
    font-size: 1.1rem;
}
.couple-names-group {
    padding: 1.5rem 0;
}
.couple-names-group .couple-name {
    font-family: var(--font-display);
    font-size: 4.5rem;
    color: var(--gold);
    font-weight: 400;
    line-height: 1.1;
}
.couple-names-group .with-text {
    font-family: var(--font-display);
    font-style: italic;
    font-size: 2.25rem;
    color: var(--gold);
    font-weight: 400;
    margin: 0.5rem 0;
}
.ceremony-details {
    padding-top: 2rem;
}
.ceremony-details .date-text {
    color: #3c2d1b;
    font-size: 1.2rem;
    font-weight: 500;
}
.ceremony-details .venue-text {
    font-size: 1.15rem;
}
@media (max-width: 480px) {
    .ceremony-card {
        padding: 2.5rem 1.25rem;
    }
    .ceremony-title {
        font-size: 2.75rem;
    }
    .couple-names-group .couple-name {
        font-size: 3.5rem;
    }
    .couple-names-group .with-text {
        font-size: 1.75rem;
    }
}




/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
    background-color: rgba(240, 232, 220, 0.25);
    border-top: 1px solid rgba(197, 164, 109, 0.15);
}

/* ==========================================================================
   Animations
   ========================================================================== */
@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-8px);
    }
}
.animate-float {
    animation: float 4s ease-in-out infinite;
}

@keyframes scaleIn {
    0% {
        opacity: 0;
        transform: scale(0.96);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

/* Scroll Reveal animation triggers */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.215, 0.61, 0.355, 1),
                transform 0.8s cubic-bezier(0.215, 0.61, 0.355, 1);
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}



/* Floating Music Button */
.btn-music-float {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: white;
    border: 1px solid rgba(197, 164, 109, 0.4);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    color: var(--sage-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 99;
    transition: var(--transition-bounce);
}
.btn-music-float:hover {
    transform: scale(1.08);
    border-color: var(--gold);
    color: var(--gold);
    box-shadow: 0 6px 20px rgba(197, 164, 109, 0.2);
}
.btn-music-float.playing i {
    animation: pulse 1.5s infinite ease-in-out;
}
@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}
@media (max-width: 768px) {
    .btn-music-float {
        bottom: 1.5rem;
        right: 1.5rem;
        width: 44px;
        height: 44px;
    }
}

/* Custom Counter Input Stepper */
.counter-input-wrapper {
    display: inline-flex;
    align-items: center;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background-color: white;
    overflow: hidden;
    padding: 2px;
}
.btn-counter {
    background: transparent;
    border: none;
    color: var(--sage-dark);
    width: 40px;
    height: 40px;
    font-size: 1.25rem;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
}
.btn-counter:hover {
    background-color: rgba(197, 164, 109, 0.1);
    color: var(--gold);
}
.counter-value {
    font-family: var(--font-sans);
    font-size: 1rem;
    font-weight: 500;
    width: 40px;
    text-align: center;
    color: var(--sage-dark);
    user-select: none;
}


.btn-xs {
    padding: 0.4rem 1.25rem;
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    border-radius: 6px;
}
.map-container {
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid rgba(197, 164, 109, 0.2);
    box-shadow: var(--shadow-soft);
    margin-top: 1rem;
}
.map-container iframe {
    display: block;
}

/* Scroll Lock on Page Load (while preloader is active) */
body.scroll-locked {
    overflow: hidden !important;
    height: 100vh !important;
}

/* Preloader Overlay */
.preloader-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background-color: white;
    cursor: pointer;
    transition: opacity 0.8s ease-in-out;
    opacity: 1;
}

.preloader-overlay.fading-out {
    opacity: 0;
    pointer-events: none;
}

.preloader-media {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 50ms ease-out;
    user-select: none;
    -webkit-user-drag: none;
}

#preloader-poster {
    opacity: 1;
    z-index: 2;
}

#preloader-video {
    opacity: 0;
    z-index: 1;
}

.preloader-overlay.video-active #preloader-poster {
    opacity: 0;
}

.preloader-overlay.video-active #preloader-video {
    opacity: 1;
}


/* Watermark Overlay Styles */


/* Preloader Sound Button (Bottom Right) */
.preloader-sound-toggle {
    position: absolute;
    bottom: 2rem;
    right: 2rem;
    z-index: 20;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: white;
    border: 1px solid rgba(197, 164, 109, 0.25);
    color: var(--foreground);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: var(--shadow-soft);
    transition: var(--transition-smooth);
}

.preloader-sound-toggle:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-elegant);
    background-color: #fafafa;
}

/* ==========================================================================
   Marquee Styles
   ========================================================================== */

.bg-ivory {
    background-color: var(--ivory);
}

/* Marquee Scroller Animation */
@keyframes marquee {
    0% {
        transform: translate3d(0, 0, 0);
    }
    to {
        transform: translate3d(-50%, 0, 0);
    }
}

.animate-marquee {
    animation: marquee 30s linear infinite;
}

.animate-marquee:hover {
    animation-play-state: paused;
}

/* Flexbox and Layout Utilities */
.flex {
    display: flex;
}

.flex-shrink-0 {
    flex-shrink: 0;
}

.gap-3 {
    gap: 0.75rem;
}

.overflow-hidden {
    overflow: hidden;
}

.rounded-lg {
    border-radius: 0.5rem;
}

.w-full {
    width: 100%;
}

.h-full {
    height: 100%;
}

.object-cover {
    object-fit: cover;
}

@media (min-width: 768px) {
    .gap-4 {
        gap: 1rem;
    }
}

/* Added layout, spacing, and font utility classes */
.max-w-3xl {
    max-width: 48rem;
}
.px-6 {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}
.italic {
    font-style: italic;
}
.mb-12 {
    margin-bottom: 3rem;
}
.mb-16 {
    margin-bottom: 4rem;
}
.my-8 {
    margin-top: 2rem;
    margin-bottom: 2rem;
}
@media (min-width: 768px) {
    .md\:mb-16 {
        margin-bottom: 4rem;
    }
}


