/* ============================================================
   TRAVELUXE - Shared Itinerary & Destination Page Styles
   ============================================================ */

/* --- Page Hero Banner --- */
.destination-hero {
    position: relative;
    height: 65vh;
    min-height: 400px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: flex-end;
    padding-bottom: 60px;
    overflow: hidden;
}
.destination-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.85) 100%);
    z-index: 1;
}
.destination-hero .hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
}
.destination-hero h1 {
    font-size: clamp(2rem, 5vw, 4rem);
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 10px;
}
.destination-hero .hero-meta span {
    margin-right: 24px;
    font-size: 14px;
    opacity: 0.85;
    letter-spacing: 1px;
}
.destination-hero .hero-meta i {
    color: #a6a182;
    margin-right: 6px;
}

/* --- Breadcrumb --- */
.dest-breadcrumb {
    padding: 14px 0;
    background: rgba(0,0,0,0.5);
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
.dest-breadcrumb a { color: #a6a182; text-decoration: none; }
.dest-breadcrumb span { color: rgba(255,255,255,0.5); margin: 0 8px; }

/* --- Destination Overview --- */
.dest-overview {
    padding: 70px 0 40px;
}
.dest-overview .overview-badge {
    display: inline-block;
    background: #a6a182;
    color: #000;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 5px 14px;
    border-radius: 2px;
    margin-bottom: 20px;
}
.dest-overview h2 {
    font-size: 2.4rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}
.dest-overview p { color: #aaa; line-height: 1.8; margin-bottom: 16px; }

/* --- Highlights Strip --- */
.dest-highlights {
    padding: 40px 0;
    background: rgba(255,255,255,0.03);
    border-top: 1px solid rgba(255,255,255,0.07);
    border-bottom: 1px solid rgba(255,255,255,0.07);
}
.highlight-item {
    text-align: center;
    padding: 20px 10px;
}
.highlight-item i {
    font-size: 2rem;
    color: #a6a182;
    margin-bottom: 12px;
    display: block;
}
.highlight-item h5 { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 1.5px; color: #fff; margin-bottom: 4px; }
.highlight-item p { font-size: 0.8rem; color: #999; margin: 0; }

/* --- Package Pricing Cards --- */
.package-cards-section { padding: 70px 0; }
.package-card {
    background: #111;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 8px;
    padding: 30px 25px;
    margin-bottom: 24px;
    transition: border-color 0.3s, transform 0.3s;
    position: relative;
    overflow: hidden;
}
.package-card:hover { border-color: #a6a182; transform: translateY(-4px); }
.package-card.featured { border-color: #a6a182; }
.package-card .featured-badge {
    position: absolute;
    top: 0; right: 0;
    background: #a6a182;
    color: #000;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1px;
    padding: 5px 12px;
    text-transform: uppercase;
    border-bottom-left-radius: 8px;
}
.package-card h4 { color: #fff; font-size: 1.1rem; margin-bottom: 6px; }
.package-card .price { color: #a6a182; font-size: 1.8rem; font-weight: 700; margin-bottom: 16px; }
.package-card .price span { font-size: 0.85rem; color: #888; font-weight: 400; }
.package-card ul { list-style: none; padding: 0; margin: 0 0 20px; }
.package-card ul li { color: #aaa; font-size: 0.9rem; padding: 5px 0; border-bottom: 1px solid rgba(255,255,255,0.05); }
.package-card ul li i { color: #a6a182; margin-right: 8px; }

/* --- Itinerary Section --- */
.itinerary-section { padding: 70px 0; }
.itinerary-section .section-badge {
    display: inline-block;
    background: transparent;
    border: 1px solid #a6a182;
    color: #a6a182;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 5px 14px;
    border-radius: 2px;
    margin-bottom: 14px;
}
.itinerary-section h2 { font-size: 2.2rem; font-weight: 700; color: #fff; margin-bottom: 10px; }
.itinerary-section .section-desc { color: #aaa; margin-bottom: 50px; }

/* Accordion Timeline */
.itinerary-accordion { }
.itin-day {
    background: #0d0d0d;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 6px;
    margin-bottom: 12px;
    overflow: hidden;
    transition: border-color 0.3s;
}
.itin-day:hover, .itin-day.active { border-color: #a6a182; }
.itin-day-header {
    display: flex;
    align-items: center;
    padding: 20px 24px;
    cursor: pointer;
    user-select: none;
}
.itin-day-header .day-number {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #a6a182;
    color: #000;
    font-weight: 700;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-right: 18px;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: 11px;
}
.itin-day-header .day-title { flex: 1; }
.itin-day-header .day-title h5 { color: #fff; margin: 0; font-size: 1rem; font-weight: 600; }
.itin-day-header .day-title p { color: #888; margin: 0; font-size: 0.82rem; margin-top: 2px; }
.itin-day-header .toggle-icon {
    color: #a6a182;
    font-size: 1.2rem;
    transition: transform 0.3s;
}
.itin-day.active .toggle-icon { transform: rotate(180deg); }
.itin-day-body {
    display: none;
    padding: 0 24px 24px;
    border-top: 1px solid rgba(255,255,255,0.06);
}
.itin-day.active .itin-day-body { display: block; }
.time-slot {
    display: flex;
    align-items: flex-start;
    padding: 16px 0;
    border-bottom: 1px solid rgba(255,255,255,0.04);
}
.time-slot:last-child { border-bottom: none; }
.time-slot .slot-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(166,161,130,0.12);
    color: #a6a182;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-right: 14px;
    font-size: 1rem;
}
.time-slot .slot-content h6 { color: #a6a182; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 4px; }
.time-slot .slot-content p { color: #aaa; font-size: 0.9rem; margin: 0; line-height: 1.6; }

/* --- Collage Gallery — 5-image 2-row premium layout --- */
.dest-gallery { padding: 70px 0; }
.collage-grid {
    display: grid;
    /* Row 1: big feature (2/3 w) + tall side (1/3 w) */
    /* Row 2: three equal tiles */
    grid-template-columns: 2fr 1fr 1fr;
    grid-template-rows: 340px 260px;
    gap: 8px;
    border-radius: 14px;
    overflow: hidden;
}
/* Row 1, Col 1–2: large feature */
.collage-main {
    grid-column: 1 / 2;
    grid-row: 1 / 2;
    overflow: hidden;
    position: relative;
}
/* Row 1, Col 3: tall side portrait */
.collage-side {
    grid-column: 3 / 4;
    grid-row: 1 / 3;    /* spans both rows */
    overflow: hidden;
    position: relative;
}
/* Row 2, Col 1 & 2: two bottom thumbs */
.collage-thumb {
    overflow: hidden;
    position: relative;
}

.collage-main a,
.collage-side a,
.collage-thumb a { display: block; height: 100%; width: 100%; }
.collage-main img,
.collage-side img,
.collage-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.55s ease;
}
.collage-main:hover img,
.collage-side:hover img,
.collage-thumb:hover img { transform: scale(1.06); }
.collage-overlay {
    position: absolute; inset: 0;
    background: rgba(0,0,0,0);
    transition: background 0.3s;
    pointer-events: none;
}
.collage-main:hover .collage-overlay,
.collage-side:hover .collage-overlay,
.collage-thumb:hover .collage-overlay { background: rgba(166,161,130,0.1); }
/* Zoom icon on hover */
.collage-main::after,
.collage-side::after,
.collage-thumb::after {
    content: '\F52A'; /* bi-arrows-fullscreen */
    font-family: 'bootstrap-icons';
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%,-50%) scale(0.6);
    font-size: 1.6rem;
    color: rgba(255,255,255,0.9);
    opacity: 0;
    transition: opacity 0.3s, transform 0.3s;
    pointer-events: none;
    z-index: 2;
}
.collage-main:hover::after,
.collage-side:hover::after,
.collage-thumb:hover::after {
    opacity: 1;
    transform: translate(-50%,-50%) scale(1);
}

@media (max-width: 768px) {
    .collage-grid {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 230px 190px 190px;
    }
    .collage-main  { grid-column: 1 / 3; grid-row: 1 / 2; }
    .collage-side  { grid-column: 1 / 2; grid-row: 2 / 4; }
    .collage-thumb { grid-row: auto; }
}
@media (max-width: 480px) {
    .collage-grid {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 190px 150px 150px;
    }
}

/* --- CTA Section --- */
.dest-cta {
    padding: 80px 0;
    background: linear-gradient(135deg, rgba(166,161,130,0.12), rgba(0,0,0,0.3));
    border-top: 1px solid rgba(166,161,130,0.2);
    text-align: center;
}
.dest-cta h2 { font-size: 2.2rem; font-weight: 700; color: #fff; margin-bottom: 16px; }
.dest-cta p { color: #aaa; margin-bottom: 30px; }

/* --- Filter Tabs (Domestic Packages) --- */
.filter-tabs { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 40px; }
.filter-tabs .tab-btn {
    padding: 10px 28px;
    border-radius: 30px;
    border: 1px solid rgba(255,255,255,0.2);
    background: transparent;
    color: #aaa;
    font-size: 0.9rem;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s;
}
.filter-tabs .tab-btn:hover,
.filter-tabs .tab-btn.active {
    background: #a6a182;
    border-color: #a6a182;
    color: #000;
    font-weight: 600;
}

/* --- City/Destination Cards --- */
.dest-card {
    background: #0d0d0d;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s, border-color 0.3s;
    cursor: pointer;
    text-decoration: none;
    display: block;
    margin-bottom: 24px;
}
.dest-card:hover { transform: translateY(-6px); border-color: #a6a182; text-decoration: none; }
.dest-card .card-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
    transition: transform 0.5s;
}
.dest-card:hover .card-img { transform: scale(1.05); }
.dest-card .card-img-wrapper { overflow: hidden; }
.dest-card .card-body { padding: 20px; }
.dest-card .card-category {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #a6a182;
    font-weight: 700;
    margin-bottom: 6px;
}
.dest-card .card-title { font-size: 1.15rem; font-weight: 700; color: #fff; margin-bottom: 8px; }
.dest-card .card-desc { font-size: 0.85rem; color: #888; line-height: 1.6; margin-bottom: 16px; }
.dest-card .card-footer-meta { display: flex; align-items: center; justify-content: space-between; }
.dest-card .card-price { color: #a6a182; font-weight: 700; font-size: 1.1rem; }
.dest-card .card-duration { color: #666; font-size: 0.8rem; }

/* --- Testimonials Masonry --- */
.testimonials-hero {
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
    padding: 120px 0 60px;
    text-align: center;
    border-bottom: 1px solid rgba(255,255,255,0.07);
}
.testimonials-hero h1 { font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 700; }
.testimonials-hero p { color: #aaa; max-width: 600px; margin: 0 auto; }

.masonry-grid {
    columns: 3;
    column-gap: 16px;
    padding: 60px 0;
}
.masonry-item {
    break-inside: avoid;
    position: relative;
    margin-bottom: 16px;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
}
.masonry-item img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s;
}
.masonry-item:hover img { transform: scale(1.05); }
.masonry-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0) 50%);
    opacity: 0;
    transition: opacity 0.4s;
    display: flex;
    align-items: flex-end;
    padding: 24px;
}
.masonry-item:hover .masonry-overlay { opacity: 1; }
.masonry-overlay .overlay-content .client-name { color: #fff; font-weight: 700; font-size: 1rem; margin-bottom: 2px; }
.masonry-overlay .overlay-content .client-dest { color: #a6a182; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 8px; }
.masonry-overlay .overlay-content .client-quote { color: rgba(255,255,255,0.8); font-size: 0.85rem; line-height: 1.5; font-style: italic; }

@media (max-width: 992px) {
    .masonry-grid { columns: 2; }
    .gallery-grid { grid-template-columns: 1fr 1fr; }
    .gallery-grid .gallery-item.wide { grid-column: span 2; }
}
@media (max-width: 576px) {
    .masonry-grid { columns: 1; }
    .gallery-grid { grid-template-columns: 1fr; }
    .gallery-grid .gallery-item.wide { grid-column: span 1; }
    .dest-card .card-img { height: 160px; }
}
