/* --- RESET & GLOBALS --- */
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Inter', sans-serif; color: #333; line-height: 1.6; }
.trip-container { max-width: 1200px; margin: 0 auto; padding: 0 4%; }
.navy-brand { color: #0B2F56; font-weight: 800; }

/* --- 5-IMAGE GALLERY --- */
.trip-hero { padding: 40px 0; }
.trip-intro h1 { font-size: 2.8rem; font-weight: 800; margin-bottom: 15px; }
.trip-quick-info { display: flex; gap: 25px; color: #666; margin-bottom: 30px; }
.trip-quick-info i { color: #0B2F56; margin-right: 5px; }

.trip-gallery-5 { display: grid; grid-template-columns: 1.5fr 1fr; gap: 15px; }
.gallery-main img { width: 100%; height: 515px; object-fit: cover; border-radius: 20px; }
.gallery-side-grid { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 15px; }
.gallery-side-grid img { width: 100%; height: 250px; object-fit: cover; border-radius: 20px; }

/* --- STICKY NAV --- */
.trip-sub-nav {  top: 0; background: white; border-bottom: 1px solid #eee; z-index: 1000; }
.sub-nav-list { display: flex; gap: 30px; list-style: none; padding: 15px 0; }
.sub-nav-list a { text-decoration: none; color: #666; font-weight: 600; }
.sub-nav-list a.active { color: #0B2F56; border-bottom: 3px solid #0B2F56; padding-bottom: 12px; }

/* --- MAIN LAYOUT --- */
.trip-grid { display: grid; 
    grid-template-columns: 1fr 380px; 
    gap: 50px; 
    padding: 50px 0; 
    align-items: start; /* CRITICAL: This allows the sidebar to stick independently */
    overflow: visible;  /* Ensure no parent is cutting it off */ }

/* --- LEFT CONTENT --- */
.trip-block { margin-bottom: 60px; scroll-margin-top: 100px; }
.trip-block h2 { font-size: 2rem; margin-bottom: 20px; }
.highlight-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.h-item { background: #f8faff; padding: 15px; border-radius: 12px; font-weight: 600; display: flex; align-items: center; gap: 10px; color: #0B2F56; }

/* --- TIMELINE --- */
.timeline { border-left: 2px solid #eee; margin-left: 20px; padding-left: 40px; }
.timeline-day { position: relative; margin-bottom: 40px; }
.day-badge { position: absolute; left: -72px; background: #0B2F56; color: white; padding: 5px 12px; border-radius: 6px; font-size: 0.8rem; font-weight: 700; }
.point-list { list-style: none; }
.point-list li { margin-bottom: 10px; }
.point-list li span { font-weight: 800; color: #0B2F56; min-width: 80px; display: inline-block; }

/* --- INC & EXC --- */
.inc-exc-flex { background: #fcfdfe; border: 1px solid #eee; border-radius: 20px; padding: 30px; }
.inc ul, .exc ul { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.inc i { color: #2ecc71; margin-right: 8px; }
.exc i { color: #e74c3c; margin-right: 8px; }
.exc { margin-top: 25px; border-top: 1px dashed #ddd; padding-top: 20px; }
.exc h4 { margin-bottom: 15px; }

/* --- REVIEWS --- */
.review-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 25px; }
.review-card { border: 1px solid #eee; padding: 20px; border-radius: 20px; }
.review-user-info { display: flex; align-items: center; gap: 15px; margin-bottom: 15px; }
.user-img img { width: 50px; height: 50px; border-radius: 50%; border: 2px solid #0B2F56; }
.trip-tag { font-size: 0.7rem; font-weight: 700; color: #c5a059; }

/* --- SIDEBAR --- */
.trip-right-col { position: sticky; top: 140px; }
.sticky-card {
    
    background: #fff; border: 1px solid #eee; border-radius: 25px; padding: 35px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}
.price-header p { text-transform: uppercase; font-size: 0.8rem; letter-spacing: 1px; color: #666; margin-bottom: 5px; }
.price-val { display: flex; align-items: center; gap: 15px; margin-bottom: 5px; }
.old { text-decoration: line-through; color: #aaa; font-size: 1.3rem; }
.new { font-size: 2.8rem; font-weight: 900; color: #0B2F56; }

.sharing-details { margin: 25px 0; background: #f8faff; border-radius: 15px; padding: 20px; }
.s-row { display: flex; justify-content: space-between; margin-bottom: 10px; font-weight: 500; }
.s-row strong { color: #0B2F56; }

.btn-book {
    width: 100%; padding: 18px; background: #0B2F56; color: #fff; border: none;
    border-radius: 15px; font-weight: 700; font-size: 1.1rem; cursor: pointer; transition: 0.3s;
}
.btn-book:hover { background: #133b66; transform: scale(1.02); }

.btn-pdf {
    display: flex; align-items: center; justify-content: center; gap: 10px;
    width: 100%; margin-top: 15px; padding: 14px; border: 2px solid #0B2F56;
    color: #0B2F56; text-decoration: none; border-radius: 15px; font-weight: 700; transition: 0.3s;
}
.btn-pdf:hover { background: #0B2F56; color: #fff; }

.wa-box { text-align: center; margin-top: 30px; border-top: 1px dashed #eee; padding-top: 25px; }
.wa-link { display: flex; align-items: center; justify-content: center; gap: 10px; color: #25D366; text-decoration: none; font-weight: 700; font-size: 1.1rem; }
.wa-link img { width: 25px; }
/* --- MOBILE --- */
@media (max-width: 992px) {
    .trip-grid { grid-template-columns: 1fr; }
    .trip-gallery-5 { grid-template-columns: 1fr; }
    .gallery-main img { height: 300px; }
    .gallery-side-grid img { height: 150px; }
    .review-grid, .inc ul, .exc ul { grid-template-columns: 1fr; }
}



.mountain-brand {
    color: #27ae60; /* A fresh mountain green */
    font-weight: 700;
    text-transform: uppercase;
}



















/* --- COMPLETE MOBILE OPTIMIZATION --- */
@media (max-width: 768px) {
    html, body {
        overflow-x: hidden; /* Stops horizontal scroll */
        width: 100%;
    }

    .trip-container {
        width: 100%;
        padding: 0 15px;
        overflow: hidden;
    }

    /* 1. NAVIGATION: RESTORE VOICES & ALIGN 4 ITEMS */
    .sub-nav-list {
        display: grid !important;
        grid-template-columns: repeat(4, 1fr) !important; /* Forces all 4 links into one row */
        gap: 5px !important;
        padding: 12px 0 !important;
        text-align: center;
    }

    .sub-nav-list a {
        font-size: 0.75rem !important; /* Small enough to prevent wrapping */
        font-weight: 700;
        white-space: nowrap;
        display: block;
    }

    /* 2. HEADINGS: DYNAMIC RESIZING */
    .trip-intro h1 {
        font-size: clamp(1.2rem, 5vw, 1.8rem) !important;
        white-space: normal;
        word-wrap: break-word;
        line-height: 1.2;
    }

    .trip-block h2 {
        font-size: 1.5rem !important;
        margin-bottom: 15px;
    }

    /* 3. TIMELINE: FIX OVERLAP & ALIGNMENT */
    .timeline {
        border-left: 2px solid #eee;
        margin-left: 10px;
        padding-left: 25px;
    }

    .timeline-day {
        position: relative;
        margin-bottom: 35px;
        display: flex;
        flex-direction: column;
    }

    .day-badge {
        position: relative; /* Badge sits above the title on mobile */
        left: -37px; /* Pulls it back onto the line */
        top: 0;
        display: inline-block;
        width: fit-content;
        margin-bottom: 8px;
        font-size: 0.7rem;
        padding: 4px 8px;
    }

    .timeline-day h3 {
        font-size: 1.2rem !important;
        line-height: 1.3;
    }

    /* 4. LAYOUT & GRID BLOCKS */
    .trip-grid {
        display: block;
        width: 100%;
    }

    .trip-right-col {
        width: 100%;
        margin-top: 40px;
        position: static !important; /* Sidebar stays at bottom of page */
    }

    .inc ul, .exc ul, .highlight-grid, .review-grid {
        grid-template-columns: 1fr !important; /* One column for everything */
        gap: 15px;
    }

    /* 5. GALLERY: STACKED IMAGES */
    .trip-gallery-5 {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }
    
    .gallery-main img {
        height: 250px;
        border-radius: 15px;
    }

    .gallery-side-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }

    .gallery-side-grid img {
        height: 120px;
        border-radius: 12px;
    }

    /* 6. VOICES SECTION */
    .review-card {
        padding: 15px;
        border-radius: 15px;
    }
}






@media (max-width: 380px) {
    .sub-nav-list a {
        font-size: 0.7rem !important;
    }
    
    .trip-intro h1 {
        font-size: 1.4rem !important;
    }
}