/* PrimeVista — destination detail page (/destinations/<slug>) */
:root { --gold: #D4AF37; --abyss: #030D10; --ivory: #F4F1EA; }
        body { background: var(--abyss); color: var(--ivory); font-family: 'Cormorant Garamond', serif; margin: 0; line-height: 1.6; }
        
        .hero { height: 50vh; background: linear-gradient(to bottom, rgba(3,13,16,0.2), var(--abyss)), var(--hero-img) center/cover; display: flex; align-items: flex-end; padding-bottom: 80px; }
        .container { max-width: 1100px; margin: 0 auto; padding: 0 30px; }
        
        .vibe-badge { border: 1px solid var(--gold); color: var(--gold); padding: 8px 20px; font-size: 11px; text-transform: uppercase; letter-spacing: 3px; display: inline-block; margin-bottom: 20px; }
        h1 { font-family: 'Cormorant Garamond', serif; font-size: 5.5rem; margin: 10px 0; font-weight: 300; line-height: 1; }
        .tagline { color: var(--gold); letter-spacing: 5px; text-transform: uppercase; font-size: 14px; }

        .deep-narrative { padding: 100px 0; }
        .grid-detail { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 80px; }
        
        .gold-subtitle { font-weight: 400; font-family: inherit; color: var(--gold); text-transform: uppercase; font-size: 11px; letter-spacing: 4px; margin-bottom: 30px; display: block; }
        .body-text { font-size: 20px; line-height: 2; font-weight: 300; color: rgba(244,241,234,0.85); text-align: justify; }
        
        .secret-card { background: rgba(212,175,55,0.05); border: 1px solid rgba(212,175,55,0.2); padding: 40px; position: relative; }
        .secret-card i { color: var(--gold); font-size: 30px; margin-bottom: 20px; }
        .secret-card h4, .secret-card h3 { font-family: 'Cormorant Garamond'; color: var(--gold); font-size: 24px; margin-top: 0; }
        
        .highlights-section { padding-bottom: 100px; }
        .h-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
        .h-item { border-top: 1px solid rgba(212,175,55,0.3); padding-top: 25px; }
        .h-item h5, .h-item h3 { color: var(--gold); margin: 0 0 10px 0; font-size: 12px; letter-spacing: 2px; }
        .h-item p { margin: 0; font-size: 16px; font-weight: 300; }

        .cta-box { background: #051216; border: 1px solid var(--gold); padding: 60px; text-align: center; margin-bottom: 100px; }
        .btn-expedition { background: var(--gold); color: var(--abyss); padding: 18px 45px; text-decoration: none; display: inline-block; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; font-size: 12px; margin-top: 30px; transition: 0.3s; }
        .btn-expedition:hover { letter-spacing: 4px; background: white; }

        /* ========================== Signature Gallery CSS =========================== */

.gallery-section {
    background-color: rgba(3, 13, 16, 0.5); /* Subtle contrast from main body */
}

.atelier-gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 250px; /* Base height for the rows */
    gap: 20px;
    margin-top: 40px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(212, 175, 55, 0.15); /* Faint gold border */
    background: #000;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: grayscale(20%); /* Artistic luxury filter */
    transition: transform 1.2s cubic-bezier(0.19, 1, 0.22, 1), filter 0.8s ease;
}

/* --- The Master Grid Pattern --- */
/* Item 0: Large horizontal feature */
.item-0 {
    grid-column: span 2;
    grid-row: span 2;
}

/* Item 1: Wide top feature */
.item-1 {
    grid-column: span 2;
    grid-row: span 1;
}

/* Items 2 & 3: Standard square accents */
.item-2, .item-3 {
    grid-column: span 1;
    grid-row: span 1;
}

/* --- Hover Effects --- */
.gallery-item:hover img {
    transform: scale(1.1);
    filter: grayscale(0%); /* Brings back full color on hover */
}

.img-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(3, 13, 16, 0.9) 0%, transparent 60%);
    display: flex;
    align-items: flex-end;
    padding: 25px;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.gallery-item:hover .img-overlay {
    opacity: 1;
}

.img-overlay span {
    color: var(--gold);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    border-left: 1px solid var(--gold);
    padding-left: 10px;
}

/* --- Mobile Responsiveness --- */
@media (max-width: 992px) {
    .atelier-gallery {
        grid-template-columns: repeat(2, 1fr); /* 2 columns for tablets */
        grid-auto-rows: 200px;
    }
    .item-0, .item-1 {
        grid-column: span 2;
    }
}

@media (max-width: 600px) {
    .atelier-gallery {
        grid-template-columns: 1fr; /* Stacked for mobile */
        grid-auto-rows: 300px;
    }
    .item-0, .item-1, .item-2, .item-3 {
        grid-column: span 1;
        grid-row: span 1;
    }
}

        @media (max-width: 900px) {
            h1 { font-size: 3.5rem; }
            .grid-detail, .h-grid { grid-template-columns: 1fr; }
        }

/* ---------- "More Signature Landscapes" — image tiles ---------- */
.pv-more-landscapes { padding: 90px 0 110px; background: linear-gradient(180deg, var(--abyss) 0%, #061418 100%); }
.pv-more-landscapes__head { max-width: 1100px; margin: 0 auto 40px; padding: 0 30px; }
.pv-more-landscapes__eyebrow { display: block; color: var(--gold); font-size: 12px; font-weight: 600; letter-spacing: 4px; text-transform: uppercase; margin-bottom: 12px; }
.pv-more-landscapes__head h2 { font-family: 'Cormorant Garamond', serif; font-weight: 300; font-size: clamp(32px, 4vw, 48px); margin: 0; line-height: 1.1; }
.pv-more-landscapes__head h2 em { color: var(--gold); font-style: italic; }

.pv-more-landscapes__track {
    max-width: 1400px; margin: 0 auto; padding: 0 30px;
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px;
}
.pv-landscape-tile {
    position: relative; display: flex; align-items: flex-end;
    min-height: 340px; overflow: hidden; text-decoration: none; color: var(--ivory);
    border: 1px solid rgba(212,175,55,.15);
    isolation: isolate;
}
.pv-landscape-tile::before {               /* the photo */
    content: ''; position: absolute; inset: 0; z-index: -2;
    background: var(--tile-img) center/cover no-repeat;
    transform: scale(1.02); transition: transform .9s cubic-bezier(.2,.7,.2,1), filter .6s;
    filter: saturate(.85) brightness(.85);
}
.pv-landscape-tile::after {                /* dark fade for legible text */
    content: ''; position: absolute; inset: 0; z-index: -1;
    background: linear-gradient(180deg, rgba(3,13,16,0) 25%, rgba(3,13,16,.55) 55%, rgba(3,13,16,.95) 100%);
}
.pv-landscape-tile__num {
    position: absolute; top: 18px; left: 20px;
    font-size: 13px; letter-spacing: 3px; color: var(--gold); opacity: .85;
}
.pv-landscape-tile__body { display: flex; flex-direction: column; gap: 6px; padding: 24px 22px 24px; width: 100%; }
.pv-landscape-tile__vibe { font-size: 11px; font-weight: 600; letter-spacing: 3px; text-transform: uppercase; color: var(--gold); }
.pv-landscape-tile__title { font-family: 'Cormorant Garamond', serif; font-size: 26px; line-height: 1.15; }
.pv-landscape-tile__tagline { font-style: italic; font-size: 15px; opacity: .75; max-height: 0; overflow: hidden; transition: max-height .5s ease, opacity .5s; }
.pv-landscape-tile__cta {
    margin-top: 8px; font-size: 12px; font-weight: 600; letter-spacing: 3px; text-transform: uppercase; color: var(--gold);
    border-top: 1px solid rgba(212,175,55,.35); padding-top: 12px; width: 100%;
}
.pv-landscape-tile__cta span { display: inline-block; transition: transform .3s; }
.pv-landscape-tile:hover::before, .pv-landscape-tile:focus-visible::before { transform: scale(1.1); filter: saturate(1) brightness(.95); }
.pv-landscape-tile:hover .pv-landscape-tile__tagline, .pv-landscape-tile:focus-visible .pv-landscape-tile__tagline { max-height: 60px; }
.pv-landscape-tile:hover .pv-landscape-tile__cta span { transform: translateX(6px); }
.pv-landscape-tile:hover { border-color: rgba(212,175,55,.5); }

@media (max-width: 1100px) { .pv-more-landscapes__track { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) {
    /* swipeable row on phones */
    .pv-more-landscapes__track {
        display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 14px;
        padding: 0 20px 14px; scroll-padding-left: 20px;
        -webkit-overflow-scrolling: touch;
    }
    .pv-landscape-tile { flex: 0 0 78%; min-height: 300px; scroll-snap-align: start; }
    .pv-landscape-tile__tagline { max-height: 60px; }
}
