/* ============================================================
   KIMBA DESTINATIONS - LUXURY SAFARI DESIGN SYSTEM
   Palette: White Dominant (60%), Charcoal & Black (30%), Safari Gold (10%)
   ============================================================ */

:root {
    /* --- Safari Gold Accents (10%) --- */
    --gold-primary: #c59b27;
    --gold-hover: #b0891d;
    --gold-light: #fef9ec;
    --gold-border: #e6ca65;
    --gold-gradient: linear-gradient(135deg, #c59b27 0%, #dfb142 100%);
    
    /* --- Charcoal & Black Structure (30%) --- */
    --color-black: #0c0d0e;
    --color-charcoal: #1c1e22;
    --color-slate: #2c2f35;
    --text-heading: #111215;
    --text-body: #2d3138;
    --text-muted: #64748b;
    --border-light: #e5e7eb;
    --border-medium: #cbd5e1;

    /* --- Dominant White Canvas (60%) --- */
    --bg-white: #ffffff;
    --bg-light: #f9fafb;
    --bg-surface: #f3f4f6;

    /* --- Legacy Variable Aliases --- */
    --primary-safari: #c59b27;
    --primary-dark: #111215;
    --accent-gold: #c59b27;
    --text-dark: #111215;
}

/* ============================================================
   GLOBAL BODY & TYPOGRAPHY
   ============================================================ */
body {
    background-color: var(--bg-white) !important;
    color: var(--text-body) !important;
    font-family: "Poppins", sans-serif;
    line-height: 1.7;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--text-heading);
    font-family: "Playfair Display", serif;
    font-weight: 700;
}

p {
    color: var(--text-body);
}

.text-muted {
    color: var(--text-muted) !important;
}

.text-primary {
    color: var(--gold-primary) !important;
}

.bg-primary {
    background-color: var(--gold-primary) !important;
    color: #ffffff !important;
}

/* ============================================================
   TOPBAR
   ============================================================ */
#topbar {
    background-color: var(--color-black) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

#topbar span {
    color: #d1d5db !important;
}

#topbar span i {
    color: var(--gold-primary) !important;
}

#topbar .top-contact a {
    color: #e5e7eb !important;
    transition: color 0.2s ease;
}

#topbar .top-contact a:hover {
    color: var(--gold-primary) !important;
}

#topbar .tsoc a {
    background: rgba(255, 255, 255, 0.1) !important;
    color: #e5e7eb !important;
}

#topbar .tsoc a:hover {
    background: var(--gold-primary) !important;
    color: var(--color-black) !important;
}

.ttag {
    background: var(--gold-primary) !important;
    color: var(--color-black) !important;
    font-weight: 700 !important;
}

/* ============================================================
   NAVBAR & CTA
   ============================================================ */
#nav {
    background: var(--bg-white) !important;
    border-bottom: 1px solid var(--border-light);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.04);
}

.navbar-nav .nav-link {
    color: var(--color-charcoal) !important;
    font-weight: 600 !important;
    font-size: 0.9rem !important;
    transition: color 0.2s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--gold-primary) !important;
}

.navbar-nav .nav-link::after {
    background: var(--gold-primary) !important;
}

/* Navbar "Get Free Quote" CTA */
.nav-cta {
    background: var(--gold-gradient) !important;
    color: var(--color-black) !important;
    border-radius: 8px !important;
    padding: 10px 22px !important;
    font-size: 0.86rem !important;
    font-weight: 700 !important;
    box-shadow: 0 4px 15px rgba(197, 155, 39, 0.3) !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease !important;
    border: none !important;
}

.nav-cta:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(197, 155, 39, 0.45) !important;
    color: var(--color-black) !important;
}

.nav-cta i {
    color: var(--color-black) !important;
}

/* Brand Logo */
.navbar-brand {
    padding: 2px 0 !important;
    display: flex;
    align-items: center;
    margin-right: 1.5rem;
}

.blogo {
    display: flex;
    align-items: center;
    padding: 0;
}

.blogo-img {
    height: 72px;
    width: auto;
    max-height: 74px;
    max-width: 250px;
    object-fit: contain;
    border-radius: 0 !important;
    display: block;
    transition: transform 0.25s ease;
}

@media (max-width: 991px) {
    .blogo-img {
        height: 52px;
        max-height: 54px;
        max-width: 190px;
    }
}

.blogo:hover .blogo-img {
    transform: scale(1.03);
}

/* ============================================================
   BUTTONS & CTAs
   ============================================================ */
.btn-red,
.btn-gold,
.btn-primary-safari {
    background: var(--gold-gradient) !important;
    color: var(--color-black) !important;
    border: none !important;
    border-radius: 50px !important;
    padding: 13px 32px !important;
    font-weight: 700 !important;
    font-size: 0.95rem !important;
    box-shadow: 0 6px 20px rgba(197, 155, 39, 0.3) !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease !important;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none !important;
}

.btn-red:hover,
.btn-gold:hover,
.btn-primary-safari:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 10px 25px rgba(197, 155, 39, 0.45) !important;
    color: var(--color-black) !important;
}

.btn-outline-primary {
    border-color: var(--gold-primary) !important;
    color: var(--gold-hover) !important;
    font-weight: 600;
}

.btn-outline-primary:hover {
    background-color: var(--gold-primary) !important;
    border-color: var(--gold-primary) !important;
    color: var(--color-black) !important;
}

.btn-warning {
    background: var(--gold-gradient) !important;
    border-color: var(--gold-primary) !important;
    color: var(--color-black) !important;
    font-weight: 700 !important;
}

.btn-warning:hover {
    background: var(--gold-hover) !important;
    color: var(--color-black) !important;
}

/* ============================================================
   HERO SECTION (Clean, crisp, no muddy dark overlays)
   ============================================================ */
.hero.section {
    position: relative;
    width: 100%;
    min-height: 380px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    padding: 95px 0 75px;
    margin: 0;
}

.hero.section .hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 1;
}

/* Moving Hero Slideshow with Ken Burns Effect */
.hero-slideshow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    background-size: cover;
    background-position: center;
    transform: scale(1);
    transition: opacity 1.8s ease-in-out;
}

.hero-slide.active {
    opacity: 1;
    animation: kenBurnsMotion 8s ease-in-out infinite alternate;
}

@keyframes kenBurnsMotion {
    0% {
        transform: scale(1) translate(0, 0);
    }
    100% {
        transform: scale(1.08) translate(-1.5%, -1%);
    }
}

.hero.section .container {
    position: relative;
    z-index: 2;
}

.hero.section h1 {
    font-size: 2.9rem;
    font-weight: 900;
    color: #ffffff !important;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8), 0 4px 25px rgba(0, 0, 0, 0.65);
    margin-bottom: 12px;
}

.hero.section .lead {
    font-size: 1.25rem;
    color: #ffffff !important;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8), 0 3px 18px rgba(0, 0, 0, 0.65);
    font-weight: 500;
}

/* ============================================================
   CARDS & SURFACES (Clean White on Subtle Backgrounds)
   ============================================================ */
.card:not(.bg-dark):not(.card-dark),
.tour-card,
.bg-light {
    background-color: var(--bg-white);
    border: 1px solid var(--border-light);
}

.card.bg-dark,
.card-dark,
.bg-dark {
    background-color: var(--color-charcoal) !important;
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
}

.card.bg-dark h1, .card.bg-dark h2, .card.bg-dark h3, .card.bg-dark h4, .card.bg-dark h5, .card.bg-dark h6,
.card-dark h1, .card-dark h2, .card-dark h3, .card-dark h4, .card-dark h5, .card-dark h6 {
    color: #ffffff !important;
}

.card.bg-dark p,
.card-dark p,
.card.bg-dark .text-white-50,
.card-dark .text-white-50 {
    color: #d1d5db !important;
}

.card.bg-dark a.text-white,
.card-dark a.text-white {
    color: #ffffff !important;
    font-weight: 600;
}

.card.bg-dark a.text-white:hover,
.card-dark a.text-white:hover {
    color: var(--gold-primary) !important;
}

.tour-card {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.tour-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
}

.tour-card-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--gold-primary) !important;
    color: var(--color-black) !important;
    font-size: 13px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 20px;
}

.tour-card-body h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-heading);
}

.tour-card-footer {
    border-top: 1px solid var(--border-light);
}

/* Section titles and accents */
.slbl {
    color: var(--gold-primary) !important;
}

.stitle span {
    color: var(--gold-primary) !important;
}

.sline {
    background: var(--gold-gradient) !important;
}

/* Rating Stars */
.text-warning,
.fa-star {
    color: var(--gold-primary) !important;
}

/* ============================================================
   FORMS & INPUTS (White, Clean, Gold Focus)
   ============================================================ */
.form-control,
.form-select {
    background-color: var(--bg-white) !important;
    color: var(--color-charcoal) !important;
    border: 1px solid var(--border-medium) !important;
    border-radius: 8px !important;
    padding: 10px 14px !important;
    font-size: 0.95rem !important;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--gold-primary) !important;
    box-shadow: 0 0 0 3px rgba(197, 155, 39, 0.2) !important;
    outline: none;
}

/* intl-tel-input */
.phone-wrapper {
    position: relative;
    z-index: 20;
    width: 100%;
}

.phone-wrapper .iti {
    width: 100% !important;
    display: block;
}

.phone-wrapper .iti input[type=tel] {
    width: 100% !important;
    padding-left: 112px !important;
    height: 48px;
    border-radius: 8px;
    border: 1px solid var(--border-medium) !important;
    background-color: var(--bg-white) !important;
    font-size: 15px;
}

.phone-wrapper .iti__selected-flag {
    background-color: #f8fafc;
    border-top-left-radius: 8px;
    border-bottom-left-radius: 8px;
    border-right: 1px solid var(--border-medium);
    padding: 0 10px;
    max-width: 102px;
}

.iti__country-list {
    border-radius: 8px !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15) !important;
    z-index: 999999 !important;
    background-color: #ffffff !important;
    color: var(--color-charcoal) !important;
    max-height: 240px !important;
}

/* ============================================================
   ACCORDION (FAQ)
   ============================================================ */
.safari-faq-accordion .accordion-item {
    border: 1px solid var(--border-light) !important;
    background-color: var(--bg-white) !important;
}

.safari-faq-accordion .accordion-button {
    background-color: var(--bg-white) !important;
    color: var(--text-heading) !important;
    font-family: "Poppins", sans-serif;
    font-weight: 600;
}

.safari-faq-accordion .accordion-button:not(.collapsed) {
    background-color: var(--gold-light) !important;
    color: var(--color-black) !important;
    box-shadow: none !important;
    border-left: 4px solid var(--gold-primary) !important;
}

.safari-faq-accordion .accordion-button i {
    color: var(--gold-primary) !important;
}

/* ============================================================
   HOURS / SAFARI SUPPORT (Match Footer Charcoal Color)
   ============================================================ */
#hours {
    background-color: var(--color-charcoal) !important;
    background: var(--color-charcoal) !important;
    position: relative;
    overflow: hidden;
}

#hours .hrscard {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

/* ============================================================
   FOOTER (Deep Charcoal & Black, Crisp White Text, Gold Links)
   ============================================================ */
#footer,
footer {
    background-color: var(--color-charcoal) !important;
    color: #e2e8f0 !important;
    border-top: 3px solid var(--gold-primary);
}

#footer h4,
#footer h5,
footer h4,
footer h5 {
    color: #ffffff !important;
}

#footer p,
#footer li,
footer p,
footer li {
    color: #cbd5e1 !important;
}

#footer a,
footer a {
    color: #e2e8f0 !important;
    transition: color 0.2s ease;
}

#footer a:hover,
footer a:hover {
    color: var(--gold-primary) !important;
}

.footer-logo-img {
    height: 65px;
    width: 65px;
    max-height: 65px;
    max-width: 65px;
    object-fit: cover;
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

/* ============================================================
   FLOATING WHATSAPP
   ============================================================ */
.floating-whatsapp {
    position: fixed;
    bottom: 25px;
    left: 25px;
    width: 56px;
    height: 56px;
    background-color: #25d366;
    color: #ffffff !important;
    border-radius: 50%;
    text-align: center;
    font-size: 30px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.25);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.floating-whatsapp:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
    color: #ffffff;
}

/* ============================================================
   TESTIMONIALS & BLOG SWIPER CAROUSELS
   ============================================================ */
.tesSwiper,
.blogSwiper {
    padding-bottom: 30px;
}

.tesSwiper .swiper-slide,
.blogSwiper .swiper-slide {
    height: auto;
    display: flex;
}

.tescard,
.blcard {
    height: 100%;
    width: 100%;
}

.tes-swiper-pagination .swiper-pagination-bullet,
.blog-swiper-pagination .swiper-pagination-bullet {
    width: 9px;
    height: 9px;
    background: #cbd5e1;
    opacity: 1;
    transition: all 0.3s ease;
}

.tes-swiper-pagination .swiper-pagination-bullet-active,
.blog-swiper-pagination .swiper-pagination-bullet-active {
    background: var(--gold-primary) !important;
    width: 26px;
    border-radius: 6px;
}

.blog-swiper-prev,
.blog-swiper-next {
    transition: all 0.25s ease;
    cursor: pointer;
}

.blog-swiper-prev:hover,
.blog-swiper-next:hover {
    background: var(--gold-primary) !important;
    color: #ffffff !important;
    border-color: var(--gold-primary) !important;
}

.blog-swiper-pagination .swiper-pagination-bullet {
    width: 9px;
    height: 9px;
    background: #cbd5e1;
    opacity: 1;
    transition: all 0.3s ease;
}

.blog-swiper-pagination .swiper-pagination-bullet-active {
    background: var(--gold-primary) !important;
    width: 26px;
    border-radius: 6px;
}

/* ============================================================
   CREATIVE EARLY BIRD & PRE-BOOKING SHOWCASE
   ============================================================ */
.early-showcase {
    position: relative;
    border-radius: 26px;
    padding: 8px;
    background: linear-gradient(145deg, rgba(229, 169, 59, 0.35), rgba(255, 255, 255, 0.06));
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.55);
}

.early-showcase-inner {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    background: #111;
}

.early-showcase-img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.early-showcase:hover .early-showcase-img {
    transform: scale(1.05);
}

.early-gradient-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(12, 13, 14, 0.95) 0%, rgba(12, 13, 14, 0.35) 45%, rgba(12, 13, 14, 0.1) 100%);
    pointer-events: none;
}

/* Big Glowing & Growing 30% Badge */
.early-big-glow-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    width: 108px;
    height: 108px;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 35%, #ffe17d 0%, #e5a93b 50%, #b88219 100%);
    box-shadow: 0 0 30px rgba(229, 169, 59, 0.85), 0 0 60px rgba(229, 169, 59, 0.45), inset 0 2px 5px rgba(255, 255, 255, 0.9);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #0c0d0e;
    text-align: center;
    z-index: 4;
    border: 3px solid #ffffff;
    animation: badgeGrowGlow 2.4s infinite ease-in-out;
}

@keyframes badgeGrowGlow {
    0% {
        transform: scale(1);
        box-shadow: 0 0 25px rgba(229, 169, 59, 0.8), 0 0 50px rgba(229, 169, 59, 0.4);
    }
    50% {
        transform: scale(1.1);
        box-shadow: 0 0 45px rgba(245, 158, 11, 1), 0 0 90px rgba(245, 158, 11, 0.65);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 25px rgba(229, 169, 59, 0.8), 0 0 50px rgba(229, 169, 59, 0.4);
    }
}

.early-big-glow-badge .badge-sub {
    font-size: 0.6rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    line-height: 1;
    margin-bottom: 2px;
}

.early-big-glow-badge .badge-num {
    font-size: 2.15rem;
    font-weight: 900;
    line-height: 0.88;
    letter-spacing: -1px;
    color: #0c0d0e;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.5);
    font-family: 'Poppins', sans-serif;
}

.early-big-glow-badge .badge-off {
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 1px;
    text-transform: uppercase;
    line-height: 1;
    margin-top: 2px;
}

.early-live-slots {
    position: absolute;
    top: 18px;
    right: 18px;
    background: rgba(12, 13, 14, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: #fff;
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    z-index: 3;
}

.early-pulse-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
    animation: earlyPulse 2s infinite;
}

@keyframes earlyPulse {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(34, 197, 94, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

.early-glass-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 22px;
    z-index: 3;
}

.early-perks-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 12px;
}

.early-perk-box {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    padding: 10px 6px;
    text-align: center;
    color: #fff;
}

.early-perk-box i {
    color: #e5a93b;
    font-size: 1.15rem;
    margin-bottom: 4px;
    display: block;
}

.early-perk-box span {
    font-size: 0.72rem;
    font-weight: 600;
    display: block;
    line-height: 1.3;
    color: #f1f5f9;
}

.early-trust-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(12, 13, 14, 0.65);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(229, 169, 59, 0.3);
    border-radius: 10px;
    padding: 8px 14px;
    color: #e2e8f0;
    font-size: 0.78rem;
}

.early-trust-stars {
    color: #fbbf24;
    font-size: 0.82rem;
}

/* ============================================================
   NAVBAR DROPDOWNS (LUXURY SAFARI STYLING)
   ============================================================ */
.navbar-nav .dropdown-menu {
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-top: 3px solid var(--gold-primary);
    border-radius: 8px;
    box-shadow: 0 14px 35px rgba(0, 0, 0, 0.12);
    padding: 8px 0;
    min-width: 260px;
    background: #ffffff;
    z-index: 1050;
}

.navbar-nav .dropdown-item {
    font-size: 0.86rem;
    font-weight: 500;
    color: var(--text-heading);
    padding: 9px 18px;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 10px;
}

.navbar-nav .dropdown-item i {
    font-size: 0.8rem;
    color: var(--gold-primary);
    width: 18px;
    text-align: center;
    transition: transform 0.2s ease;
}

.navbar-nav .dropdown-item:hover,
.navbar-nav .dropdown-item:focus {
    background-color: var(--gold-light);
    color: var(--gold-primary);
    padding-left: 22px;
}

.navbar-nav .dropdown-item:hover i {
    transform: scale(1.15);
}

.navbar-nav .dropdown-item.active {
    background-color: var(--gold-light);
    color: var(--gold-primary);
    font-weight: 600;
}

.navbar-nav .dropdown-divider {
    margin: 6px 0;
    border-color: rgba(0, 0, 0, 0.06);
}

.navbar-nav .nav-link.dropdown-toggle::after {
    display: none !important;
}

/* Desktop hover interaction (>= 992px) */
@media (min-width: 992px) {
    .navbar-nav .nav-item.dropdown:hover > .dropdown-menu {
        display: block;
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
    .navbar-nav .dropdown-menu {
        display: block;
        opacity: 0;
        visibility: hidden;
        transform: translateY(8px);
        transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
    }
}

/* Mobile dropdown styling (< 992px) */
@media (max-width: 991.98px) {
    .navbar-nav .dropdown-menu {
        border-top: none;
        border-left: 3px solid var(--gold-primary);
        box-shadow: none;
        background: #fdfbf7;
        margin-left: 10px;
        margin-bottom: 8px;
    }
    .navbar-nav .dropdown-item {
        padding: 8px 16px;
    }
}


