/* ==========================================================================
   IMGS custom single-template styles (tours + national parks)
   Extracted from inline <style> blocks for browser caching & to remove
   render-blocking per-page CSS. Loaded only on single-tour / single-national_park.
   ========================================================================== */

/* ---------- TOUR TEMPLATE ---------- */
.tour-single {
    --primary: #198754; --primary-dark: #146c43;
    --forest: #2f6b3a; --forest-dark: #1e4a27;
    --light: #f8f9fa; --gray: #6c757d; --dark: #212529;
}
.tour-hero { height: 65vh; min-height: 480px; position: relative; }
.tour-hero img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.tour-hero-overlay { position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.8) 100%); display: flex; align-items: center; }
.tour-title { color: #fff; font-size: clamp(2.5rem, 7vw, 4.5rem); font-weight: 800; text-shadow: 0 4px 16px rgba(0,0,0,0.7); }
.tour-quick-info { background: rgba(255,255,255,0.92); backdrop-filter: blur(12px); border-radius: 16px; padding: 1.8rem 2.2rem; margin: 2.5rem auto 0; max-width: 960px; box-shadow: 0 12px 48px rgba(0,0,0,0.18); }
.tour-quick-info strong { color: #198754; font-weight: 700; }
.tour-cta-btn { background: #198754; color: #fff !important; padding: 0.95rem 2.4rem; border-radius: 50rem; font-weight: 700; transition: all 0.28s ease; }
.tour-cta-btn:hover { background: #146c43; transform: translateY(-3px); box-shadow: 0 8px 24px rgba(25,135,84,0.3); }
.tour-section { scroll-margin-top: 110px; }
.tour-section + .tour-section { margin-top: 3.5rem; padding-top: 2.5rem; border-top: 1px solid #e7e2d4; }
.tour-section-title { color: #2f6b3a; font-weight: 800; margin-bottom: 1.5rem; }
.detail-jump { gap: .5rem; flex-wrap: wrap; }
.detail-jump a { text-decoration: none; font-weight: 600; font-size: .9rem; color: #2f6b3a; border: 1px solid #2f6b3a; border-radius: 50rem; padding: .35rem 1rem; transition: .25s; }
.detail-jump a:hover { background: #2f6b3a; color: #fff; }
.tour-list.check li::before { content: "\f00c"; font-family: "Font Awesome 6 Free"; font-weight: 900; color: #198754; margin-right: 12px; }
.tour-list.cross li::before { content: "\f00d"; font-family: "Font Awesome 6 Free"; font-weight: 900; color: #dc3545; margin-right: 12px; }
.tour-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.4rem; }
.tour-gallery img { aspect-ratio: 4/3; object-fit: cover; border-radius: 12px; transition: transform 0.45s ease; width: 100%; }
.tour-gallery a:hover img { transform: scale(1.07); }
.booking-sidebar { background: #f8f9fa; border-radius: 16px; padding: 2.2rem; box-shadow: 0 12px 48px rgba(0,0,0,0.09); position: sticky; top: 100px; }
.accordion-button { background-color: #2f6b3a !important; color: #fff !important; }
.accordion-button:not(.collapsed) { background-color: #1e4a27 !important; color: #fff !important; }
.accordion-button::after { filter: brightness(0) invert(1); }
.accordion-body { background-color: #fff; }
.tour-card { transition: transform .3s ease, box-shadow .3s ease; }
.tour-card:hover { transform: translateY(-5px); box-shadow: 0 14px 30px rgba(0,0,0,.12) !important; }
@media (max-width: 991px) { .booking-sidebar { position: static; margin-top: 3.5rem; } }

/* ---------- NATIONAL PARK TEMPLATE ---------- */
.np-single {
    --safari-green: #1a4314; --safari-gold: #c5a059;
    --safari-earth: #f4f1ea; --text-main: #2d2d2d;
    --glass-white: rgba(255,255,255,0.95);
}
.np-single { background-color: #f4f1ea; color: #2d2d2d; }
.park-hero { height: 60vh; min-height: 450px; display: flex; align-items: flex-end; padding-bottom: 5rem; color: #fff; }
.hero-content h1 { font-size: clamp(2.5rem, 5vw, 3.5rem); font-weight: 800; margin-bottom: 0.5rem; letter-spacing: -1px; }
.stats-bar { background: rgba(255,255,255,0.95); backdrop-filter: blur(10px); border-radius: 16px; padding: 1.5rem; margin-top: -3rem; box-shadow: 0 15px 35px rgba(0,0,0,0.1); border: 1px solid rgba(255,255,255,0.3); position: relative; z-index: 10; }
.stat-item { text-align: center; border-right: 1px solid #e0e0e0; }
.stat-item:last-child { border-right: none; }
.stat-icon { color: #c5a059; font-size: 1.2rem; margin-bottom: 0.5rem; }
.stat-label { font-size: 0.75rem; text-transform: uppercase; color: #888; font-weight: 700; }
.stat-value { font-size: 1.25rem; font-weight: 700; color: #1a4314; }
.nav-tabs { border-bottom: 2px solid #ddd; gap: 10px; }
.nav-tabs .nav-link { border: none; color: #666; font-weight: 700; padding: 1rem 1.5rem; transition: 0.3s; background: transparent; }
.nav-tabs .nav-link.active { color: #1a4314; background: transparent; border-bottom: 3px solid #c5a059; }
.tab-content { background: #fff; padding: 2.5rem; border-radius: 0 0 15px 15px; line-height: 1.8; }
.sticky-sidebar { position: sticky; top: 20px; }
.booking-card { border: none; border-radius: 20px; overflow: hidden; box-shadow: 0 10px 30px rgba(0,0,0,0.08); }
.booking-card .card-header { background: #1a4314; color: #fff; text-align: center; padding: 1.5rem; font-size: 1.3rem; border: none; }
.np-gallery-grid img { height: 220px; width: 100%; object-fit: cover; border-radius: 12px; transition: transform 0.4s ease; cursor: zoom-in; }
.np-gallery-grid img:hover { transform: translateY(-5px); }
.related-tours { margin-top: 1.5rem; }
.tour-mini-card { display: block; background: #fff; border-radius: 14px; overflow: hidden; box-shadow: 0 6px 18px rgba(0,0,0,0.06); text-decoration: none; color: #2d2d2d; height: 100%; transition: transform .3s ease, box-shadow .3s ease; }
.tour-mini-card:hover { transform: translateY(-4px); box-shadow: 0 12px 26px rgba(0,0,0,0.12); }
.tour-mini-card .thumb { height: 220px; width: 100%; object-fit: cover; display: block; }
.tour-mini-card .body { padding: 1rem; }
.tour-mini-card .body h4 { font-size: 1rem; font-weight: 700; margin: 0; color: #1a4314; line-height: 1.4; }
@media (max-width: 768px) { .stat-item { border-right: none; border-bottom: 1px solid #eee; padding: 10px 0; } .park-hero { height: 40vh; } }