﻿/* ========================================
   HOME PAGE ENHANCEMENTS
   ======================================== */

/* Hero improvements */
.hero-editorial::after {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        linear-gradient(to right, rgba(0,0,0,0.68) 0%, rgba(0,0,0,0.22) 60%, transparent 100%),
        linear-gradient(to top, rgba(0,0,0,0.5) 0%, transparent 55%);
    z-index: 1;
    pointer-events: none;
}
.hero-content { position: relative; z-index: 2; padding: 10rem 0 7rem; }
.hero-text { max-width: 660px; }
.hero-title { font-size: clamp(3rem, 7vw, 6rem); line-height: 1.0; }
.hero-desc { font-size: 1.1rem; line-height: 1.8; color: rgba(255,255,255,0.82); max-width: 520px; margin-bottom: 2.5rem; font-weight: 300; }
.hero-ctas { display: flex; gap: 1.25rem; flex-wrap: wrap; }

/* Scroll hint */
.hero-scroll-hint {
    position: absolute; bottom: 2.5rem; left: 50%; transform: translateX(-50%);
    z-index: 2; display: flex; flex-direction: column; align-items: center;
    gap: 0.5rem; color: rgba(255,255,255,0.4); font-size: 0.68rem;
    letter-spacing: 0.2em; text-transform: uppercase;
    animation: scrollBounce 2.2s ease-in-out infinite;
}
.hero-scroll-hint::after {
    content: ''; display: block; width: 1px; height: 40px;
    background: linear-gradient(to bottom, rgba(255,255,255,0.4), transparent);
}

/* Circuit section override */
.dest-interactive { background: var(--ivory); padding: 3.5rem 0; }

.dest-list { }

.dest-preview { position: absolute; inset: 0; opacity: 0; transition: opacity 0.6s ease; }
.dest-preview.active { opacity: 1; }
.dest-preview img { width: 100%; height: 100%; object-fit: cover; }

.dest-item {
    display: flex; align-items: flex-start; gap: 1.5rem;
    padding: 1.4rem 0; cursor: pointer;
    border-bottom: 1px solid var(--border-light); transition: all 0.3s;
}
.dest-item:first-of-type { border-top: 1px solid var(--border-light); margin-top: 2rem; }
.dest-item-num { font-family: var(--sh-font-display); font-style: italic; color: var(--saffron); opacity: 0.6; min-width: 28px; padding-top: 0.2rem; }
.dest-item-content h3 { font-size: 1.7rem; font-weight: 300; transition: color 0.3s; margin-bottom: 0; line-height: 1.2; }
.dest-item-content p { font-size: 0.88rem; color: rgba(42,36,29,0.55); line-height: 1.6; max-height: 0; overflow: hidden; transition: max-height 0.4s ease, margin-top 0.3s; }
.dest-item.active .dest-item-content p { max-height: 80px; margin-top: 0.5rem; }
.dest-item.active .dest-item-content h3, .dest-item:hover .dest-item-content h3 { color: var(--saffron); }
.dest-arrow { margin-left: auto; width: 20px; height: 20px; stroke: var(--saffron); opacity: 0; transform: translateX(-8px); transition: all 0.3s; flex-shrink: 0; margin-top: 0.4rem; }
.dest-item.active .dest-arrow, .dest-item:hover .dest-arrow { opacity: 1; transform: translateX(0); }

/* Featured packages section */
.section-header-centered { text-align: center; max-width: 580px; margin: 0 auto 4.5rem; }
.section-eyebrow-line {
    display: inline-flex; align-items: center; gap: 0.75rem;
    font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.2em;
    color: var(--saffron); font-weight: 600; margin-bottom: 1.25rem;
}
.section-eyebrow-line::before, .section-eyebrow-line::after {
    content: ''; display: block; width: 22px; height: 1px; background: var(--saffron); opacity: 0.6;
}
.section-title-home {
    font-family: var(--sh-font-display); font-size: clamp(2rem, 4.5vw, 3.2rem);
    font-weight: 300; font-style: italic; color: var(--charcoal); line-height: 1.1; margin-bottom: 1rem;
}
.section-subtitle-home { font-size: 0.95rem; color: rgba(42,36,29,0.52); line-height: 1.7; }

/* Enhanced cards */
.pkg-card-v2 {
    background: #fff; border-radius: 8px; overflow: hidden;
    text-decoration: none; color: inherit; display: flex; flex-direction: column;
    transition: transform 0.4s cubic-bezier(0.16,1,0.3,1), box-shadow 0.4s;
    box-shadow: 0 2px 16px rgba(42,36,29,0.06);
}
.pkg-card-v2:hover { transform: translateY(-6px); box-shadow: 0 18px 50px rgba(42,36,29,0.13); }
.pkg-card-v2-img { position: relative; height: 230px; overflow: hidden; }
.pkg-card-v2-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s cubic-bezier(0.16,1,0.3,1); }
.pkg-card-v2:hover .pkg-card-v2-img img { transform: scale(1.07); }
.pkg-card-v2-badge {
    position: absolute; top: 1rem; left: 1rem; background: var(--saffron); color: #fff;
    font-size: 0.62rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
    padding: 0.28rem 0.7rem; border-radius: 2px;
}
.pkg-card-v2-body { padding: 1.6rem 1.6rem 1.4rem; display: flex; flex-direction: column; flex: 1; }
.pkg-card-v2-meta { display: flex; gap: 1rem; font-size: 0.76rem; color: rgba(42,36,29,0.45); margin-bottom: 0.8rem; }
.pkg-card-v2-title { font-family: var(--sh-font-display); font-size: 1.35rem; font-weight: 400; margin-bottom: 0.65rem; transition: color 0.3s; line-height: 1.2; }
.pkg-card-v2:hover .pkg-card-v2-title { color: var(--saffron); }
.pkg-card-v2-desc { font-size: 0.86rem; color: rgba(42,36,29,0.57); line-height: 1.65; margin-bottom: 1.4rem; flex: 1; }
.pkg-card-v2-footer { display: flex; align-items: center; justify-content: space-between; border-top: 1px solid var(--border-light); padding-top: 1.1rem; }
.pkg-card-v2-price small { display: block; font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.1em; color: rgba(42,36,29,0.38); margin-bottom: 0.1rem; }
.pkg-card-v2-price strong { font-family: var(--sh-font-display); font-size: 1rem; font-style: italic; color: var(--charcoal); }
.pkg-card-v2-link { display: flex; align-items: center; gap: 0.35rem; font-size: 0.74rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--saffron); transition: gap 0.3s; }
.pkg-card-v2:hover .pkg-card-v2-link { gap: 0.65rem; }



.btn-browse {
    display: inline-flex; align-items: center; gap: 0.75rem;
    padding: 0.9rem 2.25rem; border: 1.5px solid var(--charcoal); border-radius: 50px;
    font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.14em;
    color: var(--charcoal); text-decoration: none; transition: all 0.3s;
}
.btn-browse:hover { background: var(--charcoal); color: var(--ivory); }

/* Philosophy/why section — dark */
.why-us-section {
    background: var(--charcoal); padding: 3.5rem 0; position: relative; overflow: hidden;
}
.why-us-section::before {
    content: '"'; position: absolute; right: 5%; top: -3rem;
    font-family: var(--sh-font-display); font-size: 24rem; color: rgba(255,255,255,0.018);
    pointer-events: none; line-height: 1; font-style: italic;
}
.why-us-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 6rem; align-items: center; }
.why-label {
    display: flex; align-items: center; gap: 0.75rem; font-size: 0.72rem;
    letter-spacing: 0.2em; text-transform: uppercase; color: var(--saffron);
    font-weight: 600; margin-bottom: 2rem;
}
.why-label::before { content: ''; width: 28px; height: 1px; background: var(--saffron); }
.why-heading-dark { font-family: var(--sh-font-display); font-size: clamp(2.2rem, 4.5vw, 3.8rem); font-weight: 300; font-style: italic; color: #fff; line-height: 1.1; margin-bottom: 1.75rem; }
.why-body-text { font-size: 1rem; color: rgba(255,255,255,0.5); line-height: 1.8; max-width: 400px; margin-bottom: 2rem; }
.features-list { display: flex; flex-direction: column; gap: 2rem; }
.feature-row { display: flex; align-items: flex-start; gap: 1.4rem; }
.feature-icon {
    width: 46px; height: 46px; border-radius: 50%;
    background: rgba(217,139,53,0.1); border: 1px solid rgba(217,139,53,0.2);
    display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.feature-icon svg { width: 19px; height: 19px; stroke: var(--saffron); }
.feature-title { font-family: var(--sh-font-display); font-size: 1.05rem; color: #fff; margin-bottom: 0.3rem; }
.feature-desc { font-size: 0.85rem; color: rgba(255,255,255,0.4); line-height: 1.6; }

/* Moments gallery */
.moments-section { background: var(--ivory); padding: 3.5rem 0; }






/* Testimonials modern */
.testi-modern { background: var(--off-white); padding: 3.5rem 0; }

.testi-card {
    background: #fff; border-radius: 8px; padding: 2.25rem 1.85rem;
    box-shadow: 0 2px 18px rgba(42,36,29,0.05); transition: transform 0.3s, box-shadow 0.3s; position: relative;
}
.testi-card:hover { transform: translateY(-4px); box-shadow: 0 14px 40px rgba(42,36,29,0.1); }
.testi-stars { font-size: 0.8rem; color: var(--saffron); letter-spacing: 0.05em; margin-bottom: 1.2rem; }
.testi-body-text { font-size: 0.93rem; line-height: 1.75; color: var(--charcoal); font-style: italic; margin-bottom: 1.8rem; }
.testi-author-row { display: flex; align-items: center; gap: 0.9rem; }
.testi-avatar {
    width: 38px; height: 38px; border-radius: 50%;
    background: linear-gradient(135deg, var(--saffron), #D4AF37);
    display: flex; align-items: center; justify-content: center;
    font-family: var(--sh-font-display); font-size: 1rem; color: #fff; font-style: italic; flex-shrink: 0;
}
.testi-name { font-weight: 600; font-size: 0.88rem; color: var(--charcoal); }
.testi-city { font-size: 0.75rem; color: rgba(42,36,29,0.42); }

/* CTA Banner */
.cta-strip {
    background: linear-gradient(135deg, var(--charcoal) 0%, #352e26 100%);
    padding: 7rem 0; text-align: center; position: relative; overflow: hidden;
}
.cta-strip::before {
    content: ''; position: absolute; inset: 0;
    background: radial-gradient(ellipse at 50% 110%, rgba(217,139,53,0.18) 0%, transparent 70%);
}
.cta-strip-inner { position: relative; z-index: 1; }
.cta-strip h2 {
    font-family: var(--sh-font-display); font-size: clamp(2.2rem, 5vw, 4rem);
    font-weight: 300; font-style: italic; color: #fff; margin-bottom: 1.25rem; line-height: 1.1;
}
.cta-strip p { font-size: 1rem; color: rgba(255,255,255,0.48); max-width: 460px; margin: 0 auto 3rem; line-height: 1.7; }
.cta-strip-btns { display: flex; gap: 1.25rem; justify-content: center; flex-wrap: wrap; }
.btn-cta-gold {
    display: inline-flex; align-items: center; gap: 0.6rem; padding: 0.95rem 2.2rem;
    background: var(--saffron); color: #fff; border-radius: 50px; font-size: 0.8rem;
    font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; text-decoration: none; transition: all 0.3s;
}
.btn-cta-gold:hover { background: #c47c2a; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(217,139,53,0.35); }
.btn-cta-outline-light {
    display: inline-flex; align-items: center; gap: 0.6rem; padding: 0.95rem 2.2rem;
    border: 1.5px solid rgba(255,255,255,0.22); color: rgba(255,255,255,0.8); border-radius: 50px;
    font-size: 0.8rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; text-decoration: none; transition: all 0.3s;
}
.btn-cta-outline-light:hover { border-color: rgba(255,255,255,0.6); color: #fff; }

/* Keyframes */
@keyframes scrollBounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50%       { transform: translateX(-50%) translateY(8px); }
}

/* Responsive */
@media (max-width: 1024px) {
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .dest-layout, .why-us-inner { grid-template-columns: 1fr; gap: 3rem; }
    
    
}
@media (max-width: 768px) {
    
    
    
    
}

/* ── Stats Band v2 (redesigned) ─────────── */
.stats-band-v2 {
    background: var(--charcoal);
    padding: 0;
    position: relative;
    overflow: hidden;
}
.stats-band-v2::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 50% 0%, rgba(217,139,53,0.12) 0%, transparent 65%);
    pointer-events: none;
}
.stats-v2-grid {
    display: flex;
    align-items: stretch;
}
.stat-v2-item {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 1.25rem;
    padding: 3rem 2.5rem;
    position: relative;
    transition: background 0.4s;
    cursor: default;
}
.stat-v2-item:hover {
    background: rgba(217,139,53,0.06);
}
.stat-v2-divider {
    width: 1px;
    background: rgba(255,255,255,0.07);
    flex-shrink: 0;
    margin: 1.5rem 0;
}
.stat-v2-icon {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: rgba(217,139,53,0.1);
    border: 1px solid rgba(217,139,53,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--saffron);
    transition: background 0.4s, border-color 0.4s;
}
.stat-v2-item:hover .stat-v2-icon {
    background: rgba(217,139,53,0.18);
    border-color: rgba(217,139,53,0.45);
}
.stat-v2-content {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}
.stat-v2-num {
    font-family: var(--sh-font-display);
    font-size: clamp(2rem, 3.5vw, 2.8rem);
    font-weight: 300;
    font-style: italic;
    color: #fff;
    line-height: 1;
    transition: color 0.3s;
}
.stat-v2-item:hover .stat-v2-num {
    color: var(--saffron);
}
.stat-v2-label {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: rgba(255,255,255,0.38);
    font-family: var(--sh-font-ui);
    font-weight: 500;
    white-space: nowrap;
}

@media (max-width: 900px) {
    .stats-v2-grid { flex-wrap: wrap; }
    .stat-v2-item { flex: 1 1 calc(50% - 1px); min-width: 200px; }
    .stat-v2-divider { display: none; }
    .stat-v2-item { border-bottom: 1px solid rgba(255,255,255,0.06); }
}
@media (max-width: 500px) {
    .stat-v2-item { flex: 1 1 100%; padding: 2rem 1.5rem; }
}


/* ── Mobile overflow / spacing fixes ───── */
@media (max-width: 768px) {
    /* Hero - prevent overflow */
    .hero-editorial {
        overflow: hidden;
    }
    .hero-content {
        padding: 7rem 1.25rem 5rem;
        width: 100%;
        box-sizing: border-box;
    }
    .hero-text {
        max-width: 100%;
    }
    .hero-title {
        font-size: clamp(2.4rem, 9vw, 3.5rem);
        word-break: break-word;
    }
    .hero-desc {
        font-size: 0.95rem;
        max-width: 100%;
    }
    .hero-ctas {
        flex-direction: column;
        gap: 0.9rem;
    }
    .hero-ctas .btn {
        width: 100%;
        text-align: center;
        justify-content: center;
    }

    /* Stats - 2-column grid on mobile */
    .stats-v2-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        flex-wrap: unset;
    }
    .stat-v2-item {
        flex: unset;
        min-width: unset;
        padding: 1.75rem 1.25rem;
        border-bottom: 1px solid rgba(255,255,255,0.06);
    }
    .stat-v2-divider { display: none; }
    .stat-v2-num { font-size: 1.9rem; }
    .stat-v2-label { font-size: 0.63rem; white-space: normal; }
    .stat-v2-icon { width: 40px; height: 40px; }

    /* Circuit section */

    .dest-layout { grid-template-columns: 1fr; gap: 2rem; width: 100%; }
    .dest-image-wrap { 
        min-height: auto; 
        aspect-ratio: 1 / 1; 
        width: 100%; 
        max-width: 100%;
    }

    
    

    /* Why section */
    .why-us-inner { grid-template-columns: 1fr; gap: 2.5rem; }

    /* Gallery */
    
    

    /* Testimonials */
    

    /* Packages grid */
    

    /* Section headers */
    .section-header-centered { padding: 0 0.5rem; }
}

@media (max-width: 480px) {
    /* Stats - keep 2 columns but tighter */
    .stats-v2-grid {
        grid-template-columns: 1fr 1fr;
    }
    .stat-v2-item {
        padding: 1.5rem 0.9rem;
        gap: 0.75rem;
    }
    .stat-v2-icon { width: 36px; height: 36px; }
    .stat-v2-num { font-size: 1.6rem; }
    .stat-v2-label { font-size: 0.6rem; letter-spacing: 0.1em; }

    /* Hero text */
    .hero-content { padding: 6.5rem 1rem 4rem; }
    .hero-title { font-size: clamp(2.2rem, 8vw, 3rem); }

    /* Sections padding */
    .why-us-section,
    .moments-section,
    .testi-modern,
    .cta-strip { padding: 3.5rem 0; }
}




/* --- About Page Enhancements --- */
.about-hero-modern {
    padding-top: 10rem;
    padding-bottom: 5rem;
    background: var(--ivory);
}
.about-hero-image-wrap {
    width: 100%;
    height: 500px;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

@media (max-width: 900px) {
    .split-layout {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .about-hero-modern {
        padding-top: 5rem;
    }
    .about-hero-image-wrap {
        height: 300px;
        border-radius: 12px;
    }
    .story-images {
        height: 400px !important;
        margin-top: 2rem;
    }
    .story-images img:first-child {
        width: 80% !important;
        height: 70% !important;
    }
    .story-images img:last-child {
        width: 70% !important;
        height: 60% !important;
    }
}




/* Home Package Grid - Horizontal Scroll All Screens */
.pkg-grid-home {
    display: flex !important;
    flex-direction: row !important;
    overflow-x: auto !important;
    gap: 1.5rem !important;
    padding-top: 2.5rem !important;
    margin-top: -2.5rem !important;
    padding-bottom: 3rem !important;
    
    /* Hide scrollbar / seekbar */
    -ms-overflow-style: none !important;
    scrollbar-width: none !important;
}
.pkg-grid-home::-webkit-scrollbar {
    display: none !important;
}

.pkg-grid-home > .pkg-card-v2 {
    width: 340px !important;
    min-width: 340px !important;
    max-width: 340px !important;
    flex-shrink: 0 !important;
    height: 100% !important; /* Keep uniform height if flex stretches them */
    display: flex;
    flex-direction: column;
}
.pkg-grid-home > .pkg-card-v2 .pkg-card-v2-body {
    flex: 1;
    display: flex;
    flex-direction: column;
}
.pkg-grid-home > .pkg-card-v2 .pkg-card-v2-footer {
    margin-top: auto; /* push footer to bottom */
}

@media (max-width: 768px) {
    .pkg-grid-home {
        margin-left: -1rem;
        margin-right: -1rem;
        padding-left: 1rem;
        padding-right: 1rem;
    }
    .pkg-grid-home > .pkg-card-v2 {
        width: 300px !important;
        min-width: 300px !important;
        max-width: 300px !important;
    }
}


/* Home Testimonial Grid - Horizontal Scroll All Screens */
.testi-cards-grid {
    display: flex !important;
    flex-direction: row !important;
    overflow-x: auto !important;
    gap: 1.5rem !important;
    padding-top: 2.5rem !important;
    margin-top: 0rem !important; /* Original 2.5rem - 2.5rem padding */
    padding-bottom: 3rem !important;
    
    /* Hide scrollbar / seekbar */
    -ms-overflow-style: none !important;
    scrollbar-width: none !important;
}
.testi-cards-grid::-webkit-scrollbar {
    display: none !important;
}

.testi-cards-grid > .testi-card {
    width: 380px !important;
    min-width: 380px !important;
    max-width: 380px !important;
    flex-shrink: 0 !important;
    height: auto !important;
    display: flex;
    flex-direction: column;
}
.testi-cards-grid > .testi-card .testi-body-text {
    flex: 1; /* Pushes author row to bottom */
}

@media (max-width: 768px) {
    .testi-cards-grid {
        margin-left: -1rem;
        margin-right: -1rem;
        padding-left: 1rem;
        padding-right: 1rem;
    }
    .testi-cards-grid > .testi-card {
        width: 300px !important;
        min-width: 300px !important;
        max-width: 300px !important;
    }
}


/* --- REDESIGNED MODERN GALLERY --- */
.moments-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    grid-auto-rows: 250px !important;
    gap: 1.5rem !important;
    margin-top: 3rem !important;
}

.moment-tile {
    border-radius: 16px !important;
    overflow: hidden !important;
    position: relative !important;
    cursor: pointer !important;
    box-shadow: 0 8px 30px rgba(0,0,0,0.08) !important;
}

/* Flawless 5-item Bento Box layout */
.moment-tile:nth-child(1) { grid-column: span 2 !important; grid-row: span 2 !important; }
.moment-tile:nth-child(2) { grid-column: span 1 !important; grid-row: span 1 !important; }
.moment-tile:nth-child(3) { grid-column: span 1 !important; grid-row: span 1 !important; }
.moment-tile:nth-child(4) { grid-column: span 2 !important; grid-row: span 1 !important; }
.moment-tile:nth-child(5) { grid-column: span 1 !important; grid-row: span 1 !important; }

.moment-tile img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    transition: transform 0.8s cubic-bezier(0.16,1,0.3,1) !important;
}

.moment-overlay {
    position: absolute !important;
    inset: 0 !important;
    background: linear-gradient(to top, rgba(26,20,15,0.8) 0%, transparent 60%) !important;
    opacity: 0 !important;
    transition: opacity 0.4s ease !important;
    display: flex !important;
    align-items: flex-end !important;
    padding: 1.5rem 1.8rem !important;
    pointer-events: none; /* Let hover trigger on the tile */
}

.moment-tile:hover .moment-overlay {
    opacity: 1 !important;
}

.moment-tile:hover img {
    transform: scale(1.08) !important;
}

.moment-overlay span {
    color: #fff !important;
    font-family: var(--sh-font-ui) !important;
    font-weight: 600 !important;
    font-size: 1.15rem !important;
    letter-spacing: 0.05em !important;
    transform: translateY(15px) !important;
    transition: transform 0.4s cubic-bezier(0.16,1,0.3,1) !important;
}

.moment-tile:hover .moment-overlay span {
    transform: translateY(0) !important;
}

/* Tablet & Mobile Overrides */
@media (max-width: 900px) {
    .moments-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        grid-auto-rows: 220px !important;
        gap: 1rem !important;
    }
    .moment-tile:nth-child(1) { grid-column: span 2 !important; grid-row: span 2 !important; }
    .moment-tile:nth-child(2) { grid-column: span 1 !important; grid-row: span 1 !important; }
    .moment-tile:nth-child(3) { grid-column: span 1 !important; grid-row: span 1 !important; }
    .moment-tile:nth-child(4) { grid-column: span 2 !important; grid-row: span 1 !important; }
    .moment-tile:nth-child(5) { display: none !important; } /* Hide 5th on tablet to keep symmetry */
    
    .moment-overlay { opacity: 1 !important; background: linear-gradient(to top, rgba(26,20,15,0.7) 0%, transparent 50%) !important; }
    .moment-overlay span { transform: translateY(0) !important; font-size: 1rem !important; }
}

@media (max-width: 600px) {
    .moments-grid {
        grid-template-columns: 1fr !important;
        grid-auto-rows: 240px !important;
    }
    /* Reset spans for mobile stack */
    .moment-tile:nth-child(1),
    .moment-tile:nth-child(2),
    .moment-tile:nth-child(3),
    .moment-tile:nth-child(4),
    .moment-tile:nth-child(5) {
        grid-column: span 1 !important;
        grid-row: span 1 !important;
        display: block !important; /* Bring back 5th on mobile */
    }
    /* Make first image slightly taller */
    .moment-tile:nth-child(1) { grid-row: span 2 !important; }
}

