/* --- RESET & GLOBALS --- */
* { 
    margin: 0; 
    padding: 0; 
    box-sizing: border-box; 
}

body { 
    font-family: 'Inter', sans-serif; 
    color: #333; 
    line-height: 1.6; 
    background-color: #fdfcfb; 
    overflow-x: hidden; /* Prevent horizontal scroll */
}

.trip-container { 
    max-width: 1200px; 
    margin: 0 auto; 
    padding: 0 4%; 
}

/* --- BRAND COLORS --- */
.navy-brand { color: #0B2F56; font-weight: 800; }
.mountain-brand { 
    color: #C5A059; /* Jaisalmer Golden Sand Color */
    font-weight: 700; 
    text-transform: uppercase; 
}

/* --- HERO SECTION & GALLERY --- */
.trip-hero { padding: 40px 0; }
.trip-intro h1 { font-size: 2.8rem; font-weight: 800; margin-bottom: 15px; color: #0B2F56; }
.trip-quick-info { display: flex; gap: 25px; color: #666; margin-bottom: 30px; flex-wrap: wrap; }
.trip-quick-info i { color: #C5A059; 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 NAVIGATION --- */
.trip-sub-nav { 
    position: sticky; 
    top: 0; 
    background: white; 
    border-bottom: 1px solid #eee; 
    z-index: 1000; 
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}
.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; font-size: 0.95rem; transition: 0.3s; }
.sub-nav-list a.active, .sub-nav-list a:hover { color: #0B2F56; border-bottom: 3px solid #C5A059; padding-bottom: 12px; }

/* --- MAIN LAYOUT GRID --- */
.trip-grid { 
    display: grid; 
    grid-template-columns: 1fr 380px; 
    gap: 50px; 
    padding: 50px 0; 
    align-items: start; 
}

/* --- LEFT COLUMN CONTENT --- */
.trip-block { margin-bottom: 60px; scroll-margin-top: 100px; }
.trip-block h2 { font-size: 2rem; margin-bottom: 25px; color: #0B2F56; position: relative; }
.trip-block h2::after { content: ''; display: block; width: 50px; height: 4px; background: #C5A059; margin-top: 8px; border-radius: 2px; }

/* TIMELINE (ITINERARY) */
.timeline { border-left: 2px solid #f0f0f0; margin-left: 20px; padding-left: 40px; }
.timeline-day { position: relative; margin-bottom: 45px; }
.day-badge { 
    position: absolute; 
    left: -74px; 
    background: #C5A059; 
    color: white; 
    padding: 6px 14px; 
    border-radius: 8px; 
    font-size: 0.75rem; 
    font-weight: 800; 
    box-shadow: 0 4px 10px rgba(197, 160, 89, 0.3);
}
.timeline-day h3 { font-size: 1.4rem; color: #333; margin-bottom: 15px; }
.point-list { list-style: none; }
.point-list li { margin-bottom: 12px; display: flex; align-items: flex-start; gap: 10px; }
.point-list li span { font-weight: 800; color: #0B2F56; min-width: 90px; }

/* INCLUSIONS & EXCLUSIONS */
.inc-exc-flex { background: #fff; border: 1px solid #eee; border-radius: 20px; padding: 35px; box-shadow: 0 10px 30px rgba(0,0,0,0.02); }
.inc ul, .exc ul { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.inc h4, .exc h4 { margin-bottom: 20px; font-size: 1.1rem; color: #0B2F56; }
.inc i { color: #27ae60; margin-right: 10px; }
.exc i { color: #e74c3c; margin-right: 10px; }
.exc { margin-top: 30px; border-top: 1px dashed #ddd; padding-top: 30px; }

/* REVIEWS */
.review-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 25px; }
.review-card { background: white; border: 1px solid #f0f0f0; padding: 25px; border-radius: 20px; transition: 0.3s; }
.review-card:hover { transform: translateY(-5px); box-shadow: 0 10px 20px rgba(0,0,0,0.05); }
.review-user-info { display: flex; align-items: center; gap: 15px; margin-bottom: 15px; }
.user-img img { width: 55px; height: 55px; border-radius: 50%; border: 2px solid #C5A059; object-fit: cover; }
.trip-tag { font-size: 0.7rem; font-weight: 700; color: #C5A059; text-transform: uppercase; }

/* --- RIGHT COLUMN (SIDEBAR) --- */
.trip-right-col { position: sticky; top: 100px; }
.sticky-card { 
    background: #fff; 
    border: 1px solid #eee; 
    border-radius: 25px; 
    padding: 35px; 
    box-shadow: 0 20px 50px rgba(0,0,0,0.08); 
}
.price-header p { text-transform: uppercase; font-size: 0.8rem; letter-spacing: 1.5px; color: #C5A059; font-weight: 700; margin-bottom: 8px; }
.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: #fdfaf4; border: 1px solid #faefd8; border-radius: 15px; padding: 20px; }
.s-row { display: flex; justify-content: space-between; margin-bottom: 12px; font-weight: 500; }
.s-row strong { color: #0B2F56; font-weight: 700; }

.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: #C5A059; transform: translateY(-2px); }

.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; 
}

.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: 24px; }

/* --- COMPLETE MOBILE OPTIMIZATION (THE FIX) --- */
@media (max-width: 992px) {
    .trip-grid { grid-template-columns: 1fr; gap: 40px; }
    .trip-gallery-5 { grid-template-columns: 1fr; }
    .gallery-main img { height: 350px; }
    .gallery-side-grid img { height: 180px; }
    .trip-right-col { position: static; }
    .review-grid, .inc ul, .exc ul { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    html, body {
        width: 100%;
        overflow-x: hidden;
    }

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

    /* NAVIGATION FIX */
    .sub-nav-list {
        display: grid !important;
        grid-template-columns: repeat(4, 1fr) !important; 
        gap: 5px !important;
        padding: 12px 0 !important;
    }

    .sub-nav-list a {
        font-size: 0.7rem !important;
        white-space: nowrap;
        text-align: center;
    }

    /* TITLE & HEADINGS FIX */
    .trip-intro h1 { 
        font-size: 1.8rem !important; 
        line-height: 1.2;
    }

    /* TIMELINE TEXT WRAP FIX */
    .timeline {
        margin-left: 10px;
        padding-left: 25px;
        border-left: 2px solid #eee;
    }

    .day-badge {
        position: relative;
        left: -37px;
        top: 0;
        display: inline-block;
        margin-bottom: 10px;
    }

    .timeline-day h3 {
        font-size: 1.2rem !important;
        margin-top: -5px;
    }

    /* This prevents text cutting off */
    .point-list li {
        flex-direction: column; /* Stacks "Time" above "Description" */
        gap: 2px;
        margin-bottom: 15px;
        width: 100%;
    }

    .point-list li span {
        min-width: auto;
        font-size: 0.85rem;
        color: #C5A059;
    }

    /* GALLERY STACKING */
    .trip-gallery-5 {
        display: flex;
        flex-direction: column;
    }

    .gallery-main img { height: 250px; }

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

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

@media (max-width: 380px) {
    .sub-nav-list a {
        font-size: 0.6rem !important;
    }
}