/* FUJIKO Travel - Premium AI Travel Theme */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Poppins:wght@400;500;600;700;800&display=swap');

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --bg: #f0f6f8;
    --bg-2: #e2eef2;
    --bg-3: #d4e6ec;
    --panel: rgba(255, 255, 255, 0.85);
    --panel-soft: rgba(255, 255, 255, 0.6);
    --panel-strong: rgba(255, 255, 255, 0.95);
    --line: rgba(0, 80, 100, 0.12);
    --line-strong: rgba(0, 80, 100, 0.22);
    --text: #0a2a35;
    --muted: #4a7080;
    --faint: #7a9aa8;
    --primary: #0e7490;
    --teal: #0d9488;
    --cyan: #0e7490;
    --dark: #0a2a35;
    --warning: #b45309;
    --danger: #dc2626;
    --success: #059669;
    --shadow: 0 8px 32px rgba(0, 80, 100, 0.12);
    --glow: 0 0 20px rgba(13, 148, 136, 0.15);
    --radius-xl: 30px;
    --radius-lg: 24px;
    --radius-md: 18px;
    --radius-pill: 999px;
    --transition: 0.25s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    font-family: "Inter", "Poppins", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--text);
    background: linear-gradient(145deg, #e8f4f8 0%, #d4eaf0 50%, #e0f0f5 100%);
    overflow-x: hidden;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(190,220,226,0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(190,220,226,0.02) 1px, transparent 1px);
    background-size: 72px 72px;
    mask-image: linear-gradient(to bottom, rgba(0,0,0,0.6), transparent 75%);
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    display: block;
    max-width: 100%;
}

.container {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
}

::selection {
    color: #031118;
    background: var(--teal);
}

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #031118;
}

::-webkit-scrollbar-thumb {
    border-radius: 20px;
    background: linear-gradient(var(--primary), var(--cyan));
}

/* Navbar */
.header {
    position: fixed;
    top: 18px;
    left: 50%;
    z-index: 1000;
    width: min(1180px, calc(100% - 36px));
    transform: translateX(-50%);
    border: 1px solid rgba(198, 226, 232, 0.16);
    border-radius: var(--radius-pill);
    background: rgba(6, 23, 31, 0.58);
    box-shadow: 0 18px 50px rgba(0, 5, 10, 0.36);
    backdrop-filter: blur(26px) saturate(1.08);
    -webkit-backdrop-filter: blur(26px) saturate(1.08);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    min-height: 72px;
    padding: 10px 18px 10px 24px;
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
    flex-shrink: 0;
    text-decoration: none !important;
}

/* Image logo — transparent PNG */
.logo-img {
    display: block;
    height: 36px;
    width: auto;
    max-width: 140px;
    object-fit: contain;
}

/* SVG inline logo (fallback, no longer used) */
.logo-svg {
    display: block;
    height: 54px;
    width: auto;
    max-width: 240px;
}

/* Keep old text-logo rules harmless in case any page still uses them */
.logo h1 {
    font-family: "Poppins", sans-serif;
    font-size: clamp(1.1rem, 2vw, 1.45rem);
    font-weight: 800;
    letter-spacing: 0;
    background: linear-gradient(135deg, #ffffff 0%, #c5e2e8 48%, #8ed5cf 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.logo p {
    margin-top: 2px;
    color: var(--muted);
    font-size: 0.68rem;
    font-weight: 500;
}

.nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 6px;
    flex-wrap: wrap;
}

.nav a {
    position: relative;
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: 0 15px;
    border: 1px solid transparent;
    border-radius: var(--radius-pill);
    color: #d1dee2;
    font-size: 0.88rem;
    font-weight: 700;
    transition: color 0.3s ease, background 0.3s ease, transform 0.3s ease, border-color 0.3s ease;
}

.nav a:hover,
.nav a.active {
    color: #ffffff;
    border-color: rgba(218, 239, 242, 0.16);
    background: rgba(193, 219, 225, 0.11);
    transform: translateY(-1px);
}

.nav a.active {
    box-shadow: inset 0 0 0 1px rgba(168, 210, 218, 0.12), var(--glow);
}

/* Shared type and controls */
.section-title,
.section-title-white {
    color: #ffffff;
    font-family: "Poppins", sans-serif;
    font-size: clamp(2rem, 4vw, 3.1rem);
    font-weight: 800;
    line-height: 1.08;
    text-align: center;
}

.section-subtitle,
.section-subtitle-white {
    max-width: 680px;
    margin: 14px auto 42px;
    color: var(--muted);
    font-size: 1.02rem;
    line-height: 1.75;
    text-align: center;
}

.btn,
.btn-submit,
.book-now-btn,
.tour-more-btn,
.more-btn,
.back-to-home-btn,
.write-review-btn a,
.hero-btn,
.search-submit,
.btn-book {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 46px;
    border: 0;
    border-radius: var(--radius-pill);
    background: linear-gradient(135deg, #e8f6f8, #8fd4cb);
    color: #041018;
    cursor: pointer;
    font-weight: 800;
    line-height: 1;
    box-shadow: 0 12px 28px rgba(125, 183, 194, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease, filter 0.3s ease, background 0.3s ease;
}

.btn:hover,
.btn-submit:hover,
.book-now-btn:hover,
.tour-more-btn:hover,
.more-btn:hover,
.back-to-home-btn:hover,
.write-review-btn a:hover,
.hero-btn:hover,
.search-submit:hover,
.btn-book:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 40px rgba(143, 212, 203, 0.24);
    filter: saturate(1.12);
}

.btn-secondary,
.hero-btn.secondary {
    border: 1px solid rgba(210, 235, 239, 0.17);
    background: rgba(189, 216, 222, 0.1);
    color: #ffffff;
    box-shadow: none;
    backdrop-filter: blur(16px);
}

/* Hero */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 150px 0 96px;
    overflow: hidden;
    background:
        linear-gradient(90deg, rgba(2, 11, 16, 0.93) 0%, rgba(5, 24, 32, 0.76) 44%, rgba(6, 23, 31, 0.42) 100%),
        linear-gradient(180deg, rgba(6, 23, 31, 0.14), #031118 95%),
        url("../assets/images/header_3.jpg") center/cover;
}

.hero::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 220px;
    background: linear-gradient(transparent, #031118);
}

.hero .container {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.55fr);
    align-items: center;
    gap: 42px;
}

.hero-content {
    max-width: 760px;
}

.hero-kicker {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 20px;
    padding: 9px 14px;
    border: 1px solid rgba(213,235,239,0.16);
    border-radius: var(--radius-pill);
    background: rgba(130,165,174,0.12);
    color: #d9eef1;
    font-size: 0.84rem;
    font-weight: 800;
    backdrop-filter: blur(18px);
}

.hero h2 {
    max-width: 780px;
    color: #ffffff;
    font-family: "Poppins", sans-serif;
    font-size: clamp(3rem, 8vw, 6.6rem);
    font-weight: 900;
    line-height: 0.96;
    letter-spacing: 0;
}

.hero p {
    max-width: 650px;
    margin-top: 24px;
    color: #d3e2e6;
    font-size: clamp(1rem, 2vw, 1.2rem);
    line-height: 1.85;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 34px;
}

.hero-btn {
    padding: 0 24px;
}

.hero-search-card {
    position: relative;
    padding: 22px;
    border: 1px solid rgba(218, 239, 242, 0.17);
    border-radius: var(--radius-xl);
    background: linear-gradient(145deg, rgba(151, 183, 191, 0.18), rgba(72, 102, 111, 0.09));
    box-shadow: var(--shadow);
    backdrop-filter: blur(26px) saturate(1.08);
}

.hero-search-card::before {
    content: "";
    position: absolute;
    inset: 12px;
    z-index: -1;
    border-radius: 24px;
    background: linear-gradient(135deg, rgba(162,200,209,0.16), rgba(107,172,164,0.08));
}

.search-row {
    display: grid;
    gap: 6px;
    padding: 17px 16px;
    border-bottom: 1px solid rgba(218,239,242,0.13);
}

.search-row span {
    color: var(--muted);
    font-size: 0.82rem;
    font-weight: 800;
}

.search-row strong {
    color: #ffffff;
    font-size: 1.05rem;
}

.search-submit {
    width: 100%;
    margin-top: 18px;
    padding: 0 18px;
}

/* Sub navigation */
.subnav-wrap {
    position: relative;
    z-index: 3;
    margin-top: -44px;
    padding: 0 0 56px;
}

.subnav-bar {
    width: min(1040px, calc(100% - 40px));
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr;
    align-items: stretch;
    border: 1px solid rgba(218,239,242,0.15);
    border-radius: var(--radius-xl);
    background: rgba(7, 25, 34, 0.76);
    box-shadow: var(--shadow);
    backdrop-filter: blur(26px) saturate(1.05);
    overflow: hidden;
}

.snav-item {
    display: grid;
    grid-template-columns: 48px 1fr 24px;
    align-items: center;
    gap: 14px;
    min-height: 108px;
    padding: 20px;
    transition: background 0.3s ease, transform 0.3s ease;
}

.snav-item:hover {
    background: rgba(181,211,217,0.08);
}

.snav-icon,
.snav-arrow {
    color: var(--teal);
}

.snav-icon {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border-radius: 16px;
    background: rgba(169, 203, 214, 0.12);
}

.snav-icon svg,
.snav-arrow svg {
    width: 22px;
    height: 22px;
}

.snav-label {
    display: block;
    color: #ffffff;
    font-weight: 800;
}

.snav-sub {
    display: block;
    margin-top: 4px;
    color: var(--muted);
    font-size: 0.88rem;
}

.snav-divider {
    width: 1px;
    background: rgba(218,239,242,0.12);
}

/* Sections and cards */
.features,
.about,
.why-choose-us,
.tours-section,
.testimonials,
.faq-section,
.contact {
    position: relative;
    padding: 90px 0;
}

.features,
.tours-section,
.faq-section {
    background: linear-gradient(180deg, #031118 0%, #061b25 100%);
}

.about,
.testimonials {
    background: transparent;
}

.why-choose-us,
.contact {
    background:
        radial-gradient(circle at 8% 0%, rgba(119, 159, 169, 0.13), transparent 32rem),
        linear-gradient(180deg, #04131b 0%, #031118 100%);
}

.features-grid,
.reasons-grid,
.testimonials-grid,
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(245px, 1fr));
    gap: 22px;
}

/* ═══════════════════════════════════════════════════════════════
   Tours Filter / Search Bar
   ═══════════════════════════════════════════════════════════════ */
.tours-filter-bar {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.97);
    border-bottom: 1px solid #d8e2f2;
    box-shadow: 0 4px 16px rgba(20, 57, 95, 0.06);
    padding: 16px 0;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.tours-filter-top {
    display: flex;
    gap: 14px;
    align-items: center;
    margin-bottom: 12px;
}

.tours-search-wrap {
    position: relative;
    flex: 1;
    display: flex;
    align-items: center;
}

.tours-search-wrap > i {
    position: absolute;
    left: 14px;
    color: #64748b;
    font-size: 0.9rem;
    pointer-events: none;
}

.tours-search-wrap input {
    width: 100%;
    padding: 12px 40px 12px 40px;
    border: 1px solid #d8e2f2;
    border-radius: 10px;
    background: #f8fafc;
    font-size: 0.92rem;
    color: #14395f;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.tours-search-wrap input:focus {
    border-color: #467bb5;
    box-shadow: 0 0 0 3px rgba(70, 123, 181, 0.12);
    outline: none;
    background: #ffffff;
}

.tours-search-wrap input::placeholder {
    color: #94a3b8;
}

.search-clear {
    position: absolute;
    right: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border: none;
    border-radius: 50%;
    background: #e2e8f0;
    color: #475569;
    font-size: 0.75rem;
    cursor: pointer;
    transition: background 0.2s;
}

.search-clear:hover {
    background: #cbd5e1;
}

.tours-sort-wrap {
    position: relative;
    display: flex;
    align-items: center;
    min-width: 200px;
}

.tours-sort-wrap > i {
    position: absolute;
    left: 14px;
    color: #64748b;
    font-size: 0.9rem;
    pointer-events: none;
}

.tours-sort-wrap select {
    width: 100%;
    padding: 12px 16px 12px 40px;
    border: 1px solid #d8e2f2;
    border-radius: 10px;
    background: #f8fafc;
    font-size: 0.92rem;
    color: #14395f;
    font-weight: 600;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.tours-sort-wrap select:focus {
    border-color: #467bb5;
    box-shadow: 0 0 0 3px rgba(70, 123, 181, 0.12);
    outline: none;
}

.tours-sort-wrap::after {
    content: "\f107";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    right: 14px;
    color: #64748b;
    font-size: 0.8rem;
    pointer-events: none;
}

.tours-filter-bottom {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.filter-label {
    font-size: 0.85rem;
    font-weight: 700;
    color: #14395f;
    white-space: nowrap;
}

.tours-filter-chips {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.filter-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 14px;
    border: 1px solid #d8e2f2;
    border-radius: 20px;
    background: #f8fafc;
    color: #475569;
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.filter-chip:hover {
    border-color: #467bb5;
    color: #467bb5;
    background: #eef5ff;
}

.filter-chip.active {
    background: #467bb5;
    border-color: #467bb5;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(70, 123, 181, 0.25);
}

.filter-chip i {
    font-size: 0.78rem;
}

.tours-result-count {
    width: 100%;
    margin-top: 4px;
    font-size: 0.85rem;
    font-weight: 700;
    color: #467bb5;
    white-space: nowrap;
}

@media (max-width: 768px) {
    .tours-filter-top {
        flex-direction: column;
        gap: 10px;
    }

    .tours-sort-wrap {
        min-width: 100%;
    }

    .tours-filter-bottom {
        gap: 8px;
    }

    .filter-chip {
        padding: 6px 10px;
        font-size: 0.78rem;
    }

    .tours-result-count {
        width: 100%;
        margin-left: 0;
        margin-top: 4px;
    }
}

.tours-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
    gap: 28px;
    align-items: stretch;
}

.feature-card,
.reason-card,
.tour-card,
.testimonial-card,
.live-stats,
.contact-info,
.contact-form,
.booking-container,
.testimonial-container,
.faq-item,
.tour-details {
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: linear-gradient(145deg, rgba(148, 181, 189, 0.13), rgba(48, 77, 88, 0.08));
    box-shadow: 0 18px 48px rgba(0, 8, 14, 0.34);
    backdrop-filter: blur(24px) saturate(1.05);
}

.feature-card,
.reason-card,
.testimonial-card {
    padding: 28px;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover,
.reason-card:hover,
.testimonial-card:hover,
.tour-card:hover {
    transform: translateY(-8px);
    border-color: var(--line-strong);
    box-shadow: 0 28px 70px rgba(0, 6, 10, 0.46), var(--glow);
}

.feature-card i,
.reason-card i {
    display: grid;
    place-items: center;
    width: 54px;
    height: 54px;
    margin-bottom: 22px;
    border-radius: 18px;
    color: #041018;
    background: linear-gradient(135deg, #dceff3, #8fd4cb);
    font-size: 1.35rem;
}

.feature-card h3,
.reason-card h3,
.tour-title,
.contact-info h3 {
    color: #ffffff;
    font-family: "Poppins", sans-serif;
    font-size: 1.22rem;
    font-weight: 800;
}

.feature-card p,
.reason-card p,
.tour-description,
.testimonial-comment,
.contact-info p,
.footer p {
    color: var(--muted);
    line-height: 1.75;
}

.feature-card p,
.reason-card p {
    margin-top: 10px;
}

/* About */
.about-grid {
    display: grid;
    grid-template-columns: 420px 1fr;
    align-items: center;
    gap: 48px;
}

.about-image {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    height: 340px;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.about-content h2 {
    color: var(--text);
    font-family: "Poppins", sans-serif;
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    line-height: 1.2;
    margin-bottom: 4px;
}

.about-content p {
    margin-top: 14px;
    color: var(--muted);
    line-height: 1.75;
    font-size: 0.95rem;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-top: 24px;
}

.stat-item {
    padding: 16px 12px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--panel);
    text-align: center;
}

.stat-number,
.stat-number-live {
    color: var(--teal);
    font-family: "Poppins", sans-serif;
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 900;
}

.stat-label,
.stat-label-live {
    margin-top: 4px;
    color: var(--muted);
    font-size: 0.8rem;
    font-weight: 700;
}

/* Live stats */
.live-stats {
    margin-top: 42px;
    padding: 30px;
}

.live-stats h3 {
    margin-bottom: 22px;
    color: #ffffff;
    font-family: "Poppins", sans-serif;
}

.recent-activity {
    margin-top: 22px;
    padding: 16px 18px;
    border: 1px solid rgba(218,239,242,0.12);
    border-radius: 18px;
    background: rgba(0,8,12,0.24);
    color: #d8edf3;
}

/* Tour cards */
.category-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 28px;
}

.category-header h2 {
    color: #ffffff;
    font-family: "Poppins", sans-serif;
    font-size: clamp(1.6rem, 3vw, 2.3rem);
}

.more-btn {
    min-height: 42px;
    padding: 0 18px;
    font-size: 0.9rem;
}

.tour-card {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-height: 100%;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.tour-card img {
    width: 100%;
    height: 235px;
    object-fit: cover;
    transition: transform 0.45s ease;
}

.tour-card:hover img {
    transform: scale(1.06);
}

.tour-info {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 26px;
}

.tour-rating {
    margin-bottom: 10px;
    color: var(--warning);
    font-size: 0.88rem;
}

.tour-destination {
    display: flex;
    gap: 8px;
    align-items: center;
    margin-top: 9px;
    color: #b8d5de;
    font-weight: 700;
}

.weather-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    max-width: 100%;
    min-height: 34px;
    margin-top: 12px;
    padding: 7px 11px;
    border: 1px solid rgba(218,239,242,0.14);
    border-radius: var(--radius-pill);
    background: rgba(151,183,191,0.09);
    color: #d8edf3;
    font-size: 0.82rem;
    font-weight: 800;
}

.weather-pill span {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.weather-pill.available {
    border-color: rgba(95,240,177,0.24);
    background: rgba(95,240,177,0.1);
    color: #bbffdf;
}

.weather-pill.unavailable {
    border-color: rgba(255,127,127,0.3);
    background: rgba(255,127,127,0.12);
    color: #ffd1d1;
}

.weather-pill.unknown {
    border-color: rgba(255,209,102,0.25);
    background: rgba(255,209,102,0.1);
    color: #ffe4a3;
}

.forecast-strip {
    display: grid;
    grid-template-columns: repeat(3, minmax(96px, 1fr));
    gap: 10px;
    margin-top: 14px;
}

.forecast-day {
    min-width: 0;
    min-height: 116px;
    padding: 12px;
    border: 1px solid rgba(218,239,242,0.12);
    border-radius: 14px;
    background: rgba(151,183,191,0.08);
}

.forecast-day strong,
.forecast-day span,
.forecast-day small {
    display: block;
}

.forecast-day strong {
    color: #ffffff;
    font-size: 0.84rem;
    font-weight: 900;
    white-space: nowrap;
}

.forecast-day span {
    margin-top: 4px;
    color: var(--teal);
    font-size: 0.9rem;
    font-weight: 900;
    white-space: nowrap;
}

.forecast-day small {
    margin-top: 6px;
    color: var(--muted);
    font-size: 0.76rem;
    line-height: 1.4;
}

.forecast-day.hazard {
    border-color: rgba(255,127,127,0.28);
    background: rgba(255,127,127,0.1);
}

.forecast-day.hazard span,
.forecast-day.hazard small {
    color: #ffd1d1;
}

.tour-description {
    margin-top: 12px;
    min-height: 84px;
}

.tour-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin: auto 0 18px;
    padding-top: 20px;
}

.tour-price {
    color: var(--teal);
    font-size: 1.2rem;
    font-weight: 900;
}

.tour-duration {
    color: var(--muted);
    font-size: 0.9rem;
    font-weight: 700;
}

.book-now-btn {
    width: 100%;
    min-height: 54px;
    padding: 0 18px;
    font-size: 1rem;
}

.tour-card-actions {
    display: grid;
    grid-template-columns: 0.72fr 1fr;
    gap: 10px;
    margin-top: 0;
}

.tour-more-btn {
    width: 100%;
    min-height: 54px;
    padding: 0 16px;
    border: 1px solid #b9c9de;
    background: #d8e2f2;
    color: #14395f !important;
    -webkit-text-fill-color: #14395f !important;
    box-shadow: none;
    white-space: nowrap;
}

.book-now-btn.disabled {
    cursor: not-allowed;
    background: rgba(151,183,191,0.12);
    color: #94a7ad;
    box-shadow: none;
}

.book-now-btn.disabled:hover {
    transform: none;
    box-shadow: none;
    filter: none;
}

.featured-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    z-index: 2;
    padding: 8px 12px;
    border-radius: var(--radius-pill);
    background: rgba(255, 209, 102, 0.92);
    color: #211704;
    font-size: 0.8rem;
    font-weight: 900;
    box-shadow: 0 10px 24px rgba(0,0,0,0.28);
}

.modal-open {
    overflow: hidden;
}

.tour-modal {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 22px;
    background: rgba(0, 7, 12, 0.78);
    backdrop-filter: blur(12px);
}

.tour-modal.visible {
    display: flex;
}

.tour-modal-content {
    position: relative;
    width: min(1240px, 100%);
    height: min(88vh, 860px);
    max-height: min(88vh, 860px);
    overflow-y: auto;
    overflow-x: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius-xl);
    background: linear-gradient(145deg, rgba(7,25,34,0.96), rgba(5,15,22,0.98));
    box-shadow: var(--shadow);
}

.tour-modal-close {
    position: absolute;
    top: 18px;
    right: 18px;
    z-index: 5;
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border: 1px solid rgba(218,239,242,0.16);
    border-radius: 50%;
    background: rgba(3,17,24,0.75);
    color: #ffffff;
    cursor: pointer;
    backdrop-filter: blur(14px);
}

.tour-modal-layout {
    display: grid;
    grid-template-columns: minmax(430px, 0.95fr) minmax(520px, 1.05fr);
    min-height: 100%;
    max-height: none;
}

.tour-modal-image-panel {
    position: relative;
    min-height: 0;
    height: min(88vh, 860px);
    position: sticky;
    top: 0;
    overflow: hidden;
    background: rgba(0,8,12,0.32);
}

.tour-modal-image-bg,
.tour-modal-image-main {
    width: 100%;
    height: 100%;
    min-height: 0;
}

.tour-modal-image-bg {
    position: absolute;
    inset: 0;
    object-fit: cover;
    filter: blur(24px) saturate(1.15);
    opacity: 0.42;
    transform: scale(1.08);
}

.tour-modal-image-main {
    position: relative;
    z-index: 1;
    object-fit: contain;
    padding: 18px;
}

.tour-modal-info {
    display: flex;
    min-height: min(88vh, 860px);
    overflow: visible;
    flex-direction: column;
    padding: 42px 42px 28px;
}

.tour-modal-category {
    display: inline-flex;
    min-height: 30px;
    align-items: center;
    padding: 0 13px;
    border: 1px solid rgba(218,239,242,0.16);
    border-radius: var(--radius-pill);
    background: rgba(151,183,191,0.1);
    color: var(--teal);
    font-size: 0.78rem;
    font-weight: 900;
    text-transform: uppercase;
}

.tour-modal-info h2 {
    margin-top: 16px;
    color: #ffffff;
    font-family: "Poppins", sans-serif;
    font-size: clamp(2rem, 4vw, 3.2rem);
    line-height: 1.05;
}

.tour-modal-rating {
    margin-top: 12px;
    color: var(--warning);
    font-weight: 900;
}

.tour-modal-description {
    margin-top: 18px;
    color: var(--muted);
    font-size: 1.02rem;
    line-height: 1.8;
}

/* Preserve admin-typed formatting: paragraphs and line breaks */
.tour-modal-description .tour-modal-description-para {
    margin: 0 0 12px;
    color: var(--muted);
    font-size: 1.02rem;
    line-height: 1.8;
    white-space: pre-wrap;   /* keeps intentional spacing */
    word-break: break-word;
}

.tour-modal-description .tour-modal-description-para:last-child {
    margin-bottom: 0;
}

.tour-modal-facts {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 24px;
}

.tour-modal-facts div,
.tour-modal-forecast-card {
    border: 1px solid rgba(70, 123, 181, 0.18);
    border-radius: 18px;
    background: rgba(216, 226, 242, 0.45);
}

.tour-modal-facts div {
    padding: 15px;
}

.tour-modal-facts span {
    display: flex;
    gap: 8px;
    align-items: center;
    color: #14395f;
    font-size: 0.82rem;
    font-weight: 800;
}

.tour-modal-facts strong {
    display: block;
    margin-top: 8px;
    color: #0d2540;
    line-height: 1.45;
}

.tour-modal-forecast {
    margin-top: 24px;
}

.tour-modal-forecast h3 {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-bottom: 14px;
    color: #ffffff;
    font-family: "Poppins", sans-serif;
}

.tour-modal-forecast-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.tour-modal-forecast-card {
    padding: 13px;
}

.tour-modal-forecast-card strong,
.tour-modal-forecast-card span,
.tour-modal-forecast-card small {
    display: block;
}

.tour-modal-forecast-card strong {
    color: #14395f;
    font-weight: 900;
}

.tour-modal-forecast-card span {
    margin-top: 6px;
    color: #467bb5;
    font-weight: 900;
}

.tour-modal-forecast-card small {
    margin-top: 6px;
    color: #63768a;
    line-height: 1.4;
}

.tour-modal-forecast-card.hazard {
    border-color: rgba(255,127,127,0.3);
    background: rgba(255,127,127,0.1);
}

.tour-modal-forecast-card.hazard span,
.tour-modal-forecast-card.hazard small {
    color: #ffd1d1;
}

.tour-modal-actions {
    margin-top: 26px;
    padding: 0;
    background: none;
}

/* ═══ Tour Reviews Section ═══ */
.tour-modal-reviews {
    margin-top: 28px;
    padding-top: 24px;
    border-top: 1px solid #e2e8f0;
}

.tour-modal-reviews h3 {
    font-size: 1.1rem;
    font-weight: 800;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.tour-modal-reviews h3 i {
    color: #f59e0b;
}

.tour-reviews-loading {
    text-align: center;
    padding: 24px;
    color: #64748b;
    font-size: 0.9rem;
}

.tour-reviews-empty {
    text-align: center;
    padding: 32px 20px;
    color: #64748b;
}

.tour-reviews-empty i {
    font-size: 2rem;
    color: #cbd5e1;
    margin-bottom: 10px;
    display: block;
}

.tour-reviews-empty p {
    font-size: 0.88rem;
    margin: 0;
}

.tour-reviews-summary {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 18px;
    padding: 16px 20px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
}

.tour-reviews-avg {
    display: flex;
    align-items: center;
    gap: 10px;
}

.tour-reviews-avg-number {
    font-size: 1.8rem;
    font-weight: 900;
    color: #14395f;
    line-height: 1;
}

.tour-reviews-avg-stars {
    display: flex;
    gap: 2px;
    color: #f59e0b;
    font-size: 1rem;
}

.tour-reviews-avg-count {
    font-size: 0.82rem;
    color: #64748b;
    font-weight: 600;
}

.tour-reviews-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
    max-height: 400px;
    overflow-y: auto;
    padding-right: 4px;
}

.tour-review-card {
    padding: 20px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    transition: box-shadow 0.2s;
}

.tour-review-card:hover {
    box-shadow: 0 4px 16px rgba(20, 57, 95, 0.08);
}

.tour-review-header {
    display: flex;
    align-items: center;
    gap: 14px;
}

.tour-review-avatar {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: linear-gradient(135deg, #467bb5, #14395f);
    color: #ffffff;
    font-weight: 800;
    font-size: 0.95rem;
    flex-shrink: 0;
    overflow: hidden;
}

.tour-review-avatar img,
.tour-review-avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.tour-review-avatar span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.tour-review-meta {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
    align-items: flex-start;
}

.tour-review-meta strong {
    font-size: 0.92rem;
    color: #14395f;
    line-height: 1.2;
    text-align: left;
}

.tour-review-meta span {
    font-size: 0.78rem;
    color: #94a3b8;
    font-weight: 500;
    text-align: left;
}

.tour-review-stars {
    display: flex;
    align-items: center;
    gap: 2px;
    color: #f59e0b;
    font-size: 0.88rem;
    flex-shrink: 0;
}

.tour-review-comment {
    margin: 12px 0 0;
    padding-top: 12px;
    border-top: 1px solid #f1f5f9;
    font-size: 0.9rem;
    color: #475569;
    line-height: 1.65;
}
/* ═══ End Tour Reviews ═══ */

/* Keep tour modal headings readable inside dense detail panels. */
.tour-modal-activities h3,
.possible-locations-panel h3 {
    font-size: 1.15rem;
    font-weight: 800;
    margin: 0 0 12px;
    color: var(--teal);
}

.tour-activity-meta strong,
.possible-location-card strong,
.tour-activity-card .tour-activity-meta strong {
    font-size: 1rem;
    font-weight: 800;
    display: block;
    margin-bottom: 4px;
    color: var(--text);
    line-height: 1.25;
    overflow-wrap: anywhere;
}

.page-header {
    padding: 150px 0 72px;
    background:
        linear-gradient(90deg, rgba(3,17,24,0.9), rgba(3,17,24,0.55)),
        url("../assets/images/header_8.jpg") center/cover;
    text-align: center;
}

.page-header h1 {
    color: #ffffff;
    font-family: "Poppins", sans-serif;
    font-size: clamp(2.4rem, 6vw, 4.5rem);
    font-weight: 900;
}

.page-header p {
    margin-top: 14px;
    color: #d4e5eb;
    font-size: 1.1rem;
}

.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 42px;
}

.pagination a,
.pagination span {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border: 1px solid rgba(218,239,242,0.14);
    border-radius: 14px;
    background: rgba(151,183,191,0.09);
    color: #ffffff;
    font-weight: 800;
}

.pagination .active {
    background: linear-gradient(135deg, #e8f6f8, #8fd4cb);
    color: #041018;
}

.back-button-container {
    margin: 48px 0 10px;
    text-align: center;
}

.back-to-home-btn {
    padding: 0 28px;
}

/* Testimonials and FAQ */
.write-review-btn {
    display: flex;
    justify-content: center;
    margin: -22px 0 36px;
}

.write-review-btn a {
    padding: 0 22px;
}

.testimonial-rating {
    color: var(--warning);
    margin-bottom: 16px;
}

.testimonial-comment {
    font-size: 1rem;
}

.testimonial-name {
    margin-top: 20px;
    color: #ffffff;
    font-weight: 900;
}

.testimonial-destination {
    margin-top: 4px;
    color: var(--teal);
    font-size: 0.92rem;
    font-weight: 800;
}

.faq-list {
    width: min(820px, 100%);
    margin: 0 auto;
    display: grid;
    gap: 14px;
}

.faq-item {
    overflow: hidden;
}

.faq-item summary {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 64px;
    padding: 18px 58px 18px 22px;
    color: #ffffff;
    cursor: pointer;
    font-weight: 900;
    list-style: none;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: "+";
    position: absolute;
    right: 22px;
    top: 50%;
    width: 30px;
    height: 30px;
    display: grid;
    place-items: center;
    transform: translateY(-50%);
    border-radius: 50%;
    background: rgba(151,183,191,0.1);
    color: var(--teal);
    font-size: 1.2rem;
}

.faq-item[open] summary::after {
    content: "-";
}

.faq-item p {
    padding: 0 22px 22px;
    color: var(--muted);
    line-height: 1.8;
}

/* Contact and forms */
.contact-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 28px;
}

.contact-info,
.contact-form {
    padding: 30px;
}

.contact-info h3 {
    font-size: 2rem;
}

.contact-details {
    display: grid;
    gap: 16px;
    margin-top: 28px;
}

.contact-details .item {
    display: grid;
    grid-template-columns: 44px 1fr;
    gap: 14px;
    align-items: center;
    color: #d9eef4;
}

.contact-details i {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 15px;
    background: rgba(169, 203, 214, 0.12);
    color: var(--teal);
}

form {
    display: grid;
    gap: 16px;
}

.form-group {
    display: grid;
    gap: 8px;
}

label,
.rating-label {
    color: #d8edf3;
    font-size: 0.92rem;
    font-weight: 800;
}

input,
select,
textarea {
    width: 100%;
    min-height: 50px;
    border: 1px solid rgba(218,239,242,0.15);
    border-radius: 16px;
    outline: none;
    background: rgba(151,183,191,0.09);
    color: #ffffff;
    font: inherit;
    padding: 13px 15px;
    transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

textarea {
    min-height: 132px;
    resize: vertical;
}

select option {
    color: #071119;
}

input::placeholder,
textarea::placeholder {
    color: #78909c;
}

input:focus,
select:focus,
textarea:focus {
    border-color: var(--primary);
    background: rgba(151,183,191,0.12);
    box-shadow: 0 0 0 4px rgba(169,203,214,0.12);
}

.btn-submit {
    width: max-content;
    padding: 0 26px;
}

.alert-success,
.alert-error,
.error-box {
    margin-bottom: 16px;
    padding: 14px 16px;
    border-radius: 16px;
    font-weight: 800;
}

.alert-success {
    border: 1px solid rgba(95,240,177,0.35);
    background: rgba(95,240,177,0.12);
    color: #bbffdf;
}

.alert-error,
.error-box {
    border: 1px solid rgba(255,107,107,0.35);
    background: rgba(255,107,107,0.12);
    color: #ffd1d1;
}

/* Booking and testimonial pages */
.booking-wrap,
.testimonial-wrap {
    min-height: 100vh;
    padding: 142px 20px 80px;
    background:
        radial-gradient(circle at 85% 10%, rgba(119,159,169,0.14), transparent 28rem),
        linear-gradient(180deg, #031118, #061b25);
}

.booking-container,
.testimonial-container {
    width: min(920px, 100%);
    margin: 0 auto;
    padding: 28px;
}

.testimonial-container {
    width: min(700px, 100%);
}

.booking-header {
    margin-bottom: 24px;
    text-align: center;
}

.booking-header h1,
.testimonial-container h2 {
    color: #ffffff !important;
    font-family: "Poppins", sans-serif;
    font-size: clamp(2rem, 5vw, 3rem);
}

.booking-header p {
    margin-top: 8px;
    color: var(--muted);
}

.tour-details {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 22px;
    margin-bottom: 24px;
    padding: 16px;
}

.tour-details img {
    width: 100%;
    height: 190px;
    border-radius: 18px;
    object-fit: cover;
}

.tour-details .price {
    margin-top: 12px;
    color: var(--teal);
    font-size: 1.4rem;
    font-weight: 900;
}

.weather-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 22px;
    padding: 16px 18px;
    border: 1px solid rgba(218,239,242,0.14);
    border-radius: 18px;
    background: rgba(151,183,191,0.09);
}

.weather-banner strong {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #ffffff;
}

.weather-banner p {
    margin-top: 6px;
    color: var(--muted);
    line-height: 1.5;
}

.weather-banner span {
    flex: 0 0 auto;
    max-width: 280px;
    color: var(--muted);
    font-weight: 800;
    text-align: right;
}

.weather-banner.available {
    border-color: rgba(95,240,177,0.24);
    background: rgba(95,240,177,0.1);
}

.weather-banner.available span {
    color: #bbffdf;
}

.weather-banner.unavailable {
    border-color: rgba(255,127,127,0.3);
    background: rgba(255,127,127,0.12);
}

.weather-banner.unavailable span {
    color: #ffd1d1;
}

.weather-banner.unknown {
    border-color: rgba(255,209,102,0.25);
    background: rgba(255,209,102,0.1);
}

.weather-banner.unknown span {
    color: #ffe4a3;
}

.forecast-panel {
    margin-bottom: 22px;
    padding: 20px;
    border: 1px solid rgba(218,239,242,0.14);
    border-radius: 20px;
    background: rgba(151,183,191,0.08);
}

.forecast-panel h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
    color: #ffffff;
    font-family: "Poppins", sans-serif;
    font-size: 1.1rem;
}

.forecast-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 12px;
}

.forecast-card {
    padding: 14px;
    border: 1px solid rgba(70, 123, 181, 0.18);
    border-radius: 16px;
    background: #ffffff;
}

.forecast-card.hazard {
    border-color: rgba(255,127,127,0.3);
    background: rgba(255,127,127,0.08);
}

.forecast-card-top {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    color: #14395f;
    font-weight: 900;
}

.forecast-card-top span {
    color: #63768a;
    font-size: 0.86rem;
}

.forecast-condition {
    margin-top: 10px;
    color: #467bb5;
    font-weight: 900;
    line-height: 1.35;
}

.forecast-card.hazard .forecast-condition {
    color: #b91c1c;
}

.forecast-metrics {
    display: grid;
    gap: 7px;
    margin-top: 12px;
}

.forecast-metrics span {
    color: #63768a;
    font-size: 0.84rem;
    font-weight: 700;
}

.buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 8px;
}

.buttons .btn,
.confirmation-box .btn {
    padding: 0 22px;
}

.confirmation-box {
    padding: 36px 24px;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: rgba(151,183,191,0.09);
    color: #ffffff;
    text-align: center;
}

.confirmation-box > i {
    color: var(--success);
    font-size: 3.4rem;
}

.confirmation-box h2 {
    margin-top: 14px;
    font-family: "Poppins", sans-serif;
}

.booking-id {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin: 20px 0;
    padding: 12px 16px;
    border-radius: var(--radius-pill);
    background: rgba(169,203,214,0.12);
    color: #d9fbff;
    font-weight: 900;
}

.rating-stars {
    display: flex;
    gap: 8px;
    color: rgba(255,255,255,0.18);
    font-size: 1.8rem;
}

.rating-stars .star {
    cursor: pointer;
    transition: transform 0.2s ease, color 0.2s ease;
}

.rating-stars .star:hover,
.rating-stars .star.active {
    color: var(--warning);
    transform: translateY(-2px);
}

.back-link {
    margin-top: 22px;
    text-align: center;
}

.back-link a {
    color: var(--teal);
    font-weight: 800;
}

/* Footer */
.footer {
    position: relative;
    padding: 68px 0 28px;
    border-top: 1px solid rgba(255,255,255,0.1);
    background:
        linear-gradient(180deg, rgba(3,17,24,0.96), rgba(2,8,12,1)),
        radial-gradient(circle at 80% 0%, rgba(119,159,169,0.1), transparent 28rem);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 0.8fr;
    gap: 34px;
}

.footer-col {
    display: grid;
    align-content: start;
    gap: 11px;
}

.footer-col h4 {
    color: #ffffff;
    font-family: "Poppins", sans-serif;
    font-size: 1.2rem;
}

.footer-col a {
    width: max-content;
    color: var(--muted);
    font-weight: 700;
    transition: color 0.25s ease, transform 0.25s ease;
}

.footer-col a:hover {
    color: var(--teal);
    transform: translateX(3px);
}

.social-links {
    display: flex;
    gap: 10px;
    margin-top: 8px;
}

.social-links a {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border: 1px solid rgba(218,239,242,0.12);
    border-radius: 50%;
    background: rgba(151,183,191,0.08);
    color: #ffffff;
}

.developer-credit,
.footer-bottom {
    margin-top: 30px;
    padding-top: 22px;
    border-top: 1px solid rgba(218,239,242,0.1);
    color: var(--muted);
    text-align: center;
}

.developer-credit .names {
    margin-top: 6px;
    color: #ffffff;
    font-weight: 800;
}

.scroll-top {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 900;
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border: 1px solid rgba(218,239,242,0.14);
    border-radius: 50%;
    background: rgba(7, 25, 34, 0.86);
    color: #ffffff;
    cursor: pointer;
    opacity: 0;
    pointer-events: none;
    transform: translateY(12px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    backdrop-filter: blur(16px);
}

.scroll-top.visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

@media (prefers-reduced-motion: no-preference) {
    .feature-card,
    .reason-card,
    .tour-card,
    .testimonial-card,
    .about-grid,
    .contact-grid,
    .faq-item {
        animation: fadeUp 0.7s ease both;
    }

    @keyframes fadeUp {
        from {
            opacity: 0;
            transform: translateY(18px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
}

@media (max-width: 940px) {
    .header {
        top: 10px;
        width: calc(100% - 20px);
        border-radius: 28px;
    }

    .header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    min-height: 68px;   /* was already 68px — leave as-is */
    padding: 10px 18px 10px 24px;
}

    .nav {
        width: 100%;
        justify-content: flex-start;
    }

    .nav a {
        min-height: 36px;
        padding: 0 12px;
        font-size: 0.8rem;
    }

    .hero {
        min-height: auto;
        padding-top: 190px;
    }

    .hero .container,
    .about-grid,
    .contact-grid,
    .tour-details {
        grid-template-columns: 1fr;
    }

    .weather-banner {
        align-items: flex-start;
        flex-direction: column;
    }

    .weather-banner span {
        max-width: none;
        text-align: left;
    }

    .hero-search-card {
        max-width: 520px;
    }

    .subnav-bar {
        grid-template-columns: 1fr;
    }

    .snav-divider {
        width: auto;
        height: 1px;
    }

    .category-header {
        align-items: flex-start;
        flex-direction: column;
    }

    .tours-grid {
        grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
    }

    .tour-modal-layout {
        grid-template-columns: 1fr;
        height: auto;
        max-height: none;
        overflow-y: auto;
    }

    .tour-modal-image-panel,
    .tour-modal-image-bg,
    .tour-modal-image-main {
        min-height: 360px;
        height: 360px;
    }

    .tour-modal-image-panel {
        position: relative;
        top: auto;
    }

    .tour-modal-info {
        overflow: visible;
        padding: 30px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 620px) {
    .container {
        width: min(100% - 28px, 1180px);
    }

    .header-inner {
        gap: 12px;
    }

    .logo p {
        display: none;
    }

    .nav {
        gap: 4px;
    }

    .nav a {
        flex: 1 1 auto;
        justify-content: center;
        padding: 0 8px;
    }

    .hero {
        padding: 170px 0 76px;
    }

    .hero-actions,
    .buttons {
        flex-direction: column;
    }

    .hero-btn,
    .buttons .btn,
    .btn-submit {
        width: 100%;
    }

    .features,
    .about,
    .why-choose-us,
    .tours-section,
    .testimonials,
    .faq-section,
    .contact {
        padding: 66px 0;
    }

    .about-stats,
    .stats-grid {
        grid-template-columns: 1fr;
    }

    .feature-card,
    .reason-card,
    .testimonial-card,
    .contact-info,
    .contact-form,
    .booking-container,
    .testimonial-container,
    .live-stats {
        padding: 22px;
    }

    .tour-card img,
    .tour-details img {
        height: 210px;
    }

    .tours-grid {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .forecast-strip {
        grid-template-columns: 1fr;
    }

    .tour-card-actions,
    .tour-modal-facts {
        grid-template-columns: 1fr;
    }

    .tour-modal-content {
        height: min(90vh, 820px);
    }

    .tour-modal-forecast-grid {
        grid-template-columns: 1fr;
    }

    .tour-modal {
        padding: 12px;
    }

    .tour-modal-info {
        padding: 24px;
    }

    .tour-modal-image-panel,
    .tour-modal-image-bg,
    .tour-modal-image-main {
        min-height: 260px;
        height: 260px;
    }

    .page-header {
        padding-top: 170px;
    }
}

/* Professional polish overrides */
:root {
    --bg: #071319;
    --bg-2: #0e2028;
    --bg-3: #17313a;
    --panel: rgba(255, 255, 255, 0.065);
    --panel-strong: rgba(255, 255, 255, 0.105);
    --line: rgba(229, 238, 241, 0.14);
    --line-strong: rgba(229, 238, 241, 0.28);
    --primary: #d7a84f;
    --teal: #69d0c4;
    --cyan: #93c6d8;
    --muted: #b8c8ce;
    --shadow: 0 18px 48px rgba(0, 0, 0, 0.28);
    --glow: 0 0 0 1px rgba(105, 208, 196, 0.12);
    --radius-xl: 12px;
    --radius-lg: 10px;
    --radius-md: 8px;
    --radius-pill: 8px;
}

body {
    background:
        linear-gradient(180deg, rgba(7, 19, 25, 0.2), rgba(7, 19, 25, 0.96)),
        linear-gradient(135deg, #071319 0%, #102730 52%, #08161b 100%);
}

body::before {
    opacity: 0.35;
}

.header {
    top: 14px;
    border-radius: 12px;
    background: rgba(7, 19, 25, 0.86);
}

.header-inner {
    min-height: 68px;
}

.logo h1 {
    background: none;
    color: #ffffff;
}

.logo p {
    color: #99aeb6;
}

.nav a,
.btn,
.btn-submit,
.book-now-btn,
.more-btn,
.back-to-home-btn,
.write-review-btn a,
.hero-btn,
.search-submit,
.pagination a,
.pagination span {
    border-radius: 8px;
}

.nav a:hover,
.nav a.active {
    border-color: rgba(105, 208, 196, 0.28);
    background: rgba(105, 208, 196, 0.1);
    box-shadow: none;
}

.btn,
.btn-submit,
.book-now-btn,
.more-btn,
.back-to-home-btn,
.write-review-btn a,
.hero-btn.primary,
.search-submit {
    background: linear-gradient(135deg, #f5d68d, #d7a84f);
    color: #15110a;
    box-shadow: 0 12px 24px rgba(215, 168, 79, 0.18);
}

.btn-book {
    background: transparent;
    color: var(--teal);
    border: 1px solid rgba(105, 208, 196, 0.5);
    box-shadow: none;
}

.btn-book:hover {
    background: rgba(105, 208, 196, 0.1);
    border-color: rgba(105, 208, 196, 0.8);
    box-shadow: none;
    transform: translateY(-1px);
}

.btn-secondary,
.hero-btn.secondary {
    border: 1px solid rgba(229, 238, 241, 0.18);
    background: rgba(255, 255, 255, 0.075);
    color: #f7fbfc;
}

.feature-card,
.reason-card,
.tour-card,
.testimonial-card,
.live-stats,
.contact-info,
.contact-form,
.booking-container,
.testimonial-container,
.faq-item,
.tour-details,
.hero-search-card,
.subnav-bar {
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.065);
    box-shadow: var(--shadow);
}

.feature-card,
.reason-card,
.testimonial-card,
.contact-info,
.contact-form,
.live-stats {
    padding: 26px;
}

.feature-card i,
.reason-card i,
.contact-details i,
.snav-icon {
    border-radius: 8px;
    background: rgba(105, 208, 196, 0.12);
    color: var(--teal);
}

.feature-card i,
.reason-card i {
    color: #071319;
    background: linear-gradient(135deg, #a6eee6, #69d0c4);
}

.snav-icon,
.snav-arrow {
    font-size: 1.15rem;
}

.snav-arrow {
    display: grid;
    place-items: center;
}

.snav-icon svg,
.snav-arrow svg {
    display: none;
}

.hero {
    min-height: 92vh;
}

.hero h2 {
    max-width: 720px;
    font-size: clamp(2.7rem, 7vw, 5.4rem);
}

.section-title,
.section-title-white {
    font-size: clamp(2rem, 4vw, 2.8rem);
}

.tours-grid {
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

.tour-card {
    background: rgba(255, 255, 255, 0.075);
}

.tour-card img {
    height: 220px;
}

.tour-title {
    line-height: 1.25;
}

.tour-description {
    min-height: 72px;
}

.featured-badge {
    border-radius: 8px;
    background: #f5d68d;
}

.weather-pill,
.stat-item,
.forecast-day,
.tour-modal-facts div,
.tour-modal-forecast-card,
.forecast-panel,
.forecast-card,
.weather-banner,
.confirmation-box,
.booking-id {
    border-radius: 8px;
}

input,
select,
textarea {
    border-radius: 8px;
}

.footer {
    background: #071319;
}

@media (max-width: 940px) {
    .header {
        border-radius: 10px;
    }
}

/* === Booking Flow Enhancements === */
.mt-lg {
    margin-top: 25px;
}

.booking-wrap {
    padding-top: 138px;
    background:
        radial-gradient(circle at 10% 4%, rgba(105, 208, 196, 0.12), transparent 32rem),
        linear-gradient(180deg, #071319 0%, #0e2028 100%);
}

.booking-container {
    width: min(1100px, 100%);
    padding: 0;
    overflow: hidden;
}

.booking-header {
    padding: 34px 34px 24px;
    border-bottom: 1px solid rgba(229, 238, 241, 0.1);
    text-align: left;
}

.booking-header h1 {
    display: flex;
    gap: 12px;
    align-items: center;
    justify-content: flex-start;
    font-size: clamp(2rem, 4vw, 2.7rem);
}

.booking-header h1 i {
    color: var(--teal);
}

.booking-content {
    padding: 30px 34px 34px;
}

.booking-form {
    display: block;
}

.booking-progress {
    display: grid;
    grid-template-columns: 1fr minmax(80px, 180px) 1fr;
    align-items: center;
    gap: 16px;
    margin-bottom: 30px;
    padding: 18px;
    border: 1px solid rgba(229, 238, 241, 0.12);
    border-radius: 12px;
    background: rgba(7, 19, 25, 0.38);
}

.progress-step {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--muted);
    font-weight: 900;
}

.progress-step:last-child {
    justify-content: flex-end;
}

.progress-step span {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border: 1px solid rgba(229, 238, 241, 0.16);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.065);
    color: var(--muted);
}

.progress-step.active {
    color: var(--text);
}

.progress-step.active span {
    border-color: rgba(105, 208, 196, 0.5);
    background: linear-gradient(135deg, var(--teal), var(--cyan));
    color: var(--dark);
}

.booking-progress.step-two .progress-step:first-child span {
    background: rgba(105, 208, 196, 0.15);
    color: var(--teal);
}

.progress-line {
    height: 2px;
    border-radius: 999px;
    background: rgba(229, 238, 241, 0.14);
    overflow: hidden;
}

.progress-line::before {
    content: "";
    display: block;
    width: 0;
    height: 100%;
    background: linear-gradient(90deg, var(--teal), var(--cyan));
    transition: width 0.3s ease;
}

.booking-progress.step-two .progress-line::before {
    width: 100%;
}

.booking-step {
    display: none;
}

.booking-step.active {
    display: block;
}

.booking-step-heading {
    margin-bottom: 20px;
}

.booking-step-heading span,
.summary-card-kicker,
.welcome-kicker {
    display: inline-flex;
    min-height: 28px;
    align-items: center;
    margin-bottom: 10px;
    padding: 0 11px;
    border: 1px solid rgba(105, 208, 196, 0.22);
    border-radius: 999px;
    background: rgba(105, 208, 196, 0.1);
    color: var(--teal);
    font-size: 0.76rem;
    font-weight: 900;
    text-transform: uppercase;
}

.booking-step-heading h2 {
    color: var(--text);
    font-family: "Poppins", sans-serif;
    font-size: clamp(1.5rem, 3vw, 2rem);
}

.booking-step-heading p {
    max-width: 720px;
    margin-top: 8px;
    color: var(--muted);
    line-height: 1.7;
}

.booking-step-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 22px;
}

.booking-step .tour-details {
    grid-template-columns: minmax(260px, 0.48fr) minmax(0, 1fr);
    margin-bottom: 20px;
    padding: 0;
    overflow: hidden;
    border-color: rgba(105, 208, 196, 0.18);
    background:
        linear-gradient(135deg, rgba(105, 208, 196, 0.08), transparent),
        rgba(255, 255, 255, 0.06);
}

.booking-step .tour-details img {
    height: 100%;
    min-height: 300px;
    border-radius: 0;
}

.booking-step .tour-details .tour-info {
    display: grid;
    align-content: center;
    gap: 12px;
    padding: 30px;
}

.booking-step .tour-details .tour-info h3 {
    color: var(--text);
    font-family: "Poppins", sans-serif;
    font-size: clamp(1.5rem, 3vw, 2.1rem);
}

.booking-step .tour-details .tour-info p {
    display: flex;
    gap: 9px;
    align-items: center;
    color: var(--muted);
    font-weight: 800;
}

.booking-step .tour-details .tour-info i {
    color: var(--teal);
}

.booking-step .tour-details .price {
    width: max-content;
    margin-top: 8px;
    padding: 10px 13px;
    border: 1px solid rgba(105, 208, 196, 0.2);
    border-radius: 8px;
    background: rgba(105, 208, 196, 0.1);
}

.booking-details-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 330px;
    gap: 24px;
    align-items: start;
}

.booking-fields {
    display: grid;
    gap: 16px;
    padding: 22px;
    border: 1px solid rgba(229, 238, 241, 0.12);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.045);
}

.booking-back-link {
    width: max-content;
    min-height: 38px;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--teal);
    box-shadow: none;
    font-weight: 900;
}

.booking-back-link:hover {
    transform: none;
    box-shadow: none;
    filter: none;
}

.booking-summary-card {
    position: sticky;
    top: 112px;
    display: grid;
    gap: 14px;
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background:
        linear-gradient(145deg, rgba(105, 208, 196, 0.1), transparent),
        rgba(255, 255, 255, 0.07);
    box-shadow: var(--shadow);
}

.booking-summary-card h3 {
    display: flex;
    gap: 10px;
    align-items: center;
    color: var(--text);
    font-family: "Poppins", sans-serif;
    font-size: 1.15rem;
}

.summary-card-kicker {
    margin-bottom: 0;
    width: max-content;
}

.booking-summary-card h3 i {
    color: var(--teal);
}

.summary-row,
.summary-total {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    padding-top: 12px;
    border-top: 1px solid rgba(229, 238, 241, 0.1);
}

.summary-row span,
.summary-total span {
    color: var(--muted);
    font-weight: 800;
}

.summary-row strong,
.summary-total strong {
    color: var(--text);
    text-align: right;
    line-height: 1.45;
}

.summary-total strong {
    color: var(--teal);
    font-size: 1.35rem;
}

.summary-note {
    display: flex;
    gap: 9px;
    align-items: flex-start;
    margin-top: 4px;
    padding: 12px;
    border: 1px solid rgba(229, 238, 241, 0.1);
    border-radius: 8px;
    background: rgba(7, 19, 25, 0.32);
    color: var(--muted);
    line-height: 1.55;
}

.summary-note i {
    margin-top: 3px;
    color: var(--teal);
}

.field-error {
    border-color: rgba(255, 107, 107, 0.6) !important;
    box-shadow: 0 0 0 4px rgba(255, 107, 107, 0.1) !important;
}

.field-error-msg {
    min-height: 18px;
    color: #ffd1d1;
    font-size: 0.82rem;
    font-weight: 800;
}

.form-check {
    display: grid;
    grid-template-columns: 22px 1fr;
    gap: 12px;
    align-items: flex-start;
    padding: 14px;
    border: 1px solid rgba(229, 238, 241, 0.12);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.045);
}

.form-check input {
    width: 18px;
    min-height: 18px;
    height: 18px;
    margin-top: 3px;
    accent-color: var(--teal);
}

.form-check label {
    margin: 0;
    color: var(--muted);
    line-height: 1.6;
}

.form-check a {
    color: var(--teal);
    font-weight: 900;
}

.field-error-check {
    border-color: rgba(255, 107, 107, 0.45);
}

.btn-disabled,
.btn-disabled:hover {
    cursor: not-allowed;
    opacity: 0.55;
    transform: none;
    filter: none;
}

.confirmation-box--error {
    border-color: rgba(255, 107, 107, 0.35);
    border-left: 4px solid rgba(255, 107, 107, 0.75);
    background: rgba(255, 107, 107, 0.1);
    color: #ffd1d1;
}

.confirmation-box--error p,
.confirmation-box--error h2,
.confirmation-box--error > i {
    color: #ffd1d1;
}

.confirmation-box--success {
    display: grid;
    justify-items: center;
    gap: 14px;
    padding: 44px 28px;
    background:
        radial-gradient(circle at 50% 0%, rgba(105, 208, 196, 0.14), transparent 22rem),
        rgba(255, 255, 255, 0.065);
}

.confirmation-icon {
    display: grid;
    place-items: center;
    width: 78px;
    height: 78px;
    border-radius: 50%;
    background: rgba(105, 208, 196, 0.14);
    color: var(--teal);
    font-size: 2.2rem;
    animation: scale-in 0.45s ease both, fade-in 0.5s ease both;
}

@keyframes scale-in {
    from {
        transform: scale(0.72);
    }
    to {
        transform: scale(1);
    }
}

@keyframes fade-in {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.copy-booking-id {
    position: relative;
    border: 1px solid rgba(105, 208, 196, 0.28);
    background: rgba(105, 208, 196, 0.12);
    cursor: pointer;
}

.copy-booking-id small {
    position: absolute;
    bottom: calc(100% + 8px);
    left: 50%;
    padding: 6px 10px;
    border-radius: 8px;
    background: rgba(7, 19, 25, 0.95);
    color: var(--text);
    opacity: 0;
    transform: translate(-50%, 6px);
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.copy-booking-id.copied small {
    opacity: 1;
    transform: translate(-50%, 0);
}

.next-steps {
    width: min(760px, 100%);
    margin-top: 12px;
    padding: 20px;
    border: 1px solid rgba(229, 238, 241, 0.12);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.045);
    text-align: left;
}

.next-steps h3 {
    margin-bottom: 14px;
    color: var(--text);
    font-family: "Poppins", sans-serif;
}

.next-step-list {
    display: grid;
    gap: 12px;
}

.next-step-list div {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    color: var(--muted);
    line-height: 1.6;
}

.next-step-list i {
    margin-top: 4px;
    color: var(--teal);
}

@media (max-width: 820px) {
    .booking-progress {
        grid-template-columns: 1fr 68px 1fr;
        gap: 10px;
    }

    .progress-step {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }

    .progress-step:last-child {
        justify-content: center;
    }

    .booking-details-layout {
        grid-template-columns: 1fr;
    }

    .booking-summary-card {
        position: relative;
        top: auto;
    }
}

/* === My Bookings Dashboard === */
.dash-wrap {
    min-height: 100vh;
    padding-top: 100px;
    padding-bottom: 60px;
    background: var(--bg);
}

.dash-header {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 16px 32px;
    border-bottom: 1px solid var(--line);
    background: rgba(7, 19, 25, 0.9);
    backdrop-filter: blur(20px);
}

.dash-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--text);
    font-family: "Poppins", sans-serif;
    font-size: 20px;
    font-weight: 800;
    text-decoration: none;
}

.dash-logo i {
    color: var(--teal);
}

.dash-nav {
    display: flex;
    gap: 16px;
    align-items: center;
}

.dash-nav a {
    color: var(--muted);
    font-size: 14px;
    font-weight: 800;
    text-decoration: none;
    transition: color 0.3s ease, background 0.3s ease;
}

.dash-nav a:hover {
    color: var(--text);
}

.dash-nav .btn-logout {
    padding: 8px 18px;
    border: 1px solid rgba(255, 107, 107, 0.3);
    border-radius: 8px;
    background: rgba(255, 107, 107, 0.12);
    color: var(--danger);
    font-size: 13px;
    font-weight: 900;
}

.dash-nav .btn-logout:hover {
    background: rgba(255, 107, 107, 0.2);
}

.dash-container {
    width: min(1100px, calc(100% - 48px));
    margin: 0 auto;
}

.welcome-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 24px;
    padding: 32px 36px;
    border: 1px solid var(--line-strong);
    border-radius: 10px;
    background: linear-gradient(135deg, rgba(105, 208, 196, 0.12), rgba(147, 198, 216, 0.08));
}

.welcome-banner h2 {
    color: var(--text);
    font-size: 24px;
    font-weight: 800;
}

.welcome-banner p {
    margin-top: 4px;
    color: var(--muted);
    font-size: 14px;
}

.btn-explore {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 46px;
    padding: 0 24px;
    border-radius: 8px;
    background: linear-gradient(135deg, var(--teal), var(--cyan));
    color: var(--dark);
    font-size: 14px;
    font-weight: 900;
    text-decoration: none;
    box-shadow: 0 12px 24px rgba(105, 208, 196, 0.16);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-explore:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 36px rgba(105, 208, 196, 0.22);
}

.btn-explore i {
    font-size: 14px;
    line-height: 1;
}

.stats-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin-bottom: 28px;
}

.dash-stat-card {
    display: grid;
    grid-template-columns: 46px 1fr;
    gap: 14px;
    align-items: center;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.065);
}

.dash-stat-card i {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border-radius: 8px;
    background: rgba(105, 208, 196, 0.12);
    color: var(--teal);
}

.dash-stat-card strong {
    display: block;
    color: var(--text);
    font-family: "Poppins", sans-serif;
    font-size: 1.8rem;
    line-height: 1;
}

.dash-stat-card span {
    display: block;
    margin-top: 5px;
    color: var(--muted);
    font-size: 0.86rem;
    font-weight: 800;
}

.bookings-toolbar {
    display: grid;
    gap: 14px;
    margin-bottom: 18px;
}

.dash-wrap .section-title {
    display: flex;
    gap: 10px;
    align-items: center;
    color: var(--text);
    font-size: 18px;
    font-weight: 800;
}

.dash-wrap .section-title i {
    color: var(--teal);
}

.booking-filter-tabs {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 4px;
}

.booking-filter-tab {
    position: relative;
    flex: 0 0 auto;
    min-height: 40px;
    padding: 0 14px;
    border: 1px solid transparent;
    border-radius: 8px;
    background: transparent;
    color: var(--muted);
    box-shadow: none;
    font: inherit;
    font-size: 0.88rem;
    font-weight: 900;
}

.booking-filter-tab span {
    display: inline-flex;
    min-width: 24px;
    min-height: 22px;
    align-items: center;
    justify-content: center;
    margin-left: 6px;
    padding: 0 7px;
    border: 1px solid rgba(229, 238, 241, 0.12);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.065);
    color: inherit;
    font-size: 0.76rem;
}

.booking-filter-tab::after {
    content: "";
    position: absolute;
    right: 12px;
    bottom: 3px;
    left: 12px;
    height: 2px;
    border-radius: 999px;
    background: var(--teal);
    opacity: 0;
    transform: scaleX(0.4);
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.booking-filter-tab:hover,
.booking-filter-tab.active {
    border-color: rgba(105, 208, 196, 0.22);
    background: rgba(105, 208, 196, 0.1);
    color: var(--text);
    box-shadow: none;
    transform: none;
}

.booking-filter-tab.active::after {
    opacity: 1;
    transform: scaleX(1);
}

.booking-list {
    display: grid;
    gap: 16px;
}

.booking-card {
    border: 1px solid var(--line);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.065);
    overflow: hidden;
    transition: border-color 0.3s ease, background 0.3s ease;
}

.booking-card:hover {
    border-color: var(--line-strong);
    background: rgba(255, 255, 255, 0.085);
}

.booking-card.is-hidden {
    display: none;
}

.booking-card-main {
    display: grid;
    grid-template-columns: 70px minmax(0, 1fr) auto;
    gap: 16px;
    align-items: center;
    padding: 18px;
}

.booking-thumb {
    width: 60px;
    height: 60px;
    border: 1px solid rgba(229, 238, 241, 0.12);
    border-radius: 8px;
    object-fit: cover;
}

.dash-wrap .booking-id {
    display: block;
    margin-bottom: 6px;
    padding: 0;
    background: none;
    color: var(--teal);
    font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
    font-size: 12px;
    font-weight: 900;
}

.booking-tour {
    margin-bottom: 8px;
    color: var(--text);
    font-size: 17px;
    font-weight: 900;
}

.booking-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 16px;
}

.booking-meta span {
    display: flex;
    gap: 6px;
    align-items: center;
    color: var(--muted);
    font-size: 13px;
}

.booking-meta i {
    color: var(--faint);
}

.booking-card-actions {
    display: flex;
    gap: 10px;
    align-items: center;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 0 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 900;
    white-space: nowrap;
}

.status-pending {
    border: 1px solid rgba(255, 209, 102, 0.25);
    background: rgba(255, 209, 102, 0.12);
    color: var(--warning);
}

.status-confirmed {
    border: 1px solid rgba(95, 240, 177, 0.25);
    background: rgba(95, 240, 177, 0.12);
    color: var(--success);
}

.status-completed {
    border: 1px solid rgba(143, 201, 216, 0.25);
    background: rgba(143, 201, 216, 0.12);
    color: var(--info);
}

.status-cancelled {
    border: 1px solid rgba(255, 107, 107, 0.25);
    background: rgba(255, 107, 107, 0.12);
    color: var(--danger);
}

.booking-detail-toggle {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    min-height: 38px;
    padding: 0;
    border: 1px solid rgba(229, 238, 241, 0.14);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.06);
    color: var(--teal);
    box-shadow: none;
}

.booking-detail-toggle:hover {
    background: rgba(105, 208, 196, 0.1);
    box-shadow: none;
    transform: none;
}

.booking-detail-toggle i {
    transition: transform 0.3s ease;
}

.booking-card.open .booking-detail-toggle i {
    transform: rotate(180deg);
}

.booking-detail-drawer {
    max-height: 0;
    overflow: hidden;
    border-top: 1px solid transparent;
    transition: max-height 0.35s ease, border-color 0.35s ease;
}

.booking-card.open .booking-detail-drawer {
    max-height: 360px;
    border-top-color: rgba(229, 238, 241, 0.1);
}

.booking-detail-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    padding: 18px;
}

.booking-detail-grid div {
    padding: 14px;
    border: 1px solid rgba(229, 238, 241, 0.1);
    border-radius: 8px;
    background: rgba(7, 19, 25, 0.34);
}

.booking-detail-grid span {
    display: block;
    color: var(--muted);
    font-size: 0.78rem;
    font-weight: 900;
}

.booking-detail-grid strong {
    display: block;
    margin-top: 6px;
    color: var(--text);
    line-height: 1.5;
}

.need-help-link {
    display: inline-flex;
    gap: 8px;
    align-items: center;
    margin: 0 18px 18px;
    color: var(--teal);
    font-weight: 900;
}

.empty-state {
    display: flex;
    min-height: 360px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 72px 24px;
    color: var(--muted);
    text-align: center;
}

.empty-state > i {
    display: block;
    margin-bottom: 20px;
    color: var(--faint);
    font-size: 56px;
}

.empty-state h3 {
    margin-bottom: 10px;
    color: var(--text);
    font-size: 20px;
}

.empty-state p {
    margin-bottom: 28px;
}

.booking-empty-filter {
    display: none;
}

.booking-empty-filter.visible {
    display: flex;
}

@media (max-width: 760px) {
    .dash-header {
        align-items: flex-start;
        flex-direction: column;
        padding: 14px 18px;
    }

    .dash-nav {
        width: 100%;
        flex-wrap: wrap;
    }

    .dash-wrap {
        padding-top: 145px;
    }

    .dash-container {
        width: min(100% - 28px, 1100px);
    }

    .welcome-banner,
    .stats-row,
    .booking-detail-grid {
        grid-template-columns: 1fr;
    }

    .stats-row {
        display: grid;
    }

    .booking-card-main {
        grid-template-columns: 70px minmax(0, 1fr);
    }

    .booking-card-actions {
        grid-column: 1 / -1;
        justify-content: space-between;
    }
}

@media (max-width: 480px) {
    .booking-thumb {
        display: none;
    }

    .booking-card-main {
        grid-template-columns: 1fr;
    }
}

/* === Booking and Dashboard Polish Pass === */
.booking-wrap {
    padding: 132px 24px 76px;
    background: var(--bg);
}

.booking-container {
    width: min(1120px, 100%);
    margin: 0 auto;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.045);
    box-shadow: 0 26px 70px rgba(0, 0, 0, 0.34);
}

.booking-header {
    display: grid;
    gap: 8px;
    padding: 36px 40px 26px;
    background: rgba(3, 17, 24, 0.52);
}

.booking-header p {
    max-width: 620px;
    color: var(--muted);
    font-size: 1rem;
    line-height: 1.65;
}

.booking-content {
    padding: 32px 40px 40px;
}

.booking-progress {
    margin-bottom: 34px;
    padding: 18px 20px;
    border-radius: 14px;
    background: rgba(3, 17, 24, 0.62);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.045);
}

.progress-step strong {
    color: inherit;
    font-size: 0.92rem;
}

.progress-step span {
    box-shadow: inset 0 0 0 5px rgba(3, 17, 24, 0.42);
}

.progress-step.active span {
    box-shadow: 0 0 0 5px rgba(105, 208, 196, 0.1);
}

.booking-step-heading {
    margin-bottom: 24px;
}

.booking-step-heading h2 {
    letter-spacing: 0;
}

.booking-step .tour-details {
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.055);
    box-shadow: none;
}

.booking-step .tour-details img {
    object-fit: cover;
}

.booking-step .tour-details .tour-info {
    padding: 34px;
}

.booking-step .tour-details .price {
    border-radius: 10px;
    color: var(--text);
}

.weather-banner,
.forecast-panel {
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.052);
}

.forecast-card {
    border-radius: 12px;
    background: rgba(3, 17, 24, 0.42);
}

.booking-details-layout {
    grid-template-columns: minmax(0, 1fr) 360px;
}

.booking-fields {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
    gap: 22px 24px;
    padding: 24px;
    border-radius: 14px;
    background: rgba(3, 17, 24, 0.44);
}

.booking-fields .booking-back-link,
.booking-fields .form-group--full,
.booking-fields .form-check,
.booking-fields .buttons {
    grid-column: 1 / -1;
}

.booking-fields label {
    color: var(--text);
    font-size: 0.86rem;
}

.booking-fields .form-group {
    align-self: start;
    min-width: 0;
}

.booking-fields input,
.booking-fields select,
.booking-fields textarea {
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.07);
}

.booking-fields input:not([type="hidden"]):not([type="file"]):not([type="checkbox"]):not([type="radio"]),
.booking-fields select,
.traveler-stepper {
    height: 58px;
    min-height: 58px;
}

.booking-fields textarea {
    min-height: 150px;
}

.booking-fields input:focus,
.booking-fields select:focus,
.booking-fields textarea:focus {
    border-color: rgba(105, 208, 196, 0.7);
    box-shadow: 0 0 0 4px rgba(105, 208, 196, 0.12);
}

.field-error-msg {
    display: block;
    min-height: 18px;
}

.traveler-stepper {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr) 48px;
    align-items: stretch;
    overflow: hidden;
    border: 1px solid rgba(229, 238, 241, 0.14);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.07);
}

.traveler-stepper-btn {
    display: grid;
    place-items: center;
    width: 48px;
    min-height: 58px;
    padding: 0;
    border: 0;
    background: rgba(3, 17, 24, 0.38);
    color: var(--teal);
    font: inherit;
    cursor: pointer;
    transition: background 0.25s ease, color 0.25s ease, opacity 0.25s ease;
}

.traveler-stepper-btn:hover {
    background: rgba(105, 208, 196, 0.12);
    color: var(--text);
}

.traveler-stepper-btn:disabled {
    cursor: not-allowed;
    opacity: 0.45;
}

.traveler-display {
    display: grid;
    place-items: center;
    gap: 2px;
    padding: 8px 12px;
    border-right: 1px solid rgba(229, 238, 241, 0.1);
    border-left: 1px solid rgba(229, 238, 241, 0.1);
    text-align: center;
}

.traveler-display strong {
    color: var(--text);
    font-family: "Poppins", sans-serif;
    font-size: 1.35rem;
    line-height: 1;
}

.traveler-display span,
.form-hint {
    color: var(--muted);
    font-size: 0.78rem;
    font-weight: 800;
}

.form-hint {
    margin: 2px 0 0;
    line-height: 1.55;
}

.traveler-group {
    max-width: 100%;
}

.booking-fields .form-check input {
    width: 18px;
    min-height: 18px;
    height: 18px;
    padding: 0;
    border-radius: 4px;
}

.discount-group {
    padding: 16px;
    border: 1px solid rgba(229, 238, 241, 0.1);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.04);
}

.discount-options {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
}

.discount-option {
    display: flex;
    gap: 9px;
    align-items: center;
    min-height: 46px;
    padding: 0 12px;
    border: 1px solid rgba(229, 238, 241, 0.12);
    border-radius: 10px;
    background: rgba(3, 17, 24, 0.32);
    color: var(--muted);
    font-size: 0.84rem;
    font-weight: 800;
    cursor: pointer;
    transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.discount-option input {
    width: 16px;
    min-height: 16px;
    height: 16px;
    padding: 0;
    accent-color: var(--teal);
}

.discount-option.active {
    border-color: rgba(105, 208, 196, 0.42);
    background: rgba(105, 208, 196, 0.1);
    color: var(--text);
}

.credential-upload {
    display: grid;
    gap: 8px;
    margin-top: 14px;
}

.credential-upload[hidden] {
    display: none;
}

.credential-file-input {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
}

.credential-file-picker {
    display: grid;
    grid-template-columns: max-content minmax(0, 1fr);
    align-items: center;
    min-height: 58px;
    overflow: hidden;
    border: 1px solid rgba(229, 238, 241, 0.16);
    border-radius: 12px;
    background: rgba(3, 17, 24, 0.42);
    cursor: pointer;
}

.credential-file-button {
    display: inline-flex;
    min-height: 58px;
    align-items: center;
    padding: 0 20px;
    background: linear-gradient(135deg, rgba(105, 208, 196, 0.95), rgba(147, 198, 216, 0.95));
    color: var(--dark);
    font-weight: 900;
}

.credential-file-name {
    min-width: 0;
    padding: 0 16px;
    color: var(--muted);
    font-weight: 800;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.credential-file-picker:hover {
    border-color: rgba(105, 208, 196, 0.38);
}

.credential-file-picker:hover .credential-file-button {
    filter: saturate(1.08);
}

/* === Traveler Category Breakdown === */
.traveler-categories {
    display: flex;
    flex-direction: column;
    gap: 0;
    border: 1px solid rgba(218, 239, 242, 0.12);
    border-radius: 12px;
    overflow: hidden;
}

.traveler-cat-row {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 16px;
    padding: 14px 16px;
    border-bottom: 1px solid rgba(218, 239, 242, 0.08);
    background: rgba(255, 255, 255, 0.03);
    transition: background 0.2s;
}

.traveler-cat-row:last-child {
    border-bottom: none;
}

.traveler-cat-row:hover {
    background: rgba(105, 208, 196, 0.05);
}

.traveler-cat-info {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.traveler-cat-name {
    color: var(--text);
    font-weight: 600;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.traveler-cat-name i {
    color: var(--teal);
    width: 16px;
    text-align: center;
}

.traveler-cat-name small {
    color: var(--muted);
    font-size: 0.78rem;
    font-weight: 400;
}

.traveler-cat-rate {
    font-size: 0.78rem;
    color: var(--muted);
}

.traveler-cat-discount {
    color: #a8e6df;
}

.traveler-cat-stepper {
    display: flex;
    align-items: center;
    gap: 0;
    border: 1px solid rgba(218, 239, 242, 0.16);
    border-radius: 8px;
    overflow: hidden;
    background: rgba(0, 8, 14, 0.25);
}

.cat-btn {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    background: transparent;
    border: none;
    color: var(--muted);
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
    flex-shrink: 0;
}

.cat-btn:hover:not(:disabled) {
    background: rgba(105, 208, 196, 0.14);
    color: var(--teal);
}

.cat-btn:disabled {
    opacity: 0.35;
    cursor: not-allowed;
}

.cat-count {
    min-width: 32px;
    text-align: center;
    color: var(--text);
    font-weight: 700;
    font-size: 1rem;
    padding: 0 4px;
    border-left: 1px solid rgba(218, 239, 242, 0.1);
    border-right: 1px solid rgba(218, 239, 242, 0.1);
    line-height: 36px;
}

.traveler-total-row {
    margin-top: 10px;
    padding: 10px 14px;
    border: 1px solid rgba(105, 208, 196, 0.18);
    border-radius: 8px;
    background: rgba(105, 208, 196, 0.06);
    color: var(--muted);
    font-size: 0.88rem;
}

.traveler-total-row strong {
    color: var(--teal);
    font-size: 1rem;
}

/* Summary category rows */
.summary-divider {
    height: 1px;
    background: rgba(218, 239, 242, 0.1);
    margin: 8px 0;
}

.summary-cat-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 8px;
    padding: 4px 0;
    font-size: 0.82rem;
    transition: opacity 0.2s;
}

.summary-cat-row span {
    color: var(--muted);
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.summary-cat-row span i {
    color: var(--teal);
    width: 14px;
    text-align: center;
    font-size: 0.78rem;
}

.summary-cat-row span em {
    font-style: normal;
    color: #a8e6df;
    font-size: 0.75rem;
}

.summary-cat-row .cat-subtotal {
    color: var(--text);
    font-weight: 700;
    text-align: right;
    white-space: nowrap;
}

@media (max-width: 480px) {
    .traveler-cat-row {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .traveler-cat-stepper {
        width: max-content;
    }
}
.traveler-cat-hint {
    margin-bottom: 12px;
}

/* === End Traveler Category Breakdown === */



.booking-step-actions,
.booking-step .buttons {
    align-items: center;
    gap: 12px;
}

.booking-step-actions .btn,
.booking-step .buttons .btn,
.booking-fields .buttons .btn {
    min-height: 48px;
    padding: 0 22px;
    border-radius: 10px;
    font-size: 0.92rem;
    font-weight: 900;
    line-height: 1.1;
    white-space: nowrap;
}

.booking-step-actions .btn:hover,
.booking-step .buttons .btn:hover,
.booking-fields .buttons .btn:hover {
    transform: translateY(-1px);
}

.booking-back-link {
    justify-content: flex-start;
    min-height: 30px;
    color: var(--muted);
}

.booking-back-link i {
    color: var(--teal);
}

.form-check {
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.052);
}

.booking-summary-card {
    border-radius: 14px;
    background: rgba(3, 17, 24, 0.64);
    box-shadow: 0 22px 54px rgba(0, 0, 0, 0.26);
}

.summary-row,
.summary-total {
    align-items: center;
}

.summary-total {
    align-items: flex-start;
    margin-top: 2px;
    padding: 16px;
    border: 1px solid rgba(105, 208, 196, 0.2);
    border-radius: 12px;
    background: rgba(105, 208, 196, 0.085);
}

.summary-total strong {
    max-width: 100%;
    font-size: clamp(1.16rem, 3vw, 1.45rem);
    line-height: 1.25;
    overflow-wrap: anywhere;
}

.summary-note {
    border-radius: 10px;
}

.confirmation-box--success {
    border-radius: 18px;
    border-color: var(--line);
}

.confirmation-box--success h2 {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
}

.next-steps {
    border-radius: 14px;
}

.dash-wrap {
    padding: 112px 24px 72px;
    background: var(--bg);
}

.dash-header {
    padding: 14px 28px;
    background: rgba(3, 17, 24, 0.92);
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.22);
}

.dash-container {
    width: min(1120px, 100%);
}

.dash-logo {
    letter-spacing: 0;
}

.welcome-banner {
    position: relative;
    overflow: hidden;
    margin-bottom: 20px;
    padding: 34px 36px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.055);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.22);
}

.welcome-banner::before {
    content: "";
    position: absolute;
    top: 22px;
    bottom: 22px;
    left: 0;
    width: 4px;
    border-radius: 0 999px 999px 0;
    background: var(--teal);
}

.welcome-banner > * {
    position: relative;
}

.welcome-banner h2 {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    letter-spacing: 0;
}

.welcome-banner p {
    margin-top: 6px;
    font-size: 0.96rem;
    line-height: 1.65;
}

.btn-explore {
    border: 1px solid rgba(105, 208, 196, 0.25);
    border-radius: 10px;
}

.stats-row {
    gap: 18px;
    margin: 20px 0 30px;
}

.dash-stat-card {
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.052);
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.18);
    transition: border-color 0.25s ease, transform 0.25s ease, background 0.25s ease;
}

.dash-stat-card:hover {
    border-color: rgba(105, 208, 196, 0.26);
    background: rgba(255, 255, 255, 0.07);
    transform: translateY(-2px);
}

.dash-stat-card i {
    border: 1px solid rgba(105, 208, 196, 0.2);
    border-radius: 12px;
}

.bookings-toolbar {
    margin-bottom: 18px;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.045);
}

.booking-filter-tabs {
    gap: 6px;
    padding: 5px;
    border: 1px solid rgba(229, 238, 241, 0.08);
    border-radius: 12px;
    background: rgba(3, 17, 24, 0.42);
}

.booking-filter-tab {
    border-radius: 9px;
}

.booking-filter-tab::after {
    bottom: 5px;
}

.booking-filter-tab.active span {
    border-color: rgba(105, 208, 196, 0.22);
    background: rgba(105, 208, 196, 0.12);
    color: var(--teal);
}

.booking-list {
    gap: 14px;
}

.booking-card {
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.052);
    box-shadow: 0 18px 46px rgba(0, 0, 0, 0.18);
}

.booking-card:hover {
    background: rgba(255, 255, 255, 0.07);
}

.booking-card-main {
    grid-template-columns: 76px minmax(0, 1fr) auto;
    gap: 18px;
    padding: 20px;
}

.booking-thumb {
    width: 64px;
    height: 64px;
    border-radius: 12px;
}

.booking-tour {
    font-size: 1.08rem;
}

.booking-meta {
    gap: 10px 18px;
}

.booking-meta span {
    line-height: 1.45;
}

.status-badge {
    gap: 7px;
    text-transform: capitalize;
}

.status-badge i {
    font-size: 0.72rem;
}

.booking-detail-toggle {
    border-radius: 10px;
}

.booking-card.open .booking-detail-drawer {
    max-height: 420px;
}

.booking-detail-grid {
    gap: 14px;
    padding: 20px;
}

.booking-detail-grid div {
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.045);
}

.need-help-link {
    margin: 0 20px 20px;
}

/* === Booking UX Improvements === */

/* Auto-fill notice */
.autofill-notice {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px 16px;
    margin-bottom: 4px;
    border: 1px solid rgba(105, 208, 196, 0.25);
    border-radius: 10px;
    background: rgba(105, 208, 196, 0.08);
    color: #a8e6df;
    font-size: 0.84rem;
    line-height: 1.5;
}

.autofill-notice i {
    color: var(--teal);
    margin-top: 2px;
    flex-shrink: 0;
}

/* Label optional tag */
.label-optional {
    color: var(--muted);
    font-weight: 400;
    font-size: 0.82rem;
}

/* Character counter */
.char-counter {
    margin-top: 6px;
    text-align: right;
    font-size: 0.78rem;
    color: var(--muted);
    transition: color 0.2s;
}

.char-counter--warn {
    color: #ffd166;
}

/* Document image preview */
.discount-doc-preview-wrap {
    position: relative;
    display: inline-block;
    margin-top: 12px;
}

.discount-doc-preview {
    display: block;
    max-width: 100%;
    max-height: 200px;
    border: 1px solid #d8e2f2;
    border-radius: 10px;
    object-fit: contain;
    background: #f8fafc;
}

.discount-doc-remove {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 8px;
    padding: 6px 14px;
    border: 1px solid #fecaca;
    border-radius: 8px;
    background: #fef2f2;
    color: #b91c1c;
    font-size: 0.82rem;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s;
}

.discount-doc-remove:hover {
    background: #fee2e2;
    border-color: #f87171;
}

/* Confirmation icon animation */
.confirmation-icon-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    margin: 0 auto 16px;
    border-radius: 50%;
    background: rgba(95, 240, 177, 0.12);
    animation: confirmPop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

.confirmation-icon-wrap i {
    color: var(--success);
    font-size: 2.4rem;
}

@keyframes confirmPop {
    from { transform: scale(0.4); opacity: 0; }
    to   { transform: scale(1);   opacity: 1; }
}

/* Booking ID hint */
.booking-id-hint {
    font-size: 0.8rem;
    color: var(--muted);
    margin-top: -10px;
    margin-bottom: 8px;
}

/* Booking recap on confirmation */
.booking-recap {
    width: min(680px, 100%);
    margin: 20px auto 0;
    padding: 20px 24px;
    border: 1px solid rgba(218, 239, 242, 0.12);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.04);
    text-align: left;
}

.booking-recap h3 {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
    color: var(--text);
    font-size: 1rem;
    font-family: "Poppins", sans-serif;
}

.booking-recap h3 i {
    color: var(--teal);
}

.recap-grid {
    display: grid;
    gap: 8px;
}

.recap-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
    padding: 8px 0;
    border-bottom: 1px solid rgba(218, 239, 242, 0.07);
    font-size: 0.88rem;
}

.recap-row:last-child {
    border-bottom: none;
}

.recap-row span {
    display: flex;
    align-items: center;
    gap: 7px;
    color: var(--muted);
    flex-shrink: 0;
}

.recap-row span i {
    color: var(--teal);
    width: 14px;
    text-align: center;
}

.recap-row strong {
    color: var(--text);
    text-align: right;
}

/* Next step icons */
.next-step-list div {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.next-step-list i {
    margin-top: 3px;
    color: var(--teal);
    flex-shrink: 0;
    width: 16px;
    text-align: center;
}

/* Countdown badge on booking cards */
.countdown-badge {
    display: inline-flex;
    align-items: center;
    padding: 1px 8px;
    margin-left: 6px;
    border-radius: var(--radius-pill);
    background: rgba(105, 208, 196, 0.14);
    color: var(--teal);
    font-size: 0.72rem;
    font-weight: 700;
    font-style: normal;
    vertical-align: middle;
}

/* Drawer footer with cancel link */
.drawer-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    padding: 0 20px 20px;
}

.cancel-request-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: rgba(255, 107, 107, 0.75);
    font-size: 0.82rem;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s;
}

.cancel-request-link:hover {
    color: #ff9a9a;
}

.cancel-request-link i {
    font-size: 0.9rem;
}

/* Traveler breakdown list in drawer */
.detail-full {
    grid-column: 1 / -1;
}

.breakdown-list {
    list-style: none;
    margin: 6px 0 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.breakdown-list li {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border: 1px solid rgba(105, 208, 196, 0.2);
    border-radius: var(--radius-pill);
    background: rgba(105, 208, 196, 0.07);
    color: var(--text);
    font-size: 0.8rem;
    font-weight: 600;
}

.breakdown-list li i {
    color: var(--teal);
    font-size: 0.72rem;
}

/* Max-height increase for drawer with breakdown */
.booking-card.open .booking-detail-drawer {
    max-height: 600px;
}

/* === End Booking UX Improvements === */

/* === Push Notification Bell & Toast === */

.push-bell-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 14px;
    border: 1px solid rgba(218, 239, 242, 0.18);
    border-radius: 8px;
    background: rgba(151, 183, 191, 0.08);
    color: var(--muted);
    font: inherit;
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
    white-space: nowrap;
}

.push-bell-btn:hover {
    background: rgba(105, 208, 196, 0.12);
    color: var(--text);
    border-color: rgba(105, 208, 196, 0.3);
}

.push-bell-btn.push-bell-active {
    background: rgba(105, 208, 196, 0.14);
    color: var(--teal);
    border-color: rgba(105, 208, 196, 0.35);
}

.push-bell-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.push-bell-btn i {
    font-size: 0.9rem;
}

/* Toast notification */
.push-toast {
    position: fixed;
    bottom: 28px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    z-index: 9999;
    padding: 13px 22px;
    border: 1px solid rgba(105, 208, 196, 0.25);
    border-radius: 10px;
    background: rgba(7, 19, 25, 0.96);
    backdrop-filter: blur(16px);
    color: var(--text);
    font-size: 0.88rem;
    font-weight: 600;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s, transform 0.3s;
    max-width: calc(100vw - 40px);
    text-align: center;
}

.push-toast--visible {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
    pointer-events: auto;
}

/* === End Push Notification === */




.empty-state {
    border: 1px solid var(--line);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.045);
}

@media (max-width: 820px) {
    .booking-wrap {
        padding: 118px 14px 50px;
    }

    .booking-header,
    .booking-content {
        padding-right: 22px;
        padding-left: 22px;
    }

    .booking-progress {
        grid-template-columns: 1fr 44px 1fr;
        padding: 14px;
    }

    .progress-step strong {
        font-size: 0.8rem;
    }

    .booking-step .tour-details {
        grid-template-columns: 1fr;
    }

    .booking-step .tour-details img {
        width: 100%;
        height: 240px;
        min-height: 240px;
    }

    .booking-step .tour-details .tour-info {
        padding: 24px;
    }

    .booking-details-layout,
    .booking-fields {
        grid-template-columns: 1fr;
    }

    .discount-options {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    .dash-wrap {
        padding: 150px 14px 52px;
    }

    .dash-header {
        padding: 14px;
    }

    .dash-logo {
        font-size: 1rem;
    }

    .welcome-banner {
        padding: 28px 24px;
    }

    .stats-row {
        grid-template-columns: 1fr;
    }

    .bookings-toolbar {
        padding: 14px;
    }

    .booking-filter-tabs {
        margin-right: -6px;
        margin-left: -6px;
        padding: 5px 6px;
    }

    .booking-card-main {
        grid-template-columns: 76px minmax(0, 1fr);
    }
}

@media (max-width: 480px) {
    .booking-wrap {
        padding-top: 108px;
    }

    .booking-container {
        border-radius: 14px;
    }

    .booking-header h1 {
        font-size: 1.75rem;
    }

    .progress-step span {
        width: 38px;
        height: 38px;
    }

    .discount-options {
        grid-template-columns: 1fr;
    }

    .booking-card-main {
        grid-template-columns: 1fr;
    }
}

/* === Auth Gate Modal === */

.auth-gate-overlay {
    position: fixed;
    inset: 0;
    z-index: 9000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(0, 6, 10, 0.78);
    backdrop-filter: blur(12px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
}

.auth-gate-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.auth-gate-modal {
    position: relative;
    width: min(440px, 100%);
    padding: 40px 36px 36px;
    border: 1px solid rgba(218, 239, 242, 0.14);
    border-radius: 20px;
    background: linear-gradient(145deg, rgba(14, 32, 40, 0.98), rgba(7, 19, 25, 0.98));
    box-shadow: 0 32px 80px rgba(0, 0, 0, 0.6);
    text-align: center;
    transform: translateY(16px) scale(0.97);
    transition: transform 0.25s ease;
}

.auth-gate-overlay.active .auth-gate-modal {
    transform: translateY(0) scale(1);
}

.auth-gate-close {
    position: absolute;
    top: 16px;
    right: 16px;
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border: 1px solid rgba(218, 239, 242, 0.14);
    border-radius: 8px;
    background: rgba(151, 183, 191, 0.08);
    color: var(--muted);
    cursor: pointer;
    font-size: 0.82rem;
    transition: background 0.2s, color 0.2s;
}

.auth-gate-close:hover {
    background: rgba(255, 107, 107, 0.14);
    color: #ff9a9a;
}

.auth-gate-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(105, 208, 196, 0.18), rgba(105, 208, 196, 0.06));
    border: 1px solid rgba(105, 208, 196, 0.25);
}

.auth-gate-icon i {
    font-size: 1.6rem;
    color: var(--teal);
}

.auth-gate-modal h2 {
    color: #ffffff;
    font-family: "Poppins", sans-serif;
    font-size: 1.35rem;
    font-weight: 800;
    margin-bottom: 10px;
}

.auth-gate-modal > p {
    color: var(--muted);
    font-size: 0.9rem;
    line-height: 1.65;
    margin-bottom: 28px;
}

.auth-gate-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
}

.auth-gate-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 13px 20px;
    border-radius: 10px;
    font-size: 0.95rem;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s, filter 0.2s;
}

.auth-gate-btn:hover {
    transform: translateY(-2px);
    filter: brightness(1.08);
}

.auth-gate-btn--primary {
    background: linear-gradient(135deg, #8cd6cb, #69c4b8);
    color: #031118;
    box-shadow: 0 8px 24px rgba(105, 208, 196, 0.3);
}

.auth-gate-btn--secondary {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(218, 239, 242, 0.18);
    color: var(--text);
}

.auth-gate-btn--secondary:hover {
    background: rgba(255, 255, 255, 0.1);
}

.auth-gate-note {
    font-size: 0.8rem;
    color: var(--muted);
}

.auth-gate-note a {
    color: var(--teal);
    font-weight: 600;
    text-decoration: none;
}

.auth-gate-note a:hover {
    text-decoration: underline;
}

/* Gallery auth gate (inline, not modal) */
.gallery-auth-gate {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 40px 28px;
    border: 1px dashed rgba(105, 208, 196, 0.25);
    border-radius: 16px;
    background: rgba(105, 208, 196, 0.04);
}

.gallery-auth-gate .auth-gate-icon {
    margin-bottom: 16px;
}

.gallery-auth-gate h2 {
    color: #ffffff;
    font-family: "Poppins", sans-serif;
    font-size: 1.2rem;
    font-weight: 800;
    margin-bottom: 10px;
}

.gallery-auth-gate > p {
    color: var(--muted);
    font-size: 0.88rem;
    line-height: 1.65;
    margin-bottom: 24px;
}

.gallery-auth-gate .auth-gate-actions {
    width: 100%;
    max-width: 280px;
}

/* === End Auth Gate Modal === */

/* === Payment Method Options === */
.payment-options {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-top: 8px;
}

.payment-option {
    cursor: pointer;
}

.payment-option input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.payment-option-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 16px 12px;
    border: 1px solid rgba(218, 239, 242, 0.14);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.04);
    text-align: center;
    transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
    min-height: 90px;
}

.payment-option-inner i {
    font-size: 1.4rem;
    color: var(--muted);
    transition: color 0.2s;
}

.payment-option-inner strong {
    display: block;
    color: var(--text);
    font-size: 0.88rem;
    font-weight: 700;
}

.payment-option-inner small {
    display: block;
    color: var(--muted);
    font-size: 0.72rem;
}

.payment-option input[type="radio"]:checked + .payment-option-inner {
    border-color: rgba(105, 208, 196, 0.6);
    background: rgba(105, 208, 196, 0.1);
    box-shadow: 0 0 0 2px rgba(105, 208, 196, 0.2);
}

.payment-option input[type="radio"]:checked + .payment-option-inner i {
    color: var(--teal);
}

.payment-option:hover .payment-option-inner {
    border-color: rgba(105, 208, 196, 0.35);
    background: rgba(105, 208, 196, 0.06);
}

@media (max-width: 480px) {
    .payment-options {
        grid-template-columns: 1fr 1fr;
    }
}
/* === End Payment Method Options === */

/* === Light UI Theme === */
:root,
html.light-mode {
    --bg: #f6f9fc;
    --bg-2: #eaf2f7;
    --bg-3: #dceaf1;
    --panel: rgba(255, 255, 255, 0.88);
    --panel-soft: rgba(255, 255, 255, 0.72);
    --panel-strong: rgba(255, 255, 255, 0.96);
    --line: rgba(30, 74, 105, 0.13);
    --line-strong: rgba(30, 74, 105, 0.24);
    --text: #173044;
    --muted: #5b7182;
    --faint: #8a9ba8;
    --primary: #2e7fa3;
    --teal: #258f94;
    --cyan: #3b82a0;
    --dark: #173044;
    --warning: #b45309;
    --danger: #dc2626;
    --success: #059669;
    --shadow: 0 22px 60px rgba(30, 74, 105, 0.14);
    --glow: 0 0 30px rgba(46, 127, 163, 0.13);
}

html.light-mode body {
    background:
        radial-gradient(circle at 12% 10%, rgba(109, 178, 205, 0.18), transparent 31rem),
        radial-gradient(circle at 86% 2%, rgba(174, 202, 219, 0.22), transparent 30rem),
        linear-gradient(145deg, #f9fcff 0%, #eef5fa 48%, #e4f0f5 100%);
    color: var(--text);
}

html.light-mode body::before {
    background-image:
        linear-gradient(rgba(30, 74, 105, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(30, 74, 105, 0.03) 1px, transparent 1px);
    mask-image: linear-gradient(to bottom, rgba(0,0,0,0.18), transparent 78%);
}

html.light-mode .header {
    background: rgba(255, 255, 255, 0.86);
    border-color: rgba(30, 74, 105, 0.14);
    box-shadow: 0 18px 48px rgba(30, 74, 105, 0.12);
}

html.light-mode .header h1,
html.light-mode .logo h1 {
    background: linear-gradient(135deg, #173044 0%, #2e7fa3 58%, #258f94 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

html.light-mode .header p,
html.light-mode .logo p {
    color: var(--muted);
}

html.light-mode .nav a {
    color: #3f596c;
}

html.light-mode .nav a:hover,
html.light-mode .nav a.active {
    background: rgba(46, 127, 163, 0.1);
    border-color: rgba(46, 127, 163, 0.24);
    color: #1f6f92;
}

html.light-mode .tour-card,
html.light-mode .testimonial-card,
html.light-mode .feature-card,
html.light-mode .reason-card,
html.light-mode .booking-card,
html.light-mode .dash-stat-card,
html.light-mode .booking-summary-card,
html.light-mode .traveler-categories,
html.light-mode .discount-group,
html.light-mode .forecast-panel,
html.light-mode .info-box,
html.light-mode .step-card,
html.light-mode .tip-card,
html.light-mode .final-checklist,
html.light-mode .hours-card,
html.light-mode .important-note {
    background: rgba(255, 255, 255, 0.9);
    border-color: rgba(30, 74, 105, 0.13);
    box-shadow: 0 16px 42px rgba(30, 74, 105, 0.1);
    color: var(--text);
}

html.light-mode .tour-title,
html.light-mode .booking-tour,
html.light-mode h1, html.light-mode h2,
html.light-mode h3, html.light-mode h4 {
    color: #173044;
}

html.light-mode .tour-description,
html.light-mode .tour-destination,
html.light-mode p {
    color: var(--muted);
}

html.light-mode .footer {
    background: #173044;
    color: #e8f3f8;
}

html.light-mode .booking-wrap {
    background: linear-gradient(145deg, #f9fcff, #e8f2f7);
}

html.light-mode .booking-container {
    background: rgba(255, 255, 255, 0.95);
    border-color: rgba(30, 74, 105, 0.13);
}

html.light-mode .form-group input,
html.light-mode .form-group select,
html.light-mode .form-group textarea,
html.light-mode .booking-fields input,
html.light-mode .booking-fields select,
html.light-mode .booking-fields textarea {
    background: rgba(255, 255, 255, 0.9);
    border-color: rgba(30, 74, 105, 0.18);
    color: #173044;
}

html.light-mode .form-group label {
    color: #3f596c;
}

html.light-mode .dash-wrap {
    background:
        radial-gradient(circle at 12% 6%, rgba(109, 178, 205, 0.16), transparent 28rem),
        linear-gradient(145deg, #f9fcff, #e8f2f7);
}

html.light-mode .welcome-banner {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(235, 244, 249, 0.9));
    border-color: rgba(30, 74, 105, 0.13);
}

html.light-mode .welcome-banner h2 {
    color: #173044;
}

/* Theme button retained only for legacy markup; hidden in the light-only UI */
.theme-toggle-btn {
    display: none;
    align-items: center;
    gap: 7px;
    padding: 7px 14px;
    border: 1px solid rgba(218, 239, 242, 0.18);
    border-radius: 8px;
    background: rgba(151, 183, 191, 0.08);
    color: var(--muted);
    font: inherit;
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
    white-space: nowrap;
}

.theme-toggle-btn:hover {
    background: rgba(105, 208, 196, 0.12);
    color: var(--text);
    border-color: rgba(105, 208, 196, 0.3);
}

html.light-mode .theme-toggle-btn {
    border-color: rgba(30, 74, 105, 0.18);
    background: rgba(255, 255, 255, 0.78);
    color: #3f596c;
}

html.light-mode .push-bell-btn {
    border-color: rgba(30, 74, 105, 0.18);
    background: rgba(255, 255, 255, 0.78);
    color: #3f596c;
}
/* === End Light UI Theme === */

/* === Tripguide-Inspired Light System UI === */
:root,
html.light-mode {
    --bg: #f1f3f6;
    --bg-2: #f7f8fa;
    --bg-3: #ffffff;
    --panel: #ffffff;
    --panel-soft: #f8f9fb;
    --panel-strong: #ffffff;
    --line: #e5e7eb;
    --line-strong: #d1d5db;
    --text: #111827;
    --muted: #6b7280;
    --faint: #9ca3af;
    --primary: #0f766e;
    --teal: #0f766e;
    --cyan: #f43f5e;
    --dark: #111827;
    --warning: #f59e0b;
    --success: #10b981;
    --danger: #ef4444;
    --info: #2563eb;
    --shadow: 0 12px 34px rgba(17, 24, 39, 0.08);
    --glow: 0 0 0 3px rgba(15, 118, 110, 0.16);
    --radius-xl: 14px;
    --radius-lg: 12px;
    --radius-md: 10px;
    --radius-pill: 8px;
}

html.light-mode body,
body {
    color: var(--text);
    background: #eef0f4 !important;
}

body::before,
html.light-mode body::before {
    display: none;
}

.header,
html.light-mode .header {
    top: 0;
    width: 100%;
    border-width: 0 0 1px;
    border-radius: 0;
    border-color: var(--line);
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 8px 24px rgba(17, 24, 39, 0.06);
}

.header-inner {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
    min-height: 76px;
    padding: 10px 0;
}

.logo h1,
html.light-mode .logo h1,
html.light-mode .header h1 {
    background: none;
    color: var(--text);
}

.logo p,
.header p,
html.light-mode .logo p,
html.light-mode .header p,
p {
    color: var(--muted);
}

.nav a,
html.light-mode .nav a {
    border-radius: 8px;
    color: var(--text);
    font-weight: 600;
}

.nav a:hover,
.nav a.active,
html.light-mode .nav a:hover,
html.light-mode .nav a.active {
    color: var(--primary);
    border-color: #b8ded8;
    background: #e8f5f3;
    box-shadow: none;
}

.btn,
.btn-primary,
.btn-book,
.btn-explore,
.booking-submit,
.submit-btn,
button[type="submit"],
input[type="submit"] {
    border: 1px solid var(--primary) !important;
    border-radius: 8px !important;
    background: var(--primary) !important;
    color: #ffffff !important;
    box-shadow: 0 10px 24px rgba(15, 118, 110, 0.18) !important;
}

.btn:hover,
.btn-primary:hover,
.btn-book:hover,
.btn-explore:hover,
.booking-submit:hover,
.submit-btn:hover,
button[type="submit"]:hover,
input[type="submit"]:hover {
    background: #0b5f59 !important;
    border-color: #0b5f59 !important;
    transform: translateY(-1px);
}

.hero {
    min-height: 54vh;
    padding-top: 140px;
    background:
        linear-gradient(90deg, rgba(17, 24, 39, 0.68), rgba(17, 24, 39, 0.22)),
        url("../assets/images/header_3.jpg") center/cover !important;
}

.hero::after {
    background: linear-gradient(transparent, #eef0f4) !important;
}

.tour-card,
.testimonial-card,
.feature-card,
.reason-card,
.booking-card,
.dash-stat-card,
.booking-summary-card,
.traveler-categories,
.discount-group,
.forecast-panel,
.info-box,
.step-card,
.tip-card,
.final-checklist,
.hours-card,
.important-note,
.welcome-banner,
.confirmation-box,
.auth-gate,
.modal-content,
.push-toast,
html.light-mode .tour-card,
html.light-mode .testimonial-card,
html.light-mode .feature-card,
html.light-mode .reason-card,
html.light-mode .booking-card,
html.light-mode .dash-stat-card,
html.light-mode .booking-summary-card,
html.light-mode .traveler-categories,
html.light-mode .discount-group,
html.light-mode .forecast-panel,
html.light-mode .info-box,
html.light-mode .step-card,
html.light-mode .tip-card,
html.light-mode .final-checklist,
html.light-mode .hours-card,
html.light-mode .important-note,
html.light-mode .welcome-banner {
    border: 1px solid var(--line) !important;
    border-radius: 12px !important;
    background: #ffffff !important;
    box-shadow: var(--shadow) !important;
    color: var(--text) !important;
}

.booking-wrap,
.dash-wrap,
html.light-mode .booking-wrap,
html.light-mode .dash-wrap {
    background: #eef0f4 !important;
}

.booking-container,
html.light-mode .booking-container {
    border: 1px solid var(--line) !important;
    border-radius: 14px !important;
    background: #ffffff !important;
    box-shadow: var(--shadow) !important;
}

h1,
h2,
h3,
h4,
.tour-title,
.booking-tour,
html.light-mode h1,
html.light-mode h2,
html.light-mode h3,
html.light-mode h4,
html.light-mode .tour-title,
html.light-mode .booking-tour {
    color: var(--text) !important;
}

.tour-description,
.tour-destination,
.card p,
.tip-card p,
.feature-card p,
.reason-card p,
html.light-mode .tour-description,
html.light-mode .tour-destination {
    color: var(--muted) !important;
}

input,
select,
textarea,
.form-group input,
.form-group select,
.form-group textarea,
.booking-fields input,
.booking-fields select,
.booking-fields textarea,
html.light-mode .form-group input,
html.light-mode .form-group select,
html.light-mode .form-group textarea,
html.light-mode .booking-fields input,
html.light-mode .booking-fields select,
html.light-mode .booking-fields textarea {
    border: 1px solid var(--line-strong) !important;
    border-radius: 10px !important;
    background: #ffffff !important;
    color: var(--text) !important;
}

input:focus,
select:focus,
textarea:focus {
    border-color: var(--primary) !important;
    box-shadow: var(--glow) !important;
    outline: none;
}

.footer,
html.light-mode .footer {
    background: #ffffff !important;
    border-top: 1px solid var(--line);
    color: var(--muted) !important;
}
/* === End Tripguide-Inspired Light System UI === */

/* === Final Teal Travel Public UI === */
:root,
html.light-mode {
    --bg: #eef4f7;
    --bg-2: #f6f9fb;
    --bg-3: #ffffff;
    --panel: #ffffff;
    --panel-soft: #f8fafc;
    --panel-strong: #ffffff;
    --line: #d9e3ea;
    --line-strong: #b9c8d3;
    --text: #10202b;
    --muted: #607080;
    --faint: #8a98a6;
    --primary: #0f766e;
    --teal: #0f766e;
    --cyan: #256d85;
    --dark: #10202b;
    --warning: #d97706;
    --success: #15803d;
    --danger: #b91c1c;
    --info: #1d4ed8;
    --shadow: 0 14px 34px rgba(16, 32, 43, 0.09);
    --glow: 0 0 0 3px rgba(15, 118, 110, 0.16);
}

body,
html.light-mode body {
    color: var(--text) !important;
    background: #eef4f7 !important;
}

.header,
html.light-mode .header {
    background: rgba(255, 255, 255, 0.96) !important;
    border-color: var(--line) !important;
    box-shadow: 0 8px 22px rgba(16, 32, 43, 0.07) !important;
}

.logo h1,
.header h1,
h1,
h2,
h3,
h4,
.tour-title,
.booking-tour,
html.light-mode .logo h1,
html.light-mode .header h1,
html.light-mode h1,
html.light-mode h2,
html.light-mode h3,
html.light-mode h4 {
    background: none !important;
    color: var(--text) !important;
    -webkit-text-fill-color: var(--text) !important;
}

.hero h1,
.hero h2,
.hero p {
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
}

p,
.logo p,
.header p,
.tour-description,
.tour-destination,
.card p,
.tip-card p,
.feature-card p,
.reason-card p,
html.light-mode p {
    color: var(--muted) !important;
}

.nav a,
html.light-mode .nav a {
    color: #263747 !important;
}

.nav a:hover,
.nav a.active,
html.light-mode .nav a:hover,
html.light-mode .nav a.active {
    color: var(--primary) !important;
    background: #e8f5f3 !important;
    border-color: #b8ded8 !important;
}

.btn,
.btn-primary,
.btn-book,
.btn-explore,
.booking-submit,
.submit-btn,
button[type="submit"],
input[type="submit"] {
    background: var(--primary) !important;
    border-color: var(--primary) !important;
    color: #ffffff !important;
    box-shadow: 0 10px 24px rgba(15, 118, 110, 0.18) !important;
}

.btn:hover,
.btn-primary:hover,
.btn-book:hover,
.btn-explore:hover,
.booking-submit:hover,
.submit-btn:hover,
button[type="submit"]:hover,
input[type="submit"]:hover {
    background: #0b5f59 !important;
    border-color: #0b5f59 !important;
}

.tour-card,
.testimonial-card,
.feature-card,
.reason-card,
.booking-card,
.dash-stat-card,
.booking-summary-card,
.traveler-categories,
.discount-group,
.forecast-panel,
.info-box,
.step-card,
.tip-card,
.final-checklist,
.hours-card,
.important-note,
.welcome-banner,
.confirmation-box,
.auth-gate,
.modal-content,
.push-toast,
.booking-container,
html.light-mode .tour-card,
html.light-mode .testimonial-card,
html.light-mode .feature-card,
html.light-mode .reason-card,
html.light-mode .booking-card,
html.light-mode .welcome-banner,
html.light-mode .booking-container {
    background: #ffffff !important;
    border: 1px solid var(--line) !important;
    color: var(--text) !important;
    box-shadow: var(--shadow) !important;
}

.booking-wrap,
.dash-wrap,
html.light-mode .booking-wrap,
html.light-mode .dash-wrap {
    background: #eef4f7 !important;
}

a:not(.btn):not(.btn-book):not(.btn-explore):not(.nav a) {
    color: var(--primary);
}

input,
select,
textarea,
.form-group input,
.form-group select,
.form-group textarea,
.booking-fields input,
.booking-fields select,
.booking-fields textarea {
    background: #ffffff !important;
    border-color: var(--line-strong) !important;
    color: var(--text) !important;
}

input:focus,
select:focus,
textarea:focus {
    border-color: var(--primary) !important;
    box-shadow: var(--glow) !important;
}

.footer,
html.light-mode .footer {
    background: #ffffff !important;
    color: var(--muted) !important;
    border-top: 1px solid var(--line);
}
/* === End Final Teal Travel Public UI === */

/* === Coastal Blue Client UI === */
:root,
html.light-mode {
    --bg: #f3f8fb;
    --bg-2: #e8f2f7;
    --bg-3: #ffffff;
    --panel: #ffffff;
    --panel-soft: #f8fbfd;
    --panel-strong: #ffffff;
    --line: #d9e7ef;
    --line-strong: #b8ccd8;
    --text: #14283a;
    --muted: #63768a;
    --faint: #91a2b1;
    --primary: #1f7a9c;
    --teal: #1f7a9c;
    --cyan: #4ea7c8;
    --dark: #14283a;
    --warning: #d99a2b;
    --success: #2f8f6b;
    --danger: #b94747;
    --info: #2f6fb3;
    --shadow: 0 16px 38px rgba(20, 40, 58, 0.1);
    --glow: 0 0 0 3px rgba(31, 122, 156, 0.16);
}

body,
html.light-mode body {
    background: #f3f8fb !important;
    color: var(--text) !important;
}

.header,
html.light-mode .header {
    background: rgba(255, 255, 255, 0.97) !important;
    border-color: var(--line) !important;
}

.logo h1,
.header h1,
h1,
h2,
h3,
h4,
.tour-title,
.booking-tour,
html.light-mode .logo h1,
html.light-mode .header h1,
html.light-mode h1,
html.light-mode h2,
html.light-mode h3,
html.light-mode h4 {
    color: var(--text) !important;
    -webkit-text-fill-color: var(--text) !important;
}

.hero {
    background:
        linear-gradient(90deg, rgba(8, 22, 35, 0.78), rgba(8, 22, 35, 0.36)),
        linear-gradient(180deg, rgba(8, 22, 35, 0.15), rgba(243, 248, 251, 0.96) 96%),
        url("../assets/images/header_3.jpg") center/cover !important;
}

.hero::after {
    background: linear-gradient(transparent, #f3f8fb) !important;
}

.hero h1,
.hero h2 {
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
    text-shadow: 0 8px 26px rgba(0, 0, 0, 0.38);
}

.hero p {
    color: #eef7fb !important;
    -webkit-text-fill-color: #eef7fb !important;
    text-shadow: 0 4px 16px rgba(0, 0, 0, 0.32);
}

p,
.logo p,
.header p,
.tour-description,
.tour-destination,
.card p,
.tip-card p,
.feature-card p,
.reason-card p,
html.light-mode p {
    color: var(--muted) !important;
}

.nav a,
html.light-mode .nav a {
    color: #2d4053 !important;
}

.nav a:hover,
.nav a.active,
html.light-mode .nav a:hover,
html.light-mode .nav a.active {
    color: var(--primary) !important;
    background: #eaf6fb !important;
    border-color: #bfe1ee !important;
}

.btn,
.btn-primary,
.btn-book,
.btn-explore,
.booking-submit,
.submit-btn,
button[type="submit"],
input[type="submit"] {
    background: #e6b44f !important;
    border-color: #e6b44f !important;
    color: #14283a !important;
    box-shadow: 0 12px 26px rgba(170, 121, 34, 0.2) !important;
}

.btn:hover,
.btn-primary:hover,
.btn-book:hover,
.btn-explore:hover,
.booking-submit:hover,
.submit-btn:hover,
button[type="submit"]:hover,
input[type="submit"]:hover {
    background: #d8a13a !important;
    border-color: #d8a13a !important;
}

.btn-book,
.btn-explore {
    font-weight: 800;
}

.nav .btn-book,
.nav .btn-explore {
    background: var(--primary) !important;
    border-color: var(--primary) !important;
    color: #ffffff !important;
    box-shadow: 0 12px 26px rgba(31, 122, 156, 0.2) !important;
}

.tour-card,
.testimonial-card,
.feature-card,
.reason-card,
.booking-card,
.dash-stat-card,
.booking-summary-card,
.traveler-categories,
.discount-group,
.forecast-panel,
.info-box,
.step-card,
.tip-card,
.final-checklist,
.hours-card,
.important-note,
.welcome-banner,
.confirmation-box,
.auth-gate,
.modal-content,
.push-toast,
.booking-container,
html.light-mode .tour-card,
html.light-mode .testimonial-card,
html.light-mode .feature-card,
html.light-mode .reason-card,
html.light-mode .booking-card,
html.light-mode .welcome-banner,
html.light-mode .booking-container {
    background: #ffffff !important;
    border-color: var(--line) !important;
    color: var(--text) !important;
    box-shadow: var(--shadow) !important;
}

.booking-wrap,
.dash-wrap,
html.light-mode .booking-wrap,
html.light-mode .dash-wrap {
    background: #f3f8fb !important;
}

a:not(.btn):not(.btn-book):not(.btn-explore):not(.nav a) {
    color: var(--primary);
}

input,
select,
textarea,
.form-group input,
.form-group select,
.form-group textarea,
.booking-fields input,
.booking-fields select,
.booking-fields textarea {
    background: #ffffff !important;
    border-color: var(--line-strong) !important;
    color: var(--text) !important;
}

input:focus,
select:focus,
textarea:focus {
    border-color: var(--primary) !important;
    box-shadow: var(--glow) !important;
}

.footer,
html.light-mode .footer {
    background: #10283a !important;
    border-top: 0;
    color: #dcebf2 !important;
}

.tour-activity-card .tour-activity-image,
.possible-location-card .possible-location-image {
    width: 100%;
    margin-bottom: 0.75rem;
    overflow: hidden;
    border-radius: 0.5rem;
    aspect-ratio: 16 / 9;
    background: #eef4f7;
}

.tour-activity-card .tour-activity-image img,
.possible-location-card .possible-location-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tour-modal-activities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
}

.tour-activity-card {
    min-width: 0;
    overflow: hidden;
    border: 1px solid rgba(30, 74, 105, 0.12);
    border-radius: 14px;
    background: #ffffff;
}

.tour-activity-meta {
    display: grid;
    gap: 8px;
    padding: 14px;
    color: var(--text);
}

.tour-activity-meta span {
    min-width: 0;
    overflow-wrap: anywhere;
    line-height: 1.5;
    color: var(--muted);
}

.possible-location-card {
    padding: 1rem;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 1rem;
    background: #fff;
}

/* === End Coastal Blue Client UI === */
