/* ============================================================
   Humaira Safaris — Main Stylesheet
   Design: Safari + Beach Mixed Theme
   ============================================================ */

/* ─── Variables ──────────────────────────────────────────────── */
/* Palette derived from the Humaira logo */
:root {
    /* Teal — logo border ring & manta rays (primary brand) */
    --gold:         #4FA8B8;
    --gold-light:   #7AC4D0;
    --gold-dark:    #2D7A8A;
    --gold-pale:    #E5F5F8;

    /* Ocean depth — deeper teal tones */
    --ocean:        #2D7A8A;
    --ocean-light:  #4FA8B8;
    --ocean-dark:   #1A505E;
    --ocean-pale:   #E5F5F8;

    /* Seaweed green — algae accent in logo */
    --green:        #2A7A5A;
    --green-light:  #4CAA8C;

    /* Coral-salmon — logo H letter & coral branches */
    --coral:        #DC7F6C;
    --coral-light:  #ECA38E;
    --coral-dark:   #C25A4A;

    /* Sand — warm ocean-floor background */
    --sand:         #FEF7EE;
    --sand-dark:    #EDD9BB;

    /* Charcoal — logo text color, dark elements */
    --earth:        #1E2B38;
    --earth-mid:    #2D3E50;

    --white:        #FFFFFF;
    --gray-50:      #F8F8F6;
    --gray-100:     #F0EDEA;
    --gray-200:     #E2DDDA;
    --gray-400:     #9A9490;
    --gray-600:     #6A6460;
    --gray-800:     #2D2A26;

    --shadow-sm:    0 1px 3px rgba(30,43,56,.10), 0 1px 2px rgba(30,43,56,.06);
    --shadow:       0 4px 16px rgba(30,43,56,.12);
    --shadow-lg:    0 10px 40px rgba(30,43,56,.16);
    --shadow-gold:  0 4px 20px rgba(79,168,184,.35);

    --radius:       12px;
    --radius-lg:    20px;
    --radius-full:  9999px;
    --nav-h:          80px;
    --topbar-h:       38px;
    --bottom-nav-h:   64px;
    --safe-b:         env(safe-area-inset-bottom, 0px);
    --transition:     all .28s cubic-bezier(.4,0,.2,1);
}

/* ─── App-feel globals ───────────────────────────────────────── */
* { -webkit-tap-highlight-color: transparent; }
a, button, [role="button"], .filter-btn, .dest-tab, .hero-tab, .bottom-nav-item {
    touch-action: manipulation;
}
a:active, button:active { opacity: .82; }
.btn:active { transform: scale(.97) !important; }
.tour-card:active { transform: translateY(-2px) !important; }

/* ─── Reset & Base ───────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
    font-family: 'Inter', system-ui, sans-serif;
    background: var(--white);
    color: var(--gray-800);
    line-height: 1.65;
    overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a  { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; font-family: inherit; }
input, textarea, select { font-family: inherit; }

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ─── Typography ─────────────────────────────────────────────── */
h1, h2, h3, h4, h5 {
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 700;
    line-height: 1.2;
    color: var(--earth);
}
h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); }
h4 { font-size: 1.1rem; font-family: 'Inter', sans-serif; font-weight: 600; }

.section-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: .75rem;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 12px;
}
.section-label::before,
.section-label::after {
    content: '';
    display: block;
    width: 24px;
    height: 1.5px;
    background: var(--gold);
    border-radius: 2px;
}

.section-title { margin-bottom: 16px; }

.section-subtitle {
    font-size: 1.05rem;
    color: var(--gray-600);
    max-width: 560px;
    line-height: 1.7;
}

/* ─── Buttons ────────────────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 28px;
    border-radius: var(--radius-full);
    font-size: .9rem;
    font-weight: 600;
    letter-spacing: .02em;
    border: 2px solid transparent;
    transition: var(--transition);
    white-space: nowrap;
}

.btn-gold {
    background: var(--gold);
    color: var(--white);
    border-color: var(--gold);
}
.btn-gold:hover {
    background: var(--gold-dark);
    border-color: var(--gold-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-gold);
}

.btn-outline-gold {
    background: transparent;
    color: var(--gold);
    border-color: var(--gold);
}
.btn-outline-gold:hover {
    background: var(--gold);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-outline-white {
    background: transparent;
    color: var(--white);
    border-color: rgba(255,255,255,.7);
}
.btn-outline-white:hover {
    background: rgba(255,255,255,.15);
    border-color: var(--white);
}

.btn-ocean {
    background: var(--ocean);
    color: var(--white);
    border-color: var(--ocean);
}
.btn-ocean:hover {
    background: var(--ocean-dark);
    border-color: var(--ocean-dark);
    transform: translateY(-2px);
}

.btn-sm { padding: 9px 20px; font-size: .82rem; }
.btn-lg { padding: 16px 36px; font-size: 1rem; }

/* ─── Badges ─────────────────────────────────────────────────── */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 12px;
    border-radius: var(--radius-full);
    font-size: .72rem;
    font-weight: 600;
    letter-spacing: .05em;
    text-transform: uppercase;
}
.badge-safari    { background: rgba(220,127,108,.15); color: var(--coral-dark); }
.badge-beach     { background: rgba(79,168,184,.14);  color: var(--gold-dark); }
.badge-adventure { background: rgba(42,122,90,.13);   color: var(--green); }
.badge-cultural  { background: rgba(194,90,74,.13);   color: var(--coral-dark); }
.badge-combined  { background: rgba(79,168,184,.14);  color: var(--ocean-dark); }
.badge-featured  { background: var(--coral); color: var(--white); }

/* ─── Top Bar ────────────────────────────────────────────────── */
/* ─── Topbar ─────────────────────────────────────────────────── */
.topbar {
    background: var(--earth);
    color: rgba(255,255,255,.70);
    font-size: .775rem;
    height: var(--topbar-h);
    display: flex;
    align-items: center;
    letter-spacing: 0.01em;
}
.topbar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 28px;
}
.topbar-left, .topbar-right {
    display: flex;
    align-items: center;
    gap: 20px;
}
.topbar a { color: rgba(255,255,255,.65); transition: color .2s; }
.topbar a:hover { color: var(--gold-light); }
.topbar i { margin-right: 6px; font-size: .75rem; }
.topbar-wa {
    background: #22C55E;
    color: var(--white) !important;
    padding: 4px 14px;
    border-radius: var(--radius-full);
    font-weight: 500;
    letter-spacing: 0;
}
.topbar-wa:hover { background: #16a34a !important; }

/* ─── Navbar ─────────────────────────────────────────────────── */
.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    height: var(--nav-h);
    background: var(--sand);
    border-bottom: 2px solid rgba(79,168,184,0.22);
    transition: box-shadow .3s, background .3s;
}
.navbar.scrolled {
    box-shadow: 0 4px 24px rgba(30,43,56,.13);
    background: #FFFDF7;
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 28px;
    gap: 20px;
}

/* ─── Logo ───────────────────────────────────────────────────── */
.nav-logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    text-decoration: none;
    padding: 10px 0;
    padding-right: 24px;
    position: relative;
}
.nav-logo::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 38px;
    background: rgba(79,168,184,0.28);
}
img.logo-img {
    height: 110px !important;
    width: auto !important;
    display: block;
    object-fit: contain;
    filter: drop-shadow(0 3px 8px rgba(30,43,56,0.14));
    transition: transform .28s ease, filter .28s ease;
}
.nav-logo:hover img.logo-img {
    transform: scale(1.06) rotate(-1deg);
    filter: drop-shadow(0 6px 18px rgba(75,143,168,0.28));
}

/* ─── Nav Links ──────────────────────────────────────────────── */
.nav-links {
    display: flex;
    align-items: center;
    gap: 2px;
    margin-left: auto;
}
.nav-links > li { position: relative; }
.nav-links > li > a {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 8px 15px;
    border-radius: var(--radius);
    font-size: .875rem;
    font-weight: 500;
    color: var(--earth-mid);
    letter-spacing: 0.01em;
    transition: var(--transition);
}
.nav-links > li > a:hover {
    color: var(--gold-dark);
    background: rgba(79,168,184,0.11);
}
.nav-links > li > a.active {
    color: var(--gold-dark);
    background: rgba(79,168,184,0.14);
    font-weight: 600;
}
.nav-links > li > a .fa-chevron-down {
    font-size: .6rem;
    color: var(--gold);
    transition: transform .25s;
}
.nav-links > li:hover > a .fa-chevron-down { transform: rotate(180deg); }

/* ─── Dropdown ───────────────────────────────────────────────── */
.dropdown {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    min-width: 220px;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    box-shadow: 0 8px 32px rgba(30,43,56,.14);
    padding: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: opacity .22s, transform .22s, visibility .22s;
    pointer-events: none;
}
.has-dropdown:hover .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}
.dropdown li a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border-radius: 8px;
    font-size: .85rem;
    color: var(--earth-mid);
    transition: background .18s, color .18s;
}
.dropdown li a i { width: 16px; color: var(--gold); }
.dropdown li a:hover { background: var(--gold-pale); color: var(--gold-dark); }

/* ─── Mobile toggle ──────────────────────────────────────────── */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    padding: 8px;
    cursor: pointer;
}
.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--earth-mid);
    border-radius: 2px;
    transition: var(--transition);
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ─── Hero ───────────────────────────────────────────────────── */
.hero {
    position: relative;
    min-height: calc(100vh - var(--topbar-h) - var(--nav-h));
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--earth);
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    transform-origin: center;
    animation: heroZoom 18s ease-in-out infinite alternate;
}
@keyframes heroZoom {
    from { transform: scale(1); }
    to   { transform: scale(1.06); }
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(30,43,56,.82) 0%,
        rgba(30,43,56,.50) 50%,
        rgba(45,122,138,.25) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
    padding: 80px 24px;
    margin: 0 auto;
    text-align: center;
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(79,168,184,.25);
    border: 1px solid rgba(79,168,184,.5);
    color: var(--gold-light);
    padding: 6px 18px;
    border-radius: var(--radius-full);
    font-size: .78rem;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
    margin-bottom: 24px;
    backdrop-filter: blur(4px);
}
.hero-tag i { font-size: .8rem; }

.hero-content h1 {
    color: var(--white);
    margin-bottom: 20px;
    text-shadow: 0 2px 20px rgba(0,0,0,.3);
}
.hero-content h1 em {
    font-style: italic;
    color: var(--gold-light);
}

.hero-content p {
    font-size: 1.1rem;
    color: rgba(255,255,255,.85);
    margin-bottom: 36px;
    line-height: 1.7;
}

.hero-cta {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Hero scroll indicator */
.hero-scroll {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: rgba(255,255,255,.6);
    font-size: .7rem;
    font-weight: 500;
    letter-spacing: .1em;
    text-transform: uppercase;
    animation: scrollBounce 2s ease-in-out infinite;
}
.scroll-line {
    width: 1px;
    height: 36px;
    background: linear-gradient(to bottom, rgba(255,255,255,.6), transparent);
}
@keyframes scrollBounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50%       { transform: translateX(-50%) translateY(6px); }
}

/* Hero category tabs */
.hero-tabs {
    position: absolute;
    bottom: 80px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    gap: 8px;
}
.hero-tab {
    background: rgba(255,255,255,.12);
    border: 1px solid rgba(255,255,255,.25);
    color: rgba(255,255,255,.8);
    padding: 8px 18px;
    border-radius: var(--radius-full);
    font-size: .78rem;
    font-weight: 500;
    transition: var(--transition);
    backdrop-filter: blur(6px);
    cursor: pointer;
    text-decoration: none;
}
.hero-tab:hover, .hero-tab.active {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--white);
}

/* ─── Section spacing ────────────────────────────────────────── */
.section { padding: 80px 0; }
.section-sm { padding: 48px 0; }
.section-lg { padding: 110px 0; }
.section-bg { background: var(--gray-50); }
.section-sand { background: var(--sand); }
.section-earth { background: var(--earth); color: var(--white); }

/* ─── Stats Bar ──────────────────────────────────────────────── */
.stats-bar {
    background: linear-gradient(135deg, var(--earth), var(--earth-mid));
    padding: 48px 0;
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
}
.stat-item {
    text-align: center;
    padding: 24px;
    border-right: 1px solid rgba(255,255,255,.1);
}
.stat-item:last-child { border-right: none; }
.stat-number {
    font-family: 'Playfair Display', serif;
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--gold-light);
    line-height: 1;
    margin-bottom: 6px;
}
.stat-number .suffix { font-size: 1.8rem; }
.stat-label {
    font-size: .8rem;
    font-weight: 500;
    color: rgba(255,255,255,.65);
    letter-spacing: .05em;
    text-transform: uppercase;
}

/* ─── Tour Cards ─────────────────────────────────────────────── */
.tours-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.tour-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid var(--gray-200);
    display: flex;
    flex-direction: column;
}
.tour-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.tour-card-img {
    position: relative;
    aspect-ratio: 16/10;
    overflow: hidden;
}
.tour-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s ease;
}
.tour-card:hover .tour-card-img img { transform: scale(1.06); }

.tour-card-badge {
    position: absolute;
    top: 14px;
    left: 14px;
}
.tour-card-price-tag {
    position: absolute;
    bottom: 14px;
    right: 14px;
    background: var(--earth);
    color: var(--gold-light);
    padding: 6px 14px;
    border-radius: var(--radius-full);
    font-family: 'Playfair Display', serif;
    font-size: .9rem;
    font-weight: 700;
    backdrop-filter: blur(8px);
}
.tour-card-price-tag small { font-size: .68rem; font-weight: 400; color: rgba(255,255,255,.65); }

.tour-card-body {
    padding: 22px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.tour-card-meta {
    display: flex;
    gap: 16px;
    margin-bottom: 10px;
    flex-wrap: wrap;
}
.tour-meta-item {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: .78rem;
    color: var(--gray-600);
}
.tour-meta-item i { color: var(--gold); font-size: .75rem; }

.tour-card-body h3 {
    font-size: 1.1rem;
    margin-bottom: 8px;
    color: var(--earth);
    transition: color .2s;
}
.tour-card:hover .tour-card-body h3 { color: var(--gold-dark); }

.tour-card-body p {
    font-size: .875rem;
    color: var(--gray-600);
    line-height: 1.6;
    margin-bottom: 16px;
    flex: 1;
}

.tour-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 16px;
    border-top: 1px solid var(--gray-200);
    gap: 12px;
}

.tour-rating {
    display: flex;
    align-items: center;
    gap: 4px;
}
.stars { color: var(--gold); font-size: .78rem; }
.rating-text { font-size: .78rem; color: var(--gray-600); }

/* ─── Section header ─────────────────────────────────────────── */
.section-header {
    margin-bottom: 48px;
}
.section-header.center { text-align: center; }
.section-header.center .section-label { justify-content: center; }
.section-header.center .section-subtitle { margin: 0 auto; }

/* ─── Featured Tours ─────────────────────────────────────────── */
.featured-tours .section-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
}

/* ─── Destinations Showcase ──────────────────────────────────── */
.destinations { background: var(--sand); }

.dest-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 40px;
    border-bottom: 2px solid var(--gray-200);
    padding-bottom: 0;
}
.dest-tab {
    padding: 12px 28px;
    border-radius: var(--radius-full) var(--radius-full) 0 0;
    font-weight: 600;
    font-size: .9rem;
    color: var(--gray-600);
    cursor: pointer;
    border: 2px solid transparent;
    border-bottom: none;
    transition: var(--transition);
    background: transparent;
    margin-bottom: -2px;
}
.dest-tab.active, .dest-tab:hover {
    background: var(--white);
    color: var(--gold-dark);
    border-color: var(--gray-200) var(--gray-200) var(--white);
}
.dest-tab.active { color: var(--gold-dark); }

.dest-panel { display: none; }
.dest-panel.active { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }

.dest-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    aspect-ratio: 4/3;
}
.dest-image img { width: 100%; height: 100%; object-fit: cover; }

.dest-info .section-label { justify-content: flex-start; }
.dest-info h2 { margin-bottom: 16px; }
.dest-info p { font-size: 1rem; color: var(--gray-600); margin-bottom: 24px; line-height: 1.7; }

.dest-highlights {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 28px;
}
.dest-highlight-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: .875rem;
    font-weight: 500;
}
.dest-highlight-item i {
    width: 28px;
    height: 28px;
    background: var(--gold-pale);
    color: var(--gold-dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .7rem;
    flex-shrink: 0;
}

/* ─── Why Choose Us ──────────────────────────────────────────── */
.why-us { background: var(--white); }

.why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
}
.why-card {
    text-align: center;
    padding: 36px 24px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-200);
    transition: var(--transition);
    background: var(--white);
}
.why-card:hover {
    border-color: var(--gold);
    box-shadow: var(--shadow-gold);
    transform: translateY(-4px);
}
.why-icon {
    width: 68px;
    height: 68px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--gold-pale), var(--sand-dark));
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--gold);
    transition: var(--transition);
}
.why-card:hover .why-icon {
    background: var(--gold);
    color: var(--white);
}
.why-card h4 { margin-bottom: 10px; }
.why-card p { font-size: .875rem; color: var(--gray-600); line-height: 1.6; }

/* ─── Testimonials ───────────────────────────────────────────── */
.testimonials { background: var(--sand); }

.testimonials-track {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.testimonial-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: var(--shadow-sm);
    position: relative;
}
.testimonial-card::before {
    content: '\201C';
    font-family: Georgia, serif;
    font-size: 5rem;
    line-height: 1;
    color: var(--gold-pale);
    position: absolute;
    top: 12px;
    left: 24px;
}
.testimonial-stars { color: var(--gold); margin-bottom: 12px; font-size: .85rem; }
.testimonial-text {
    font-size: .9rem;
    color: var(--gray-600);
    line-height: 1.7;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}
.testimonial-author {
    display: flex;
    align-items: center;
    gap: 14px;
    border-top: 1px solid var(--gray-200);
    padding-top: 16px;
}
.testimonial-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gold), var(--ocean));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 700;
    font-size: 1rem;
    flex-shrink: 0;
}
.testimonial-name {
    font-weight: 600;
    font-size: .9rem;
    color: var(--earth);
}
.testimonial-country {
    font-size: .78rem;
    color: var(--gray-400);
}

/* ─── CTA Banner ─────────────────────────────────────────────── */
.cta-banner {
    background: linear-gradient(135deg, var(--earth) 0%, var(--earth-mid) 40%, var(--ocean-dark) 100%);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
    text-align: center;
    color: var(--white);
}
.cta-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('/assets/images/logo.png') center/120px repeat;
    opacity: 0.04;
    filter: grayscale(100%);
    pointer-events: none;
}
.cta-banner .container { position: relative; z-index: 1; }
.cta-banner h2 { color: var(--white); font-size: clamp(1.8rem,3.5vw,2.8rem); margin-bottom: 16px; }
.cta-banner p { font-size: 1.05rem; color: rgba(255,255,255,.8); margin-bottom: 36px; max-width: 580px; margin-left: auto; margin-right: auto; }
.cta-banner-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ─── Gallery Preview ────────────────────────────────────────── */
.gallery-preview { background: var(--gray-50); }

.gallery-masonry {
    columns: 3;
    column-gap: 16px;
}
.gallery-item {
    break-inside: avoid;
    margin-bottom: 16px;
    border-radius: var(--radius);
    overflow: hidden;
    position: relative;
    cursor: pointer;
}
.gallery-item img {
    width: 100%;
    display: block;
    transition: transform .4s ease;
}
.gallery-item:hover img { transform: scale(1.04); }
.gallery-item-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(30,43,56,.7) 0%, transparent 60%);
    opacity: 0;
    transition: opacity .3s;
    display: flex;
    align-items: flex-end;
    padding: 16px;
}
.gallery-item:hover .gallery-item-overlay { opacity: 1; }
.gallery-item-overlay p {
    color: var(--white);
    font-size: .82rem;
    font-weight: 500;
}
.gallery-zoom {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
    background: rgba(255,255,255,.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: .8rem;
    backdrop-filter: blur(4px);
    opacity: 0;
    transition: opacity .3s;
}
.gallery-item:hover .gallery-zoom { opacity: 1; }

/* Full gallery filters */
.gallery-filters {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 36px;
}
.filter-btn {
    padding: 8px 20px;
    border-radius: var(--radius-full);
    border: 2px solid var(--gray-200);
    background: var(--white);
    color: var(--gray-600);
    font-size: .82rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}
.filter-btn:hover,
.filter-btn.active {
    border-color: var(--gold);
    color: var(--gold-dark);
    background: var(--gold-pale);
}

/* ─── Tours Page ─────────────────────────────────────────────── */
.tours-page-header {
    background: linear-gradient(135deg, var(--earth), var(--earth-mid));
    padding: 60px 0;
    color: var(--white);
}
.tours-page-header h1 { color: var(--white); }
.tours-page-header p { color: rgba(255,255,255,.75); margin-top: 10px; }

.tours-toolbar {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    align-items: center;
    margin-bottom: 36px;
    padding: 20px;
    background: var(--white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-200);
    box-shadow: var(--shadow-sm);
}
.tours-toolbar-label { font-size: .78rem; font-weight: 600; color: var(--gray-600); white-space: nowrap; }
.tours-filters { display: flex; gap: 8px; flex-wrap: wrap; flex: 1; }

/* ─── Tour Detail Page ───────────────────────────────────────── */
.tour-detail-hero {
    height: 60vh;
    min-height: 420px;
    position: relative;
    overflow: hidden;
}
.tour-detail-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.tour-detail-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(30,43,56,.75) 0%, transparent 60%);
}
.tour-detail-hero-info {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 1200px;
    padding: 0 24px;
    color: var(--white);
}
.tour-detail-hero-info h1 { color: var(--white); margin-bottom: 12px; }
.tour-detail-meta {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}
.tour-detail-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: .85rem;
    color: rgba(255,255,255,.85);
}
.tour-detail-meta i { color: var(--gold-light); }

.tour-detail-body {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 40px;
    padding: 60px 0;
}

.tour-detail-content { min-width: 0; }
.tour-detail-content h2 { margin: 36px 0 16px; font-size: 1.4rem; color: var(--earth); }
.tour-detail-content h2:first-child { margin-top: 0; }
.tour-detail-content p { color: var(--gray-600); line-height: 1.75; margin-bottom: 16px; }

.highlights-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 24px;
}
.highlight-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: .875rem;
}
.highlight-item i { color: var(--green); font-size: .8rem; }

.itinerary-item {
    display: flex;
    gap: 20px;
    padding: 20px 0;
    border-bottom: 1px solid var(--gray-200);
}
.itinerary-item:last-child { border-bottom: none; }
.itinerary-day {
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    background: var(--gold-pale);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
}
.itinerary-day strong { font-size: .7rem; font-weight: 700; color: var(--gold-dark); display: block; }
.itinerary-day span { font-size: 1rem; font-weight: 700; color: var(--earth); }
.itinerary-info h4 { margin-bottom: 6px; color: var(--earth); }
.itinerary-info p { font-size: .875rem; color: var(--gray-600); margin: 0; }

.included-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}
.included-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: .875rem;
    padding: 8px;
    border-radius: 8px;
    background: var(--gray-50);
}
.included-item.yes i { color: var(--green); }
.included-item.no i { color: #EF4444; }

/* Booking sidebar */
.booking-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-200);
    box-shadow: var(--shadow);
    position: sticky;
    top: calc(var(--nav-h) + 24px);
    overflow: hidden;
}
.booking-card-header {
    background: linear-gradient(135deg, var(--earth), var(--earth-mid));
    padding: 24px;
    color: var(--white);
    text-align: center;
}
.booking-price {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--gold-light);
}
.booking-price small { font-size: .75rem; color: rgba(255,255,255,.6); font-family: 'Inter',sans-serif; font-weight: 400; }
.booking-card-body { padding: 24px; }
.booking-meta { margin-bottom: 20px; }
.booking-meta-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid var(--gray-200);
    font-size: .875rem;
}
.booking-meta-row:last-child { border-bottom: none; }
.booking-meta-row span:first-child { color: var(--gray-600); }
.booking-meta-row strong { color: var(--earth); }

/* ─── Contact / Forms ────────────────────────────────────────── */

/* Faint logo watermark behind contact section */
.contact-page .section {
    position: relative;
    overflow: hidden;
}
.contact-page .section::before {
    content: '';
    position: absolute;
    right: -60px;
    top: 50%;
    transform: translateY(-50%);
    width: 480px;
    height: 480px;
    background: url('/assets/images/logo.png') center/contain no-repeat;
    opacity: 0.045;
    filter: grayscale(100%);
    pointer-events: none;
    z-index: 0;
}
.contact-page .section .container { position: relative; z-index: 1; }

/* Zanzibar island silhouette behind page-hero */
.page-hero {
    position: relative;
    overflow: hidden;
}
.page-hero::before {
    content: '';
    position: absolute;
    right: 5%;
    bottom: -20px;
    width: 320px;
    height: 260px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 320 260'%3E%3Cpath d='M160 10 C185 12 215 22 238 42 C258 60 268 85 272 110 C276 135 270 158 258 176 C248 192 232 202 220 216 C208 230 200 248 185 252 C170 256 152 250 138 240 C122 230 108 214 96 198 C82 180 68 162 58 142 C46 120 40 96 44 74 C48 52 62 34 80 22 C100 10 132 8 160 10 Z' fill='%23ffffff' fill-opacity='0.06'/%3E%3Cpath d='M200 30 C215 35 225 48 228 62 C230 72 226 82 220 90 C214 98 206 102 200 108 C194 114 190 122 186 130 C180 140 172 148 162 150 C152 152 140 148 132 140 C122 132 116 120 114 108 C112 96 116 84 122 74 C128 64 136 56 146 50 C158 42 180 24 200 30 Z' fill='%23ffffff' fill-opacity='0.04'/%3E%3C/svg%3E") center/contain no-repeat;
    pointer-events: none;
    opacity: 0.7;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 60px;
    align-items: start;
}

.contact-info h2 { margin-bottom: 14px; }
.contact-info p { color: var(--gray-600); margin-bottom: 32px; }

.contact-method {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    margin-bottom: 24px;
}
.contact-method-icon {
    width: 44px;
    height: 44px;
    background: var(--gold-pale);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    font-size: 1rem;
    flex-shrink: 0;
}
.contact-method-text h4 { font-size: .9rem; margin-bottom: 4px; }
.contact-method-text p { font-size: .875rem; color: var(--gray-600); margin: 0; }
.contact-method-text a { color: var(--ocean); }
.contact-method-text a:hover { color: var(--ocean-dark); }

/* Form */
.form-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-200);
    padding: 36px;
    box-shadow: var(--shadow);
}
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}
.form-group {
    margin-bottom: 20px;
    position: relative;
}
.form-label {
    display: block;
    font-size: .82rem;
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: 7px;
}
.form-label span { color: var(--coral); }
.form-control {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid var(--gray-200);
    border-radius: var(--radius);
    font-size: .9rem;
    color: var(--earth);
    background: var(--white);
    transition: border-color .2s, box-shadow .2s;
    outline: none;
}
.form-control:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(79,168,184,.15);
}
.form-control::placeholder { color: var(--gray-400); }
textarea.form-control { resize: vertical; min-height: 120px; }
select.form-control { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%236B6560'%3E%3Cpath fill-rule='evenodd' d='M5.23 7.21a.75.75 0 011.06.02L10 11.168l3.71-3.938a.75.75 0 111.08 1.04l-4.25 4.5a.75.75 0 01-1.08 0l-4.25-4.5a.75.75 0 01.02-1.06z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 18px; padding-right: 40px; }

.form-note { font-size: .78rem; color: var(--gray-400); margin-top: 6px; }

.form-success {
    display: none;
    background: rgba(22,101,52,.08);
    border: 1px solid rgba(22,101,52,.3);
    border-radius: var(--radius);
    padding: 16px 20px;
    color: var(--green);
    font-size: .9rem;
    font-weight: 500;
    margin-bottom: 20px;
    gap: 10px;
    align-items: center;
}
.form-success.show { display: flex; }
.form-error-msg {
    font-size: .78rem;
    color: #EF4444;
    margin-top: 5px;
    display: none;
}
.form-control.error { border-color: #EF4444; }
.form-control.error + .form-error-msg { display: block; }

/* ─── About Page ─────────────────────────────────────────────── */
.about-hero {
    background: linear-gradient(135deg, var(--earth), var(--earth-mid));
    padding: 80px 0;
    text-align: center;
    color: var(--white);
}
.about-hero h1 { color: var(--white); }
.about-hero p { color: rgba(255,255,255,.75); margin-top: 14px; max-width: 560px; margin-left: auto; margin-right: auto; }

.about-story {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}
.about-story img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.team-card {
    text-align: center;
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--gray-200);
    transition: var(--transition);
}
.team-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.team-avatar {
    aspect-ratio: 1;
    overflow: hidden;
    background: var(--sand);
}
.team-avatar img { width: 100%; height: 100%; object-fit: cover; }
.team-info { padding: 16px; }
.team-info h4 { font-family: 'Playfair Display',serif; margin-bottom: 4px; }
.team-info p { font-size: .78rem; color: var(--gold-dark); font-weight: 500; margin-bottom: 8px; }
.team-info small { font-size: .75rem; color: var(--gray-600); }

/* ─── Page Hero (inner pages) ────────────────────────────────── */
.page-hero {
    background: linear-gradient(135deg, var(--earth) 0%, var(--earth-mid) 60%, var(--ocean-dark) 100%);
    padding: 64px 0;
    text-align: center;
    color: var(--white);
}
.page-hero h1 { color: var(--white); font-size: clamp(1.8rem,3vw,2.6rem); }
.page-hero p { color: rgba(255,255,255,.75); margin-top: 12px; font-size: 1rem; }

/* Breadcrumbs */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: .78rem;
    color: rgba(255,255,255,.6);
    justify-content: center;
    margin-top: 16px;
}
.breadcrumb a { color: rgba(255,255,255,.7); transition: color .2s; }
.breadcrumb a:hover { color: var(--gold-light); }
.breadcrumb i { font-size: .6rem; }

/* ─── Newsletter Strip ───────────────────────────────────────── */
.newsletter-strip {
    background: var(--gold);
    padding: 40px 0;
}
.newsletter-strip .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    flex-wrap: wrap;
}
.newsletter-text h3 { color: var(--white); margin-bottom: 4px; }
.newsletter-text p  { color: rgba(255,255,255,.85); font-size: .9rem; }
.newsletter-form {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}
.newsletter-form input {
    padding: 12px 20px;
    border-radius: var(--radius-full);
    border: 2px solid rgba(255,255,255,.3);
    background: rgba(255,255,255,.15);
    color: var(--white);
    min-width: 260px;
    outline: none;
    font-size: .9rem;
    backdrop-filter: blur(4px);
    transition: border-color .2s;
}
.newsletter-form input::placeholder { color: rgba(255,255,255,.7); }
.newsletter-form input:focus { border-color: var(--white); }
.newsletter-form .btn { background: var(--earth); color: var(--white); border-color: var(--earth); }
.newsletter-form .btn:hover { background: var(--earth-mid); }

/* ─── WhatsApp float & Back-to-top ───────────────────────────── */
.wa-float {
    position: fixed;
    bottom: 88px;
    right: 24px;
    width: 52px;
    height: 52px;
    background: #25D366;
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    box-shadow: 0 4px 20px rgba(37,211,102,.45);
    z-index: 900;
    transition: var(--transition);
}
.wa-float:hover { transform: scale(1.1); background: #1ebe57; }

.back-to-top {
    position: fixed;
    bottom: 28px;
    right: 24px;
    width: 44px;
    height: 44px;
    background: var(--earth);
    color: var(--white);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .85rem;
    z-index: 900;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
}
.back-to-top.show { opacity: 1; pointer-events: auto; }
.back-to-top:hover { background: var(--gold); }

/* ─── Lightbox ───────────────────────────────────────────────── */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.94);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    pointer-events: none;
    transition: opacity .3s;
}
.lightbox.open { opacity: 1; pointer-events: auto; }
.lightbox-img {
    max-width: 90vw;
    max-height: 88vh;
    border-radius: var(--radius);
    box-shadow: 0 0 60px rgba(0,0,0,.5);
}
.lightbox-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255,255,255,.15);
    color: var(--white);
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    font-size: 1.1rem;
    cursor: pointer;
    transition: background .2s;
    display: flex;
    align-items: center;
    justify-content: center;
}
.lightbox-close:hover { background: rgba(255,255,255,.3); }
.lightbox-caption {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255,255,255,.8);
    font-size: .85rem;
    text-align: center;
    background: rgba(0,0,0,.5);
    padding: 8px 20px;
    border-radius: var(--radius-full);
    backdrop-filter: blur(4px);
}

/* ─── Footer ─────────────────────────────────────────────────── */
.footer { background: var(--earth); }

.footer-top { padding: 64px 0; }

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
    gap: 48px;
}

.footer-logo {
    display: inline-flex;
    text-decoration: none;
    margin-bottom: 16px;
}
.footer-logo-img {
    height: 72px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 2px 8px rgba(0,0,0,0.35));
    transition: transform .25s ease;
}
.footer-logo:hover .footer-logo-img { transform: scale(1.05); }

.footer-brand p {
    font-size: .875rem;
    color: rgba(255,255,255,.55);
    line-height: 1.7;
    margin-bottom: 20px;
}

.footer-socials {
    display: flex;
    gap: 10px;
}
.footer-socials a {
    width: 36px;
    height: 36px;
    background: rgba(255,255,255,.08);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,.65);
    font-size: .85rem;
    transition: var(--transition);
}
.footer-socials a:hover { background: var(--gold); color: var(--white); }

.footer-col h4 {
    color: var(--white);
    font-size: .875rem;
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    letter-spacing: .05em;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.footer-col ul li {
    margin-bottom: 10px;
}
.footer-col ul li a {
    color: rgba(255,255,255,.55);
    font-size: .875rem;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: color .2s;
}
.footer-col ul li a i { font-size: .65rem; color: var(--gold); }
.footer-col ul li a:hover { color: var(--gold-light); }

.footer-contact li {
    color: rgba(255,255,255,.55);
    font-size: .875rem;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 12px;
}
.footer-contact li i { color: var(--gold); margin-top: 2px; width: 14px; flex-shrink: 0; }
.footer-contact li a { color: rgba(255,255,255,.55); }
.footer-contact li a:hover { color: var(--gold-light); }
.wa-link { color: #25D366 !important; font-weight: 500; }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.08);
    padding: 20px 0;
}
.footer-bottom .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
}
.footer-bottom p {
    font-size: .78rem;
    color: rgba(255,255,255,.35);
}

/* ─── Animations ─────────────────────────────────────────────── */
.fade-up {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity .6s ease, transform .6s ease;
}
.fade-up.in-view {
    opacity: 1;
    transform: translateY(0);
}
.fade-up:nth-child(2) { transition-delay: .1s; }
.fade-up:nth-child(3) { transition-delay: .2s; }
.fade-up:nth-child(4) { transition-delay: .3s; }
.fade-up:nth-child(5) { transition-delay: .4s; }
.fade-up:nth-child(6) { transition-delay: .5s; }

/* ─── Loading skeleton ───────────────────────────────────────── */
.skeleton {
    background: linear-gradient(90deg, var(--gray-200) 25%, var(--gray-100) 50%, var(--gray-200) 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: 6px;
}
@keyframes shimmer {
    from { background-position: 200% 0; }
    to   { background-position: -200% 0; }
}

/* ─── Utility ────────────────────────────────────────────────── */
.text-gold  { color: var(--gold); }
.text-ocean { color: var(--ocean); }
.text-center { text-align: center; }
.text-right  { text-align: right; }
.mt-auto { margin-top: auto; }
.mt-8  { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mb-8  { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-32 { margin-bottom: 32px; }
.gap-16 { gap: 16px; }
.flex { display: flex; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.d-none { display: none; }

/* Alert boxes */
.alert {
    padding: 14px 18px;
    border-radius: var(--radius);
    font-size: .875rem;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.alert-success { background: rgba(22,101,52,.08); border: 1px solid rgba(22,101,52,.25); color: var(--green); }
.alert-error   { background: rgba(239,68,68,.07);  border: 1px solid rgba(239,68,68,.25);  color: #DC2626; }
.alert-info    { background: var(--ocean-pale);     border: 1px solid var(--ocean-light);   color: var(--ocean-dark); }

/* Empty state */
.empty-state {
    text-align: center;
    padding: 64px 24px;
    color: var(--gray-600);
}
.empty-state i { font-size: 3rem; color: var(--gray-200); margin-bottom: 16px; }
.empty-state h3 { margin-bottom: 8px; color: var(--gray-800); }

/* ─── Pagination ─────────────────────────────────────────────── */
.pagination {
    display: flex;
    gap: 6px;
    justify-content: center;
    margin-top: 48px;
}
.page-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius);
    border: 1.5px solid var(--gray-200);
    color: var(--gray-600);
    font-size: .875rem;
    font-weight: 500;
    transition: var(--transition);
    text-decoration: none;
}
.page-link:hover { border-color: var(--gold); color: var(--gold); }
.page-link.active { background: var(--gold); border-color: var(--gold); color: var(--white); }

/* ─── Responsive ─────────────────────────────────────────────── */

/* ── Large tablet (≤1024px) ── */
@media (max-width: 1024px) {
    .tours-grid           { grid-template-columns: repeat(2, 1fr); }
    .why-grid             { grid-template-columns: repeat(2, 1fr); }
    .testimonials-track   { grid-template-columns: 1fr 1fr; }
    .team-grid            { grid-template-columns: repeat(2, 1fr); }
    .footer-grid          { grid-template-columns: 1fr 1fr; row-gap: 32px; }
    .dest-panel.active    { grid-template-columns: 1fr; }
    .stats-grid           { grid-template-columns: repeat(2, 1fr); }
    .tour-detail-body     { grid-template-columns: 1fr; }
    .booking-card         { position: static; }
    .contact-grid         { grid-template-columns: 1fr; }
    .about-story          { grid-template-columns: 1fr; }
    .gallery-masonry      { columns: 2; }
    .highlights-list      { grid-template-columns: 1fr; }
    .included-grid        { grid-template-columns: 1fr; }
}

/* ── Tablet portrait (≤768px) ── */
@media (max-width: 768px) {
    :root { --nav-h: 72px; --topbar-h: 0px; }

    .topbar { display: none; }

    /* Nav — mobile drawer */
    .nav-toggle { display: flex; }
    .nav-links {
        position: fixed;
        top: var(--nav-h);
        left: 0;
        right: 0;
        background: var(--white);
        border-top: 1px solid var(--gray-200);
        flex-direction: column;
        align-items: stretch;
        padding: 10px 12px 20px;
        gap: 2px;
        transform: translateY(-110%);
        opacity: 0;
        transition: transform .3s ease, opacity .3s ease;
        box-shadow: var(--shadow-lg);
        z-index: 999;
        max-height: calc(100dvh - var(--nav-h));
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }
    .nav-links.open { transform: translateY(0); opacity: 1; }
    .nav-links > li > a {
        padding: 13px 16px;
        font-size: .95rem;
        min-height: 48px;
        border-radius: var(--radius);
    }
    /* Mobile dropdowns — inline accordion */
    .dropdown {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        background: var(--gray-50);
        border-radius: var(--radius);
        margin: 4px 0 6px;
        padding-top: 4px;
        display: none;
        pointer-events: auto;
    }
    .has-dropdown.open .dropdown { display: block; }
    .dropdown li a { min-height: 44px; padding: 10px 16px !important; font-size: .9rem !important; }

    /* Language switcher — full-width in mobile menu */
    .lang-switcher > a.lang-toggle-btn {
        width: 100%;
        border-radius: var(--radius) !important;
        padding: 13px 16px !important;
        min-height: 48px;
        justify-content: space-between;
    }
    .lang-dropdown {
        position: static !important;
        transform: none !important;
        opacity: 1 !important;
        visibility: visible !important;
        min-width: auto !important;
        left: auto !important;
        right: auto !important;
        box-shadow: none !important;
        border: none !important;
        background: var(--gray-50) !important;
        margin: 4px 0 6px;
    }
    .lang-dropdown a { min-height: 44px; font-size: .9rem !important; }

    /* Sections */
    .section    { padding: 48px 0; }
    .section-sm { padding: 30px 0; }
    .section-lg { padding: 60px 0; }
    .section-header { margin-bottom: 32px; }

    /* Hero */
    .hero { min-height: 88vh; min-height: 88svh; }
    .hero-bg { background-attachment: scroll; } /* iOS Safari fix */
    .hero-content { padding: 56px 20px 80px; }
    .hero-tabs  { display: none; }
    .hero-scroll { bottom: 20px; }

    /* Stats bar */
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .stat-item  { padding: 20px 16px; }

    /* Tour cards */
    .tours-grid { grid-template-columns: 1fr; gap: 20px; }
    .featured-tours .section-header { flex-direction: column; align-items: flex-start; gap: 14px; }

    /* Destinations */
    .dest-tabs { gap: 4px; overflow-x: auto; flex-wrap: nowrap; padding-bottom: 2px; }
    .dest-tab  { padding: 10px 18px; font-size: .85rem; white-space: nowrap; flex-shrink: 0; }
    .dest-highlights { grid-template-columns: 1fr 1fr; }

    /* Why us */
    .why-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }

    /* Testimonials */
    .testimonials-track { grid-template-columns: 1fr; gap: 16px; }

    /* Gallery */
    .gallery-masonry { columns: 2; }
    .gallery-filters { gap: 8px; }
    .filter-btn { padding: 7px 14px; font-size: .78rem; }

    /* Tours page */
    .tours-toolbar { padding: 14px 16px; gap: 10px; }
    .tours-toolbar-label { display: none; }
    .tours-filters { overflow-x: auto; flex-wrap: nowrap; padding-bottom: 4px; }
    .tours-filters .filter-btn { white-space: nowrap; flex-shrink: 0; }

    /* Tour detail page */
    .tour-detail-hero { height: 46vh; min-height: 280px; }
    .tour-detail-hero-info { bottom: 24px; }
    .tour-detail-body { padding: 32px 0; gap: 28px; }

    /* Page heroes */
    .page-hero          { padding: 44px 0; }
    .tours-page-header  { padding: 40px 0; }
    .about-hero         { padding: 48px 0; }

    /* Contact form card */
    .form-row  { grid-template-columns: 1fr; gap: 0; }
    .form-card { padding: 24px 20px; }

    /* Newsletter */
    .newsletter-strip .container { flex-direction: column; text-align: center; gap: 20px; }
    .newsletter-form { flex-direction: column; width: 100%; }
    .newsletter-form input { min-width: auto; width: 100%; }

    /* Footer */
    .footer-grid  { grid-template-columns: 1fr; gap: 24px; }
    .footer-top   { padding: 44px 0; }
    .footer-bottom .container { flex-direction: column; text-align: center; gap: 8px; }

    /* Team */
    .team-grid { grid-template-columns: 1fr 1fr; }

    /* Float buttons — positions set by bottom-nav block above */
    .back-to-top { width: 46px; height: 46px; right: 12px; }
}

/* ── Small mobile (≤480px) ── */
@media (max-width: 480px) {
    :root { --nav-h: 60px; }

    img.logo-img { height: 42px !important; }
    .container { padding: 0 16px; }

    /* Hero */
    .hero { min-height: 85vh; min-height: 85svh; }
    .hero-content { padding: 44px 16px 72px; }
    .hero-content p { font-size: .95rem; }
    .hero-cta { flex-direction: column; gap: 10px; }
    .hero-cta .btn { width: 100%; justify-content: center; }
    .hero-tag { font-size: .7rem; padding: 5px 14px; }

    /* Sections */
    .section    { padding: 36px 0; }
    .section-sm { padding: 24px 0; }
    .section-lg { padding: 48px 0; }
    .section-header { margin-bottom: 24px; }

    /* Stats */
    .stats-grid  { grid-template-columns: repeat(2, 1fr); }
    .stat-number { font-size: 2rem; }
    .stat-item   { padding: 18px 10px; }

    /* Why us */
    .why-grid { grid-template-columns: 1fr; gap: 14px; }
    .why-card { padding: 24px 20px; }

    /* Tour cards */
    .tour-card-body { padding: 16px; }

    /* Gallery */
    .gallery-masonry { columns: 1; }

    /* Team */
    .team-grid { grid-template-columns: 1fr; }

    /* CTA Banner */
    .cta-banner { padding: 48px 0; }
    .cta-banner-btns { flex-direction: column; align-items: stretch; gap: 10px; }
    .cta-banner-btns .btn { justify-content: center; }

    /* Tour detail */
    .tour-detail-hero { height: 40vh; min-height: 240px; }
    .tour-detail-hero-info { bottom: 16px; }
    .itinerary-item { gap: 12px; }
    .itinerary-day  { flex-direction: row; width: auto; height: auto; padding: 6px 12px; gap: 8px; }
    .included-grid  { grid-template-columns: 1fr; }
    .highlights-list { grid-template-columns: 1fr; }

    /* Booking card */
    .booking-card-header { padding: 18px 16px; }
    .booking-card-body   { padding: 16px; }
    .booking-price { font-size: 1.7rem; }

    /* Page heroes */
    .page-hero          { padding: 32px 0; }
    .about-hero         { padding: 36px 0; }
    .tours-page-header  { padding: 32px 0; }

    /* Footer */
    .footer-top { padding: 36px 0; }

    /* Back-to-top (WA float hidden by bottom nav CSS) */
    .back-to-top { width: 48px; height: 48px; right: 12px; }

    /* Breadcrumb */
    .breadcrumb { flex-wrap: wrap; justify-content: center; }

    /* Testimonial */
    .testimonial-card { padding: 24px 20px; }

    /* Form */
    .form-card { padding: 20px 16px; }
    .form-control { padding: 11px 14px; }

    /* Newsletter */
    .newsletter-strip { padding: 32px 0; }
    .newsletter-form .btn { width: 100%; justify-content: center; }
}

/* ── Very small (≤360px) ── */
@media (max-width: 360px) {
    img.logo-img { height: 46px !important; }
    .stat-number  { font-size: 1.8rem; }
    .hero-tag     { display: none; }
    .dest-tab     { padding: 8px 12px; font-size: .76rem; }
    .why-icon     { width: 56px; height: 56px; font-size: 1.25rem; }
    .btn-lg       { padding: 13px 24px; font-size: .9rem; }
}

/* ─── Bottom Navigation Bar ──────────────────────────────────── */
.bottom-nav {
    display: none; /* hidden on desktop */
}

@media (max-width: 768px) {
    /* Show bottom nav */
    .bottom-nav {
        display: flex;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 1100;
        background: var(--white);
        border-top: 1px solid var(--gray-200);
        box-shadow: 0 -4px 24px rgba(30,43,56,.12);
        height: calc(var(--bottom-nav-h) + var(--safe-b));
        padding-bottom: var(--safe-b);
        align-items: stretch;
    }

    /* Body padding so footer isn't hidden behind bottom nav */
    body { padding-bottom: calc(var(--bottom-nav-h) + var(--safe-b)); }

    /* Each tab */
    .bottom-nav-item {
        flex: 1;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 3px;
        padding: 6px 4px;
        color: var(--gray-400);
        font-size: .58rem;
        font-weight: 600;
        letter-spacing: .04em;
        text-transform: uppercase;
        text-decoration: none;
        position: relative;
        transition: color .18s;
        -webkit-tap-highlight-color: transparent;
        user-select: none;
    }
    .bottom-nav-item i {
        font-size: 1.3rem;
        line-height: 1;
        transition: transform .18s;
    }
    .bottom-nav-item:active i { transform: scale(.88); }

    /* Active tab indicator */
    .bottom-nav-item.active { color: var(--gold); }
    .bottom-nav-item.active::before {
        content: '';
        position: absolute;
        top: 0;
        left: 50%;
        transform: translateX(-50%);
        width: 32px;
        height: 3px;
        background: var(--gold);
        border-radius: 0 0 4px 4px;
    }

    /* Slide away on scroll-down */
    .bottom-nav { transition: transform .28s cubic-bezier(.4,0,.2,1); }
    .bottom-nav.hidden { transform: translateY(100%); }

    /* Hide the desktop WA float on mobile — it's in the bottom nav */
    .wa-float { display: none; }

    /* Back-to-top sits above the bottom nav */
    .back-to-top {
        bottom: calc(var(--bottom-nav-h) + var(--safe-b) + 12px);
        right: 12px;
    }
}

/* ─── Language Switcher ───────────────────────────────────────── */
.lang-switcher > a.lang-toggle-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    padding: 6px 12px !important;
    border-radius: var(--radius-full);
    border: 1.5px solid var(--gray-200);
    background: var(--white);
    transition: border-color .2s, background .2s;
    user-select: none;
    color: var(--gray-800) !important;
}
.lang-switcher > a.lang-toggle-btn:hover {
    border-color: var(--gold);
    background: var(--gold-pale);
    color: var(--gold-dark) !important;
}
.lang-flag  { font-size: 1.15rem; line-height: 1; }
.lang-name  { font-size: .78rem; font-weight: 600; letter-spacing: .02em; }
.lang-dropdown {
    min-width: 175px !important;
    left: auto !important;
    right: 0 !important;
}
.lang-dropdown a {
    display: flex !important;
    align-items: center;
    gap: 10px;
    padding: 10px 14px !important;
    font-size: .875rem !important;
    border-radius: 6px;
}
.lang-dropdown a.active {
    color: var(--gold-dark) !important;
    font-weight: 600;
    background: var(--gold-pale);
}
.lang-dropdown a span { font-size: 1.15rem; line-height: 1; }

/* ─── RTL / Arabic Support ────────────────────────────────────── */
[dir="rtl"] body { text-align: right; }
[dir="rtl"] .nav-inner { flex-direction: row-reverse; }
[dir="rtl"] .nav-links { margin-right: auto; margin-left: 0; }
[dir="rtl"] .dropdown { left: auto; right: 0; }
[dir="rtl"] .hero-content { text-align: right; }
[dir="rtl"] .hero-cta { justify-content: flex-start; flex-direction: row-reverse; }
[dir="rtl"] .section-label { justify-content: flex-end; }
[dir="rtl"] .section-header { text-align: right; }
[dir="rtl"] .section-header.center,
[dir="rtl"] .section-header.center .section-label { justify-content: center; text-align: center; }
[dir="rtl"] .tour-card-meta { direction: rtl; }
[dir="rtl"] .tour-card-footer { flex-direction: row-reverse; }
[dir="rtl"] .dest-info { text-align: right; }
[dir="rtl"] .dest-highlight-item { flex-direction: row-reverse; justify-content: flex-end; }
[dir="rtl"] .why-card { text-align: right; }
[dir="rtl"] .testimonial-author { flex-direction: row-reverse; }
[dir="rtl"] .footer-col ul li a { flex-direction: row-reverse; }
[dir="rtl"] .footer-bottom .container { flex-direction: row-reverse; }
[dir="rtl"] .breadcrumb { flex-direction: row-reverse; }
[dir="rtl"] .contact-method { flex-direction: row-reverse; text-align: right; }
[dir="rtl"] .form-group label { text-align: right; }
[dir="rtl"] .booking-meta-row { flex-direction: row-reverse; }
[dir="rtl"] .topbar-inner { flex-direction: row-reverse; }
[dir="rtl"] .wa-float { right: auto; left: 24px; }
[dir="rtl"] .back-to-top { right: auto; left: 24px; }
[dir="rtl"] .tour-detail-meta { flex-direction: row-reverse; flex-wrap: wrap; }
[dir="rtl"] .itinerary-item { flex-direction: row-reverse; }
[dir="rtl"] .bottom-nav { flex-direction: row-reverse; }
[dir="rtl"] .bottom-nav-item.active::before { left: auto; right: 50%; transform: translateX(50%); }
[dir="rtl"] .highlight-item { flex-direction: row-reverse; }
