 /**
 * Tour India — Destinations Module Scoped CSS
 * Includes Glassmorphism, Sliders, Detail Accordion & Sticky Sidebar
 */

/* ==========================================
   1. HERO BANNER & SEARCH BAR
   ========================================== */
.dest-hero {
    position: relative;
    padding: 160px 20px 80px;
    background-image: url('../assets/images/hero-sundarban.webp');
    background-size: cover;
    background-position: center center;
    background-attachment: fixed;
    text-align: center;
    overflow: hidden;
}

.dest-hero-bg {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(
        180deg,
        rgba(5, 20, 13, 0.55) 0%,
        rgba(5, 20, 13, 0.65) 50%,
        rgba(5, 20, 13, 0.85) 100%
    );
    pointer-events: none;
    z-index: 1;
}

.dest-hero-content {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    z-index: 2;
}

.dest-hero-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.8rem;
    font-weight: 800;
    color: #fff;
    margin: 15px 0 10px;
    line-height: 1.2;
}

.dest-hero-subtitle {
    font-size: 1.05rem;
    color: #A5BCAE;
    margin-bottom: 30px;
}

.dest-hero-search-box {
    display: flex;
    gap: 10px;
    background: rgba(10, 42, 27, 0.7);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 50px;
    padding: 8px 12px 8px 24px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
    max-width: 750px;
    margin: 0 auto;
}

.search-input-group {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
}

.search-input-group i {
    color: #F5A623;
    font-size: 1.1rem;
}

.search-input-group input {
    background: transparent;
    border: none;
    outline: none;
    color: #fff;
    font-family: 'Outfit', sans-serif;
    font-size: 0.95rem;
    width: 100%;
}

.search-btn {
    border-radius: 40px !important;
    padding: 12px 28px !important;
    font-size: 0.9rem !important;
}

/* ==========================================
   2. MAIN LISTING LAYOUT & SIDEBAR
   ========================================== */
.dest-main-section {
    padding: 50px 20px;
    background: var(--bg-primary);
}

.dest-container {
    max-width: 1350px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 290px 1fr;
    gap: 30px;
}

.filter-card {
    background: rgba(10, 42, 27, 0.45);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 24px;
    position: sticky;
    top: 100px;
}

.filter-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.filter-header h3 {
    font-size: 1rem;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 8px;
}

.filter-reset {
    font-size: 0.75rem;
    color: #ff8a65;
    text-decoration: none;
    font-weight: 700;
}

.filter-group {
    margin-bottom: 20px;
}

.filter-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #A5BCAE;
    font-weight: 700;
    margin-bottom: 8px;
    display: block;
}

.radio-chip {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 0.82rem;
    color: #A5BCAE;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    margin-bottom: 6px;
    cursor: pointer;
    transition: all 0.2s;
}

.radio-chip:hover, .radio-chip.active {
    background: rgba(245, 166, 35, 0.12);
    border-color: rgba(245, 166, 35, 0.3);
    color: #F5A623;
}

.radio-chip input { display: none; }

.dest-select {
    width: 100%;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #fff;
    padding: 10px 12px;
    border-radius: 8px;
    font-family: 'Outfit', sans-serif;
    font-size: 0.85rem;
    outline: none;
}

/* Controls Bar */
.dest-controls-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    background: rgba(10, 42, 27, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    padding: 14px 20px;
}

.results-count {
    color: #A5BCAE;
    font-size: 0.9rem;
}

.active-filter-tag {
    background: rgba(245, 166, 35, 0.15);
    color: #F5A623;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.72rem;
    font-weight: 700;
    margin-left: 8px;
}

/* ==========================================
   3. DESTINATION CARDS GRID
   ========================================== */
.dest-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(310px, 1fr));
    gap: 24px;
}

.dest-card {
    background: rgba(10, 42, 27, 0.45);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
}

.dest-card:hover {
    transform: translateY(-6px);
    border-color: rgba(245, 166, 35, 0.3);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.4);
}

.dest-card-img-wrap {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.dest-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.dest-card:hover .dest-card-img {
    transform: scale(1.08);
}

.dest-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10, 42, 27, 0.9) 0%, transparent 60%);
}

.dest-cat-badge {
    position: absolute;
    top: 12px; left: 12px;
    color: #0A2A1B;
    font-weight: 800;
    font-size: 0.7rem;
    padding: 4px 10px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.dest-feat-tag {
    position: absolute;
    top: 12px; right: 12px;
    background: rgba(245, 166, 35, 0.9);
    color: #0A2A1B;
    font-weight: 800;
    font-size: 0.68rem;
    padding: 4px 9px;
    border-radius: 20px;
}

.dest-state-tag {
    position: absolute;
    bottom: 12px; left: 12px;
    color: #fff;
    font-size: 0.78rem;
    font-weight: 600;
    text-shadow: 0 2px 4px rgba(0,0,0,0.6);
}

.dest-card-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.dest-rating-row {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.78rem;
    margin-bottom: 8px;
}

.stars { color: #F5A623; }
.rating-num { color: #fff; font-weight: 700; }
.spots-count { margin-left: auto; color: #A5BCAE; font-size: 0.72rem; }

.dest-card-title {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 8px;
    line-height: 1.3;
}

.dest-card-title a {
    color: #fff;
    text-decoration: none;
    transition: color 0.2s;
}

.dest-card-title a:hover { color: #F5A623; }

.dest-card-desc {
    font-size: 0.83rem;
    color: #A5BCAE;
    line-height: 1.5;
    margin-bottom: 16px;
}

.dest-card-meta {
    display: flex;
    gap: 16px;
    font-size: 0.78rem;
    color: #62756B;
    margin-bottom: 18px;
    padding-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.meta-item i { color: #F5A623; margin-right: 5px; }

.dest-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
}

.price-label {
    display: block;
    font-size: 0.68rem;
    text-transform: uppercase;
    color: #62756B;
}

.price-val {
    font-size: 1.25rem;
    font-weight: 800;
    color: #F5A623;
}

.explore-btn {
    padding: 8px 16px !important;
    font-size: 0.78rem !important;
}

/* ==========================================
   4. DESTINATION DETAIL PAGE LAYOUT
   ========================================== */
.dest-detail-hero {
    position: relative;
    padding: 160px 20px 80px;
    background-size: cover;
    background-position: center;
}

.dest-detail-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, #05140D 0%, rgba(5, 20, 13, 0.75) 50%, rgba(5, 20, 13, 0.4) 100%);
}

.dest-detail-hero-content {
    position: relative;
    max-width: 1350px;
    margin: 0 auto;
    z-index: 2;
}

.dest-breadcrumbs {
    font-size: 0.82rem;
    color: #A5BCAE;
    margin-bottom: 16px;
}

.dest-breadcrumbs a { color: #F5A623; text-decoration: none; }

.dest-title-badges {
    display: flex;
    gap: 8px;
    margin-bottom: 12px;
}

.dest-badge-cat, .dest-badge-state, .dest-badge-feat {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.72rem;
    font-weight: 700;
    color: #0A2A1B;
}

.dest-badge-state { background: rgba(255,255,255,0.15); color: #fff; }
.dest-badge-feat  { background: #F5A623; color: #0A2A1B; }

.dest-detail-title {
    font-family: 'Playfair Display', serif;
    font-size: 3.2rem;
    color: #fff;
    margin-bottom: 20px;
    line-height: 1.15;
}

.dest-quick-stats {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
    font-size: 0.88rem;
    color: #E2ECE6;
}

.qs-item i { color: #F5A623; margin-right: 6px; }

/* Detail Content & Sticky Sidebar Grid */
.dest-detail-layout {
    padding: 50px 20px;
    background: var(--bg-primary);
}

.dest-detail-container {
    max-width: 1350px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 40px;
}

.detail-block {
    background: rgba(10, 42, 27, 0.45);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    padding: 30px;
    margin-bottom: 30px;
}

.block-heading {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    color: #fff;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    display: flex;
    align-items: center;
    gap: 12px;
}

.block-heading i { color: #F5A623; font-size: 1.3rem; }

.full-desc {
    color: #C8DDD1;
    font-size: 0.95rem;
    line-height: 1.8;
}

/* Day-wise Itinerary Timeline */
.itinerary-timeline {
    position: relative;
    padding-left: 20px;
}

.itinerary-timeline::before {
    content: '';
    position: absolute;
    left: 45px; top: 0; bottom: 0;
    width: 2px;
    background: rgba(245, 166, 35, 0.3);
}

.itin-card {
    display: flex;
    gap: 20px;
    margin-bottom: 24px;
    position: relative;
}

.itin-badge {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #B38728, #F5A623);
    color: #0A2A1B;
    font-weight: 800;
    font-size: 0.72rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    z-index: 2;
    box-shadow: 0 4px 15px rgba(245, 166, 35, 0.3);
}

.itin-content {
    flex: 1;
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 14px;
    padding: 20px;
}

.itin-title {
    font-size: 1.1rem;
    color: #fff;
    margin-bottom: 8px;
}

.itin-dest, .itin-spots {
    font-size: 0.83rem;
    color: #A5BCAE;
    margin-bottom: 8px;
}

.itin-activities {
    font-size: 0.9rem;
    color: #E2ECE6;
    line-height: 1.6;
    margin-bottom: 12px;
}

.itin-meta-grid {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    font-size: 0.78rem;
    color: #F5A623;
}

/* Detail Table */
.detail-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.88rem;
    margin-top: 15px;
}

.detail-table th {
    background: rgba(0,0,0,0.3);
    color: #A5BCAE;
    font-size: 0.75rem;
    text-transform: uppercase;
    padding: 12px 16px;
    text-align: left;
}

.detail-table td {
    padding: 12px 16px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    color: #E2ECE6;
}

.mode-pill {
    background: rgba(100, 181, 246, 0.15);
    color: #64b5f6;
    padding: 2px 8px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 0.72rem;
}

/* Sticky Booking Sidebar */
.sticky-booking-card {
    background: rgba(10, 42, 27, 0.6);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(245, 166, 35, 0.25);
    border-radius: 20px;
    padding: 26px;
    position: sticky;
    top: 100px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
}

.s-price-box {
    text-align: center;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.s-price-label { font-size: 0.75rem; text-transform: uppercase; color: #A5BCAE; }
.s-price-amount { font-size: 2rem; font-weight: 800; color: #F5A623; }
.s-price-amount small { font-size: 0.85rem; color: #A5BCAE; font-weight: 400; }

.s-features-list { margin-bottom: 20px; }
.s-feat { font-size: 0.82rem; color: #C8DDD1; margin-bottom: 6px; }

.s-booking-form { display: flex; flex-direction: column; gap: 12px; }
.s-form-group { display: flex; flex-direction: column; gap: 4px; }
.s-form-group label { font-size: 0.72rem; text-transform: uppercase; color: #A5BCAE; font-weight: 700; }

.s-input {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    padding: 10px 14px;
    border-radius: 8px;
    font-family: 'Outfit', sans-serif;
    font-size: 0.88rem;
    outline: none;
}

.s-book-btn { width: 100%; justify-content: center; padding: 12px !important; margin-top: 8px; }

.s-quick-contacts { display: flex; gap: 10px; margin-top: 16px; }
.s-contact-btn {
    flex: 1;
    padding: 10px;
    border-radius: 8px;
    font-size: 0.78rem;
    font-weight: 700;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}
.wa-btn { background: #25D366; color: #fff; }
.call-btn { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1); color: #fff; }

/* Responsive adjustments */
@media (max-width: 992px) {
    .dest-container, .dest-detail-container { grid-template-columns: 1fr; }
    .filter-card, .sticky-booking-card { position: static; }
}
