@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;700;900&family=Playfair+Display:ital,wght@0,400;0,700;1,400&family=Lora:ital,wght@0,400;0,500;1,400&display=swap');

:root {
    --gold: #c5a059;
    --gold-light: #e4c599;
    --ivory: #fdfdfa;
    --white: #ffffff;
    --dark: #1a1814;
    --dim: #4a4641;
    --heading: 'Montserrat', sans-serif;
    --serif: 'Playfair Display', serif;
    --body: 'Lora', serif;
    --pad: 8%;
}

*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}
::-webkit-scrollbar-thumb {
    background: var(--gold);
    border-radius: 3px;
}

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

body {
    background: var(--ivory);
    color: var(--dark);
    font-family: var(--body);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* ── Background Video ── */
#vid-bg {
    position: fixed; inset: 0; z-index: 0;
    overflow: hidden; pointer-events: none;
}
#vid-bg video {
    width: 100%; height: 100%; object-fit: cover;
    opacity: .18;
    transform: translateZ(0); /* GPU layer */
    will-change: transform, opacity;
}
#vid-bg .fade {
    position: absolute; inset: 0;
    background: radial-gradient(ellipse at center, transparent 30%, var(--ivory) 100%);
}

/* ── Nav ── */
nav {
    position: fixed; top: 0; left: 0; width: 100%; height: 90px;
    display: flex; justify-content: space-between; align-items: center;
    padding: 0 var(--pad); z-index: 100;
    background: rgba(253, 253, 250, .92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(197, 160, 89, .2);
    transition: padding 0.3s ease, height 0.3s ease;
}

.logo {
    font-family: var(--heading); font-weight: 900; font-size: 1.3rem; letter-spacing: 6px;
    text-transform: uppercase;
}
.logo b {
    color: var(--gold);
}
.nav-sub {
    font-family: var(--heading); font-size: .6rem; letter-spacing: 4px; font-weight: 700; color: var(--gold);
    text-transform: uppercase;
}

@media(max-width: 768px) {
    nav { height: 70px; padding: 0 5%; }
    .logo { font-size: 1rem; letter-spacing: 3px; }
    .nav-sub { font-size: 0.5rem; letter-spacing: 2px; }
}

/* ── Bulb Wire Decor ── */
.bulbs {
    position: fixed; top: 0; left: 0; width: 100%; height: 130px;
    z-index: 99; pointer-events: none;
    display: flex; justify-content: space-around;
}
.b { display: flex; flex-direction: column; align-items: center; }
.bw { width: 1px; background: rgba(0, 0, 0, .12); }
.bg {
    width: 10px; height: 14px; border-radius: 50% 50% 45% 45%;
    background: radial-gradient(circle at 35% 25%, #fff, #ffd700 85%);
    box-shadow: 0 0 10px #ffd700;
    animation: glow 3s infinite alternate;
}
@keyframes glow { from { opacity: .5; } to { opacity: 1; } }

@media(max-width: 768px) {
    .bulbs { display: none; } /* Hide bulbs on smaller mobile screens for cleaner UI */
}

/* ── Horizontal Track ── */
.track-wrapper {
    width: 100%; height: 100vh;
    overflow: hidden;
    position: relative;
    z-index: 1;
}
.track {
    display: flex;
    height: 100vh;
    will-change: transform;
    transform: translateZ(0);
}

/* ── Panels ── */
.panel {
    width: 100vw; min-width: 100vw; height: 100vh;
    flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
    padding: 0 var(--pad);
    position: relative;
    overflow: hidden;
}

.panel-content {
    width: 100%;
    max-width: 1200px;
}

/* ── Layout Components ── */
.grid2 {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 80px; width: 100%; align-items: center;
}
.grid1 { width: 100%; max-width: 1200px; margin: 0 auto; }

/* ── Typography ── */
.h-xl {
    font-family: var(--heading); font-size: clamp(2.5rem, 6vw, 7rem);
    font-weight: 900; letter-spacing: -3px; line-height: .9;
    text-transform: uppercase; margin-bottom: 20px;
}
.h-lg {
    font-family: var(--heading); font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 900; letter-spacing: -1px; line-height: 1.05;
    text-transform: uppercase; margin-bottom: 25px;
}
.h-label {
    font-family: var(--heading); font-size: clamp(0.6rem, 2vw, 0.7rem); font-weight: 700;
    letter-spacing: 4px; text-transform: uppercase; color: var(--gold);
    margin-bottom: 12px; display: block;
}
.h-feat {
    font-family: var(--heading); font-size: .8rem; font-weight: 700;
    letter-spacing: 3px; text-transform: uppercase; margin-bottom: 15px;
}
.italic {
    font-family: var(--serif); font-size: clamp(1.4rem, 3vw, 1.8rem); font-style: italic;
    color: var(--gold); margin: 20px 0; line-height: 1.3;
}
.txt { font-size: 1.05rem; line-height: 1.8; color: var(--dim); }
.txt strong { color: var(--dark); }
.divider { width: 80px; height: 2px; background: var(--gold); margin: 30px 0; }
.center-div { margin-left: auto; margin-right: auto; }

/* ── Image Card ── */
.img-card {
    position: relative; width: 100%; height: clamp(400px, 55vh, 600px);
    background: var(--white); border: 1px solid var(--gold-light); padding: 10px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, .06);
}
.img-card img { width: 100%; height: 100%; object-fit: cover; display: block; }
.img-tag {
    position: absolute; bottom: -12px; right: -12px;
    background: var(--gold); color: #fff;
    padding: 6px 14px; font-family: var(--heading);
    font-size: .6rem; font-weight: 700; letter-spacing: 2px; text-transform: uppercase;
}

/* ── 4-Column Why Grid ── */
.why-grid {
    display: grid; grid-template-columns: 1fr 1fr; gap: 50px 80px; margin-top: 40px;
}

/* ── Celebrations Tags ── */
.celeb-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 15px 30px; margin-top: 35px;
    text-align: center;
}
.celeb-tag {
    font-family: var(--heading); font-size: .75rem; font-weight: 700;
    letter-spacing: 3px; text-transform: uppercase; color: var(--dim);
    border-bottom: 1px solid rgba(197, 160, 89, .2); padding-bottom: 10px;
}

/* ── Facts Deck ── */
.facts {
    background: var(--white); border: 1px solid var(--gold-light);
    padding: clamp(30px, 5vw, 60px); width: 100%; max-width: 1200px; margin: 0 auto;
    display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 40px;
}
.fact h4 {
    font-family: var(--heading); font-size: .7rem; letter-spacing: 3px;
    text-transform: uppercase; color: var(--gold); margin-bottom: 10px;
}
.fact p { font-size: 1rem; line-height: 1.5; }
.fact ul { list-style: none; margin-top: 5px; }
.fact ul li { font-size: .95rem; margin-bottom: 5px; opacity: .85; }

/* ── Progress Bar ── */
.prog {
    position: fixed; bottom: 40px; left: var(--pad); width: calc(100% - calc(var(--pad) * 2)); height: 2px; /* Increased height */
    background: rgba(197, 160, 89, .2); z-index: 100;
}
#prog-fill { height: 100%; width: 0; background: var(--gold); transition: width 0.1s linear; }

/* ── Responsive ── */
/* Tablet & Small Desktop */
@media(max-width: 1024px) {
    .grid2 { gap: 40px; }
    .why-grid { gap: 30px; }
}

/* Mobile Devices */
@media(max-width: 768px) {
    :root { --pad: 6%; }
    
    .track-wrapper, .track {
        height: auto; 
        overflow: visible;
        display: block; /* Remove flex and horizontal scroll */
        transform: none !important;
    }
    
    .panel {
        width: 100%; min-width: 100%; height: auto; min-height: 100vh;
        padding: 120px var(--pad) 60px var(--pad); 
        border-bottom: 1px solid rgba(197,160,89,.2);
    }
    
    .grid2 { grid-template-columns: 1fr; gap: 40px; }
    
    /* Rearrange specific panels to show image first then text */
    .mobile-img-first { order: -1; }
    
    .img-card { height: clamp(300px, 45vh, 400px); }
    
    .why-grid { grid-template-columns: 1fr; gap: 30px; }
    
    .prog { bottom: 20px; }
    
    /* Hide specific desktop formatting on mobile */
    .facts-panel { padding-top: 60px !important; border-bottom: none !important;}
    
    .hero-tags { font-size: 0.55rem !important; flex-wrap: wrap !important; }
}

/* Very Small Phones */
@media(max-width: 480px) {
    .h-xl { font-size: 3rem; letter-spacing: -1px; }
    .h-lg { font-size: 2rem; letter-spacing: 0px; }
    .facts { padding: 30px 20px; gap: 30px; }
    .img-card { height: 300px; }
}
