/* ==========================================================================
   Jim Corbett National Park Detail Page Stylesheet
   Compact base + colorful icons (mockup-matched)
   ========================================================================== */

/* --- PARK PAGE COMPACT BASE --- */
.park-page .section-padding {
    padding: 28px 0;
}

.park-page .section-header {
    margin-bottom: 18px;
}

.park-page .section-subtitle {
    font-size: 1.15rem;
    white-space: nowrap;
}

.park-page .section-subtitle-line {
    max-width: 120px;
}

/* --- PARK HERO BANNER --- */
.park-hero {
    position: relative;
    padding-top: calc(var(--header-height) + 36px);
    padding-bottom: 36px;
    min-height: 440px;
    display: flex;
    align-items: flex-end;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0.28) 48%, rgba(0, 0, 0, 0.15) 100%),
                url('../images/corbett_hero.png') no-repeat center center/cover;
    color: var(--text-light);
}

.park-hero-content {
    animation: fadeInUp 1s ease;
    width: 100%;
    max-width: 720px;
    padding-bottom: 8px;
}

.park-hero-title {
    font-family: var(--font-heading);
    font-weight: 800;
    line-height: 1.05;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 10px;
    text-shadow: 0 3px 15px rgba(0, 0, 0, 0.45);
    display: flex;
    flex-direction: column;
}

.park-hero-title-main {
    font-size: 3.1rem;
    display: block;
}

.park-hero-title-sub {
    font-size: 2.15rem;
    display: block;
    letter-spacing: 1px;
}

.park-hero-subtitle {
    font-family: var(--font-primary);
    font-size: 1rem;
    font-weight: 500;
    color: #f1f5f3;
    margin-bottom: 22px;
    letter-spacing: 0.3px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
    display: flex;
    flex-direction: column;
    gap: 2px;
    line-height: 1.35;
}

/* Compact breadcrumb chips under title (mockup match) */
.park-hero-badges {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 18px;
    width: auto;
    max-width: 100%;
    background: rgba(0, 0, 0, 0.28);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    margin-top: 0;
    padding: 10px 14px;
}

.park-badge-item {
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    background: transparent;
    border: none;
    padding: 0;
    border-radius: 0;
    font-size: 0.86rem;
    font-weight: 600;
    color: var(--text-light);
    box-shadow: none;
    white-space: nowrap;
}

.park-badge-icon {
    width: 30px;
    height: 30px;
    border-radius: 7px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(180, 255, 150, 0.6);
    box-shadow: 0 0 8px rgba(140, 255, 120, 0.4);
}

.park-badge-icon i {
    font-size: 0.88rem;
    filter: drop-shadow(0 0 5px rgba(160, 255, 140, 0.75));
}

.park-badge-icon.icon-calendar {
    border-color: rgba(240, 178, 122, 0.65);
    box-shadow: 0 0 8px rgba(240, 178, 122, 0.4);
}

.park-badge-icon.icon-calendar i {
    color: #f0b27a;
    filter: drop-shadow(0 0 5px rgba(240, 178, 122, 0.7));
}

.park-badge-icon.icon-map {
    border-color: rgba(125, 222, 160, 0.65);
    box-shadow: 0 0 8px rgba(125, 222, 160, 0.4);
}

.park-badge-icon.icon-map i {
    color: #7ddea0;
    filter: drop-shadow(0 0 5px rgba(125, 222, 160, 0.7));
}

.park-badge-icon.icon-paw {
    border-color: rgba(245, 230, 163, 0.65);
    box-shadow: 0 0 8px rgba(245, 230, 163, 0.4);
}

.park-badge-icon.icon-paw i {
    color: #f5e6a3;
    filter: drop-shadow(0 0 5px rgba(245, 230, 163, 0.7));
}

.park-badge-icon.icon-leaf {
    border-color: rgba(184, 242, 110, 0.7);
    box-shadow: 0 0 8px rgba(184, 242, 110, 0.45);
}

.park-badge-icon.icon-leaf i {
    color: #b8f26e;
    filter: drop-shadow(0 0 5px rgba(184, 242, 110, 0.75));
}

.park-badge-text {
    color: #ffffff;
    font-size: 0.86rem;
    font-weight: 600;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.45);
}

/* --- AVAILABILITY & BOOKING GRID --- */
.booking-section-grid {
    display: grid;
    grid-template-columns: 1fr 1.45fr;
    gap: 22px;
    align-items: start;
}

.calendar-card,
.booking-info-card {
    background-color: var(--bg-white);
    border-radius: var(--radius-sm);
    padding: 14px 14px 12px;
    box-shadow: var(--shadow-sm);
    border: 1px solid #e5e7eb;
}

.calendar-card .card-title,
.booking-info-card .card-title {
    margin-bottom: 6px;
    font-size: 1rem;
}

/* Compact live park calendar — solid green availability style */
.pk-cal { font-size: 0.82rem; }
.pk-cal-head { margin-bottom: 8px; }
.pk-cal-sub {
    margin: 0 0 6px;
    color: var(--text-muted);
    font-size: 0.78rem;
    line-height: 1.35;
}
.pk-cal-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--primary);
    font-weight: 700;
    font-size: 0.78rem;
    margin-bottom: 8px;
}
.pk-cal-link:hover { color: var(--accent, #c5a059); }
.pk-cal-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-bottom: 0;
    padding: 4px 6px;
}
.pk-cal-nav-btn {
    width: 32px;
    height: 32px;
    border: 0;
    border-radius: 4px;
    background: transparent;
    color: #1a1a1a;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
}
.pk-cal-nav-btn:hover {
    background: #f3f4f6;
    color: #008001;
}
.pk-cal-month {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.05rem;
    color: #1a1a1a;
    line-height: 1.4;
}
.pk-cal-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 1px;
    text-align: center;
    background: #fff;
    border: 1px solid #e5e7eb;
    padding: 1px;
}
.pk-cal-dow {
    font-size: 0.68rem;
    font-weight: 800;
    text-transform: uppercase;
    color: #fff;
    background: #4b4b4b;
    padding: 6px 0;
}
.pk-cal-day {
    appearance: none;
    border: 1px solid #fff;
    background: #4b4b4b;
    width: 100%;
    aspect-ratio: 1;
    max-height: 38px;
    border-radius: 1px;
    font-size: 0.8rem;
    font-weight: 700;
    color: #fff;
    cursor: default;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    line-height: 1;
}
.pk-cal-day.muted {
    background: #4b4b4b;
    color: #4b4b4b;
    opacity: 1;
}
.pk-cal-day.closed {
    background: #8b1a1a;
    color: #fff;
    opacity: 1;
}
.pk-cal-day.booked {
    background: #c45c00;
    color: #fff;
}
.pk-cal-day.available {
    background: #008001;
    color: #fff;
    font-weight: 800;
    cursor: pointer;
}
.pk-cal-day.available:hover {
    background: #00a003;
    color: #fff;
    transform: none;
    box-shadow: inset 0 0 0 2px #fa0;
}
.pk-cal-legend {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px 14px;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid #f1f5f9;
    font-size: 0.72rem;
    font-weight: 700;
    color: #475569;
}
.pk-dot {
    display: inline-block;
    width: 9px;
    height: 9px;
    border-radius: 2px;
    margin-right: 5px;
    vertical-align: middle;
}
.pk-dot.available { background: #008001; }
.pk-dot.booked { background: #c45c00; }
.pk-dot.closed { background: #8b1a1a; }
.pk-cal-hint {
    margin: 8px 0 6px;
    font-size: 0.72rem;
    color: #64748b;
    text-align: center;
    line-height: 1.35;
}
.pk-cal-all {
    display: block;
    text-align: center;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--primary);
    margin-top: 2px;
}
.pk-cal-all:hover { color: var(--accent, #c5a059); }

.pk-cal-types {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 8px 0 10px;
}
.pk-cal-type-btn {
    appearance: none;
    border: 1px solid #d1d5db;
    background: #fff;
    color: #374151;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 7px 10px;
    border-radius: 6px;
    cursor: pointer;
    line-height: 1.2;
    transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.pk-cal-type-btn:hover {
    border-color: #008001;
    color: #008001;
}
.pk-cal-type-btn.active {
    background: #008001;
    border-color: #008001;
    color: #fff;
}
.pk-cal-season-note {
    display: flex;
    gap: 8px;
    align-items: flex-start;
    margin: 8px 0 4px;
    padding: 8px 10px;
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: 6px;
    color: #b42318;
    font-size: 0.72rem;
    font-weight: 600;
    line-height: 1.4;
}
.pk-cal-season-note i {
    margin-top: 2px;
    flex-shrink: 0;
}

.calendar-booking-link {
    margin: -6px 0 12px;
    font-size: 0.8rem;
}

.calendar-booking-link a {
    color: var(--primary);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.calendar-booking-link a:hover {
    color: var(--primary-light);
}

.calendar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.calendar-nav-btn {
    font-size: 0.9rem;
    color: var(--text-muted);
    padding: 4px 8px;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.calendar-nav-btn:hover {
    background-color: var(--bg-light);
    color: var(--primary);
}

.calendar-month-title {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1rem;
    color: var(--primary);
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 6px;
    text-align: center;
}

.calendar-day-name {
    font-family: var(--font-heading);
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--text-muted);
    padding-bottom: 6px;
}

.calendar-day-cell {
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 1;
    font-size: 0.82rem;
    font-weight: 500;
    border-radius: 50%;
    color: var(--text-dark);
    transition: var(--transition);
}

.calendar-day-cell.muted {
    color: #cbd5e1;
}

.calendar-day-cell.available {
    background-color: #dcf5e2;
    color: #137333;
    font-weight: 700;
}

.calendar-day-cell.available:hover {
    background-color: #34a853;
    color: var(--text-light);
    transform: scale(1.06);
}

.calendar-day-cell.closed {
    color: #d93025;
    font-weight: 600;
}

.calendar-legend {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px solid #f1f5f9;
    font-size: 0.78rem;
    font-weight: 600;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 7px;
}

.legend-color {
    width: 12px;
    height: 12px;
    border-radius: 2px;
}

.legend-color.available {
    background-color: #dcf5e2;
    border: 1px solid #a8dfb5;
}

.legend-color.closed {
    background-color: #fce8e6;
    border: 1px solid #f5c2bd;
}

.table-responsive {
    overflow-x: auto;
    width: 100%;
}

.booking-info-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    font-size: 0.84rem;
}

.booking-info-table th {
    background-color: #f3efe6;
    color: var(--primary);
    font-family: var(--font-heading);
    font-weight: 700;
    padding: 10px 12px;
    border-bottom: 1px solid #e8e0d0;
    white-space: nowrap;
}

.booking-info-table td {
    padding: 11px 12px;
    border-bottom: 1px solid #eceff1;
    color: var(--text-dark);
    line-height: 1.45;
    vertical-align: top;
}

.booking-info-table tbody tr:nth-child(even) {
    background-color: #faf8f4;
}

.booking-info-table tr:last-child td {
    border-bottom: none;
}

.booking-info-table strong {
    color: var(--primary);
}

.booking-table-note {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-top: 12px;
    padding: 0;
    background: none;
    border: none;
    font-size: 0.78rem;
    font-weight: 500;
    color: var(--text-muted);
}

.booking-table-note i {
    color: #2563eb;
    font-size: 0.9rem;
    margin-top: 2px;
    flex-shrink: 0;
}

.booking-table-note span {
    color: var(--text-muted);
}

/* Ranthambore booking: aligned calendar + rich compare panel */
.booking-section-grid--ranthambore {
    grid-template-columns: minmax(280px, 0.95fr) minmax(0, 1.35fr);
    gap: 24px;
    align-items: stretch;
}

.booking-section-grid--ranthambore .calendar-card,
.booking-section-grid--ranthambore .booking-info-card--rich,
.booking-section-grid--kaziranga .calendar-card,
.booking-section-grid--kaziranga .booking-info-card--rich,
.booking-section-grid--tadoba .calendar-card,
.booking-section-grid--tadoba .booking-info-card--rich,
.booking-section-grid--bandhavgarh .calendar-card,
.booking-section-grid--bandhavgarh .booking-info-card--rich {
    height: 100%;
    padding: 18px;
}

.booking-section-grid--kaziranga,
.booking-section-grid--tadoba,
.booking-section-grid--bandhavgarh {
    grid-template-columns: minmax(280px, 0.95fr) minmax(0, 1.35fr);
    gap: 24px;
    align-items: stretch;
}

.booking-info-card--rich {
    display: flex;
    flex-direction: column;
    gap: 14px;
    background:
        linear-gradient(165deg, #ffffff 0%, #f7faf7 48%, #f3f6f1 100%);
    border: 1px solid #dde5dc;
    box-shadow: 0 10px 28px rgba(26, 46, 36, 0.06);
}

.booking-info-card--rich .bic-head .card-title {
    margin-bottom: 4px;
    font-size: 1.15rem;
}

.bic-sub {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.8rem;
    line-height: 1.45;
}

.bic-alert {
    display: flex;
    gap: 8px;
    align-items: flex-start;
    padding: 10px 12px;
    border-radius: 8px;
    background: #fff8eb;
    border: 1px solid #f0dfb8;
    color: #8a5a12;
    font-size: 0.74rem;
    font-weight: 600;
    line-height: 1.45;
}

.bic-alert i {
    margin-top: 2px;
    color: #c47a00;
    flex-shrink: 0;
}

.bic-compare {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.bic-safari-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 14px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.04);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.bic-safari-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 22px rgba(15, 23, 42, 0.08);
}

.bic-safari-card--jeep {
    border-top: 3px solid #e67e22;
}

.bic-safari-card--canter {
    border-top: 3px solid #1e88e5;
}

.bic-safari-card--elephant {
    border-top: 3px solid #8e44ad;
}

.bic-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #64748b;
}

.bic-safari-card--jeep .bic-badge { color: #c45c00; }
.bic-safari-card--canter .bic-badge { color: #1565c0; }
.bic-safari-card--elephant .bic-badge { color: #7b1fa2; }

.bic-safari-top h4 {
    margin: 4px 0 0;
    font-family: var(--font-heading);
    font-size: 0.98rem;
    color: var(--primary);
    line-height: 1.3;
}

.bic-prices {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    padding: 10px;
    border-radius: 8px;
    background: #f8faf9;
}

.bic-price-label {
    display: block;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #94a3b8;
    margin-bottom: 2px;
}

.bic-prices strong {
    font-size: 1.05rem;
    color: var(--primary);
}

.bic-price-unit {
    font-size: 0.68rem;
    color: #64748b;
    font-weight: 600;
}

.bic-meta {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.bic-meta li {
    display: flex;
    gap: 8px;
    align-items: flex-start;
    font-size: 0.74rem;
    color: #475569;
    line-height: 1.35;
}

.bic-meta i {
    color: #008001;
    margin-top: 2px;
    width: 14px;
    text-align: center;
    flex-shrink: 0;
}

.bic-include {
    margin: 0;
    font-size: 0.72rem;
    color: #166534;
    font-weight: 600;
    line-height: 1.4;
}

.bic-include i {
    margin-right: 4px;
}

.bic-cta {
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 9px 12px;
    border-radius: 8px;
    background: var(--primary, #1a3c2a);
    color: #fff !important;
    font-size: 0.78rem;
    font-weight: 700;
    text-decoration: none;
    transition: background 0.15s ease, transform 0.15s ease;
}

.bic-cta:hover {
    background: #245239;
    transform: translateY(-1px);
}

.bic-safari-card--canter .bic-cta {
    background: #1e88e5;
}

.bic-safari-card--canter .bic-cta:hover {
    background: #1565c0;
}

.bic-safari-card--elephant .bic-cta {
    background: #8e44ad;
}

.bic-safari-card--elephant .bic-cta:hover {
    background: #6c3483;
}

.bic-notes {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

.bic-note {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 8px 10px;
    border-radius: 8px;
    background: #fff;
    border: 1px solid #e8ece8;
    font-size: 0.7rem;
    font-weight: 600;
    color: #475569;
    line-height: 1.3;
}

.bic-note i {
    color: var(--accent, #c5a059);
    flex-shrink: 0;
}

/* --- ABOUT SECTION --- */
.about-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 28px;
    align-items: center;
}

.about-content .section-title {
    font-size: 1.35rem;
    margin-bottom: 12px !important;
}

.about-content p {
    color: var(--text-muted);
    font-size: 0.92rem;
    line-height: 1.65;
    margin-bottom: 10px;
    text-align: justify;
}

.about-image img {
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-sm);
    width: 100%;
    max-height: 220px;
    object-fit: cover;
}

/* --- TYPES OF SAFARI AVAILABLE --- */
.safari-types-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 8px;
}

/* Safari types with side image (Ranthambore) */
.safari-types-grid--with-media {
    grid-template-columns: 1fr 1fr 0.95fr;
    align-items: stretch;
}

.safari-type-media {
    position: relative;
    border-radius: var(--radius-sm);
    overflow: hidden;
    min-height: 100%;
    border: 1px solid #e2e8f0;
    box-shadow: var(--shadow-sm);
    background: #0f172a;
}

.safari-type-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    min-height: 180px;
    transition: transform 0.35s ease;
}

.safari-type-media:hover img {
    transform: scale(1.04);
}

.safari-type-media-caption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 14px 14px 12px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.72));
    color: #fff;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.safari-type-media-caption span {
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    opacity: 0.85;
}

.safari-type-media-caption strong {
    font-size: 0.88rem;
    font-weight: 700;
}

.safari-unavailable-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 18px;
    margin-top: 14px;
    padding: 10px 14px;
    border-radius: 8px;
    background: #fff8f1;
    border: 1px solid #f0dfc4;
    color: #8a5a12;
    font-size: 0.78rem;
    font-weight: 600;
}

.safari-unavailable-strip strong {
    color: #6b3f08;
}

.safari-type-box {
    background-color: var(--bg-white);
    border: 1px solid #e2e8f0;
    border-radius: var(--radius-sm);
    padding: 16px;
    display: flex;
    gap: 14px;
    align-items: flex-start;
    transition: var(--transition);
}

.safari-type-box:hover {
    border-color: #c5d9c8;
    box-shadow: var(--shadow-sm);
    transform: translateY(-2px);
}

.safari-type-icon {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    flex-shrink: 0;
    transition: var(--transition);
}

/* Colorful safari icons */
.safari-type-icon.icon-jeep {
    background: linear-gradient(145deg, #fff4e5, #ffe0b2);
    color: #e67e22;
    box-shadow: inset 0 0 0 1px rgba(230, 126, 34, 0.15);
}

.safari-type-icon.icon-canter {
    background: linear-gradient(145deg, #e8f4fd, #bbdefb);
    color: #1e88e5;
    box-shadow: inset 0 0 0 1px rgba(30, 136, 229, 0.15);
}

.safari-type-icon.icon-elephant {
    background: linear-gradient(145deg, #f3e8ff, #e1bee7);
    color: #8e44ad;
    box-shadow: inset 0 0 0 1px rgba(142, 68, 173, 0.15);
}

.safari-type-icon.icon-kankai {
    background: linear-gradient(145deg, #fff8e7, #ffe0a3);
    color: #c47a00;
    box-shadow: inset 0 0 0 1px rgba(196, 122, 0, 0.18);
}

.safari-type-box:hover .safari-type-icon.icon-jeep {
    background: #e67e22;
    color: #fff;
}

.safari-type-box:hover .safari-type-icon.icon-canter {
    background: #1e88e5;
    color: #fff;
}

.safari-type-box:hover .safari-type-icon.icon-elephant {
    background: #8e44ad;
    color: #fff;
}

.safari-type-box:hover .safari-type-icon.icon-kankai {
    background: #c47a00;
    color: #fff;
}

.safari-type-info {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.safari-type-title {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--primary);
}

.safari-type-desc {
    font-size: 0.82rem;
    color: var(--text-muted);
    line-height: 1.55;
}

.safari-type-box.safari-type-unavailable {
    opacity: 0.92;
    border-color: #f0d6d6;
    background: #fffafa;
}

.safari-type-box.safari-type-unavailable:hover {
    border-color: #e8b4b4;
    transform: none;
}

.safari-unavailable-msg {
    color: #b42318 !important;
    font-weight: 700;
}

.booking-info-table tr.safari-row-unavailable td {
    color: #b42318;
    background: #fff5f5;
}

.booking-info-table tr.safari-row-unavailable em {
    font-style: normal;
    font-weight: 700;
}

/* --- SAFARI ZONES CARDS (COMPACT 6-UP + FLIP) --- */
.zones-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 14px;
}

.zones-grid--10 {
    grid-template-columns: repeat(5, 1fr);
}

.zones-grid--4 {
    grid-template-columns: repeat(4, 1fr);
}

.zones-grid--6 {
    grid-template-columns: repeat(6, 1fr);
}

.zone-card {
    background-color: transparent;
    height: 210px;
}

.zone-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
}

.zone-card-front {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: var(--radius-sm);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid #e5e7eb;
    background-color: #fff;
    display: flex;
    flex-direction: column;
}

.zone-card-back {
    display: none;
}

.zone-card-image {
    position: relative;
    width: 100%;
    height: 130px;
    object-fit: cover;
    flex-shrink: 0;
    z-index: 1;
}

.zone-card-front::after {
    display: none;
}

.zone-card-front-content {
    position: relative;
    z-index: 3;
    padding: 0;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    flex: 1;
    background: #fff;
}

.zone-name-btn {
    font-family: var(--font-heading);
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--text-light);
    background: var(--primary);
    padding: 8px 6px;
    margin: 0;
    border-bottom: none;
    line-height: 1.25;
}

.click-to-know {
    font-size: 0.68rem;
    font-weight: 600;
    color: var(--text-muted);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    cursor: pointer;
    text-transform: none;
    letter-spacing: 0;
    padding: 7px 4px;
    transition: var(--transition);
    background: none;
    border: none;
    width: 100%;
    font-family: inherit;
}

.click-to-know:hover {
    color: var(--primary);
}

/* Zone detail modal (opens on click only) */
.zone-detail-modal {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.35s ease, visibility 0.35s ease;
}

.zone-detail-modal.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.zone-detail-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(3px);
}

.zone-detail-box {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 760px;
    max-height: 88vh;
    background: #fff;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.25);
    display: flex;
    flex-direction: column;
    transform: perspective(1000px) rotateY(-90deg) scale(0.92);
    opacity: 0;
    transition: transform 0.55s cubic-bezier(0.4, 0.2, 0.2, 1), opacity 0.45s ease;
}

.zone-detail-modal.active .zone-detail-box {
    transform: perspective(1000px) rotateY(0deg) scale(1);
    opacity: 1;
}

.zone-detail-close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 36px;
    height: 36px;
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid #e2e8f0;
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 5;
    transition: var(--transition);
    font-size: 1rem;
}

.zone-detail-close:hover {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

.zone-detail-header {
    position: relative;
    height: 220px;
    flex-shrink: 0;
}

.zone-detail-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.zone-detail-header::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(11, 48, 34, 0.85) 0%, transparent 55%);
}

.zone-detail-title {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    padding: 20px 24px;
    margin: 0;
}

.zone-detail-body {
    padding: 22px 24px;
    overflow-y: auto;
    flex: 1;
}

.zone-detail-description {
    font-size: 0.92rem;
    line-height: 1.7;
    color: var(--text-muted);
    text-align: justify;
    margin: 0;
}

.zone-detail-footer {
    padding: 0 24px 22px;
    flex-shrink: 0;
}

.zone-detail-back-btn {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    transition: var(--transition);
    border: 1px solid var(--primary);
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    background-color: #fff;
}

.zone-detail-back-btn:hover {
    background-color: var(--primary);
    color: #fff;
}

body.zone-modal-open {
    overflow: hidden;
}

.zone-card-back-header {
    width: 100%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    padding-bottom: 8px;
    text-align: center;
}

.zone-back-title {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 700;
    color: #fff;
}

.zone-card-description {
    font-size: 0.68rem;
    line-height: 1.45;
    text-align: justify;
    margin: 8px 0;
    color: #e2e8f0;
    flex: 1;
    overflow-y: auto;
    padding-right: 4px;
}

.zone-card-description::-webkit-scrollbar {
    width: 3px;
}

.zone-card-description::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
}

.zone-card-description::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.35);
    border-radius: var(--radius-full);
}

.zone-flip-back-btn {
    font-size: 0.7rem;
    font-weight: 600;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.35);
    padding: 5px 10px;
    border-radius: var(--radius-sm);
    background-color: rgba(255, 255, 255, 0.08);
}

.zone-flip-back-btn:hover {
    background-color: #fff;
    color: var(--primary);
    border-color: #fff;
}

.zones-section-intro {
    text-align: center;
    margin: 16px auto 0;
    font-size: 0.82rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-weight: 500;
}

.zones-section-intro i {
    color: #f59e0b;
    font-size: 1rem;
}

/* --- ROUTES AND TIMINGS SECTION --- */
.travel-timings-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.info-box-card {
    background-color: var(--bg-white);
    border-radius: var(--radius-sm);
    padding: 20px;
    box-shadow: var(--shadow-sm);
    border: 1px solid #e5e7eb;
}

.info-box-card .card-title {
    margin-bottom: 16px;
    font-size: 1.1rem;
}

.info-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.info-list-item {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

.info-list-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.info-list-icon i {
    line-height: 1;
}

/* Colorful travel / season icons (mockup match) */
.info-list-icon.icon-air {
    background: #e3f2fd;
    color: #1565c0;
}

.info-list-icon.icon-rail {
    background: #e8f5e9;
    color: #2e7d32;
}

.info-list-icon.icon-road {
    background: #f1f8e9;
    color: #558b2f;
}

.info-list-icon.icon-winter {
    background: #e1f5fe;
    color: #0277bd;
}

.info-list-icon.icon-summer {
    background: #fff8e1;
    color: #f9a825;
}

.info-list-icon.icon-monsoon {
    background: #e8eaf6;
    color: #303f9f;
}

.info-list-details {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.info-list-title {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--primary);
}

.info-list-desc {
    font-size: 0.84rem;
    color: var(--text-muted);
    line-height: 1.45;
}

/* --- TOUR PACKAGES & HOTELS CUSTOM GRID --- */
/* Listing / extra pages (tour packages, hotels lists): 3-column wrap */
.five-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    margin-top: 8px;
}

/* Park overview pages only (corbett/gir/…): hotels + packages in one row of 5 */
body.park-page:not(.detail-page) .five-cards-grid {
    grid-template-columns: repeat(5, 1fr);
    gap: 14px;
}

body.park-page:not(.detail-page) .five-cards-grid .pkg-media,
body.park-page:not(.detail-page) .five-cards-grid .hotel-media {
    height: 150px;
}

body.park-page:not(.detail-page) .five-cards-grid .pkg-content,
body.park-page:not(.detail-page) .five-cards-grid .hotel-content {
    padding: 12px 12px 14px;
}

body.park-page:not(.detail-page) .five-cards-grid .pkg-title,
body.park-page:not(.detail-page) .five-cards-grid .hotel-name {
    font-size: 0.9rem;
    min-height: 2.5em;
    margin-bottom: 6px;
}

body.park-page:not(.detail-page) .five-cards-grid .pkg-duration,
body.park-page:not(.detail-page) .five-cards-grid .hotel-tag {
    font-size: 0.72rem;
    margin-bottom: 10px;
}

body.park-page:not(.detail-page) .five-cards-grid .pkg-price {
    font-size: 1.05rem;
}

body.park-page:not(.detail-page) .five-cards-grid .pkg-btn {
    padding: 8px 10px;
    font-size: 0.78rem;
}

body.park-page:not(.detail-page) .five-cards-grid .pkg-footer {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
}

.five-cards-grid .pkg-card {
    width: 100%;
    min-width: 0;
    max-width: none;
    background-color: var(--bg-white);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(11, 48, 34, 0.07);
    border: 1px solid #e6ece8;
    display: flex;
    flex-direction: column;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.five-cards-grid .pkg-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 14px 32px rgba(11, 48, 34, 0.14);
    border-color: #c9d8ce;
}

.five-cards-grid .pkg-media {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.five-cards-grid .pkg-media::after {
    content: "";
    position: absolute;
    inset: auto 0 0 0;
    height: 42%;
    background: linear-gradient(180deg, transparent, rgba(11, 48, 34, 0.45));
    pointer-events: none;
    z-index: 1;
}

.five-cards-grid .pkg-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .45s ease;
}

.five-cards-grid .pkg-card:hover .pkg-media img {
    transform: scale(1.06);
}

.five-cards-grid .pkg-badge {
    display: none;
}

.five-cards-grid .pkg-title-bar {
    display: none;
}

.five-cards-grid .pkg-content {
    padding: 16px 16px 18px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    gap: 0;
    text-align: left;
}

.five-cards-grid .pkg-title {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-family: var(--font-heading);
    font-size: 1.02rem;
    font-weight: 700;
    color: var(--primary);
    margin: 0 0 8px;
    line-height: 1.35;
    min-height: 2.7em;
}

.five-cards-grid .pkg-duration {
    font-size: 0.8rem;
    font-weight: 600;
    color: #a88440;
    margin: 0 0 14px;
    display: block;
    line-height: 1.4;
}

.section-intro-text {
    max-width: 720px;
    margin: -6px auto 14px;
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.55;
}

.section-view-all {
    margin-top: 16px;
}

.section-view-all a {
    font-family: var(--font-heading);
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.section-view-all a:hover {
    color: var(--primary-light);
}

.five-cards-grid .pkg-footer {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: auto;
    border-top: 1px solid #eef2f0;
    padding-top: 14px;
}

.five-cards-grid .pkg-price-wrapper {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
    min-width: 0;
}

.five-cards-grid .pkg-price-label {
    display: block;
    font-size: 0.68rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: .04em;
    margin-bottom: 2px;
}

.five-cards-grid .pkg-price-wrapper::before {
    content: "From";
    font-size: 0.68rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: .04em;
    margin-bottom: 2px;
}

.five-cards-grid .pkg-price {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--primary);
}

.five-cards-grid .pkg-btn {
    width: auto;
    flex-shrink: 0;
    padding: 9px 14px;
    font-size: 0.78rem;
    font-weight: 700;
    border-radius: 8px;
    background: var(--primary);
    color: #fff;
    border: none;
    text-decoration: none;
    white-space: nowrap;
}

.five-cards-grid .pkg-btn:hover {
    background: var(--primary-light);
    color: #fff;
}

/* Hotel Card Specific */
.hotel-card {
    width: 100%;
    min-width: 0;
    max-width: none;
    background-color: var(--bg-white);
    border-radius: 14px;
    text-decoration: none;
    color: inherit;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(11, 48, 34, 0.07);
    border: 1px solid #e6ece8;
    display: flex;
    flex-direction: column;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.hotel-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 14px 32px rgba(11, 48, 34, 0.14);
    border-color: #c9d8ce;
}

.hotel-media {
    height: 180px;
    overflow: hidden;
}

.hotel-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .45s ease;
}

.hotel-card:hover .hotel-media img {
    transform: scale(1.06);
}

.hotel-content {
    padding: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex-grow: 1;
}

.hotel-name {
    font-family: var(--font-heading);
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 2px;
}

.hotel-tag {
    font-size: 0.72rem;
    font-weight: 600;
    color: #a88440;
    background: none;
    padding: 0;
    margin-bottom: 8px;
}

.hotel-rating {
    color: #f5b301;
    font-size: 0.72rem;
    display: flex;
    gap: 2px;
    margin-top: auto;
}

/* --- FAQ ACCORDION SECTION --- */
.faq-accordion-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    margin-top: 8px;
}

.faq-column {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.faq-accordion-item {
    background-color: #f7f8f8;
    border: 1px solid #e8ebe9;
    border-radius: var(--radius-sm);
    overflow: hidden;
    transition: var(--transition);
}

.faq-accordion-item.active {
    border-color: #c5d9c8;
    box-shadow: none;
    background-color: #fff;
}

.faq-accordion-header {
    padding: 12px 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    user-select: none;
    transition: var(--transition);
    background-color: transparent;
}

.faq-accordion-header:hover {
    background-color: #eef2f0;
}

.faq-accordion-item.active .faq-accordion-header {
    background-color: #f3efe6;
}

.faq-question {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary);
    padding-right: 12px;
    line-height: 1.35;
}

.faq-icon {
    font-size: 0.75rem;
    color: #94a3b8;
    transition: transform 0.3s ease;
}

.faq-accordion-item.active .faq-icon {
    transform: rotate(45deg);
    color: var(--primary);
}

.faq-accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease-out;
}

.faq-answer {
    padding: 0 14px 12px;
    font-size: 0.8rem;
    line-height: 1.55;
    color: var(--text-muted);
    border-top: none;
    background-color: transparent;
}

/* --- TRUST BADGES BANNER (COMPACT BASE) --- */
.trust-banner-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    background-color: #f1f3f2;
    padding: 16px 18px;
    border-radius: var(--radius-sm);
    box-shadow: none;
    margin-top: 22px;
    border: 1px solid #e5e9e7;
}

.trust-banner-item {
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: center;
}

.trust-banner-icon {
    width: 34px;
    height: 34px;
    background-color: transparent;
    color: var(--primary);
    border: 1.5px solid var(--primary);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    flex-shrink: 0;
}

.trust-banner-text {
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--primary);
}


/* ==========================================================================
   MEDIA QUERIES (RESPONSIVENESS)
   ========================================================================== */

@media (max-width: 1100px) {
    .zones-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .zones-grid--10 {
        grid-template-columns: repeat(3, 1fr);
    }

    .zones-grid--4 {
        grid-template-columns: repeat(2, 1fr);
    }

    .zones-grid--6 {
        grid-template-columns: repeat(3, 1fr);
    }

    .zone-card {
        height: 230px;
    }

    /* Park overview: still prefer one row until tablet */
    body.park-page:not(.detail-page) .five-cards-grid {
        grid-template-columns: repeat(5, 1fr);
        gap: 10px;
    }
}

@media (max-width: 992px) {
    .booking-section-grid {
        grid-template-columns: 1fr;
    }

    .booking-section-grid--ranthambore {
        grid-template-columns: 1fr;
    }

    .booking-section-grid--kaziranga {
        grid-template-columns: 1fr;
    }

    .booking-section-grid--tadoba {
        grid-template-columns: 1fr;
    }

    .booking-section-grid--bandhavgarh {
        grid-template-columns: 1fr;
    }

    .bic-compare {
        grid-template-columns: 1fr;
    }

    .bic-notes {
        grid-template-columns: 1fr;
    }

    .travel-timings-grid {
        grid-template-columns: 1fr;
    }

    .faq-accordion-container {
        grid-template-columns: 1fr;
    }

    .safari-types-grid {
        grid-template-columns: 1fr;
    }

    .safari-types-grid--with-media {
        grid-template-columns: 1fr 1fr;
    }

    .safari-types-grid--with-media .safari-type-media {
        grid-column: 1 / -1;
        min-height: 220px;
    }

    .park-hero-badges {
        gap: 12px 16px;
    }

    body.park-page:not(.detail-page) .five-cards-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 14px;
    }
}

@media (max-width: 768px) {
    .park-hero {
        min-height: 360px;
        padding-bottom: 28px;
    }

    .park-hero-title-main {
        font-size: 2.35rem;
    }

    .park-hero-title-sub {
        font-size: 1.55rem;
    }

    .park-hero-subtitle {
        font-size: 0.92rem;
        margin-bottom: 18px;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .zones-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .five-cards-grid,
    body.park-page:not(.detail-page) .five-cards-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .five-cards-grid .pkg-media,
    .hotel-media {
        height: 140px;
    }

    .five-cards-grid .pkg-content {
        padding: 12px 12px 14px;
    }

    .five-cards-grid .pkg-title {
        font-size: 0.88rem;
        min-height: 2.5em;
        margin-bottom: 6px;
    }

    .five-cards-grid .pkg-duration {
        font-size: 0.72rem;
        margin-bottom: 10px;
    }

    .five-cards-grid .pkg-footer {
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
        padding-top: 10px;
    }

    .five-cards-grid .pkg-price {
        font-size: 1.05rem;
    }

    .five-cards-grid .pkg-btn {
        width: 100%;
        text-align: center;
        padding: 8px 10px;
        font-size: 0.74rem;
    }

    .trust-banner-row {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px 8px;
    }
}

@media (max-width: 480px) {
    .park-hero-badges {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 12px 14px;
    }

    .park-badge-item {
        white-space: normal;
    }

    .park-hero-title-main {
        font-size: 2rem;
    }

    .park-hero-title-sub {
        font-size: 1.35rem;
    }

    .zones-grid {
        grid-template-columns: 1fr;
    }

    .zone-card {
        height: 240px;
    }

    .trust-banner-row {
        grid-template-columns: 1fr;
    }

    .trust-banner-item {
        justify-content: flex-start;
    }
}
