/* =====================================================
   destination.css — Asia Destination Page Styles
   ===================================================== */
*{
        font-family: var(--font-poppins);

}
/* Breadcrumb */
.dest-breadcrumb {
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
    font-size: 0.875rem;
    color: var(--text-muted);
}
.dest-breadcrumb a {
    color: var(--primary-red);
    font-weight: 500;
}
.dest-breadcrumb a:hover { text-decoration: underline; }
.bc-sep { margin: 0 8px; color: #ccc; }

/* ── Hero & Gallery ─────────────────────────────── */
.dest-hero {
    padding-top: 32px;
}
.dest-title {
    font-size: 2.6rem;
    font-weight: 800;
    font-family: var(--font-poppins);
    color: var(--text-main);
    margin-bottom: 8px;
}
.dest-rating {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 24px;
    font-size: 0.95rem;
}
.dest-rating .stars { color: #f5a623; font-size: 1rem; letter-spacing: 2px; }
.dest-rating .rating-val { font-weight: 700; color: var(--text-main); }
.dest-rating .rating-count { color: var(--text-muted); }

/* Gallery */
.dest-gallery {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    border-radius: 12px;
    overflow: hidden;
}
.gallery-main {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
}
.gallery-main img {
    width: 100%;
    height: 380px;
    object-fit: cover;
    display: block;
}
.gallery-see-all {
    position: absolute;
    bottom: 16px;
    right: 16px;
    background: rgba(0,0,0,0.65);
    color: #fff;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 0.85rem;
    font-family: var(--font-poppins);
    cursor: pointer;
    backdrop-filter: blur(4px);
    transition: background 0.2s;
}
.gallery-see-all:hover { background: rgba(0,0,0,0.85); }
.gallery-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 10px;
}
.gallery-grid img {
    width: 100%;
    height: 185px;
    object-fit: cover;
    border-radius: 8px;
    display: block;
    transition: transform 0.3s ease;
}
.gallery-grid img:hover { transform: scale(1.02); }

/* ── Shared Section Styles ─────────────────────── */
.dest-section {
    padding: 60px 0;
}
.dest-section.bg-light {
    background-color: #f8f9fa;
}
.dest-section-tag {
    display: inline-block;
    color:#EB1C23;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.08em;
    padding: 5px 12px;
    border-radius: 32px;
    margin-bottom: 12px;
    border: 1px solid #EB1C2333;
    background: #EB1C2333;

    
}
.dest-section h2 {
    font-size: 2rem;
    font-weight: 600;
    font-family: var(--font-poppins);
    color: var(--text-main);
    margin-bottom: 12px;
    line-height: 1.2;
}
.dest-section-desc {
    font-size: 16px;
    font-weight: 600;
    color:#656565;
    margin-bottom: 0;
  
line-height: 26.25px;
letter-spacing: 0px;

}
.dest-section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 20px;
    margin-bottom: 32px;
}
.dest-view-all {
    color: var(--primary-red);
    font-weight: 600;
    font-size: 0.9rem;
    white-space: nowrap;
    flex-shrink: 0;
    transition: opacity 0.2s;
}
.dest-view-all:hover { opacity: 0.75; }

/* ── Stats Row ──────────────────────────────────── */
.dest-stats-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-top: 32px;
}
.dest-stat-card {
    box-shadow: 0px 2px 8px 0px #0000000D;
border: 0.8px solid #E1E1E1;
    border-radius: 10px;
    padding: 20px 24px;
    display: flex;
    flex-direction: column;
    
}
.dest-stat-card .stat-num {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-red);
    font-family: var(--font-poppins);
}
.dest-stat-card .stat-label {
    font-size: 0.82rem;
    font-weight:500;
    color: var(--text-muted);
}

/* ── Browse Cards Grid ──────────────────────────── */
.dest-cards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 32px;
}
.dest-browse-card {
    box-shadow: 0px 2px 8px 0px #0000000D;
border: 0.8px solid #E1E1E1;
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.25s, transform 0.25s;
}
.dest-browse-card:hover {
    box-shadow: 0 8px 28px rgba(0,0,0,0.1);
    transform: translateY(-3px);
}
.dest-card-img {
    width: 100%;
    height: 160px;
    overflow: hidden;
}
.dest-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}
.dest-browse-card:hover .dest-card-img img { transform: scale(1.06); }
.dest-card-body {
    padding: 16px;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.dest-card-tag {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 4px;
}
.dest-card-tag.leisurely { color: var(--primary-red); }
.dest-card-tag.adventure { color: #2e7d32; }
.dest-card-tag.family    { color: #1565c0; }
.dest-card-tag.indulgence { color: #b8860b; }

.dest-card-sub {
    font-size: 0.82rem;
    color: var(--text-muted);
    margin-bottom: 12px;
}
.dest-card-list {
    list-style: none;
    padding: 0;
    margin: 0 0 auto 0;
    flex: 1;
}
.dest-card-list li {
    font-size: 0.82rem;
    color: var(--text-main);
    padding: 4px 0 4px 14px;
    position: relative;
    line-height: 1.5;
}
.dest-card-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 11px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--primary-red);
}
.dest-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 16px;
    padding-top: 12px;
    border-top: 1px solid #f0f0f0;
}
.dest-tours-count {
    font-size: 0.78rem;
    color: var(--text-muted);
    line-height: 1.4;
}
.dest-card-footer .btn-primary {
    font-size: 0.8rem;
    padding: 8px 14px;
    border-radius: 6px;
}

/* ── Country Grid ───────────────────────────────── */
.country-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    grid-template-rows: 160px 160px 200px;
    gap: 12px;
    margin-top: 32px;
}

.country-card {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    display: block;
    text-decoration: none;
    width: 100%;
    height: 100%;
    min-height: 0;
}

.country-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.country-card:hover img { transform: scale(1.05); }

/* Card placement in 6-column grid */
.country-large {
    grid-row: 1 / 3;
    grid-column: 1 / 4;
}

.country-china {
    grid-row: 1 / 2;
    grid-column: 4 / 7;
}

.country-vietnam {
    grid-row: 2 / 3;
    grid-column: 4 / 7;
}

.country-bali {
    grid-row: 3 / 4;
    grid-column: 1 / 3;
}

.country-korea {
    grid-row: 3 / 4;
    grid-column: 3 / 5;
}

.country-singapore {
    grid-row: 3 / 4;
    grid-column: 5 / 7;
}

.country-label {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.72) 0%, transparent 100%);
    padding: 20px 14px 12px;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.country-name {
    color: #fff;
    font-size: 1.05rem;
    font-weight: 700;
    font-family: var(--font-poppins);
}

.country-tours {
    display: inline-block;
    background: rgba(100, 30, 30, 0.8);
    color: #fff;
    font-size: 0.75rem;
    padding: 3px 10px;
    border-radius: 20px;
    width: fit-content;
}


/* ── Before You Go ──────────────────────────────── */
.before-you-go {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 32px;
    align-items: start;
}
.byg-fact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 24px;
    margin-top: 38px;
}
.byg-fact {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 18px 16px;
    border: 1px solid rgba(235, 28, 35, 0.15);
    border-radius: 8px;
    background: #fff;
}
.byg-icon {
    font-size: 1.1rem;
    color: var(--primary-red);
    min-width: 22px;
    margin-top: 2px;
}
.byg-label {
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-bottom: 3px;
}
.byg-val {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-main);
}

.byg-did-you-know strong {
    display: block;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 10px;
}
.byg-did-you-know ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.byg-did-you-know li {
    font-size: 0.85rem;
    color: var(--text-muted);
    padding: 5px 0;
    line-height: 1.5;
    display: flex;
    align-items: flex-start;
    gap: 8px;
}
.byg-did-you-know li img {
    flex-shrink: 0;
    width: 16px;
    height: 16px;
    margin-top: 2px;
}
.byg-icons h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 12px;
}
.icons-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}
.icon-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    border: 1px solid rgba(235, 28, 35, 0.15);
    border-radius: 8px;
    background: #fff;
}
.icon-sym {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid rgba(235, 28, 35, 0.3);
    color: var(--primary-red);
    font-size: 1.1rem;
    flex-shrink: 0;
}
.icon-name {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-main);
}
.icon-sub {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* ── Reviews ────────────────────────────────────── */
.reviews-section {
    background: #f8f9fa;
    position: relative;
    overflow: hidden;
}
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 32px;
}
.dest-review-card {
    border-radius: 8px;
    padding: 24px;
    box-shadow: 0px 2px 8px 0px #0000000D;
border: 0.8px solid #E1E1E1;
    display: flex;
    flex-direction: column;
    gap: 10px;
    position: relative;
}
.review-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.review-stars { color: #f5a623; font-size: 0.95rem; letter-spacing: 2px; }
.review-quote-icon {
    font-size: 2.5rem;
    color: #e8e8e8;
    line-height: 0.2;
    font-family: Georgia, serif;
}
.review-tour-label {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--primary-red);
    letter-spacing: 0.06em;
    margin: 0;
}
.review-text {
    font-size: 0.875rem;
    color: var(--text-main);
    line-height: 1.65;
    flex: 1;
    margin: 0;
}
.reviewer {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 4px;
    padding-top: 14px;
    border-top: 1px solid #f0f0f0;
}
.reviewer img {
    width: 36px; height: 36px;
    border-radius: 50%;
    object-fit: cover;
}
.reviewer-name {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-main);
}
.reviewer-loc {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* ── Newsletter override for dest page ──────────── */
.dest-newsletter {
    background: #2a2a2a;
}

/* ── Responsive ─────────────────────────────────── */
@media (max-width: 1100px) {
    .dest-cards-grid { grid-template-columns: repeat(2, 1fr); }
    .dest-stats-row  { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
    .dest-gallery { grid-template-columns: 1fr; }
    .gallery-grid { grid-template-columns: repeat(4, 1fr); }
    .gallery-grid img { height: 100px; }
    .before-you-go { grid-template-columns: 1fr; }
    
    /* Country grid responsive */
    .country-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: auto;
    }
    .country-large {
        grid-column: span 2;
        grid-row: auto;
        height: 280px;
    }
    .country-china,
    .country-vietnam,
    .country-bali,
    .country-korea,
    .country-singapore {
        grid-column: span 1;
        grid-row: auto;
        height: 180px;
    }
    
    .reviews-grid { grid-template-columns: 1fr; }
    .dest-section-header { flex-direction: column; align-items: flex-start; }
@media (max-width: 768px) {
    .dest-cards-grid.carousel-mobile {
        display: flex !important;
        flex-direction: row !important;
        overflow-x: auto !important;
        scroll-snap-type: x mandatory;
        gap: 16px;
        padding: 8px 16px 20px 16px;
        margin-left: -16px;
        margin-right: -16px;
        width: calc(100% + 32px);
        box-sizing: border-box;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }
    .dest-cards-grid.carousel-mobile::-webkit-scrollbar {
        display: none;
    }
    .dest-cards-grid.carousel-mobile > * {
        flex: 0 0 72% !important;
        max-width: 72%;
        scroll-snap-align: center;
    }
}

@media (max-width: 600px) {
    .dest-title { font-size: 2rem; }
    .dest-cards-grid { grid-template-columns: 1fr; }
    .icons-grid { grid-template-columns: 1fr; }
    .byg-fact-grid { grid-template-columns: 1fr; }
    .byg-fact { border-right: none; }
    .byg-fact:nth-last-child(-n+2) { border-bottom: 1px solid #e8e8e8; }
    .byg-fact:last-child { border-bottom: none; }
    
    /* Mobile country grid: single column vertical layout */
    .country-grid {
        grid-template-columns: 1fr;
    }
    .country-card {
        grid-column: span 1 !important;
        grid-row: auto !important;
        height: 180px;
    }
}

/* ---------- Photo Lightbox ---------- */
.lightbox-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.92);
    z-index: 1000;
    display: none;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.lightbox-overlay.active {
    display: flex;
    opacity: 1;
}
.lightbox-top-bar {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #fff;
    z-index: 1001;
}
.lightbox-counter {
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 1px;
}
.lightbox-close {
    background: none;
    border: none;
    color: #fff;
    font-size: 36px;
    cursor: pointer;
    line-height: 1;
    transition: color 0.2s;
}
.lightbox-close:hover { color: #eb1c23; }
.lightbox-content {
    max-width: 90vw;
    max-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
}
.lightbox-content img {
    max-width: 100%;
    min-height: 70vh;
    object-fit: contain;
    border-radius: 4px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.5);
}
.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.1);
    border: none;
    color: #fff;
    font-size: 24px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 1001;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}
.lightbox-nav:hover { background: rgba(255,255,255,0.3); }
.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }

/* Make gallery images show pointer cursor */
.dest-gallery img,
.gallery-see-all { cursor: pointer; }
