/* ============================================
   Zanzibar Travel Hub — Main Stylesheet
   Ocean Blue Theme — International Standard
   ============================================ */

/* Google Fonts is loaded from layouts/app.blade.php's own <link> tag,
   not from here. This file used to @import the same family a second
   time (with a slightly wider weight list) — a CSS @import is only
   discovered once the browser has already fetched *and* parsed this
   file, so it can't be found by the preload scanner the way an HTML
   <link> can, making it a genuinely slower, chained duplicate request
   for (mostly) the same font, not a harmless redundancy. Found live
   via Lighthouse flagging two separate fonts.googleapis.com requests
   with overlapping-but-different query strings. Fixed by merging the
   one weight this @import added (Cormorant Garamond regular, non-
   italic 400) into that single <link> instead, so there's exactly one
   Google Fonts request again. */

:root {
    --ocean:       #0077b6;
    --ocean-dark:  #023e8a;
    --ocean-mid:   #0096c7;
    --ocean-light: #48cae4;
    --ocean-pale:  #caf0f8;
    --sand:        #f4e4c1;
    --sand-dark:   #e9c46a;
    --sand-deep:   #f4a261;
    --white:       #ffffff;
    --dark:        #0a1628;
    --text:        #2d3748;
    --text-light:  #718096;
    --text-muted:  #a0aec0;
    --bg:          #f0f8ff;
    --bg-2:        #e8f4fd;
    --border:      #bee3f8;
    --shadow:      0 4px 24px rgba(0,119,182,0.1);
    --shadow-lg:   0 16px 48px rgba(0,119,182,0.15);
    --shadow-xl:   0 32px 80px rgba(0,119,182,0.18);
    --radius:      14px;
    --radius-lg:   22px;
    --radius-xl:   32px;
    --transition:  all 0.3s cubic-bezier(0.4,0,0.2,1);
    --font-display:'Cormorant Garamond', Georgia, serif;
    --font-body:   'DM Sans', -apple-system, sans-serif;
}

*,*::before,*::after { box-sizing:border-box; margin:0; padding:0; }
html { scroll-behavior:smooth; font-size:16px; }
body { font-family:var(--font-body); color:var(--text); background:var(--white); line-height:1.6; overflow-x:hidden; }
img { max-width:100%; height:auto; display:block; }
a { text-decoration:none; color:inherit; }
ul { list-style:none; }
button { cursor:pointer; border:none; background:none; font-family:inherit; }

/* Visually hides content while keeping it in the accessibility tree —
   standard "sr-only" pattern (not display:none/visibility:hidden,
   which both remove it from screen readers too). Used for real column
   headers/labels a sighted user doesn't need repeated on screen but a
   screen reader still needs to announce (e.g. a table's action-button
   column header). */
.sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }

/* TYPOGRAPHY */
h1,h2,h3,h4 { font-family:var(--font-display); line-height:1.2; }
h1 { font-size:clamp(2.2rem,5vw,4rem); }
h2 { font-size:clamp(1.8rem,3.5vw,2.8rem); }
h3 { font-size:clamp(1.2rem,2.5vw,1.6rem); }

/* SECTION LABELS */
.section-label {
    display:inline-flex; align-items:center; gap:8px;
    font-size:0.72rem; font-weight:700; letter-spacing:3px;
    text-transform:uppercase; color:var(--ocean);
    background:rgba(0,119,182,0.08); padding:6px 16px;
    border-radius:100px; margin-bottom:14px;
}
.section-title { color:var(--dark); margin-bottom:12px; }
.section-title span { color:var(--ocean); font-style:italic; }
.section-subtitle { color:var(--text-light); font-size:1rem; max-width:540px; line-height:1.7; }
.section-header { margin-bottom:48px; }
.section-header.centered { text-align:center; }
.section-header.centered .section-subtitle { margin:0 auto; }

/* BUTTONS */
.btn {
    display:inline-flex; align-items:center; gap:8px;
    padding:13px 26px; border-radius:100px;
    font-weight:600; font-size:0.92rem; font-family:var(--font-body);
    transition:var(--transition); cursor:pointer;
    text-decoration:none; touch-action:manipulation;
    -webkit-tap-highlight-color:rgba(0,0,0,0.1);
}
.btn-primary { background:var(--ocean); color:white; box-shadow:0 4px 14px rgba(0,119,182,0.22); }
.btn-primary:hover { background:var(--ocean-dark); transform:translateY(-2px); box-shadow:0 6px 18px rgba(0,119,182,0.3); }
.btn-accent { background:var(--sand-dark); color:var(--dark); box-shadow:0 4px 14px rgba(233,196,106,0.25); }
.btn-accent:hover { background:var(--sand-deep); transform:translateY(-2px); }
.btn-outline { border:2px solid var(--ocean) !important; color:var(--ocean); background:transparent; }
.btn-outline:hover { background:var(--ocean); color:white; }
.btn-white { background:white; color:var(--ocean); box-shadow:0 4px 14px rgba(0,0,0,0.1); }
.btn-white:hover { transform:translateY(-2px); box-shadow:0 6px 18px rgba(0,0,0,0.15); }
.btn-whatsapp { background:#25D366; color:white; box-shadow:0 4px 14px rgba(37,211,102,0.22); }
.btn-whatsapp:hover { background:#1da853; transform:translateY(-2px); box-shadow:0 6px 18px rgba(37,211,102,0.28); }
.btn-dark { background:var(--dark); color:white; }
.btn-dark:hover { background:#1a2e4a; transform:translateY(-2px); }
.btn-lg { padding:16px 36px; font-size:1rem; }
.btn-sm { padding:9px 18px; font-size:0.82rem; }
.btn-block { width:100%; justify-content:center; }

/* NAVBAR */
.navbar {
    position:fixed; top:0; left:0; right:0; z-index:1000;
    padding:18px 0; transition:var(--transition); background:transparent;
}
.navbar.scrolled {
    background:rgba(2,62,138,0.97); backdrop-filter:blur(20px);
    padding:12px 0; box-shadow:0 4px 24px rgba(0,0,0,0.2);
}
.nav-container {
    max-width:1280px; margin:0 auto; padding:0 32px;
    display:flex; align-items:center; justify-content:space-between;
}
.nav-logo { display:flex; align-items:center; gap:12px; color:white; }
.logo-icon { width:42px; height:42px; background:var(--sand-dark); border-radius:12px; display:flex; align-items:center; justify-content:center; font-size:1.3rem; }
.logo-text { font-family:var(--font-display); font-size:1.15rem; font-weight:700; display:block; }
.logo-sub { font-size:0.58rem; letter-spacing:2.5px; text-transform:uppercase; opacity:0.65; display:block; }
.nav-menu { display:flex; align-items:center; gap:4px; }
.nav-link { color:rgba(255,255,255,0.85); font-weight:500; padding:8px 13px; border-radius:8px; transition:var(--transition); font-size:0.88rem; }
.nav-link:hover,.nav-link.active { color:white; background:rgba(255,255,255,0.12); }
.nav-cta { background:var(--sand-dark); color:var(--dark); padding:10px 22px; border-radius:100px; font-weight:700; font-size:0.85rem; transition:var(--transition); }
.nav-cta:hover { background:white; transform:translateY(-1px); }
.nav-toggle { display:none; flex-direction:column; gap:5px; width:32px; padding:4px; cursor:pointer; }
.nav-toggle span { height:2px; background:white; border-radius:2px; transition:var(--transition); display:block; }

/* HERO */
.hero {
    min-height:100vh;
    background:linear-gradient(160deg, #023e8a 0%, #0077b6 45%, #00b4d8 75%, #48cae4 100%);
    position:relative; overflow:hidden; display:flex; align-items:center; padding-top:80px;
}
.hero-pattern { position:absolute; inset:0; opacity:0.04; background-image:radial-gradient(circle,white 1px,transparent 1px); background-size:28px 28px; }
.hero-glow-1 { position:absolute; top:-150px; right:-150px; width:500px; height:500px; border-radius:50%; background:radial-gradient(circle,rgba(72,202,228,0.2),transparent 70%); }
.hero-glow-2 { position:absolute; bottom:-100px; left:-100px; width:400px; height:400px; border-radius:50%; background:radial-gradient(circle,rgba(233,196,106,0.12),transparent 70%); }
.hero-content { position:relative; z-index:2; max-width:1280px; margin:0 auto; padding:60px 32px 130px; text-align:center; color:white; }
.hero-badge { display:inline-flex; align-items:center; gap:8px; background:rgba(255,255,255,0.15); border:1px solid rgba(255,255,255,0.3); color:var(--sand); padding:8px 22px; border-radius:100px; font-size:0.75rem; font-weight:700; letter-spacing:2px; text-transform:uppercase; margin-bottom:28px; backdrop-filter:blur(10px); }
.hero-title { font-size:clamp(2.8rem,6vw,5.5rem); font-weight:700; line-height:1.05; margin-bottom:22px; text-shadow:0 2px 20px rgba(0,0,0,0.15); }
.hero-title span { color:var(--sand); font-style:italic; }
.hero-desc { font-size:1.1rem; color:rgba(255,255,255,0.85); max-width:580px; margin:0 auto 50px; line-height:1.75; }

/* SEARCH BOX */
.search-box { background:white; border-radius:var(--radius-xl); padding:28px 32px; max-width:960px; margin:0 auto; box-shadow:0 20px 50px rgba(0,0,0,0.2); }
.search-tabs { display:flex; gap:8px; margin-bottom:24px; flex-wrap:wrap; }
.search-tab { display:flex; align-items:center; gap:7px; padding:9px 18px; border-radius:100px; font-size:0.83rem; font-weight:600; cursor:pointer; transition:var(--transition); border:2px solid var(--border); color:var(--text-light); background:white; font-family:var(--font-body); }
.search-tab.active,.search-tab:hover { background:var(--ocean); color:white; border-color:var(--ocean); }
.search-tab i { font-size:1rem; }
.search-fields { display:grid; grid-template-columns:1fr 1fr 1fr auto; gap:12px; align-items:end; }
.search-group label { display:block; font-size:0.7rem; font-weight:700; text-transform:uppercase; letter-spacing:1px; color:var(--text-muted); margin-bottom:6px; }
.search-group input,.search-group select { width:100%; padding:12px 16px; border:2px solid var(--border); border-radius:var(--radius); font-family:var(--font-body); font-size:0.9rem; color:var(--text); transition:var(--transition); background:white; }
.search-group input:focus,.search-group select:focus { outline:none; border-color:var(--ocean); box-shadow:0 0 0 4px rgba(0,119,182,0.08); }
.search-btn-wrap .btn { height:48px; padding:0 28px; border-radius:var(--radius); white-space:nowrap; }

/* TRUST BAR */
.trust-bar { background:var(--ocean-dark); padding:14px 0; }
.trust-inner { max-width:1280px; margin:0 auto; padding:0 32px; display:flex; justify-content:center; gap:48px; flex-wrap:wrap; }
.trust-item { display:flex; align-items:center; gap:8px; color:rgba(255,255,255,0.9); font-size:0.82rem; font-weight:500; }
.trust-item i { color:var(--sand-dark); }

/* SECTIONS */
.section { padding:80px 0; }
.section-alt { background:var(--bg); }
.container { max-width:1280px; margin:0 auto; padding:0 32px; }

/* SERVICE CARDS */
.services-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(300px,1fr)); gap:24px; }
.service-card { background:white; border-radius:var(--radius-lg); overflow:hidden; box-shadow:var(--shadow); transition:var(--transition); border:1px solid rgba(0,119,182,0.06); }
.service-card:hover { transform:translateY(-6px); box-shadow:var(--shadow-lg); }
.service-img { height:210px; position:relative; overflow:hidden; background:linear-gradient(135deg,var(--ocean),var(--ocean-light)); display:flex; align-items:center; justify-content:center; }
.service-img img { width:100%; height:100%; object-fit:cover; transition:transform 0.5s ease; }
.service-card:hover .service-img img { transform:scale(1.05); }
.service-img-icon { font-size:4rem; opacity:0.25; }
.service-badge { position:absolute; top:12px; left:12px; background:var(--ocean); color:white; font-size:0.68rem; font-weight:700; padding:4px 12px; border-radius:100px; text-transform:uppercase; letter-spacing:1px; }
.service-featured { position:absolute; top:12px; right:12px; background:var(--sand-dark); color:var(--dark); font-size:0.68rem; font-weight:700; padding:4px 12px; border-radius:100px; }
.service-body { padding:22px; }
.service-name { font-family:var(--font-display); font-size:1.25rem; font-weight:700; color:var(--dark); margin-bottom:8px; }
.service-desc { font-size:0.85rem; color:var(--text-light); line-height:1.65; margin-bottom:18px; }
.service-features { display:flex; flex-wrap:wrap; gap:6px; margin-bottom:16px; }
.service-feature { display:flex; align-items:center; gap:5px; background:var(--bg); border-radius:100px; padding:4px 12px; font-size:0.75rem; color:var(--text-light); font-weight:500; }
.service-feature i { color:var(--ocean); }
.service-footer { display:flex; align-items:center; justify-content:space-between; padding-top:16px; border-top:1px solid var(--border); }
.service-price .from { font-size:0.68rem; color:var(--text-muted); }
.service-price .amount { font-family:var(--font-display); font-size:1.6rem; font-weight:700; color:var(--ocean); line-height:1; }
.service-price .per { font-size:0.75rem; color:var(--text-muted); }

/* HOTEL CARDS */
.hotels-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(320px,1fr)); gap:28px; }
.hotel-card { background:white; border-radius:var(--radius-lg); overflow:hidden; box-shadow:var(--shadow); transition:var(--transition); }
.hotel-card:hover { transform:translateY(-6px); box-shadow:var(--shadow-lg); }
.hotel-img { height:220px; position:relative; overflow:hidden; background:linear-gradient(135deg,var(--ocean-dark),var(--ocean-light)); display:flex; align-items:center; justify-content:center; font-size:4rem; }
.hotel-img img { width:100%; height:100%; object-fit:cover; }
.hotel-stars { position:absolute; bottom:12px; left:12px; display:flex; gap:3px; }
.hotel-stars i { color:var(--sand-dark); font-size:0.9rem; }
.hotel-badge { position:absolute; top:12px; right:12px; background:rgba(0,0,0,0.6); color:white; font-size:0.7rem; font-weight:600; padding:4px 12px; border-radius:100px; backdrop-filter:blur(8px); }
.hotel-body { padding:20px; }
.hotel-name { font-family:var(--font-display); font-size:1.15rem; font-weight:700; color:var(--dark); margin-bottom:6px; }
.hotel-location { display:flex; align-items:center; gap:5px; font-size:0.8rem; color:var(--text-light); margin-bottom:12px; }
.hotel-location i { color:var(--ocean); }
.hotel-amenities { display:flex; gap:8px; flex-wrap:wrap; margin-bottom:16px; }
.amenity { font-size:0.75rem; color:var(--text-light); display:flex; align-items:center; gap:4px; }
.amenity i { color:var(--ocean); }
.hotel-footer { display:flex; align-items:center; justify-content:space-between; padding-top:14px; border-top:1px solid var(--border); }
.hotel-price .from { font-size:0.68rem; color:var(--text-muted); }
.hotel-price .amount { font-family:var(--font-display); font-size:1.5rem; font-weight:700; color:var(--ocean); }

/* TOUR CARDS */
.tours-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(300px,1fr)); gap:24px; }
.tour-card { background:white; border-radius:var(--radius-lg); overflow:hidden; box-shadow:var(--shadow); transition:var(--transition); }
.tour-card:hover { transform:translateY(-5px); box-shadow:var(--shadow-lg); }
.tour-img { height:200px; position:relative; overflow:hidden; background:linear-gradient(135deg,var(--ocean),var(--sand-deep)); display:flex; align-items:center; justify-content:center; font-size:3.5rem; }
.tour-img img { width:100%; height:100%; object-fit:cover; }
.tour-duration { position:absolute; bottom:12px; right:12px; background:rgba(0,0,0,0.65); color:white; font-size:0.72rem; font-weight:600; padding:4px 12px; border-radius:100px; backdrop-filter:blur(8px); }
.tour-body { padding:20px; }
.tour-name { font-family:var(--font-display); font-size:1.15rem; font-weight:700; color:var(--dark); margin-bottom:8px; }
.tour-desc { font-size:0.83rem; color:var(--text-light); line-height:1.65; margin-bottom:14px; }
.tour-includes { display:flex; gap:8px; flex-wrap:wrap; margin-bottom:14px; }
.tour-include { font-size:0.73rem; background:var(--bg); color:var(--text-light); padding:3px 10px; border-radius:100px; }
.tour-footer { display:flex; align-items:center; justify-content:space-between; padding-top:14px; border-top:1px solid var(--border); }
.tour-price .from { font-size:0.68rem; color:var(--text-muted); }
.tour-price .amount { font-family:var(--font-display); font-size:1.5rem; font-weight:700; color:var(--ocean); }

/* FERRY */
.ferry-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(320px,1fr)); gap:24px; }
.ferry-card { background:white; border-radius:var(--radius-lg); padding:28px; box-shadow:var(--shadow); transition:var(--transition); border:2px solid transparent; }
.ferry-card:hover { transform:translateY(-4px); box-shadow:var(--shadow-lg); border-color:var(--ocean); }
.ferry-route { display:flex; align-items:center; justify-content:space-between; margin-bottom:20px; }
.ferry-point { text-align:center; }
.ferry-city { font-family:var(--font-display); font-size:1.1rem; font-weight:700; color:var(--dark); }
.ferry-port { font-size:0.72rem; color:var(--text-muted); }
.ferry-arrow { font-size:1.5rem; color:var(--ocean); }
.ferry-details { display:grid; grid-template-columns:1fr 1fr; gap:12px; margin-bottom:20px; }
.ferry-detail { background:var(--bg); border-radius:var(--radius); padding:12px; text-align:center; }
.ferry-detail-label { font-size:0.68rem; color:var(--text-muted); text-transform:uppercase; letter-spacing:1px; margin-bottom:4px; }
.ferry-detail-value { font-weight:700; color:var(--dark); font-size:0.9rem; }
.ferry-footer { display:flex; align-items:center; justify-content:space-between; padding-top:16px; border-top:1px solid var(--border); }
.ferry-price .from { font-size:0.68rem; color:var(--text-muted); }
.ferry-price .amount { font-family:var(--font-display); font-size:1.6rem; font-weight:700; color:var(--ocean); }

/* TRANSFER CARDS */
.transfers-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(300px,1fr)); gap:20px; }
.transfer-card { background:white; border-radius:var(--radius-lg); padding:24px; box-shadow:var(--shadow); transition:var(--transition); }
.transfer-card:hover { transform:translateY(-4px); box-shadow:var(--shadow-lg); }
.transfer-route { display:flex; align-items:center; gap:12px; margin-bottom:16px; }
.transfer-icon { width:48px; height:48px; border-radius:14px; background:linear-gradient(135deg,var(--ocean),var(--ocean-light)); display:flex; align-items:center; justify-content:center; color:white; font-size:1.2rem; flex-shrink:0; }
.transfer-info { flex:1; }
.transfer-name { font-weight:700; color:var(--dark); font-size:0.95rem; margin-bottom:2px; }
.transfer-dist { font-size:0.78rem; color:var(--text-light); }
.transfer-footer { display:flex; align-items:center; justify-content:space-between; }
.transfer-price .amount { font-family:var(--font-display); font-size:1.4rem; font-weight:700; color:var(--ocean); }
.transfer-price .per { font-size:0.72rem; color:var(--text-muted); }

/* PACKAGE CARDS */
.packages-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(340px,1fr)); gap:28px; }
.package-card { background:white; border-radius:var(--radius-lg); overflow:hidden; box-shadow:var(--shadow); transition:var(--transition); position:relative; }
.package-card:hover { transform:translateY(-6px); box-shadow:var(--shadow-lg); }
.package-card.featured { border:2px solid var(--sand-dark); }
.package-popular { position:absolute; top:20px; right:-32px; background:var(--sand-dark); color:var(--dark); font-size:0.68rem; font-weight:700; padding:6px 48px; transform:rotate(45deg); text-transform:uppercase; letter-spacing:1px; }
.package-header { background:linear-gradient(135deg,var(--ocean-dark),var(--ocean)); padding:28px; color:white; text-align:center; }
.package-name { font-family:var(--font-display); font-size:1.5rem; font-weight:700; margin-bottom:6px; }
.package-desc { font-size:0.85rem; opacity:0.85; }
.package-price { font-family:var(--font-display); font-size:2.5rem; font-weight:700; color:var(--sand); margin:16px 0 4px; }
.package-price span { font-size:1rem; font-weight:400; }
.package-body { padding:24px; }
.package-includes { margin-bottom:20px; }
.package-include { display:flex; align-items:center; gap:10px; padding:8px 0; border-bottom:1px solid var(--border); font-size:0.88rem; color:var(--text); }
.package-include:last-child { border-bottom:none; }
.package-include i { color:var(--ocean); font-size:1rem; width:20px; }

/* CONTACT FORM */
.contact-grid { display:grid; grid-template-columns:1fr 1.5fr; gap:48px; align-items:start; }
.contact-info { background:linear-gradient(135deg,var(--ocean-dark),var(--dark)); border-radius:var(--radius-xl); padding:40px; color:white; }
.contact-info h3 { font-family:var(--font-display); font-size:1.6rem; color:white; margin-bottom:8px; }
.contact-info p { color:rgba(255,255,255,0.7); margin-bottom:32px; }
.contact-item { display:flex; align-items:flex-start; gap:14px; margin-bottom:24px; }
.contact-icon { width:46px; height:46px; border-radius:12px; background:rgba(255,255,255,0.1); display:flex; align-items:center; justify-content:center; font-size:1.2rem; color:var(--sand); flex-shrink:0; }
.contact-label { font-size:0.72rem; text-transform:uppercase; letter-spacing:1px; opacity:0.6; margin-bottom:3px; }
.contact-value { font-weight:500; }
.contact-value a { color:white; }
.contact-form-card { background:white; border-radius:var(--radius-xl); padding:40px; box-shadow:var(--shadow); }
.form-group { margin-bottom:18px; position:relative; }
.form-label { display:block; font-size:0.75rem; font-weight:700; text-transform:uppercase; letter-spacing:1px; color:var(--text-light); margin-bottom:6px; }
.form-control { width:100%; padding:12px 16px; border:2px solid var(--border); border-radius:var(--radius); font-family:var(--font-body); font-size:0.92rem; color:var(--text); transition:var(--transition); background:white; }
.form-control:focus { outline:none; border-color:var(--ocean); box-shadow:0 0 0 4px rgba(0,119,182,0.08); }
.form-control.with-icon { padding-left:42px; }
.form-icon { position:absolute; left:14px; bottom:13px; color:var(--ocean); font-size:1.05rem; pointer-events:none; }
.form-row { display:grid; grid-template-columns:1fr 1fr; gap:14px; }
textarea.form-control { height:130px; resize:vertical; }

/* WHY CARDS */
.why-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(220px,1fr)); gap:20px; }
.why-card { background:white; border-radius:var(--radius-lg); padding:28px 22px; text-align:center; box-shadow:var(--shadow); transition:var(--transition); }
.why-card:hover { transform:translateY(-4px); box-shadow:var(--shadow-lg); }
.why-icon { width:60px; height:60px; border-radius:16px; background:linear-gradient(135deg,var(--ocean),var(--ocean-light)); display:flex; align-items:center; justify-content:center; font-size:1.5rem; color:white; margin:0 auto 16px; }
.why-title { font-weight:700; color:var(--dark); margin-bottom:8px; font-size:0.95rem; }
.why-desc { font-size:0.82rem; color:var(--text-light); line-height:1.65; }

/* DESTINATIONS */
.dest-grid { display:grid; grid-template-columns:1fr 1fr 1fr; grid-template-rows:auto; gap:14px; }
.dest-card { position:relative; border-radius:var(--radius-lg); overflow:hidden; cursor:pointer; transition:var(--transition); }
.dest-card:hover { transform:scale(1.02); }
.dest-card.large { grid-row:span 2; }
.dest-img { height:210px; background:linear-gradient(135deg,var(--ocean-dark),var(--ocean-light)); display:flex; align-items:center; justify-content:center; font-size:3rem; }
.dest-card.large .dest-img { height:100%; min-height:434px; }
.dest-img img { width:100%; height:100%; object-fit:cover; }
.dest-overlay { position:absolute; inset:0; background:linear-gradient(to top,rgba(2,62,138,0.85) 0%,transparent 55%); display:flex; flex-direction:column; justify-content:flex-end; padding:22px; }
.dest-name { font-family:var(--font-display); font-size:1.35rem; font-weight:700; color:white; margin-bottom:3px; }
.dest-tag { font-size:0.75rem; color:rgba(255,255,255,0.75); }

/* REVIEWS */
.reviews-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(280px,1fr)); gap:22px; }
.review-card { background:white; border-radius:var(--radius-lg); padding:26px; box-shadow:var(--shadow); position:relative; transition:var(--transition); }
.review-card:hover { transform:translateY(-4px); }
.review-card::before { content:'"'; position:absolute; top:12px; right:20px; font-size:5rem; font-family:var(--font-display); color:var(--ocean); opacity:0.07; line-height:1; }
.review-stars { display:flex; gap:3px; margin-bottom:12px; }
.review-stars i { color:var(--sand-dark); }
.review-text { font-size:0.88rem; color:var(--text-light); line-height:1.7; margin-bottom:18px; font-style:italic; }
.reviewer { display:flex; align-items:center; gap:12px; }
.reviewer-avatar { width:42px; height:42px; border-radius:50%; background:linear-gradient(135deg,var(--ocean),var(--ocean-light)); display:flex; align-items:center; justify-content:center; color:white; font-weight:700; font-size:1rem; flex-shrink:0; }
.reviewer-name { font-weight:700; font-size:0.88rem; color:var(--dark); }
.reviewer-country { font-size:0.75rem; color:var(--text-muted); }

/* CTA SECTION */
.cta-section { background:linear-gradient(135deg,var(--ocean-dark) 0%,var(--dark) 100%); padding:80px 0; text-align:center; position:relative; overflow:hidden; }
.cta-section::before { content:''; position:absolute; inset:0; background:radial-gradient(ellipse at 50% 0%,rgba(72,202,228,0.12),transparent 60%); }
.cta-section .container { position:relative; z-index:1; }
.cta-section h2 { color:white; margin-bottom:14px; }
.cta-section h2 span { color:var(--sand); font-style:italic; }
.cta-section p { color:rgba(255,255,255,0.75); margin-bottom:36px; font-size:1.05rem; }
.cta-actions { display:flex; gap:16px; justify-content:center; flex-wrap:wrap; }

/* FOOTER */
.footer { background:var(--dark); color:rgba(255,255,255,0.75); }
.footer-top { padding:64px 0; }
.footer-grid { max-width:1280px; margin:0 auto; padding:0 32px; display:grid; grid-template-columns:1.5fr 1fr 1fr 1.2fr; gap:48px; }
.footer-logo-wrap { display:flex; align-items:center; gap:10px; margin-bottom:16px; }
.footer-logo-icon { width:38px; height:38px; background:var(--ocean); border-radius:10px; display:flex; align-items:center; justify-content:center; font-size:1.1rem; }
.footer-logo-text { font-family:var(--font-display); font-size:1.15rem; color:white; font-weight:700; }
.footer-desc { font-size:0.85rem; line-height:1.7; margin-bottom:20px; color:rgba(255,255,255,0.6); }
.footer-badges { display:flex; gap:8px; flex-wrap:wrap; margin-bottom:20px; }
.footer-badge { display:inline-flex; align-items:center; gap:5px; background:rgba(255,255,255,0.08); border-radius:100px; padding:5px 12px; font-size:0.72rem; font-weight:600; color:rgba(255,255,255,0.8); }
.footer-badge i { color:var(--sand-dark); }
.footer-social { display:flex; gap:8px; }
.footer-social a { width:36px; height:36px; border-radius:10px; background:rgba(255,255,255,0.08); display:flex; align-items:center; justify-content:center; color:rgba(255,255,255,0.7); font-size:0.95rem; transition:var(--transition); }
.footer-social a:hover { background:var(--ocean); color:white; }
/* Tag is <h2>, not <h4> — this footer sits after a real <h2> further
   up the page on every page it appears on (e.g. hotel detail's
   "Similar Hotels" heading), so a footer <h4> skipped straight from
   level 2 to level 4, an invalid jump Lighthouse's heading-order audit
   flags regardless of the footer's own visual size. <h2> is always a
   safe next level here (equal to or one below whatever heading came
   last, never a skip) without changing how any of these three
   headings actually look — this selector controls that, not the tag. */
.footer-col h2 { color:white; font-size:0.88rem; font-weight:700; margin-bottom:18px; font-family:var(--font-body); }
.footer-col li { margin-bottom:10px; }
.footer-col a { color:rgba(255,255,255,0.6); font-size:0.84rem; transition:color 0.2s; }
.footer-col a:hover { color:var(--sand); }
.footer-contact-item { display:flex; align-items:center; gap:10px; margin-bottom:12px; }
.footer-contact-item i { color:var(--sand-dark); width:18px; }
.footer-contact-item a,.footer-contact-item span { font-size:0.83rem; color:rgba(255,255,255,0.7); }
.footer-bottom { border-top:1px solid rgba(255,255,255,0.08); max-width:1280px; margin:0 auto; padding:20px 32px; display:flex; justify-content:space-between; align-items:center; font-size:0.8rem; color:rgba(255,255,255,0.35); }

/* PAGE HERO */
.page-hero { background:linear-gradient(135deg,var(--ocean-dark) 0%,var(--dark) 100%); padding:140px 0 60px; text-align:center; color:white; position:relative; overflow:hidden; }
.page-hero::before { content:''; position:absolute; inset:0; background:radial-gradient(ellipse at 50% 0%,rgba(72,202,228,0.1),transparent 60%); pointer-events:none; }
.page-hero .container { position:relative; z-index:1; }
.page-hero h1 { color:white; margin-bottom:12px; }
.page-hero p { color:rgba(255,255,255,0.75); max-width:520px; margin:0 auto; font-size:1.05rem; }
.breadcrumb { display:flex; align-items:center; gap:8px; font-size:0.8rem; color:rgba(255,255,255,0.55); justify-content:center; margin-top:16px; }
.breadcrumb a { color:rgba(255,255,255,0.55); }
.breadcrumb a:hover { color:white; }
.breadcrumb span { color:var(--sand); }

/* FILTER BAR */
.filter-bar { background:white; border-radius:var(--radius-lg); padding:22px 28px; margin-bottom:36px; box-shadow:var(--shadow); display:flex; gap:16px; flex-wrap:wrap; align-items:flex-end; }
.filter-group { flex:1; min-width:160px; }
.filter-label { font-size:0.72rem; font-weight:700; text-transform:uppercase; letter-spacing:1px; color:var(--text-muted); margin-bottom:6px; display:block; }
.filter-select { width:100%; padding:10px 14px; border:2px solid var(--border); border-radius:var(--radius); font-family:var(--font-body); font-size:0.88rem; color:var(--text); background:white; cursor:pointer; }
.filter-select:focus { outline:none; border-color:var(--ocean); }

/* ALERTS */
.alert { padding:14px 18px; border-radius:var(--radius); margin-bottom:20px; display:flex; align-items:center; gap:10px; font-size:0.9rem; }
.alert-success { background:rgba(16,185,129,0.1); color:#065f46; border-left:4px solid #10b981; }
.alert-error { background:rgba(239,68,68,0.1); color:#991b1b; border-left:4px solid #ef4444; }

/* FLOATING WHATSAPP */
@keyframes pulse-wa { 0%,100% { box-shadow:0 6px 24px rgba(37,211,102,0.45); } 50% { box-shadow:0 6px 32px rgba(37,211,102,0.7); } }
.wa-float { position:fixed; bottom:24px; right:24px; z-index:9001; display:flex; flex-direction:column; align-items:flex-end; gap:10px; }
.wa-toggle { width:58px; height:58px; border-radius:50%; background:#25D366; display:flex; align-items:center; justify-content:center; font-size:1.6rem; color:white; box-shadow:0 6px 24px rgba(37,211,102,0.5); cursor:pointer; border:none; animation:pulse-wa 2s infinite; transition:var(--transition); order:3; }
.wa-toggle:hover { transform:scale(1.1); background:#1da853; animation:none; }
.wa-option { display:flex; align-items:center; gap:10px; background:#25D366; color:white; padding:10px 18px 10px 14px; border-radius:100px; font-size:0.85rem; font-weight:600; box-shadow:0 4px 16px rgba(37,211,102,0.4); text-decoration:none; white-space:nowrap; transition:var(--transition); opacity:0; transform:translateY(10px) scale(0.9); pointer-events:none; }
.wa-float.open .wa-option { opacity:1; transform:translateY(0) scale(1); pointer-events:auto; }
.wa-float.open .wa-toggle { background:#e74c3c; animation:none; }
#waOpt1 { order:1; transition-delay:0.05s; }
#waOpt2 { order:2; transition-delay:0.1s; }
.back-to-top { position:fixed; bottom:96px; right:24px; z-index:9000; width:44px; height:44px; border-radius:50%; background:white; color:var(--ocean); box-shadow:var(--shadow); display:flex; align-items:center; justify-content:center; font-size:1.1rem; opacity:0; pointer-events:none; transition:var(--transition); cursor:pointer; }
.back-to-top.visible { opacity:1; pointer-events:auto; }
.back-to-top:hover { background:var(--ocean); color:white; transform:translateY(-3px); }

/* RESPONSIVE 1024px */
@media (max-width:1024px) {
    .hero-content { padding:60px 24px 120px; }
    .search-fields { grid-template-columns:1fr 1fr; }
    .search-btn-wrap { grid-column:span 2; }
    .search-btn-wrap .btn { width:100%; justify-content:center; }
    .dest-grid { grid-template-columns:1fr 1fr; }
    .dest-card.large { grid-row:span 1; }
    .dest-card.large .dest-img { min-height:210px; }
    .footer-grid { grid-template-columns:1fr 1fr; gap:32px; }
    .contact-grid { grid-template-columns:1fr; }
}

/* RESPONSIVE 768px */
@media (max-width:768px) {
    .nav-menu { position:fixed !important; top:0 !important; right:-100% !important; height:100vh !important; width:280px !important; max-width:85vw !important; background:#0a1628 !important; flex-direction:column !important; align-items:stretch !important; gap:0 !important; padding:65px 0 20px !important; transition:right 0.3s ease !important; z-index:1001 !important; box-shadow:-8px 0 32px rgba(0,0,0,0.3) !important; overflow-y:auto !important; overflow-x:hidden !important; -webkit-overflow-scrolling:touch !important; overscroll-behavior:contain !important; display:flex !important; }
    .nav-menu.open { right:0 !important; visibility:visible !important; opacity:1 !important; }
    .nav-link { padding:14px 24px; width:100%; border-radius:0; font-size:1rem; }
    .nav-cta { margin:12px 24px; }
    .nav-toggle { display:flex; }
    .hero-content { padding:40px 20px 110px; }
    .hero-title { font-size:2.4rem; }
    .search-box { padding:20px; }
    .search-tabs { gap:5px; }
    .search-tab { padding:7px 11px; font-size:0.76rem; }
    .search-fields { grid-template-columns:1fr; }
    .search-btn-wrap { grid-column:span 1; }
    .search-btn-wrap .btn { width:100%; justify-content:center; }
    .services-grid,.hotels-grid,.tours-grid,.ferry-grid,.transfers-grid,.packages-grid { grid-template-columns:1fr; }
    .why-grid { grid-template-columns:1fr 1fr; }
    .reviews-grid { grid-template-columns:1fr; }
    .dest-grid { grid-template-columns:1fr; }
    .form-row { grid-template-columns:1fr; }
    .footer-grid { grid-template-columns:1fr; gap:24px; }
    .footer-bottom { flex-direction:column; gap:8px; text-align:center; }
    .cta-actions { flex-direction:column; align-items:center; }
    .cta-actions .btn { width:100%; max-width:320px; justify-content:center; }
    .trust-inner { gap:16px; }
    .container { padding:0 20px; }
}
@media (max-width:480px) {
    .why-grid { grid-template-columns:1fr; }
}
@media (hover:none) {
    .service-card:hover,.hotel-card:hover,.tour-card:hover { transform:none; box-shadow:var(--shadow); }
    .btn { min-height:44px; }
}

/* ============================================================
   ZTH MOBILE OPTIMIZATION — Complete Mobile-First Fixes
   ============================================================ */

/* ── Global Mobile Fixes ── */
* { box-sizing:border-box }
html,body { overflow-x:hidden !important;max-width:100vw }
img { max-width:100%;height:auto }

/* ── WhatsApp Float Button ── */
.wa-float {
    position:fixed;bottom:20px;right:20px;z-index:9999;
    background:#25d366;color:white;border-radius:50%;
    width:56px;height:56px;display:flex;align-items:center;
    justify-content:center;font-size:1.6rem;
    box-shadow:0 4px 16px rgba(37,211,102,0.4);
    text-decoration:none;transition:transform 0.2s;
    border:3px solid white;
}
.wa-float:hover { transform:scale(1.1) }
@media (min-width:769px) { .wa-float { width:60px;height:60px;font-size:1.8rem } }

/* ── Touch Targets ── */
@media (max-width:768px) {
    /* All buttons min 44px touch target */
    .btn, button, a.btn {
        min-height:44px;
        display:inline-flex;
        align-items:center;
        justify-content:center;
    }

    /* ── Navbar ── */
    .navbar { padding:0 16px }
    .logo-text { font-size:1rem }
    .logo-sub { display:none }

    /* ── Hero Section ── */
    .hero-content, [style*="padding-top:70px"] {
        padding-top:80px !important;
        padding-bottom:40px !important;
    }
    [style*="font-size:clamp"] { font-size:1.8rem !important }
    [style*="min-height:88vh"] { min-height:70vh !important }

    /* ── Search Page ── */
    .search-hero { padding-top:80px !important;padding-bottom:40px !important }
    .filter-bar { margin:0 12px;border-radius:12px;padding:14px }
    .filter-bar > form > div { gap:8px !important }
    .filter-chip { font-size:0.75rem;padding:5px 10px }
    .result-card { flex-direction:column !important }
    .result-img { width:100% !important;height:200px !important;min-height:unset !important }
    .result-body { padding:14px !important }
    .result-img-placeholder { width:100% !important;height:160px !important;min-height:unset !important }

    /* ── Hotel Cards ── */
    .hotel-listing-card { flex-direction:column !important }
    .hotel-listing-card > div:first-child { width:100% !important;max-width:100% !important }

    /* ── Package Cards ── */
    .pkg-card-inner { flex-direction:column !important }

    /* ── Grids → Single Column ── */
    [style*="grid-template-columns:1fr 1fr"],
    [style*="grid-template-columns:1fr 1fr 1fr"],
    [style*="grid-template-columns:repeat(auto-fit"],
    [style*="grid-template-columns:repeat(auto-fill"] {
        grid-template-columns:1fr !important;
    }

    /* Exception — keep 2 columns for small cards */
    [style*="grid-template-columns:repeat(auto-fill,minmax(140px"],
    [style*="grid-template-columns:repeat(auto-fit,minmax(140px"],
    [style*="grid-template-columns:repeat(auto-fill,minmax(150px"],
    [style*="grid-template-columns:repeat(auto-fit,minmax(150px"] {
        grid-template-columns:1fr 1fr !important;
    }

    /* ── Map Page ── */
    .map-container { grid-template-columns:1fr !important;grid-template-rows:350px auto !important }
    #hotelMap { height:350px !important;order:1 }
    .hotel-panel { height:auto !important;max-height:280px;order:2 }

    /* ── Stats Cards ── */
    [style*="grid-template-columns:repeat(auto-fit,minmax(160px"] {
        grid-template-columns:1fr 1fr !important;
    }
    [style*="grid-template-columns:repeat(auto-fit,minmax(200px"] {
        grid-template-columns:1fr 1fr !important;
    }

    /* ── Forms ── */
    .form-row, [style*="grid-template-columns:1fr 1fr"] {
        grid-template-columns:1fr !important;
    }

    /* ── Sidebar Admin (hide on mobile) ── */
    .admin-sidebar { transform:translateX(-100%);transition:transform 0.3s }
    .admin-sidebar.open { transform:translateX(0) }
    .admin-main { margin-left:0 !important;padding:16px !important }

    /* ── Tables — horizontal scroll ── */
    .table-responsive, table { 
        display:block;
        overflow-x:auto;
        -webkit-overflow-scrolling:touch;
        white-space:nowrap;
    }
    td, th { white-space:nowrap;font-size:0.8rem;padding:8px 10px }

    /* ── Font sizes ── */
    h1 { font-size:1.6rem !important }
    h2 { font-size:1.3rem !important }
    [style*="font-size:3rem"] { font-size:1.8rem !important }
    [style*="font-size:4rem"] { font-size:2rem !important }
    [style*="font-size:2rem"] { font-size:1.4rem !important }
    [style*="font-size:1.8rem"] { font-size:1.3rem !important }

    /* ── Spacing ── */
    .section { padding:40px 0 !important }
    .container { padding:0 16px !important }

    /* ── Hide decorative elements on mobile ── */
    [style*="position:absolute"][style*="width:600px"],
    [style*="position:absolute"][style*="width:400px"] { display:none !important }
}

/* ── Small phones (360px and below) ── */
@media (max-width:400px) {
    .filter-chip { font-size:0.7rem;padding:4px 8px }
    .btn { font-size:0.82rem;padding:10px 14px }
    [style*="grid-template-columns:1fr 1fr"] { grid-template-columns:1fr !important }
    .logo-text { font-size:0.9rem }
    td, th { font-size:0.72rem;padding:6px 8px }
}

/* ── Tablet (769-1024px) ── */
@media (min-width:769px) and (max-width:1024px) {
    .result-card { flex-direction:row }
    .result-img { width:200px !important }
    [style*="grid-template-columns:1fr 1fr 1fr"] {
        grid-template-columns:1fr 1fr !important;
    }
    .map-container { grid-template-columns:280px 1fr !important }
}

/* ── Hero Mobile Fixes ── */
@media (max-width:768px) {
    /* Slide dots — fix browser default button styling */
    .slide-dot {
        -webkit-appearance:none !important;
        appearance:none !important;
        border:none !important;
        outline:none !important;
        padding:0 !important;
        margin:0 !important;
        height:8px !important;
        min-height:unset !important;
        border-radius:100px !important;
        cursor:pointer !important;
    }
    .slide-dot.active { width:20px !important }
    .slide-dot:not(.active) { width:8px !important }

    /* Hero padding — clear of navbar */
    .hero-section-container { padding-top:90px !important }
    [style*="padding-top:90px"] { padding-top:90px !important }
    [style*="padding-top:70px"] { padding-top:90px !important }

    /* Trust badge — smaller on mobile */
    [style*="backdrop-filter:blur"] {
        font-size:0.72rem !important;
        padding:6px 12px !important;
    }

    /* Hero search box */
    [style*="max-width:580px"] { max-width:100% !important }
    [style*="max-width:600px"] { max-width:100% !important }
}

/* ── Mobile Nav Overlay ── */
.nav-overlay {
    display:none;
    position:fixed;
    inset:0;
    background:rgba(0,0,0,0.5);
    z-index:1000;
}
.nav-overlay.show { display:block }

/* ── Nav Toggle Animation ── */
.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) }

/* ── Mobile Nav Menu Links — Force Visible ── */
@media (max-width:768px) {
    .nav-menu {
        background:#0a1628 !important;
    }
    .nav-menu .nav-link {
        color:white !important;
        font-size:0.95rem !important;
        padding:13px 22px !important;
        width:100% !important;
        display:block !important;
        border-bottom:1px solid rgba(255,255,255,0.08) !important;
        font-weight:500 !important;
        flex-shrink:0 !important;
    }
    .nav-menu .nav-link:hover,
    .nav-menu .nav-link.active {
        background:rgba(255,255,255,0.1) !important;
        color:#e9c46a !important;
    }
    .nav-menu .nav-cta {
        display:block !important;
        color:#0a1628 !important;
        background:#e9c46a !important;
        margin:12px 20px !important;
        text-align:center !important;
        border-radius:100px !important;
        padding:11px 20px !important;
        font-weight:700 !important;
        flex-shrink:0 !important;
    }
}

/* ── WhatsApp Float + Back-to-Top Mobile Fix ── */
@media (max-width: 768px) {
    /* WhatsApp float — smaller, bottom left */
    .wa-float {
        bottom: 16px !important;
        right: 16px !important;
        gap: 6px !important;
    }
    .wa-toggle {
        width: 46px !important;
        height: 46px !important;
        font-size: 1.3rem !important;
    }
    .wa-option {
        font-size: 0.78rem !important;
        padding: 6px 12px !important;
    }
    .wa-option span { display: none !important; } /* icon tu kwenye mobile */

    /* Back to top — smaller, bottom left side */
    .back-to-top {
        bottom: 16px !important;
        right: 72px !important; /* pembeni ya WhatsApp */
        width: 36px !important;
        height: 36px !important;
        font-size: 0.9rem !important;
    }
}


/* ── FINAL: Float Buttons Fix ── */
.wa-float { bottom:16px !important; right:12px !important; z-index:8000 !important }
.wa-toggle { width:42px !important; height:42px !important; font-size:1.2rem !important; box-shadow:0 2px 8px rgba(37,211,102,0.4) !important; animation:none !important }
.back-to-top { bottom:68px !important; right:12px !important; width:36px !important; height:36px !important; font-size:0.85rem !important; z-index:7999 !important }
@media (max-width:768px) {
    .wa-float { bottom:12px !important; right:10px !important }
    .wa-toggle { width:40px !important; height:40px !important; font-size:1.1rem !important }
    .back-to-top { bottom:62px !important; right:10px !important; width:32px !important; height:32px !important }
    .wa-option span { display:none !important }
}

/* ── Navbar solid on non-hero pages ── */
body.navbar-solid .navbar,
body.navbar-solid .navbar.scrolled {
    background:rgba(2,62,138,0.98) !important;
    backdrop-filter:blur(20px);
    box-shadow:0 4px 24px rgba(0,0,0,0.15);
    padding:12px 0;
}
