/* ============================================================
   Tarua Travels — Frontend Stylesheet
   Palette: deep teal ocean + sunset orange, sand backgrounds
   ============================================================ */

:root {
    --teal: #0e7c7b;
    --teal-dark: #073b3a;
    --teal-deep: #052a2e;
    --orange: #f97316;
    --orange-soft: #ffb377;
    --sand: #f7f4ee;
    --ink: #12262b;
    --muted: #5b6e73;
    --white: #ffffff;
    --card-radius: 18px;
    --shadow-sm: 0 4px 16px rgba(7, 59, 58, 0.08);
    --shadow-md: 0 12px 34px rgba(7, 59, 58, 0.14);
    --shadow-lg: 0 24px 60px rgba(5, 42, 46, 0.22);
    --font: 'Hind Siliguri', 'Poppins', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: var(--font);
    color: var(--ink);
    background: var(--sand);
    overflow-x: hidden;
    line-height: 1.65;
}

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

.container {
    width: min(1200px, 92%);
    margin-inline: auto;
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 30px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    border: none;
    transition: transform .3s ease, box-shadow .3s ease, background .3s ease;
    position: relative;
    overflow: hidden;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary {
    background: linear-gradient(135deg, var(--orange), #ff5722);
    color: #fff;
    box-shadow: 0 8px 24px rgba(249, 115, 22, .35);
}
.btn-primary:hover { transform: translateY(-3px) scale(1.02); box-shadow: 0 14px 34px rgba(249, 115, 22, .45); }
.btn-outline {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255,255,255,.7);
    backdrop-filter: blur(6px);
}
.btn-outline:hover { background: rgba(255,255,255,.15); transform: translateY(-3px); }
.btn-teal {
    background: linear-gradient(135deg, var(--teal), var(--teal-dark));
    color: #fff;
    box-shadow: 0 8px 24px rgba(14, 124, 123, .35);
}
.btn-teal:hover { transform: translateY(-3px); box-shadow: 0 14px 34px rgba(14, 124, 123, .45); }
.btn-sm { padding: 9px 20px; font-size: .9rem; }

/* ---------- Header ---------- */
.site-header {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 1000;
    transition: background .4s ease, box-shadow .4s ease, padding .4s ease;
    padding: 18px 0;
}
.site-header.scrolled {
    background: rgba(5, 42, 46, .92);
    backdrop-filter: blur(14px);
    box-shadow: 0 6px 30px rgba(0,0,0,.25);
    padding: 10px 0;
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: nowrap;
}
.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    font-weight: 700;
    font-size: 1.35rem;
    min-width: 0;
    flex: 1 1 auto;
    overflow: hidden;
}
.brand > span:last-child {
    min-width: 0;
    overflow: hidden;
}
.brand .brand-mark {
    width: 44px; height: 44px;
    flex-shrink: 0;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--orange), #ff5722);
    display: grid;
    place-items: center;
    box-shadow: 0 6px 18px rgba(249,115,22,.4);
}
.brand .brand-mark svg { width: 24px; height: 24px; color: #fff; }
.brand .brand-logo {
    height: 62px;
    width: 62px;
    flex-shrink: 0;
    object-fit: contain;
    border-radius: 50%;
    background: #fff;
    padding: 4px;
    box-shadow: 0 0 0 3px rgba(255,255,255,.35), 0 4px 18px rgba(0,0,0,.35);
    transition: height .4s ease, width .4s ease;
}
.site-header.scrolled .brand-logo { height: 48px; width: 48px; }
.brand small { display: block; font-size: .68rem; font-weight: 400; opacity: .85; letter-spacing: .5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.brand > span:last-child { white-space: nowrap; text-overflow: ellipsis; overflow: hidden; line-height: 1.3; }
@media (max-width: 560px) {
    .brand { font-size: 1rem; gap: 8px; }
    .brand .brand-logo { height: 44px; width: 44px; }
    .site-header.scrolled .brand-logo { height: 38px; width: 38px; }
    .brand small { display: none; }
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 6px;
}
.nav-links a {
    color: rgba(255,255,255,.88);
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 40px;
    transition: background .3s, color .3s;
    position: relative;
}
.nav-links a:hover, .nav-links a.active { background: rgba(255,255,255,.14); color: #fff; }
.nav-cta { margin-left: 10px; }

/* Mobile drawer backdrop — lives inside .site-header so it shares the header's
   stacking context and stays below .nav-links (1100) but above page content. */
.nav-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(3, 26, 28, .6);
    opacity: 0;
    visibility: hidden;
    transition: opacity .35s ease, visibility .35s ease;
    z-index: 1090;
}
.nav-backdrop.open { opacity: 1; visibility: visible; }

.nav-toggle {
    display: none;
    flex-shrink: 0;
    background: transparent;
    border: none;
    width: 44px; height: 44px;
    position: relative;
    z-index: 1102;
}
.nav-toggle span {
    display: block;
    width: 26px; height: 3px;
    background: #fff;
    margin: 5px auto;
    border-radius: 3px;
    box-shadow: 0 1px 4px rgba(5, 42, 46, .55);
    transition: transform .35s ease, opacity .35s ease;
}
/* The header is transparent until .scrolled, so on pages whose top area is light
   (e.g. booking success) the white brand text and hamburger bars washed out.
   This scrim guarantees contrast on any page background; over the dark heroes
   it is visually imperceptible. */
.site-header:not(.scrolled) {
    background: linear-gradient(180deg, rgba(5, 42, 46, .75) 0%, rgba(5, 42, 46, .45) 55%, transparent 100%);
}

/* Belt-and-braces for the hamburger: its own contrast chip on mobile, so the
   icon is legible even if a future page puts something light behind it. */
@media (max-width: 768px) {
    .nav-toggle {
        background: rgba(5, 42, 46, .5);
        border-radius: 12px;
        transition: background .35s ease;
    }
    .site-header.scrolled .nav-toggle,
    .nav-toggle.open { background: transparent; }
}
.nav-toggle.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
    position: relative;
    min-height: 100svh;
    color: #fff;
}
.hero-swiper { position: absolute; inset: 0; }
.hero-swiper .swiper-slide {
    position: relative;
    overflow: hidden;
}
.hero-slide-bg {
    position: absolute;
    inset: -6%;
    background-size: cover;
    background-position: center;
    transform: scale(1);
}
.swiper-slide-active .hero-slide-bg { animation: kenburns 7s ease-out forwards; }
@keyframes kenburns {
    from { transform: scale(1); }
    to { transform: scale(1.12); }
}
.hero-slide-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(5,42,46,.55) 0%, rgba(5,42,46,.35) 45%, rgba(5,42,46,.82) 100%);
}
.hero-content {
    position: relative;
    z-index: 5;
    min-height: 100svh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 140px 0 120px;
}
.hero-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,.14);
    border: 1px solid rgba(255,255,255,.25);
    backdrop-filter: blur(8px);
    padding: 8px 18px;
    border-radius: 40px;
    font-size: .92rem;
    width: fit-content;
    margin-bottom: 22px;
}
.hero-kicker svg { width: 16px; height: 16px; color: var(--orange-soft); }
.hero h1 {
    font-size: clamp(2.2rem, 5.5vw, 4rem);
    line-height: 1.2;
    font-weight: 700;
    max-width: 780px;
    margin-bottom: 18px;
}
.hero h1 .accent { color: var(--orange-soft); }
.hero p.lede {
    font-size: clamp(1rem, 2vw, 1.25rem);
    max-width: 620px;
    opacity: .92;
    margin-bottom: 34px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

.hero-wave {
    position: absolute;
    bottom: -1px; left: 0; right: 0;
    z-index: 6;
    pointer-events: none;
}
.hero-wave svg { display: block; width: 100%; height: 90px; }

.hero-pagination {
    position: absolute;
    bottom: 110px;
    right: 6%;
    z-index: 8;
    display: flex;
    gap: 8px;
}
.hero-pagination .swiper-pagination-bullet {
    width: 26px; height: 5px;
    border-radius: 4px;
    background: rgba(255,255,255,.4);
    opacity: 1;
    transition: all .3s;
}
.hero-pagination .swiper-pagination-bullet-active { background: var(--orange); width: 44px; }

/* floating shapes */
.floaty {
    position: absolute;
    z-index: 4;
    opacity: .5;
    animation: floaty 7s ease-in-out infinite;
    pointer-events: none;
}
@keyframes floaty {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-24px) rotate(6deg); }
}

/* ---------- Search bar ---------- */
.search-card {
    position: relative;
    z-index: 20;
    margin-top: -60px;
    background: #fff;
    border-radius: var(--card-radius);
    box-shadow: var(--shadow-md);
    padding: 20px;
    display: grid;
    grid-template-columns: 1.4fr 1fr auto;
    gap: 14px;
    align-items: center;
}
.search-field {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--sand);
    padding: 12px 18px;
    border-radius: 14px;
}
.search-field svg { width: 20px; height: 20px; color: var(--teal); flex-shrink: 0; }
.search-field input, .search-field select {
    border: none;
    background: transparent;
    outline: none;
    width: 100%;
    font-size: 1rem;
    color: var(--ink);
}

/* ---------- Sections ---------- */
.section { padding: 90px 0; position: relative; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 54px; }
.section-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--orange);
    font-weight: 600;
    font-size: .95rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 10px;
}
.section-kicker::before, .section-kicker::after {
    content: '';
    width: 28px; height: 2px;
    background: var(--orange);
    border-radius: 2px;
}
.section-head h2 {
    font-size: clamp(1.7rem, 3.6vw, 2.5rem);
    color: var(--teal-deep);
    line-height: 1.25;
}
.section-head p { color: var(--muted); margin-top: 12px; }

/* ---------- Category cards ---------- */
.category-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
}
.category-card {
    position: relative;
    border-radius: var(--card-radius);
    overflow: hidden;
    min-height: 340px;
    display: flex;
    align-items: flex-end;
    box-shadow: var(--shadow-sm);
    transition: transform .45s cubic-bezier(.2,.8,.25,1), box-shadow .45s;
}
.category-card:hover { transform: translateY(-10px); box-shadow: var(--shadow-lg); }
.category-card img {
    position: absolute;
    inset: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform .8s ease;
}
.category-card:hover img { transform: scale(1.1); }
.category-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 30%, rgba(5,42,46,.88) 100%);
}
.category-card .cat-body {
    position: relative;
    z-index: 2;
    padding: 26px;
    color: #fff;
    width: 100%;
}
.category-card h3 { font-size: 1.4rem; margin-bottom: 6px; }
.category-card p { font-size: .92rem; opacity: .85; margin-bottom: 12px; }
.cat-count {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255,255,255,.16);
    backdrop-filter: blur(6px);
    padding: 6px 14px;
    border-radius: 30px;
    font-size: .85rem;
}

/* ---------- Package cards ---------- */
.package-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}
.package-card {
    background: #fff;
    border-radius: var(--card-radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform .45s cubic-bezier(.2,.8,.25,1), box-shadow .45s;
    display: flex;
    flex-direction: column;
}
.package-card:hover { transform: translateY(-10px); box-shadow: var(--shadow-lg); }
.pkg-media {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 10.5;
}
.pkg-media img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform .8s ease;
}
.package-card:hover .pkg-media img { transform: scale(1.12); }
.pkg-badge {
    position: absolute;
    top: 14px; left: 14px;
    background: linear-gradient(135deg, var(--orange), #ff5722);
    color: #fff;
    font-size: .78rem;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 30px;
    z-index: 2;
    box-shadow: 0 4px 14px rgba(249,115,22,.4);
}
.pkg-cat {
    position: absolute;
    bottom: 14px; left: 14px;
    background: rgba(5,42,46,.75);
    backdrop-filter: blur(6px);
    color: #fff;
    font-size: .78rem;
    padding: 6px 14px;
    border-radius: 30px;
    z-index: 2;
}
.pkg-body { padding: 22px; flex: 1; display: flex; flex-direction: column; }
.pkg-loc {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--muted);
    font-size: .86rem;
    margin-bottom: 6px;
}
.pkg-loc svg { width: 15px; height: 15px; color: var(--orange); }
.pkg-body h3 {
    font-size: 1.18rem;
    color: var(--teal-deep);
    line-height: 1.35;
    margin-bottom: 10px;
}
.pkg-body h3 a:hover { color: var(--teal); }
.pkg-meta {
    display: flex;
    gap: 16px;
    color: var(--muted);
    font-size: .86rem;
    margin-bottom: 16px;
}
.pkg-meta span { display: inline-flex; align-items: center; gap: 6px; }
.pkg-meta svg { width: 15px; height: 15px; color: var(--teal); }
.pkg-foot {
    margin-top: auto;
    padding-top: 16px;
    border-top: 1px dashed #e3ded4;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.pkg-price { line-height: 1.2; }
.pkg-price .old {
    color: var(--muted);
    text-decoration: line-through;
    font-size: .85rem;
}
.pkg-price .now {
    color: var(--orange);
    font-weight: 700;
    font-size: 1.3rem;
}
.pkg-price .per { font-size: .75rem; color: var(--muted); }

/* ---------- Boat feature (Tangua) ---------- */
.boat-section {
    background: linear-gradient(150deg, var(--teal-deep), var(--teal-dark));
    color: #fff;
    overflow: hidden;
}
.boat-grid {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: 60px;
    align-items: center;
}
.boat-imgs { position: relative; }
.boat-imgs .big {
    border-radius: var(--card-radius);
    box-shadow: var(--shadow-lg);
    aspect-ratio: 4/3;
    object-fit: cover;
    width: 100%;
}
.boat-imgs .small {
    position: absolute;
    width: 46%;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: var(--card-radius);
    border: 6px solid var(--teal-dark);
    bottom: -40px; right: -20px;
    box-shadow: var(--shadow-lg);
}
.boat-content .section-kicker { color: var(--orange-soft); }
.boat-content .section-kicker::before, .boat-content .section-kicker::after { background: var(--orange-soft); }
.boat-content h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); margin-bottom: 16px; }
.boat-content > p { opacity: .88; margin-bottom: 26px; }
.boat-features { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 30px; }
.boat-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255,255,255,.07);
    border: 1px solid rgba(255,255,255,.12);
    padding: 13px 16px;
    border-radius: 14px;
    transition: background .3s, transform .3s;
}
.boat-feature:hover { background: rgba(255,255,255,.13); transform: translateX(6px); }
.boat-feature svg { width: 22px; height: 22px; color: var(--orange-soft); flex-shrink: 0; }
.boat-feature span { font-size: .95rem; }

/* ---------- Stats ---------- */
.stats-band {
    background: linear-gradient(135deg, var(--orange) 0%, #ff5722 100%);
    color: #fff;
    padding: 60px 0;
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    text-align: center;
}
.stat-num {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    line-height: 1.1;
}
.stat-label { opacity: .92; margin-top: 6px; }

/* ---------- Why us ---------- */
.why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.why-card {
    background: #fff;
    border-radius: var(--card-radius);
    padding: 34px 26px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: transform .4s, box-shadow .4s;
    position: relative;
    overflow: hidden;
}
.why-card::before {
    content: '';
    position: absolute;
    inset: auto auto 0 0;
    width: 100%; height: 4px;
    background: linear-gradient(90deg, var(--teal), var(--orange));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .45s ease;
}
.why-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); }
.why-card:hover::before { transform: scaleX(1); }
.why-icon {
    width: 70px; height: 70px;
    margin: 0 auto 18px;
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(14,124,123,.12), rgba(249,115,22,.12));
    display: grid;
    place-items: center;
    transition: transform .4s;
}
.why-card:hover .why-icon { transform: rotate(-6deg) scale(1.08); }
.why-icon svg { width: 32px; height: 32px; color: var(--teal); }
.why-card h3 { font-size: 1.12rem; color: var(--teal-deep); margin-bottom: 8px; }
.why-card p { color: var(--muted); font-size: .92rem; }

/* ---------- Testimonials ---------- */
.testi-section { background: linear-gradient(180deg, var(--sand) 0%, #efe9dd 100%); }
.testi-swiper { padding: 10px 6px 56px; }
.testi-card {
    background: #fff;
    border-radius: var(--card-radius);
    padding: 30px;
    box-shadow: var(--shadow-sm);
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.testi-stars { display: flex; gap: 3px; }
.testi-stars svg { width: 18px; height: 18px; color: #f5b301; }
.testi-card p { color: var(--muted); flex: 1; }
.testi-person { display: flex; align-items: center; gap: 13px; }
.testi-person img {
    width: 50px; height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--orange-soft);
}
.testi-person .avatar-fallback {
    width: 50px; height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--teal), var(--teal-dark));
    color: #fff;
    display: grid;
    place-items: center;
    font-weight: 700;
    font-size: 1.15rem;
}
.testi-person strong { display: block; color: var(--teal-deep); }
.testi-person small { color: var(--muted); }
.testi-swiper .swiper-pagination-bullet { background: var(--teal); }
.testi-swiper .swiper-pagination-bullet-active { background: var(--orange); }

/* ---------- Gallery marquee ---------- */
.gallery-marquee {
    overflow: hidden;
    position: relative;
    padding: 10px 0;
    mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track {
    display: flex;
    gap: 20px;
    width: max-content;
    animation: marquee 38s linear infinite;
}
.gallery-marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee {
    to { transform: translateX(-50%); }
}
.marquee-item {
    width: 300px;
    aspect-ratio: 4/3;
    border-radius: var(--card-radius);
    overflow: hidden;
    flex-shrink: 0;
}
.marquee-item img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform .6s;
}
.marquee-item:hover img { transform: scale(1.08); }

/* ---------- CTA ---------- */
.cta-band {
    position: relative;
    border-radius: 26px;
    overflow: hidden;
    padding: 70px 50px;
    color: #fff;
    background: linear-gradient(120deg, var(--teal-deep) 0%, var(--teal) 100%);
    text-align: center;
    box-shadow: var(--shadow-lg);
}
.cta-band::before, .cta-band::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    background: rgba(255,255,255,.07);
}
.cta-band::before { width: 300px; height: 300px; top: -140px; left: -100px; }
.cta-band::after { width: 380px; height: 380px; bottom: -200px; right: -120px; }
.cta-band h2 { font-size: clamp(1.6rem, 3.4vw, 2.4rem); margin-bottom: 14px; position: relative; z-index: 2; }
.cta-band p { opacity: .9; max-width: 560px; margin: 0 auto 30px; position: relative; z-index: 2; }
.cta-band .btn { position: relative; z-index: 2; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
    position: relative;
    padding: 170px 0 110px;
    color: #fff;
    background: linear-gradient(160deg, var(--teal-deep), var(--teal-dark));
    overflow: hidden;
}
.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: var(--page-hero-img, none);
    background-size: cover;
    background-position: center;
    opacity: .28;
}
.page-hero h1 { font-size: clamp(1.9rem, 4vw, 3rem); position: relative; }
.page-hero p { opacity: .85; margin-top: 8px; position: relative; }
.breadcrumbs {
    display: flex;
    gap: 8px;
    font-size: .9rem;
    margin-bottom: 14px;
    opacity: .85;
    position: relative;
}
.breadcrumbs a:hover { color: var(--orange-soft); }

/* ---------- Filters ---------- */
.filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 40px;
}
.filter-pills { display: flex; flex-wrap: wrap; gap: 10px; }
.filter-pill {
    padding: 9px 22px;
    border-radius: 40px;
    background: #fff;
    color: var(--muted);
    font-weight: 500;
    box-shadow: var(--shadow-sm);
    transition: all .3s;
    font-size: .95rem;
}
.filter-pill:hover { color: var(--teal); transform: translateY(-2px); }
.filter-pill.active {
    background: linear-gradient(135deg, var(--teal), var(--teal-dark));
    color: #fff;
}
.sort-select {
    padding: 10px 18px;
    border-radius: 40px;
    border: none;
    background: #fff;
    box-shadow: var(--shadow-sm);
    color: var(--ink);
    outline: none;
}

/* ---------- Package detail ---------- */
.detail-hero {
    position: relative;
    min-height: 64svh;
    display: flex;
    align-items: flex-end;
    color: #fff;
    background-size: cover;
    background-position: center;
}
.detail-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(5,42,46,.4), rgba(5,42,46,.85));
}
.detail-hero .container { position: relative; z-index: 2; padding-bottom: 60px; }
.detail-hero h1 { font-size: clamp(1.8rem, 4vw, 3rem); max-width: 800px; }
.detail-chips { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; }
.chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,.14);
    border: 1px solid rgba(255,255,255,.22);
    backdrop-filter: blur(8px);
    padding: 8px 18px;
    border-radius: 40px;
    font-size: .92rem;
}
.chip svg { width: 16px; height: 16px; color: var(--orange-soft); }

.detail-layout {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 40px;
    align-items: start;
}
.detail-main { min-width: 0; }
.detail-card {
    background: #fff;
    border-radius: var(--card-radius);
    box-shadow: var(--shadow-sm);
    padding: 32px;
    margin-bottom: 28px;
}
.detail-card h2 {
    color: var(--teal-deep);
    font-size: 1.45rem;
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.detail-card h2 svg { width: 24px; height: 24px; color: var(--orange); }
.detail-card .prose { color: var(--muted); white-space: pre-line; }

.inc-exc { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.inc-exc ul { display: flex; flex-direction: column; gap: 10px; }
.inc-exc li { display: flex; gap: 10px; align-items: flex-start; color: var(--muted); }
.inc-exc li svg { width: 19px; height: 19px; flex-shrink: 0; margin-top: 3px; }
.inc-exc .inc svg { color: #16a34a; }
.inc-exc .exc svg { color: #dc2626; }
.inc-exc h3 { margin-bottom: 12px; color: var(--teal-deep); font-size: 1.05rem; }

/* itinerary accordion */
.itin-item {
    border: 1px solid #ece7dc;
    border-radius: 14px;
    margin-bottom: 12px;
    overflow: hidden;
    background: #fff;
}
.itin-head {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 20px;
    background: transparent;
    border: none;
    text-align: left;
    font-size: 1rem;
    font-weight: 600;
    color: var(--teal-deep);
}
.itin-day {
    background: linear-gradient(135deg, var(--teal), var(--teal-dark));
    color: #fff;
    font-size: .78rem;
    padding: 6px 13px;
    border-radius: 30px;
    flex-shrink: 0;
    white-space: nowrap;
}
.itin-head .itin-arrow {
    margin-left: auto;
    width: 20px; height: 20px;
    transition: transform .3s;
    color: var(--muted);
}
.itin-item.open .itin-arrow { transform: rotate(180deg); }
.itin-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height .45s ease;
}
.itin-body-inner { padding: 0 20px 18px 20px; color: var(--muted); }

/* gallery grid on detail */
.detail-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}
.detail-gallery a {
    border-radius: 14px;
    overflow: hidden;
    aspect-ratio: 4/3;
    display: block;
}
.detail-gallery img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform .5s;
}
.detail-gallery a:hover img { transform: scale(1.08); }

/* booking sidebar */
.booking-card {
    background: #fff;
    border-radius: var(--card-radius);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    position: sticky;
    top: 100px;
}
.booking-card-head {
    background: linear-gradient(135deg, var(--teal-deep), var(--teal));
    color: #fff;
    padding: 24px 28px;
}
.booking-card-head .old { text-decoration: line-through; opacity: .7; font-size: .95rem; }
.booking-card-head .now { font-size: 2rem; font-weight: 700; line-height: 1.15; }
.booking-card-head .per { font-size: .85rem; opacity: .85; }
.booking-form { padding: 26px 28px 30px; display: flex; flex-direction: column; gap: 15px; }
.form-group label {
    display: block;
    font-size: .88rem;
    font-weight: 600;
    color: var(--teal-deep);
    margin-bottom: 6px;
}
.form-control {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid #e5e0d5;
    border-radius: 12px;
    font-size: .97rem;
    outline: none;
    background: #fbfaf7;
    transition: border-color .3s, box-shadow .3s;
    color: var(--ink);
}
.form-control:focus {
    border-color: var(--teal);
    box-shadow: 0 0 0 4px rgba(14,124,123,.12);
    background: #fff;
}
textarea.form-control { resize: vertical; min-height: 90px; }
.form-error { color: #dc2626; font-size: .82rem; margin-top: 4px; }
.wa-line {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: var(--teal-dark);
    font-weight: 600;
    font-size: .95rem;
    padding: 12px;
    background: rgba(22,163,74,.08);
    border-radius: 12px;
    transition: background .3s;
}
.wa-line:hover { background: rgba(22,163,74,.16); }
.wa-line svg { width: 20px; height: 20px; color: #16a34a; }

/* ---------- Contact page ---------- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 40px;
    align-items: start;
}
.office-card {
    background: #fff;
    border-radius: var(--card-radius);
    box-shadow: var(--shadow-sm);
    padding: 26px;
    margin-bottom: 20px;
    display: flex;
    gap: 18px;
    transition: transform .35s, box-shadow .35s;
}
.office-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.office-card .office-icon {
    width: 54px; height: 54px;
    flex-shrink: 0;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(14,124,123,.12), rgba(249,115,22,.12));
    display: grid;
    place-items: center;
}
.office-card .office-icon svg { width: 26px; height: 26px; color: var(--teal); }
.office-card h3 { color: var(--teal-deep); margin-bottom: 4px; font-size: 1.08rem; }
.office-card p { color: var(--muted); font-size: .94rem; }
.office-card a { color: var(--teal); font-weight: 600; }

/* ---------- Gallery page ---------- */
.masonry {
    columns: 3;
    column-gap: 18px;
}
.masonry-item {
    break-inside: avoid;
    margin-bottom: 18px;
    border-radius: var(--card-radius);
    overflow: hidden;
    position: relative;
    display: block;
}
.masonry-item img { width: 100%; transition: transform .6s; }
.masonry-item:hover img { transform: scale(1.06); }
.masonry-item .cap {
    position: absolute;
    inset: auto 0 0 0;
    padding: 30px 16px 14px;
    background: linear-gradient(180deg, transparent, rgba(5,42,46,.85));
    color: #fff;
    font-size: .9rem;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity .4s, transform .4s;
}
.masonry-item:hover .cap { opacity: 1; transform: translateY(0); }

/* ---------- Booking success ---------- */
.success-wrap {
    min-height: 70svh;
    display: grid;
    place-items: center;
    padding: 140px 0 80px;
}
.success-card {
    background: #fff;
    border-radius: 24px;
    box-shadow: var(--shadow-md);
    max-width: 560px;
    width: 100%;
    padding: 50px 40px;
    text-align: center;
}
.success-icon {
    width: 90px; height: 90px;
    margin: 0 auto 24px;
    border-radius: 50%;
    background: rgba(22,163,74,.12);
    display: grid;
    place-items: center;
    animation: pop .6s cubic-bezier(.2,1.6,.4,1);
}
@keyframes pop {
    from { transform: scale(0); }
    to { transform: scale(1); }
}
.success-icon svg { width: 46px; height: 46px; color: #16a34a; }
.success-card h1 { color: var(--teal-deep); font-size: 1.6rem; margin-bottom: 10px; }
.success-card .code {
    display: inline-block;
    background: var(--sand);
    border: 1.5px dashed var(--teal);
    color: var(--teal-dark);
    font-weight: 700;
    letter-spacing: 1.5px;
    padding: 10px 24px;
    border-radius: 12px;
    margin: 16px 0;
    font-size: 1.15rem;
}

/* ---------- Footer ---------- */
.site-footer {
    background: var(--teal-deep);
    color: rgba(255,255,255,.8);
    padding: 80px 0 0;
    position: relative;
}
.footer-wave {
    position: absolute;
    top: -1px; left: 0; right: 0;
    transform: rotate(180deg);
}
.footer-wave svg { display: block; width: 100%; height: 60px; }
.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.3fr;
    gap: 40px;
    padding-bottom: 50px;
}
.footer-grid h4 {
    color: #fff;
    margin-bottom: 18px;
    font-size: 1.08rem;
    position: relative;
    padding-bottom: 10px;
}
.footer-grid h4::after {
    content: '';
    position: absolute;
    left: 0; bottom: 0;
    width: 34px; height: 3px;
    border-radius: 3px;
    background: var(--orange);
}
.footer-about p { font-size: .93rem; margin: 14px 0 20px; }
.footer-links li { margin-bottom: 10px; }
.footer-links a {
    transition: color .3s, padding-left .3s;
    font-size: .95rem;
}
.footer-links a:hover { color: var(--orange-soft); padding-left: 6px; }
.footer-contact li {
    display: flex;
    gap: 12px;
    margin-bottom: 14px;
    font-size: .93rem;
    align-items: flex-start;
}
.footer-contact svg { width: 19px; height: 19px; color: var(--orange-soft); flex-shrink: 0; margin-top: 3px; }
.social-row { display: flex; gap: 10px; }
.social-row a {
    width: 40px; height: 40px;
    border-radius: 12px;
    background: rgba(255,255,255,.08);
    display: grid;
    place-items: center;
    transition: background .3s, transform .3s;
}
.social-row a:hover { background: var(--orange); transform: translateY(-4px); }
.social-row svg { width: 19px; height: 19px; color: #fff; }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.1);
    padding: 22px 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    justify-content: space-between;
    font-size: .88rem;
}
.footer-bottom a { color: var(--orange-soft); font-weight: 600; }
.footer-bottom a:hover { text-decoration: underline; }

/* ---------- WhatsApp float ---------- */
.wa-float {
    position: fixed;
    bottom: 26px; right: 26px;
    z-index: 900;
    width: 60px; height: 60px;
    border-radius: 50%;
    background: #25d366;
    display: grid;
    place-items: center;
    box-shadow: 0 10px 30px rgba(37,211,102,.45);
    animation: wa-pulse 2.4s infinite;
    transition: transform .3s;
}
.wa-float:hover { transform: scale(1.1); }
.wa-float svg { width: 30px; height: 30px; color: #fff; }
@keyframes wa-pulse {
    0% { box-shadow: 0 10px 30px rgba(37,211,102,.45), 0 0 0 0 rgba(37,211,102,.4); }
    70% { box-shadow: 0 10px 30px rgba(37,211,102,.45), 0 0 0 18px rgba(37,211,102,0); }
    100% { box-shadow: 0 10px 30px rgba(37,211,102,.45), 0 0 0 0 rgba(37,211,102,0); }
}

/* ---------- Alerts ---------- */
.alert {
    padding: 15px 22px;
    border-radius: 14px;
    margin-bottom: 22px;
    font-size: .96rem;
}
.alert-success { background: rgba(22,163,74,.1); color: #15803d; border: 1px solid rgba(22,163,74,.25); }
.alert-danger { background: rgba(220,38,38,.08); color: #b91c1c; border: 1px solid rgba(220,38,38,.22); }

/* ---------- Pagination ---------- */
.pagination-wrap { margin-top: 50px; display: flex; justify-content: center; }
.pg-nav { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; justify-content: center; }
.pg-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    height: 42px;
    padding: 0 6px;
    border-radius: 12px;
    background: #fff;
    color: var(--teal-deep);
    font-weight: 600;
    font-size: .95rem;
    box-shadow: var(--shadow-sm);
    transition: transform .25s, box-shadow .25s, background .25s, color .25s;
}
.pg-btn svg { width: 18px; height: 18px; }
a.pg-btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); color: var(--orange); }
.pg-btn.pg-active {
    background: linear-gradient(135deg, var(--teal), var(--teal-dark));
    color: #fff;
    box-shadow: 0 6px 18px rgba(14,124,123,.35);
}
.pg-btn.pg-disabled { opacity: .4; cursor: default; box-shadow: none; }
.pg-dots {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    height: 42px;
    color: var(--muted);
}

/* ---------- Reveal helpers (used with AOS) ---------- */
.tilt-hover { transition: transform .4s; }
.tilt-hover:hover { transform: perspective(900px) rotateX(2deg) rotateY(-3deg) translateY(-6px); }

/* ---------- Lightbox ---------- */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 2000;
    background: rgba(5,42,46,.92);
    display: none;
    place-items: center;
    padding: 4vh 4vw;
}
.lightbox.open { display: grid; }
.lightbox img {
    max-width: 92vw;
    max-height: 88vh;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    animation: pop .35s ease;
}
.lightbox-close {
    position: absolute;
    top: 22px; right: 26px;
    background: rgba(255,255,255,.12);
    border: none;
    width: 46px; height: 46px;
    border-radius: 50%;
    color: #fff;
    font-size: 1.5rem;
    display: grid;
    place-items: center;
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1024px) {
    .category-grid, .package-grid { grid-template-columns: repeat(2, 1fr); }
    .why-grid { grid-template-columns: repeat(2, 1fr); }
    .boat-grid { grid-template-columns: 1fr; gap: 70px; }
    .detail-layout { grid-template-columns: 1fr; }
    .booking-card { position: static; }
    .contact-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .masonry { columns: 2; }
    .search-card { grid-template-columns: 1fr 1fr; }
    .search-card .btn { grid-column: 1 / -1; justify-content: center; }
}

@media (max-width: 768px) {
    .section { padding: 64px 0; }
    .nav-toggle { display: block; }
    /* backdrop-filter would make .site-header a containing block for its
       position:fixed child .nav-links, collapsing the overlay to the header box */
    .site-header.scrolled {
        backdrop-filter: none;
        background: rgba(5, 42, 46, .97);
    }
    .nav-backdrop { display: block; }
    .nav-links {
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        left: auto;
        width: min(80%, 320px);
        background: linear-gradient(160deg, #063437 0%, #052a2e 100%);
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        gap: 4px;
        padding: 96px 20px 40px;
        overflow-y: auto;
        overscroll-behavior: contain;
        transform: translateX(100%);
        transition: transform .4s cubic-bezier(.4, 0, .2, 1);
        box-shadow: -14px 0 46px rgba(0, 0, 0, .4);
        z-index: 1100;
    }
    .nav-links.open { transform: translateX(0); }
    .nav-links a {
        font-size: 1.08rem;
        text-align: left;
        padding: 14px 18px;
        border-radius: 12px;
    }
    .nav-links .nav-cta {
        margin: 16px 0 0;
        justify-content: center;
        text-align: center;
    }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .inc-exc { grid-template-columns: 1fr; }
    .detail-gallery { grid-template-columns: repeat(2, 1fr); }
    .hero-pagination { right: auto; left: 4%; bottom: 100px; }
    .cta-band { padding: 50px 26px; }
}

@media (max-width: 560px) {
    .category-grid, .package-grid, .why-grid { grid-template-columns: 1fr; }
    .search-card { grid-template-columns: 1fr; margin-top: -40px; }
    .masonry { columns: 1; }
    .footer-grid { grid-template-columns: 1fr; }
    .boat-features { grid-template-columns: 1fr; }
    .boat-imgs .small { display: none; }
    .hero-actions .btn { width: 100%; justify-content: center; }
}

/* respect reduced motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }
    html { scroll-behavior: auto; }
}
