/* ==========================================================================
   TouristGuru - public site styles (built on Bootstrap 5.3)
   ========================================================================== */

:root {
    /* Brand palette sampled from the TouristGuru logo */
    --primary: #f7b10f;        /* sun gold - fills, buttons (use navy text on it) */
    --primary-2: #ed8602;      /* sunset amber - gradients */
    --primary-dark: #e09a00;   /* hover fill */
    --primary-ink: #9a5c00;    /* gold-family text on white (WCAG AA) */
    --primary-soft: #fff6dc;
    --navy: #0c1f3f;           /* "TG" lettering */
    --navy-2: #18487b;         /* mountain royal blue */
    --accent: #f7b10f;
    --soft: #f5f7fb;
    --text: #1f2a37;
    --muted: #6b7280;
    --border: #e7ebf1;
    --radius: 18px;
    --shadow-sm: 0 4px 16px rgba(12, 31, 63, .06);
    --shadow: 0 14px 40px rgba(12, 31, 63, .10);
    --font-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;

    --bs-primary: var(--primary);
    --bs-primary-rgb: 154, 92, 0;
    --bs-link-color: var(--primary-ink);
    --bs-link-color-rgb: 154, 92, 0;
    --bs-link-hover-color: var(--navy);
    --bs-body-font-family: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --bs-body-color: var(--text);
    --bs-border-radius: 12px;
}

html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { background: #fff; font-size: 15.5px; overflow-x: hidden; }
a { text-decoration: none; }
img { max-width: 100%; }
h1, h2, h3, h4, h5, h6 { color: var(--navy); letter-spacing: -.01em; }

.skip-link { position: absolute; top: 8px; left: 8px; z-index: 2000; background: #fff; padding: 8px 14px; border-radius: 8px; }

/* Buttons ------------------------------------------------------------------ */
.btn { font-weight: 600; }
.btn-primary {
    --bs-btn-color: var(--navy); --bs-btn-hover-color: var(--navy); --bs-btn-active-color: var(--navy); --bs-btn-disabled-color: var(--navy);
    --bs-btn-bg: var(--primary); --bs-btn-border-color: var(--primary);
    --bs-btn-hover-bg: var(--primary-dark); --bs-btn-hover-border-color: var(--primary-dark);
    --bs-btn-active-bg: var(--primary-dark); --bs-btn-active-border-color: var(--primary-dark);
    --bs-btn-disabled-bg: var(--primary); --bs-btn-disabled-border-color: var(--primary);
    --bs-btn-focus-shadow-rgb: 247, 177, 15;
    box-shadow: 0 8px 20px rgba(247, 177, 15, .25);
}
.btn-outline-primary {
    --bs-btn-color: var(--primary-ink); --bs-btn-border-color: var(--primary);
    --bs-btn-hover-color: var(--navy); --bs-btn-active-color: var(--navy);
    --bs-btn-hover-bg: var(--primary); --bs-btn-hover-border-color: var(--primary);
    --bs-btn-active-bg: var(--primary); --bs-btn-active-border-color: var(--primary);
}
.form-control:focus, .form-select:focus { border-color: #f9cf6b; box-shadow: 0 0 0 .2rem rgba(247, 177, 15, .15); }
.form-check-input:checked { background-color: var(--primary); border-color: var(--primary); }
.form-range::-webkit-slider-thumb { background: var(--primary); }
.form-range::-moz-range-thumb { background: var(--primary); }
.pagination { --bs-pagination-active-bg: var(--primary); --bs-pagination-active-border-color: var(--primary); --bs-pagination-color: var(--navy); --bs-pagination-border-radius: 10px; gap: 6px; }
.pagination .page-link { border-radius: 10px !important; min-width: 40px; text-align: center; }

/* Utilities ---------------------------------------------------------------- */
.section { padding: 90px 0; }
.section-sm { padding: 60px 0; }
.bg-soft { background: var(--soft); }
.bg-navy { background: var(--navy); }
.section-head { margin-bottom: 40px; }
.section-title { font-weight: 800; font-size: clamp(1.6rem, 2.6vw, 2.4rem); margin-bottom: 12px; }
.script { font-family: 'Caveat', cursive; font-size: 1.6rem; color: var(--primary-ink); display: inline-block; line-height: 1.1; margin-bottom: 4px; }
.link-arrow { font-weight: 700; color: var(--primary-ink); }
.link-arrow i { transition: transform .2s; display: inline-block; }
.link-arrow:hover i { transform: translateX(4px); }
.chip { display: inline-block; padding: 4px 12px; background: var(--primary-soft); color: var(--primary-ink); border-radius: 50px; font-size: 12.5px; font-weight: 600; }
.icon-circle { flex: 0 0 48px; width: 48px; height: 48px; display: inline-grid; place-items: center; border-radius: 14px; background: var(--primary-soft); color: var(--primary-ink); font-size: 1.3rem; }
.stars { color: #f5a623; font-size: 13px; letter-spacing: 1px; white-space: nowrap; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease var(--d, 0ms), transform .6s ease var(--d, 0ms); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* Topbar & header ---------------------------------------------------------- */
.topbar { background: var(--navy); color: rgba(255, 255, 255, .8); font-size: 13.5px; padding: 8px 0; }
.topbar a, .topbar span { color: rgba(255, 255, 255, .85); }
.topbar a:hover { color: #fff; }
.topbar i { color: var(--accent); margin-right: 4px; }
.social-mini a { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; background: rgba(255, 255, 255, .08); }
.social-mini a i { color: #fff; margin: 0; }
.social-mini a:hover { background: var(--primary); }

.site-header { background: rgba(255, 255, 255, .96); backdrop-filter: blur(10px); box-shadow: 0 2px 20px rgba(12, 31, 63, .06); z-index: 1030; }
.navbar { padding: 12px 0; }
.navbar-brand { display: inline-flex; align-items: center; gap: 10px; }
.brand-icon { width: 42px; height: 42px; border-radius: 12px; background: linear-gradient(135deg, var(--primary), var(--primary-2)); color: #fff; display: grid; place-items: center; font-size: 1.35rem; box-shadow: 0 6px 16px rgba(247, 177, 15, .35); }
.brand-text { font-size: 1.5rem; font-weight: 800; color: var(--navy); letter-spacing: -.02em; }
.brand-text b { color: var(--primary-ink); }
.navbar .nav-link { font-weight: 600; color: var(--navy); padding: 10px 14px !important; border-radius: 10px; }
.navbar .nav-link:hover, .navbar .nav-link.active { color: var(--primary-ink); }
.navbar-toggler { border: 0; font-size: 1.9rem; color: var(--navy); padding: 0; }
.navbar-toggler:focus { box-shadow: none; }
.mega-menu { padding: 24px; border: 0; border-radius: var(--radius); box-shadow: var(--shadow); }
.mega-menu h6 { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 10px; padding-left: 12px; }
.mega-menu .dropdown-item { border-radius: 8px; padding: 6px 12px; font-size: 14.5px; }
.mega-menu .dropdown-item:hover { background: var(--primary-soft); color: var(--primary-ink); }
@media (min-width: 992px) {
    .dropdown-mega { position: static; }
    .mega-menu { width: 720px; left: 50% !important; transform: translateX(-50%); margin-top: 8px !important; }
    .navbar .dropdown:hover > .dropdown-menu { display: block; }
    .offcanvas-lg, .navbar-expand-lg .offcanvas { background: transparent; }
}
@media (max-width: 991.98px) {
    .mega-menu { box-shadow: none; padding: 8px 0; }
    .navbar .nav-link { padding: 10px 6px !important; }
}

/* Hero --------------------------------------------------------------------- */
.hero {
    position: relative; padding: 120px 0 0; color: #fff; min-height: 640px;
    background: linear-gradient(100deg, rgba(8, 22, 46, .88) 0%, rgba(8, 22, 46, .55) 55%, rgba(8, 22, 46, .2) 100%), var(--hero-img) center/cover no-repeat;
}
.hero-script { font-size: 2rem; color: var(--accent); }
.hero-title { color: #fff; font-weight: 800; font-size: clamp(2.1rem, 4.6vw, 3.6rem); line-height: 1.12; margin: 8px 0 18px; }
.hero-sub { font-size: 1.12rem; opacity: .9; max-width: 600px; }
.hero-search { position: relative; margin-top: 60px; transform: translateY(50%); background: #fff; border-radius: 22px; padding: 22px; box-shadow: var(--shadow); color: var(--text); }
.hero-search label { display: block; font-size: 13px; font-weight: 700; color: var(--navy); margin-bottom: 6px; }
.hero-search label i { color: var(--primary-ink); }
.hero-search .form-control, .hero-search .form-select { height: 50px; border-radius: 12px; background-color: var(--soft); border-color: transparent; }
.hero-search .btn { height: 50px; border-radius: 12px; }
.hero + .section-sm { padding-top: 140px; }
@media (max-width: 991.98px) {
    .hero { padding-top: 70px; min-height: 0; }
    .hero-search { transform: none; margin: 40px 0 -40px; }
    .hero + .section-sm { padding-top: 90px; }
}

/* Feature boxes ------------------------------------------------------------ */
.feature-box { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 28px 24px; transition: transform .25s, box-shadow .25s; }
.feature-box:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.feature-icon { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; font-size: 1.5rem; color: #fff; background: linear-gradient(135deg, var(--primary), var(--primary-2)); }
.col-sm-6:nth-child(2) .feature-icon { background: linear-gradient(135deg, #0ea5a4, #34d399); }
.col-sm-6:nth-child(3) .feature-icon { background: linear-gradient(135deg, #6366f1, #a78bfa); }
.col-sm-6:nth-child(4) .feature-icon { background: linear-gradient(135deg, var(--navy), var(--navy-2)); }

/* Destinations ------------------------------------------------------------- */
.dest-grid { display: grid; gap: 18px; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 230px; }
.dest-tile { position: relative; border-radius: var(--radius); overflow: hidden; display: block; color: #fff; }
.dest-tile-lg { grid-column: span 2; grid-row: span 2; }
.dest-tile img, .dest-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.dest-tile:hover img, .dest-card:hover img { transform: scale(1.08); }
.dest-tile::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(5, 20, 40, .85)); }
.dest-tile-info { position: absolute; left: 20px; right: 20px; bottom: 18px; z-index: 1; }
.dest-tile-info h3 { color: #fff; font-weight: 800; margin: 2px 0 6px; font-size: 1.4rem; }
.dest-tile-lg .dest-tile-info h3 { font-size: 2rem; }
.dest-count { display: inline-block; background: rgba(255, 255, 255, .2); backdrop-filter: blur(6px); padding: 3px 12px; border-radius: 50px; font-size: 12.5px; font-weight: 600; }
@media (max-width: 991.98px) { .dest-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 200px; } }
@media (max-width: 575.98px) { .dest-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 160px; gap: 12px; } .dest-tile-lg { grid-column: span 2; grid-row: span 1; } .dest-tile-info h3 { font-size: 1.1rem; } }

.dest-card { position: relative; display: block; border-radius: var(--radius); overflow: hidden; height: 340px; color: #fff; box-shadow: var(--shadow-sm); }
.dest-card::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 35%, rgba(5, 20, 40, .9)); }
.dest-card-body { position: absolute; z-index: 1; left: 20px; right: 20px; bottom: 18px; }
.dest-card-body h3 { color: #fff; font-weight: 800; font-size: 1.4rem; margin-bottom: 4px; }
.dest-card-body p { font-size: 13.5px; opacity: .85; margin-bottom: 10px; }
.dest-card-sm { height: 200px; }

/* Tour cards --------------------------------------------------------------- */
.tour-tabs .nav-link { color: var(--navy); font-weight: 700; border-radius: 50px; padding: 10px 24px; margin: 0 4px; background: var(--soft); }
.tour-tabs .nav-link.active { background: var(--primary); color: #fff; }
.tour-card { background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); display: flex; flex-direction: column; transition: transform .25s, box-shadow .25s; }
.tour-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.tour-card-img { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; }
.tour-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.tour-card:hover .tour-card-img img { transform: scale(1.07); }
.badge-off { position: absolute; top: 14px; left: 14px; background: #e11d48; color: #fff; font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 50px; }
.badge-duration { position: absolute; bottom: 12px; left: 12px; background: rgba(255, 255, 255, .95); color: var(--navy); font-size: 12.5px; font-weight: 700; padding: 5px 12px; border-radius: 50px; }
.tour-card-body { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.tour-card-title { font-size: 1.08rem; font-weight: 700; line-height: 1.35; margin-bottom: 10px; }
.tour-card-title a { color: var(--navy); }
.tour-card-title a:hover { color: var(--primary-ink); }
.tour-card-footer { margin-top: auto; padding-top: 14px; border-top: 1px dashed var(--border); display: flex; justify-content: space-between; align-items: flex-end; gap: 8px; }
.tour-card .chip { align-self: flex-start; margin-bottom: 14px; }
.price { font-size: 1.35rem; font-weight: 800; color: var(--primary-ink); }
.old-price { color: var(--muted); font-size: .9rem; margin-left: 4px; }

/* Theme cards -------------------------------------------------------------- */
.theme-card { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 24px 12px; border-radius: var(--radius); background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); color: #fff; font-weight: 600; text-align: center; transition: all .25s; height: 100%; }
.theme-card i { font-size: 1.9rem; color: var(--accent); transition: transform .25s; }
.theme-card:hover { background: var(--primary); border-color: var(--primary); color: #fff; transform: translateY(-4px); }
.theme-card:hover i { color: #fff; transform: scale(1.15); }

/* Collage ------------------------------------------------------------------ */
.collage { position: relative; padding: 0 60px 60px 0; }
.collage-a { width: 100%; height: 460px; object-fit: cover; border-radius: 24px; }
.collage-b { position: absolute; right: 0; bottom: 0; width: 48%; height: 240px; object-fit: cover; border-radius: 20px; border: 8px solid #fff; box-shadow: var(--shadow); }
.collage-badge { position: absolute; left: -10px; bottom: 90px; background: var(--primary); color: #fff; border-radius: 18px; padding: 16px 20px; display: flex; align-items: center; gap: 10px; box-shadow: var(--shadow); }
.collage-badge strong { font-size: 1.8rem; font-weight: 800; }
.collage-badge span { font-size: 13px; line-height: 1.2; }
@media (max-width: 575.98px) { .collage { padding: 0 30px 40px 0; } .collage-a { height: 320px; } .collage-b { height: 160px; } .collage-badge { left: 8px; bottom: 50px; } }

/* Stats -------------------------------------------------------------------- */
.stats-band { background: linear-gradient(120deg, var(--navy), var(--navy-2)); color: #fff; padding: 64px 0; position: relative; overflow: hidden; }
.stats-band::before { content: ''; position: absolute; width: 420px; height: 420px; border-radius: 50%; background: rgba(247, 177, 15, .18); top: -200px; right: -120px; }
.stat-num { font-size: 2.6rem; font-weight: 800; margin: 6px 0 2px; }

/* Services ----------------------------------------------------------------- */
.service-card { background: #fff; border-radius: var(--radius); padding: 32px 28px; border: 1px solid var(--border); transition: all .25s; }
.service-card:hover { box-shadow: var(--shadow); transform: translateY(-6px); border-color: transparent; }
.service-icon { width: 62px; height: 62px; border-radius: 18px; background: var(--primary-soft); color: var(--primary-ink); display: grid; place-items: center; font-size: 1.7rem; margin-bottom: 18px; transition: all .25s; }
.service-card:hover .service-icon { background: var(--primary); color: #fff; }
.service-row + .service-row { margin-top: 70px; }
.service-img { height: 380px; object-fit: cover; }

/* Testimonials slider ------------------------------------------------------ */
.slider-track { display: flex; gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding: 6px 2px 20px; scrollbar-width: none; }
.slider-track::-webkit-scrollbar { display: none; }
.testi-card { flex: 0 0 calc((100% - 48px) / 3); scroll-snap-align: start; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 30px; margin: 0; position: relative; }
.testi-card blockquote { color: #374151; margin: 0; }
.testi-card img { border-radius: 50%; object-fit: cover; }
.testi-quote { position: absolute; top: 18px; right: 24px; font-size: 3.4rem; line-height: 1; color: var(--primary-soft); }
.slider-btn { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--border); background: #fff; color: var(--navy); transition: all .2s; }
.slider-btn:hover { background: var(--primary); border-color: var(--primary); color: #fff; }
@media (max-width: 991.98px) { .testi-card { flex-basis: calc((100% - 24px) / 2); } }
@media (max-width: 575.98px) { .testi-card { flex-basis: 88%; } }

/* Blog cards --------------------------------------------------------------- */
.blog-card { background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); transition: all .25s; }
.blog-card:hover { box-shadow: var(--shadow); transform: translateY(-6px); }
.blog-card-img { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; }
.blog-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.blog-card:hover .blog-card-img img { transform: scale(1.06); }
.blog-cat { position: absolute; top: 14px; left: 14px; background: var(--primary); color: #fff; padding: 4px 12px; font-size: 12px; font-weight: 700; border-radius: 50px; }
.blog-card h3 a { color: var(--navy); }
.blog-card h3 a:hover { color: var(--primary-ink); }

/* FAQ / forms -------------------------------------------------------------- */
.faq-accordion .accordion-item { border: 1px solid var(--border); border-radius: 14px !important; margin-bottom: 12px; overflow: hidden; }
.faq-accordion .accordion-button { font-weight: 700; color: var(--navy); padding: 18px 20px; }
.faq-accordion .accordion-button:not(.collapsed) { background: var(--primary-soft); color: var(--navy); box-shadow: none; }
.accordion-button:focus { box-shadow: none; }
.form-card { background: #fff; border-radius: 24px; padding: 34px; box-shadow: var(--shadow); border: 1px solid var(--border); }
.form-label { font-size: 13.5px; font-weight: 600; color: var(--navy); margin-bottom: 4px; }
.enquiry-form .form-control, .enquiry-form .form-select { border-radius: 10px; padding: 10px 14px; }
.form-feedback:empty { display: none; }
.form-feedback.ok { color: #15803d; font-weight: 600; }
.form-feedback.err { color: #dc2626; font-weight: 600; }
@media (max-width: 575.98px) { .form-card { padding: 22px; } }

/* Page hero ---------------------------------------------------------------- */
.page-hero { position: relative; padding: 110px 0 80px; background-size: cover; background-position: center; color: #fff; }
.page-hero::before { content: ''; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(8, 22, 46, .9), rgba(8, 22, 46, .55)); }
.page-hero h1 { color: #fff; font-weight: 800; font-size: clamp(2rem, 4vw, 3rem); }
.page-hero .breadcrumb { margin: 0; --bs-breadcrumb-divider-color: rgba(255, 255, 255, .6); --bs-breadcrumb-item-active-color: var(--accent); }
.page-hero .breadcrumb a { color: rgba(255, 255, 255, .85); }

/* Tours listing ------------------------------------------------------------ */
.filter-box { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; position: sticky; top: 100px; }
.help-box { background: linear-gradient(135deg, var(--primary), var(--primary-2)); color: #fff; border-radius: var(--radius); padding: 26px; text-align: center; }
.help-box h3 { color: #fff; }
.empty-state { text-align: center; background: var(--soft); border-radius: var(--radius); padding: 60px 24px; }
.empty-state > i { font-size: 3rem; color: var(--primary-ink); }

/* Tour detail -------------------------------------------------------------- */
.tour-hero { position: relative; padding: 140px 0 50px; background-size: cover; background-position: center; color: #fff; }
.tour-hero::before { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8, 22, 46, .3), rgba(8, 22, 46, .9)); }
.tour-hero h1 { color: #fff; font-weight: 800; font-size: clamp(1.8rem, 3.6vw, 2.8rem); max-width: 900px; }
.tour-hero .breadcrumb { --bs-breadcrumb-divider-color: rgba(255, 255, 255, .6); --bs-breadcrumb-item-active-color: rgba(255, 255, 255, .7); font-size: 14px; }
.tour-hero .breadcrumb a { color: #fff; }
.tour-meta { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-top: 12px; font-weight: 500; }
.tour-meta i { color: var(--accent); }
.tour-gallery { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 180px 180px; gap: 10px; border-radius: var(--radius); overflow: hidden; }
.tour-gallery .g-item { overflow: hidden; display: block; }
.tour-gallery .g-0 { grid-row: span 2; }
.tour-gallery .g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.tour-gallery .g-item:hover img { transform: scale(1.06); }
.tour-gallery[data-items="1"] { grid-template-columns: 1fr; grid-template-rows: 380px; }
.tour-gallery[data-items="1"] .g-0, .tour-gallery[data-items="2"] .g-0 { grid-row: auto; }
.tour-gallery[data-items="2"] { grid-template-columns: 1fr 1fr; grid-template-rows: 340px; }
.tour-gallery[data-items="3"] { grid-template-columns: 2fr 1fr; }
.tour-gallery[data-items="4"] .g-3 { grid-column: span 2; }
@media (max-width: 575.98px) { .tour-gallery { grid-template-columns: 1fr 1fr; grid-template-rows: 200px 110px; } .tour-gallery .g-0 { grid-column: span 2; grid-row: auto; } .tour-gallery .g-3, .tour-gallery .g-4 { display: none; } }
.sticky-subnav { position: sticky; top: 74px; z-index: 5; background: #fff; display: flex; gap: 6px; padding: 10px 0; border-bottom: 1px solid var(--border); margin-bottom: 26px; overflow-x: auto; }
.sticky-subnav a { padding: 8px 16px; border-radius: 50px; font-weight: 600; color: var(--navy); white-space: nowrap; }
.sticky-subnav a:hover { background: var(--primary-soft); color: var(--primary-ink); }
.content-block { margin-bottom: 40px; }
.rich-text { color: #374151; line-height: 1.8; }
.rich-text h2 { font-size: 1.5rem; font-weight: 800; margin: 1.8rem 0 .8rem; }
.rich-text h3 { font-size: 1.25rem; font-weight: 700; margin: 1.5rem 0 .6rem; }
.rich-text img { border-radius: 14px; height: auto; margin: 1rem 0; }
.rich-text blockquote { border-left: 4px solid var(--primary); padding: 6px 18px; background: var(--soft); border-radius: 0 12px 12px 0; }
.quick-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin-top: 20px; }
.quick-facts > div { background: var(--soft); border-radius: 14px; padding: 16px; display: grid; grid-template-columns: auto 1fr; column-gap: 12px; align-items: center; }
.quick-facts i { grid-row: span 2; font-size: 1.5rem; color: var(--primary-ink); }
.quick-facts span { font-size: 12.5px; color: var(--muted); }
.quick-facts strong { color: var(--navy); font-size: 14.5px; }
.check-list { list-style: none; padding: 0; margin: 0; }
.check-list li { display: flex; gap: 10px; padding: 7px 0; color: #374151; }
.check-list li i { margin-top: 2px; }
.check-list.two-col { columns: 2; column-gap: 24px; }
.check-list.two-col li { break-inside: avoid; }
@media (max-width: 575.98px) { .check-list.two-col { columns: 1; } }
.itinerary .accordion-item { border: 0; border-left: 2px dashed #f3d27f; margin-left: 14px; padding-left: 24px; position: relative; background: transparent; }
.itinerary .accordion-item::before { content: ''; position: absolute; left: -9px; top: 18px; width: 16px; height: 16px; border-radius: 50%; background: var(--primary); border: 3px solid #fff; box-shadow: 0 0 0 2px var(--primary); }
.itinerary .accordion-button { background: var(--soft); border-radius: 12px !important; font-weight: 700; color: var(--navy); margin-bottom: 10px; }
.itinerary .accordion-button:not(.collapsed) { background: var(--primary-soft); color: var(--navy); box-shadow: none; }
.itinerary .accordion-body { padding: 4px 16px 20px; color: #4b5563; }
.day-badge { background: var(--primary); color: #fff; font-size: 12px; padding: 3px 10px; border-radius: 50px; margin-right: 10px; }
.booking-card { background: #fff; border-radius: 22px; box-shadow: var(--shadow); border: 1px solid var(--border); overflow: hidden; top: 100px; z-index: 4; }
.booking-price { background: linear-gradient(135deg, var(--primary-soft), #fff); padding: 24px; border-bottom: 1px solid var(--border); }
.booking-trust { list-style: none; margin: 0; padding: 16px 24px; background: var(--soft); font-size: 13.5px; }
.booking-trust li { padding: 4px 0; }
.booking-trust i { color: var(--primary-ink); margin-right: 6px; }
.share-row { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin-top: 30px; padding-top: 24px; border-top: 1px solid var(--border); }
.share-row a, .share-row button { width: 40px; height: 40px; border-radius: 50%; border: 0; display: grid; place-items: center; background: var(--soft); color: var(--navy); font-size: 1.05rem; transition: all .2s; }
.share-row a:hover, .share-row button:hover { background: var(--primary); color: #fff; }

/* Blog post ---------------------------------------------------------------- */
.post-title { font-weight: 800; font-size: clamp(1.8rem, 3.4vw, 2.6rem); line-height: 1.2; }
.post-meta { display: flex; flex-wrap: wrap; gap: 8px 20px; color: var(--muted); font-size: 14px; margin: 14px 0 24px; }
.post-meta i { color: var(--primary-ink); }
.post-cover { width: 100%; border-radius: 22px; max-height: 480px; object-fit: cover; margin-bottom: 30px; }
.post-content { font-size: 1.05rem; }
.post-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; background: var(--primary-soft); border-radius: var(--radius); padding: 24px; margin-top: 30px; }
.sidebar-widget { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; margin-bottom: 24px; }
.sidebar-widget.help-box { border: 0; }
.widget-title { font-size: 1.05rem; font-weight: 800; margin-bottom: 16px; padding-bottom: 10px; border-bottom: 2px solid var(--primary-soft); }
.cat-list a { display: flex; justify-content: space-between; padding: 9px 0; color: var(--text); border-bottom: 1px dashed var(--border); font-weight: 500; }
.cat-list li:last-child a { border-bottom: 0; }
.cat-list a:hover { color: var(--primary-ink); }
.cat-list span { background: var(--soft); border-radius: 50px; padding: 0 10px; font-size: 13px; }
.mini-post { display: flex; gap: 12px; align-items: center; padding: 8px 0; color: var(--text); }
.mini-post img { width: 72px; height: 60px; object-fit: cover; border-radius: 10px; flex: 0 0 72px; }
.mini-post strong { display: block; font-size: 14px; line-height: 1.35; color: var(--navy); }
.mini-post small { color: var(--muted); }
.mini-post:hover strong { color: var(--primary-ink); }

/* About -------------------------------------------------------------------- */
.mini-stat { background: var(--soft); border-radius: 14px; padding: 18px; }
.mini-stat strong { display: block; font-size: 1.8rem; font-weight: 800; color: var(--primary-ink); }
.mini-stat span { color: var(--muted); font-size: 14px; }
.step-card { position: relative; text-align: center; padding: 34px 22px; border-radius: var(--radius); background: var(--soft); height: 100%; }
.step-card > i { font-size: 2.2rem; color: var(--primary-ink); }
.step-num { position: absolute; top: 14px; right: 18px; font-size: 2.4rem; font-weight: 800; color: rgba(12, 31, 63, .08); }

/* Gallery ------------------------------------------------------------------ */
.gallery-filter button { border: 1px solid var(--border); background: #fff; padding: 8px 20px; border-radius: 50px; margin: 4px; font-weight: 600; color: var(--navy); }
.gallery-filter button.active, .gallery-filter button:hover { background: var(--primary); border-color: var(--primary); color: #fff; }
.masonry { columns: 3 280px; column-gap: 16px; }
.masonry-item { display: block; position: relative; margin-bottom: 16px; border-radius: 16px; overflow: hidden; break-inside: avoid; }
.masonry-item img { width: 100%; display: block; transition: transform .5s; }
.masonry-item:hover img { transform: scale(1.05); }
.masonry-caption { position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 16px 12px; color: #fff; font-weight: 600; background: linear-gradient(transparent, rgba(0, 0, 0, .7)); opacity: 0; transition: opacity .3s; }
.masonry-item:hover .masonry-caption { opacity: 1; }
.masonry-item.hidden { display: none; }

/* Lightbox ----------------------------------------------------------------- */
.lightbox { position: fixed; inset: 0; background: rgba(5, 15, 30, .94); z-index: 2000; display: none; align-items: center; justify-content: center; }
.lightbox.open { display: flex; }
.lightbox img { max-width: 92vw; max-height: 84vh; border-radius: 10px; }
.lightbox button { position: absolute; background: rgba(255, 255, 255, .12); color: #fff; border: 0; width: 50px; height: 50px; border-radius: 50%; font-size: 1.4rem; }
.lightbox button:hover { background: var(--primary); }
.lb-close { top: 20px; right: 20px; }
.lb-prev { left: 20px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 20px; top: 50%; transform: translateY(-50%); }
.lb-caption { position: absolute; bottom: 20px; color: #fff; text-align: center; width: 100%; }

/* Contact ------------------------------------------------------------------ */
.contact-card { text-align: center; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 28px 20px; transition: all .25s; }
.contact-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.contact-card a { color: var(--text); }
.map-wrap { border-radius: 24px; overflow: hidden; min-height: 420px; box-shadow: var(--shadow-sm); }
.map-wrap iframe { width: 100%; height: 100%; min-height: 420px; border: 0; display: block; }
.thank-icon { width: 100px; height: 100px; margin: 0 auto; border-radius: 50%; background: #dcfce7; color: #16a34a; font-size: 3.4rem; display: grid; place-items: center; }

/* CTA & footer ------------------------------------------------------------- */
.cta-strip { background: linear-gradient(120deg, var(--primary), var(--primary-2)); color: #fff; padding: 46px 0; }
.cta-strip h2 { color: #fff; font-weight: 800; }
.site-footer { background: #081a36; color: rgba(255, 255, 255, .75); padding: 70px 0 0; font-size: 14.5px; }
.site-footer h5, .site-footer h6 { color: #fff; font-weight: 700; margin-bottom: 18px; }
.footer-brand .brand-text { color: #fff; }
.footer-links li { margin-bottom: 10px; }
.footer-links a, .footer-contact a { color: rgba(255, 255, 255, .75); }
.footer-links a:hover, .footer-contact a:hover { color: var(--accent); padding-left: 2px; }
.footer-contact li { display: flex; gap: 10px; margin-bottom: 12px; }
.footer-contact i { color: var(--primary-ink); }
.footer-social a { width: 40px; height: 40px; border-radius: 50%; background: rgba(255, 255, 255, .08); color: #fff; display: grid; place-items: center; transition: all .2s; }
.footer-social a:hover { background: var(--primary); }
.newsletter-form .form-control { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .12); color: #fff; }
.newsletter-form .form-control::placeholder { color: rgba(255, 255, 255, .5); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; margin-top: 50px; padding: 22px 0; border-top: 1px solid rgba(255, 255, 255, .1); font-size: 13.5px; }
.footer-bottom a { color: rgba(255, 255, 255, .75); }

/* Floating buttons --------------------------------------------------------- */
.float-actions { position: fixed; left: 18px; bottom: 18px; z-index: 1040; display: flex; flex-direction: column; gap: 10px; }
.fab { width: 54px; height: 54px; border-radius: 50%; color: #fff; display: grid; place-items: center; font-size: 1.5rem; box-shadow: 0 8px 22px rgba(0, 0, 0, .2); transition: transform .2s; }
.fab:hover { color: #fff; transform: scale(1.1); }
.fab-whatsapp { background: #25d366; animation: pulse 2.2s infinite; }
.fab-call { background: var(--primary); }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, .5); } 70% { box-shadow: 0 0 0 16px rgba(37, 211, 102, 0); } 100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); } }
.back-to-top { position: fixed; right: 18px; bottom: 18px; width: 46px; height: 46px; border-radius: 50%; border: 0; background: var(--navy); color: #fff; z-index: 1040; opacity: 0; visibility: hidden; transition: all .3s; }
.back-to-top.show { opacity: 1; visibility: visible; }

/* Quote modal -------------------------------------------------------------- */
#quoteModal .modal-content { border: 0; border-radius: 24px; }
.quote-side { background: linear-gradient(160deg, rgba(12, 31, 63, .92), rgba(12, 31, 63, .75)), url('https://images.unsplash.com/photo-1501785888041-af3ef285b470?w=700&q=70&auto=format&fit=crop') center/cover; padding: 40px 30px; align-items: center; }

/* ==========================================================================
   Brand layer - matches the TouristGuru logo (navy + sun gold, classic serif)
   ========================================================================== */

/* Typography: serif display headings echo the logo lettering */
.section-title, .hero-title, .page-hero h1, .tour-hero h1, .post-title, .cta-strip h2,
.dest-tile-info h3, .dest-card-body h3, .collage-badge strong, .stat-num, .form-card > h2, .login-art h1 {
    font-family: var(--font-serif); font-weight: 700; letter-spacing: 0;
}
.hero-title { line-height: 1.1; }

/* Eyebrow labels (replaces the handwritten script) */
.script {
    font-family: var(--bs-body-font-family); font-size: .8rem; font-weight: 700; text-transform: uppercase;
    letter-spacing: .18em; color: var(--primary-ink); display: inline-flex; align-items: center; gap: 10px; margin-bottom: 10px;
}
.script::before { content: ''; width: 28px; height: 2px; background: var(--primary); border-radius: 2px; }
.text-center > .script::after, .section-head.text-center .script::after { content: ''; width: 28px; height: 2px; background: var(--primary); border-radius: 2px; }
.hero-script, .script.text-warning, .bg-navy .script, .quote-side .script { color: var(--primary) !important; font-size: .85rem; }

/* Logo */
.navbar-brand .site-logo { height: 72px; width: auto; display: block; }
.offcanvas-title .site-logo { height: 44px; }
.footer-logo { display: inline-block; background: #fff; border-radius: 16px; padding: 10px 16px; margin-bottom: 18px; }
.footer-logo img { height: 92px; width: auto; display: block; }
.site-header .navbar { padding: 6px 0; }
@media (max-width: 575.98px) { .navbar-brand .site-logo { height: 54px; } }

/* Navy text on gold surfaces (white on gold fails contrast) */
.tour-tabs .nav-link.active, .collage-badge, .blog-cat, .day-badge, .gallery-filter button.active, .gallery-filter button:hover,
.slider-btn:hover, .share-row a:hover, .share-row button:hover, .service-card:hover .service-icon, .theme-card:hover,
.social-mini a:hover, .footer-social a:hover, .lightbox button:hover { color: var(--navy); }
.social-mini a:hover i, .theme-card:hover i { color: var(--navy); }
.pagination { --bs-pagination-active-color: var(--navy); }
.feature-icon { color: var(--navy); }
.col-sm-6:nth-child(2) .feature-icon, .col-sm-6:nth-child(3) .feature-icon, .col-sm-6:nth-child(4) .feature-icon { color: #fff; }
.col-sm-6:nth-child(2) .feature-icon { background: linear-gradient(135deg, var(--navy-2), #3a78c2); }
.col-sm-6:nth-child(3) .feature-icon { background: linear-gradient(135deg, #0e7c66, #2bb593); }
.fab-call { background: var(--primary); color: var(--navy); }
.fab-call:hover { color: var(--navy); }
.help-box { color: var(--navy); }
.help-box h3 { color: var(--navy); }
.help-box .btn-light { background: var(--navy); border-color: var(--navy); color: #fff; }
.cta-strip { color: var(--navy); background: linear-gradient(120deg, var(--primary), var(--primary-2)); }
.cta-strip h2 { color: var(--navy); }
.cta-strip .btn-light { background: var(--navy); border-color: var(--navy); color: #fff; }
.btn-primary .bi { color: inherit; }

/* Gold accents on dark surfaces */
.footer-contact i, .site-footer .text-primary { color: var(--primary) !important; }
.stats-band { background: linear-gradient(120deg, var(--navy) 0%, #10305a 60%, var(--navy-2) 100%); }
.itinerary .accordion-item::before { box-shadow: 0 0 0 2px var(--primary-2); }
.price { color: var(--navy); }
.booking-price .price { color: var(--navy); }
.stars { color: var(--primary); }

/* Floating call menu (both contact numbers) */
.call-menu-wrap { position: relative; }
.fab-call { border: 0; }
.call-menu { position: absolute; left: 64px; bottom: 0; background: #fff; border-radius: 14px; box-shadow: var(--shadow); padding: 10px; min-width: 210px; }
.call-menu-title { display: block; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); padding: 2px 10px 6px; }
.call-menu a { display: flex; gap: 8px; align-items: center; padding: 9px 10px; border-radius: 10px; color: var(--navy); font-weight: 600; white-space: nowrap; }
.call-menu a:hover { background: var(--primary-soft); }
.call-menu i { color: var(--primary-ink); }
.footer-contact a { display: inline-block; }

/* ==========================================================================
   Mobile responsive fixes (added 31 Oct 2026)
   ========================================================================== */

/* Tablet & phone: navbar collapses into the offcanvas menu */
@media (max-width: 991.98px) {
    /* backdrop-filter turns the header into the containing block for the fixed
       offcanvas, trapping the mobile menu inside the 76px header bar and causing
       sideways scroll. A solid header keeps the menu full-height. */
    .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: #fff; }
    #mainNav.offcanvas { max-width: 86vw; }
    #mainNav .offcanvas-body { padding-top: 0; }
    #mainNav .navbar-nav .nav-link { padding: 12px 6px !important; border-bottom: 1px solid var(--border); border-radius: 0; }
    #mainNav .offcanvas-body { overflow-x: hidden; }
    #mainNav .mega-menu { border: 0; max-width: 100%; }
    #mainNav .mega-menu .row { --bs-gutter-x: 0; margin: 0; }
    #mainNav .mega-menu .dropdown-item { white-space: normal; padding: 7px 12px; }
    #mainNav .mega-menu .row > [class*="col"] { margin-bottom: 10px; }
    .filter-box { position: static; }
    .section { padding: 70px 0; }
}

/* Phones & small tablets */
@media (max-width: 767.98px) {
    html { scroll-padding-top: 84px; }
    body { font-size: 15px; }

    /* g-5 gutters (48px) are wider than the 24px container padding -> horizontal overflow */
    .row.g-5 { --bs-gutter-x: 1.5rem; --bs-gutter-y: 2rem; }

    /* Spacing */
    .section { padding: 54px 0; }
    .section-sm { padding: 40px 0; }
    .section-head { margin-bottom: 28px; }
    .section-title { font-size: clamp(1.55rem, 6.4vw, 1.9rem); }

    /* Hero */
    .hero { padding-top: 46px; }
    .hero-title { font-size: clamp(1.9rem, 8.4vw, 2.4rem); margin-bottom: 14px; }
    .hero-sub { font-size: 1rem; }
    .hero .btn-lg, .hero .btn { padding: 10px 18px; font-size: .95rem; }
    .hero-search { padding: 16px; border-radius: 18px; margin: 32px 0 -36px; }
    .hero-search .row { --bs-gutter-y: .75rem; }
    .hero-search .form-control, .hero-search .form-select, .hero-search .btn { height: 46px; }
    .hero + .section-sm { padding-top: 76px; }

    /* Page / tour heroes */
    .page-hero { padding: 60px 0 44px; }
    .tour-hero { padding: 80px 0 32px; }
    .tour-meta { gap: 6px 16px; font-size: 14px; }
    .sticky-subnav { top: 72px; margin-bottom: 20px; scrollbar-width: none; }
    .sticky-subnav::-webkit-scrollbar { display: none; }
    .sticky-subnav a { padding: 7px 13px; font-size: 14px; }

    /* Cards */
    .feature-box { padding: 20px 16px; }
    .feature-box .feature-icon { width: 48px; height: 48px; font-size: 1.3rem; border-radius: 14px; }
    .feature-box h3, .feature-box h4, .feature-box h5 { font-size: 1rem; }
    .feature-box p { font-size: 13.5px; margin-bottom: 0; }
    .service-card { padding: 22px 20px; }
    .service-icon { width: 52px; height: 52px; font-size: 1.4rem; margin-bottom: 14px; }
    .service-img { height: 240px; }
    .service-row + .service-row { margin-top: 44px; }
    .tour-card-img { aspect-ratio: 16 / 10; }
    .tour-card-body { padding: 14px 16px 16px; }
    .tour-card:hover, .blog-card:hover, .feature-box:hover, .service-card:hover, .contact-card:hover { transform: none; }
    .dest-card { height: 260px; }
    .dest-card-sm { height: 180px; }
    .testi-card { padding: 22px; }
    .step-card { padding: 26px 18px; }
    .mini-stat { padding: 14px; }
    .mini-stat strong { font-size: 1.5rem; }

    /* Tabs & filters scroll sideways instead of wrapping into several rows */
    .tour-tabs, .gallery-filter { flex-wrap: nowrap; overflow-x: auto; justify-content: flex-start !important; white-space: nowrap; scrollbar-width: none; padding-bottom: 4px; }
    .tour-tabs::-webkit-scrollbar, .gallery-filter::-webkit-scrollbar { display: none; }
    .tour-tabs .nav-link { padding: 8px 18px; }
    .gallery-filter { display: flex; }
    .gallery-filter button { flex: 0 0 auto; padding: 7px 16px; }

    /* Gallery: 2 columns, captions always visible (no hover on touch) */
    .masonry { columns: 2 140px; column-gap: 10px; }
    .masonry-item { margin-bottom: 10px; border-radius: 12px; }
    .masonry-caption { opacity: 1; padding: 22px 10px 8px; font-size: 13px; }

    /* Collage & stats */
    .collage-a { height: 300px; }
    .stats-band { padding: 44px 0; }
    .stat-num { font-size: 2rem; }

    /* Tour detail */
    .tour-gallery[data-items="1"] { grid-template-rows: 240px; }
    .tour-gallery[data-items="2"] { grid-template-rows: 200px; }
    .quick-facts { grid-template-columns: 1fr 1fr; gap: 10px; }
    .quick-facts > div { padding: 12px; column-gap: 10px; }
    .booking-price { padding: 18px; }

    /* Blog */
    .post-cover { border-radius: 16px; margin-bottom: 22px; }
    .post-content { font-size: 1rem; }
    .post-cta { flex-direction: column; align-items: flex-start; padding: 20px; }
    .rich-text table { display: block; overflow-x: auto; }
    .rich-text iframe, .rich-text video { max-width: 100%; }
    .sidebar-widget { padding: 20px; }

    /* Forms & contact */
    .form-card { padding: 20px 16px; border-radius: 18px; }
    .enquiry-form .form-control, .enquiry-form .form-select { padding: 9px 12px; font-size: 16px; } /* 16px stops iOS zoom-on-focus */
    .enquiry-form input[type="date"] { padding-left: 8px; padding-right: 6px; min-width: 0; }
    .map-wrap, .map-wrap iframe { min-height: 300px; }

    /* CTA & footer */
    .cta-strip { padding: 36px 0; text-align: center; }
    .site-footer { padding-top: 48px; }
    .footer-logo img { height: 72px; }
    .footer-bottom { justify-content: center; text-align: center; margin-top: 32px; padding-bottom: 84px; }

    /* Floating buttons: smaller so they don't cover content */
    .float-actions { left: 12px; bottom: 12px; gap: 8px; }
    .fab { width: 46px; height: 46px; font-size: 1.25rem; }
    .fab-whatsapp { animation: none; }
    .call-menu { left: 56px; min-width: 190px; }
    .back-to-top { right: 12px; bottom: 12px; width: 42px; height: 42px; }

    /* Lightbox */
    .lightbox button { width: 42px; height: 42px; font-size: 1.15rem; }
    .lb-close { top: 12px; right: 12px; }
    .lb-prev { left: 8px; }
    .lb-next { right: 8px; }

    /* Quote modal */
    #quoteModal .modal-dialog { margin: 12px; }
    #quoteModal .modal-body { padding: 18px; }
}

/* Small phones */
@media (max-width: 575.98px) {
    /* Feature boxes 2-up instead of 4 tall stacked cards */
    .row > .col-sm-6:has(> .feature-box) { flex: 0 0 auto; width: 50%; }
    .row:has(> .col-sm-6 > .feature-box) { --bs-gutter-x: .75rem; --bs-gutter-y: .75rem; }
    .feature-box { padding: 16px 14px; }
    .feature-box p { font-size: 13px; line-height: 1.45; }

    .hero-title { font-size: clamp(1.75rem, 8.6vw, 2.2rem); }
    .dest-grid { grid-auto-rows: 150px; gap: 10px; }
    .dest-tile-info { left: 12px; right: 12px; bottom: 12px; }
    .dest-tile-lg .dest-tile-info h3 { font-size: 1.4rem; }
    .collage { padding: 0 24px 36px 0; }
    .collage-a { height: 260px; }
    .collage-b { height: 140px; border-width: 5px; }
    .collage-badge { padding: 10px 14px; }
    .collage-badge strong { font-size: 1.4rem; }
    .navbar-brand .site-logo { height: 50px; }
}
