/* ================================================================
   main.css — Global stylesheet · Luks Kayaking
   Source of truth: index.html
   Link: <link rel="stylesheet" href="css/main.css">

   Sections:
     1.  Base reset & body
     2.  Keyframes
     3.  Scroll animations
     4.  Top bar
     5.  Language selector
     6.  Navbar
     7.  Hamburger
     8.  Mobile menu
     9.  Buttons
    10.  Section label
    11.  Feature icon
    12.  Tour cards
    13.  Homepage gallery (balanced grid)
    14.  Booking modal
    15.  Form inputs
    16.  Stat card & review card
    17.  Sub-page hero
    18.  Footer
    19.  Progress bar & success message
    20.  Media queries
================================================================ */


/* ================================================================
   1. BASE RESET & BODY
================================================================ */

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    font-family: 'Manrope', sans-serif;
    background-color: #fafcff;
    color: #0a1628;
    overflow-x: hidden;
    font-size: 16.5px;
    -webkit-font-smoothing: antialiased;
}

.lk-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    vertical-align: middle;
    flex-shrink: 0;
}


/* ================================================================
   2. KEYFRAMES
================================================================ */

@keyframes kenBurns {
    from { transform: scale(1.06); }
    to   { transform: scale(1); }
}
@keyframes float {
    0%, 100% { transform: translateY(0px) scale(1); }
    50%       { transform: translateY(-20px) scale(1.05); }
}
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(22px); }
    to   { opacity: 1; transform: translateY(0); }
}


/* ================================================================
   3. SCROLL ANIMATIONS
================================================================ */

.animate-on-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}
.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}


/* ================================================================
   4. TOP BAR
================================================================ */

.top-bar {
    background: #0571c4;
    color: rgba(255,255,255,0.82);
    font-size: 0.9rem;
    font-weight: 500;
    font-family: 'Manrope', sans-serif;
    letter-spacing: 0.01em;
    padding: 9px 0;
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    border-bottom: 1px solid rgba(255,255,255,0.12);
}
.top-bar a {
    color: #fff;
    transition: color 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
}
.top-bar a:hover { color: white; }


/* ================================================================
   5. LANGUAGE SELECTOR
================================================================ */

.lang-selector {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
    color: rgba(255,255,255,0.82);
    font-size: 0.78rem;
    font-weight: 500;
    user-select: none;
}
.lang-selector:hover { color: white; }
.lang-selector .lang-flag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 13px;
    line-height: 1;
}
.lang-selector .lang-flag svg,
.lang-selector .lang-flag img,
.lang-option .flag svg,
.lang-option .flag img {
    width: 18px;
    height: 13px;
    display: block;
    border-radius: 3px;
    box-shadow: 0 0 0 1px rgba(0,0,0,0.08);
}
.lang-selector .lang-chevron { transition: transform 0.2s; }
.lang-selector.open .lang-chevron { transform: rotate(180deg); }

.lang-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(9,132,227,0.2);
    min-width: 150px;
    overflow: hidden;
    z-index: 200;
    border: 1px solid rgba(9,132,227,0.1);
}
.lang-dropdown.open { display: block; }

.lang-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 14px;
    font-size: 0.85rem;
    font-weight: 500;
    color: #0a1628;
    cursor: pointer;
    transition: background 0.15s;
}
.lang-option:hover  { background: #e8f4fd; }
.lang-option.active { background: #e8f4fd; color: #0984e3; font-weight: 600; }
.lang-option .flag {
    width: 18px;
    height: 13px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}


/* ================================================================
   6. NAVBAR
================================================================ */

.nav-glass {
    padding: 20px 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0) 84%);
    z-index: 99;
}
.nav-scrolled {
    background: rgb(4,71,140) !important;
    backdrop-filter: blur(20px);
    box-shadow: 0 4px 30px rgba(9,132,227,0.08);
    padding: 0;
}
.nav-scrolled .nav-logo-text { color: #0984e3 !important; }

.nav-link {
    color: rgba(255,255,255,0.9);
    font-weight: 500;
    font-size: 1rem;
    letter-spacing: 0.02em;
    transition: color 0.2s;
    position: relative;
    text-decoration: none;
}
.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px; left: 0;
    width: 0; height: 2px;
    background: #0984e3;
    border-radius: 2px;
    transition: width 0.3s ease;
}
.nav-link:hover            { color: white; }
.nav-link:hover::after     { width: 100%; }
.nav-link.active::after    { width: 100%; }
.nav-scrolled .nav-link:hover { color: #0984e3 !important; }


/* ================================================================
   7. HAMBURGER
================================================================ */

.hamburger {
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 4px;
    z-index: 200;
}
.hamburger span {
    display: block;
    background: white;
    border-radius: 10px;
    transition: all 0.38s cubic-bezier(0.4, 0.0, 0.2, 1);
}
.hamburger span:nth-child(1) { width: 24px; height: 2px; }
.hamburger span:nth-child(2) { width: 15px; height: 2px; align-self: flex-end; }
.hamburger span:nth-child(3) { width: 24px; height: 2px; }

.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); width: 24px; }


/* ================================================================
   8. MOBILE MENU
================================================================ */

.mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 90;
    display: flex;
    flex-direction: column;
    pointer-events: none;
    overflow: hidden;
    width: 100%;
    max-width: 100vw;
}

.mobile-menu-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(155deg, #033a6c 0%, #0571c4 55%, #055ea8 100%);
    clip-path: inset(0 0 100% 0);
    transition: clip-path 0.6s cubic-bezier(0.76, 0, 0.24, 1);
    will-change: clip-path;
}
.mobile-menu-bg::before {
    content: '';
    position: absolute;
    width: 600px; height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(9,132,227,0.35) 0%, transparent 70%);
    bottom: -200px; right: -150px;
    pointer-events: none;
}
.mobile-menu-bg::after {
    content: '';
    position: absolute;
    width: 300px; height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255,255,255,0.06) 0%, transparent 70%);
    top: 60px; left: -80px;
    pointer-events: none;
}

.mobile-menu-inner {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 0 8% 6%;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.4s ease 0.25s, transform 0.4s ease 0.25s;
    overflow-x: hidden;
}

.mobile-menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 16px;
    margin-bottom: 0;
    flex-shrink: 0;
}

.mobile-nav-items {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0;
}

.mobile-nav-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 17px 0;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    text-decoration: none;
    color: white;
    font-size: 2.4rem;
    font-weight: 800;
    letter-spacing: -0.045em;
    line-height: 1;
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateX(-32px);
    transition: opacity 0.32s ease, transform 0.32s ease, color 0.2s ease;
}
.mobile-nav-link:first-child { border-top: 1px solid rgba(255,255,255,0.1); }

.mobile-nav-link .link-number {
    font-size: 0.72rem;
    font-weight: 600;
    color: rgba(255,255,255,0.3);
    letter-spacing: 0.08em;
    align-self: flex-start;
    margin-top: 6px;
}
.mobile-nav-link .link-arrow {
    color: rgba(255,255,255,0.2);
    transition: color 0.2s, transform 0.2s;
    flex-shrink: 0;
}
.mobile-nav-link .link-text {
    position: relative;
    display: inline-block;
}
.mobile-nav-link .link-text::after {
    content: '';
    position: absolute;
    bottom: -1px; left: 0;
    width: 0; height: 1.5px;
    background: rgba(255,255,255,0.4);
    transition: width 0.3s ease;
}
.mobile-nav-link:hover                  { color: rgba(255,255,255,0.7); }
.mobile-nav-link:hover .link-arrow      { color: rgba(255,255,255,0.5); transform: translateX(6px); }
.mobile-nav-link:hover .link-text::after{ width: 100%; }

.mobile-menu-footer {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 20px;
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.35s ease 0.45s, transform 0.35s ease 0.45s;
}
.mobile-menu-footer .contact-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}
.mobile-menu-footer a {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.5);
    text-decoration: none;
    transition: color 0.2s;
    overflow-wrap: anywhere;
}
.mobile-menu-footer a:hover { color: white; }
.mobile-menu-footer .book-cta {
    background: rgba(255,255,255,0.12);
    border: 1.5px solid rgba(255,255,255,0.25);
    color: white;
    border-radius: 100px;
    padding: 10px 22px;
    font-size: 0.85rem;
    font-weight: 700;
    text-decoration: none;
    transition: background 0.2s, border-color 0.2s;
}
.mobile-menu-footer .book-cta:hover {
    background: rgba(255,255,255,0.22);
    border-color: rgba(255,255,255,0.5);
}

/* Open state */
.mobile-menu.open                    { pointer-events: all; }
.mobile-menu.open .mobile-menu-bg   { clip-path: inset(0 0 0% 0); }
.mobile-menu.open .mobile-menu-inner{ opacity: 1; transform: translateY(0); }
.mobile-menu.open .mobile-menu-footer{ opacity: 1; transform: translateY(0); }

/* Staggered nav link entrance */
.mobile-menu.open .mobile-nav-link:nth-child(1){ opacity:1; transform:translateX(0); transition-delay:0.28s; }
.mobile-menu.open .mobile-nav-link:nth-child(2){ opacity:1; transform:translateX(0); transition-delay:0.34s; }
.mobile-menu.open .mobile-nav-link:nth-child(3){ opacity:1; transform:translateX(0); transition-delay:0.40s; }
.mobile-menu.open .mobile-nav-link:nth-child(4){ opacity:1; transform:translateX(0); transition-delay:0.46s; }
.mobile-menu.open .mobile-nav-link:nth-child(5){ opacity:1; transform:translateX(0); transition-delay:0.52s; }


/* ================================================================
   9. BUTTONS
================================================================ */

.btn-primary {
    background: #0984e3;
    color: white;
    border-radius: 100px;
    font-weight: 600;
    font-family: 'Manrope', sans-serif;
    letter-spacing: 0.01em;
    transition: all 0.25s ease;
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    cursor: pointer;
    border: none;
}
.btn-primary:hover {
    background: #0771c7;
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(9,132,227,0.28);
}
.btn-primary::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255,255,255,0.15);
    opacity: 0;
    transition: opacity 0.2s;
}
.btn-primary:active::after { opacity: 1; }

.btn-outline {
    border: 2px solid rgba(255,255,255,0.7);
    color: white;
    border-radius: 100px;
    font-weight: 600;
    font-family: 'Manrope', sans-serif;
    transition: all 0.25s ease;
    background: transparent;
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    cursor: pointer;
}
.btn-outline:hover {
    background: white;
    color: #0984e3;
    border-color: white;
}


/* ================================================================
   10. SECTION LABEL
================================================================ */

.section-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(9,132,227,0.08);
    border: 1px solid rgba(9,132,227,0.18);
    border-radius: 100px;
    padding: 6px 16px;
    font-size: 0.8rem;
    font-weight: 600;
    color: #0984e3;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}


/* ================================================================
   11. FEATURE ICON
================================================================ */

.feature-icon-wrap {
    width: 56px; height: 56px;
    background: rgba(9,132,227,0.09);
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #0984e3;
}


/* ================================================================
   12. TOUR CARDS
================================================================ */

.tours-heading {
    font-size: clamp(2.8rem, 5vw, 4.5rem);
    font-weight: 900;
    line-height: 1.0;
    letter-spacing: -0.04em;
    color: #0a1628;
}
.tours-heading em {
    font-style: italic;
    font-weight: 300;
    color: #0984e3;
}

.tour-card {
    position: relative;
    background: white;
    border-radius: 2rem;
    overflow: hidden;
    box-shadow: 0 2px 16px rgba(9,132,227,0.07);
    border: 1px solid rgba(9,132,227,0.09);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    cursor: pointer;
    display: flex;
    flex-direction: column;
}
.tour-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(9,132,227,0.13);
    border-color: rgba(9,132,227,0.18);
}

.tour-card .card-img {
    position: relative;
    overflow: hidden;
}
.tour-card .card-img > div,
.tour-card .card-img img {
    transition: transform 0.4s ease;
}
.tour-card:hover .card-img > div,
.tour-card:hover .card-img img {
    transform: scale(1.03);
}
.tour-card .card-img::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 40%, rgba(3,15,50,0.55) 100%);
    z-index: 1;
}

.card-img-title {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    z-index: 2;
    padding: 1.4rem 1.5rem 1rem;
}
.card-img-title h3 {
    font-size: 1.45rem;
    font-weight: 800;
    color: white;
    line-height: 1.15;
    letter-spacing: -0.02em;
    text-shadow: 0 2px 12px rgba(0,0,0,0.35);
    margin: 0;
}

.card-badge {
    position: absolute;
    top: 1rem; left: 1rem;
    z-index: 2;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 100px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.badge-easy     { background: #d1fae5; color: #065f46; }
.badge-moderate { background: #fef3c7; color: #92400e; }
.badge-hard     { background: #fee2e2; color: #991b1b; }
.badge-night    { background: #ede9fe; color: #5b21b6; }

.card-price-badge {
    position: absolute;
    top: 1rem; right: 1rem;
    z-index: 2;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(8px);
    border-radius: 14px;
    padding: 6px 12px;
    display: flex;
    align-items: baseline;
    gap: 2px;
}
.card-price-badge .price-val {
    font-size: 1.15rem;
    font-weight: 800;
    color: #0984e3;
    font-family: 'Manrope', sans-serif;
}
.card-price-badge .price-pp {
    font-size: 0.72rem;
    color: #94a3b8;
    font-weight: 500;
}

.tour-card .card-body {
    padding: 1.4rem 1.5rem 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.card-meta {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    color: #94a3b8;
    font-weight: 500;
    margin-bottom: 0.9rem;
}
.card-desc {
    font-size: 0.875rem;
    color: #64748b;
    line-height: 1.65;
    margin-bottom: 1.1rem;
    flex: 1;
}
.card-highlights {
    display: flex;
    gap: 6px;
    margin-bottom: 1.1rem;
    flex-wrap: wrap;
}
.card-highlight-item {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.78rem;
    font-weight: 600;
    color: #0a1628;
    background: #f0f7ff;
    border-radius: 10px;
    padding: 5px 10px;
}
.card-highlight-item .hl-icon {
    width: 20px; height: 20px;
    background: #0984e3;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
}
.card-rating {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 1.1rem;
}
.card-stars        { color: #f59e0b; font-size: 0.85rem; letter-spacing: 1px; }
.card-review-count { font-size: 0.76rem; color: #94a3b8; }

.card-cta {
    background: #0a1628;
    color: white;
    border: none;
    border-radius: 14px;
    padding: 13px 20px;
    font-size: 0.875rem;
    font-weight: 700;
    font-family: 'Manrope', sans-serif;
    cursor: pointer;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    letter-spacing: 0.01em;
    transition: background 0.22s ease, box-shadow 0.22s ease;
    text-decoration: none;
}
.card-cta:hover {
    background: #0984e3;
    box-shadow: 0 4px 14px rgba(9,132,227,0.25);
}
.card-cta .arrow-icon {
    width: 26px; height: 26px;
    background: rgba(255,255,255,0.15);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Featured card (wide layout) */
@media (min-width: 1024px) {
    .tour-card.featured { flex-direction: row; }
    .tour-card.featured .card-img { width: 52%; flex-shrink: 0; }
    .tour-card.featured .card-img > div,
    .tour-card.featured .card-img svg { height: 100% !important; width: 100% !important; }
    .tour-card.featured .card-body { padding: 2.5rem 2.2rem; }
    .tour-card.featured .card-img-title h3 { font-size: 1.6rem; }
    .tour-card.featured .card-desc { font-size: 0.925rem; }
}


/* ================================================================
   13. HOMEPAGE GALLERY — Balanced grid
================================================================ */

.gallery-section-bg {
    background: linear-gradient(180deg, #f0f6ff 0%, #e6f1ff 100%);
}

.gal-grid-balanced {
    display: grid;
    grid-template-columns: repeat(12, minmax(0,1fr));
    gap: 14px;
    grid-auto-rows: 200px;
}

.gal-tile {
    position: relative;
    overflow: hidden;
    border-radius: 22px;
    background: rgba(255,255,255,.35);
    border: 1px solid rgba(15,23,42,.08);
    box-shadow: 0 14px 45px rgba(2,6,23,.08);
    transform: translateZ(0);
    transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
    display: block;
    text-decoration: none;
}
.gal-tile img {
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
    transform: scale(1.01);
    transition: transform .6s cubic-bezier(.2,.8,.2,1), filter .3s ease;
}
.gal-tile-inner {
    width: 100%; height: 100%;
    display: block;
    transform: scale(1.01);
    transition: transform .6s cubic-bezier(.2,.8,.2,1), filter .3s ease;
}
.gal-tile-inner svg { width: 100%; height: 100%; display: block; }

.gal-tile::after {
    content: "";
    position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(3,15,50,0.55) 0%, transparent 50%);
    opacity: 0;
    transition: opacity .3s ease;
    pointer-events: none;
    z-index: 1;
}
.gal-tile-caption {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    z-index: 2;
    padding: 14px 18px;
    transform: translateY(6px);
    opacity: 0;
    transition: opacity .25s ease, transform .25s ease;
}
.gal-tile-caption span {
    font-size: 0.85rem;
    font-weight: 700;
    color: white;
    text-shadow: 0 1px 8px rgba(0,0,0,0.5);
}
.gal-tile-caption small {
    display: block;
    font-size: 0.68rem;
    color: rgba(255,255,255,0.52);
    margin-top: 2px;
    font-family: 'Manrope', sans-serif;
}

.gal-tile:hover {
    transform: translateY(-3px);
    border-color: rgba(15,23,42,.14);
    box-shadow: 0 20px 60px rgba(2,6,23,.14);
}
.gal-tile:hover img,
.gal-tile:hover .gal-tile-inner {
    transform: scale(1.05);
    filter: saturate(1.06) contrast(1.03);
}
.gal-tile:hover::after       { opacity: 1; }
.gal-tile:hover .gal-tile-caption { opacity: 1; transform: translateY(0); }

/* Grid positions */
.gal-tile.big { grid-column: 1 / span 7; grid-row: 1 / span 2; }
.gal-grid-balanced > .gal-tile:nth-child(2),
.gal-grid-balanced > .gal-tile:nth-child(4) { grid-column: 8 / span 2; }
.gal-grid-balanced > .gal-tile:nth-child(3),
.gal-grid-balanced > .gal-tile:nth-child(5) { grid-column: 10 / span 3; }
.gal-grid-balanced > .gal-tile:nth-child(2) { grid-row: 1; }
.gal-grid-balanced > .gal-tile:nth-child(3) { grid-row: 1; }
.gal-grid-balanced > .gal-tile:nth-child(4) { grid-row: 2; }
.gal-grid-balanced > .gal-tile:nth-child(5) { grid-row: 2; }

/* View all link */
.gal-view-all {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 28px;
    border-radius: 100px;
    border: 1.5px solid rgba(9,132,227,0.18);
    color: #0984e3;
    font-size: 0.875rem;
    font-weight: 600;
    font-family: 'Manrope', sans-serif;
    background: white;
    transition: all 0.22s ease;
    text-decoration: none;
    box-shadow: 0 2px 12px rgba(9,132,227,0.07);
}
.gal-view-all:hover {
    background: #0984e3;
    color: white;
    border-color: #0984e3;
    box-shadow: 0 6px 20px rgba(9,132,227,0.22);
    transform: translateY(-1px);
}


/* ================================================================
   14. BOOKING MODAL
================================================================ */

.modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(3,58,108,0.5);
    backdrop-filter: blur(8px);
    z-index: 1000;
    align-items: center;
    justify-content: center;
}
.modal-overlay.active { display: flex; }

.modal-box {
    background: white;
    border-radius: 2rem;
    box-shadow: 0 30px 80px rgba(9,132,227,0.2);
    max-width: 560px;
    width: calc(100% - 2rem);
    max-height: 90vh;
    overflow-y: auto;
    animation: fadeInUp 0.35s ease;
}
.modal-box::-webkit-scrollbar       { width: 6px; }
.modal-box::-webkit-scrollbar-track { background: #f1f5ff; border-radius: 10px; }
.modal-box::-webkit-scrollbar-thumb { background: #0984e3; border-radius: 10px; }


/* ================================================================
   15. FORM INPUTS
================================================================ */

.form-input {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1.5px solid #e2eaf5;
    border-radius: 0.875rem;
    font-family: 'Manrope', sans-serif;
    font-size: 0.925rem;
    color: #0a1628;
    transition: border-color 0.2s, box-shadow 0.2s;
    outline: none;
    background: #f8fbff;
}
.form-input:focus {
    border-color: #0984e3;
    box-shadow: 0 0 0 3px rgba(9,132,227,0.12);
    background: white;
}
.form-label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: #0a1628;
    margin-bottom: 0.4rem;
    letter-spacing: 0.02em;
}


/* ================================================================
   16. STAT CARD & REVIEW CARD
================================================================ */

.stat-card {
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.18);
    border-radius: 1rem;
}

.review-card {
    background: white;
    border-radius: 1.5rem;
    border: 1px solid rgba(9,132,227,0.08);
    box-shadow: 0 2px 15px rgba(9,132,227,0.05);
    transition: transform 0.3s ease;
}
.review-card:hover { transform: translateY(-4px); }


/* ================================================================
   17. SUB-PAGE HERO
   Used on tours.html, gallery.html, contact.html, etc.
================================================================ */

.page-hero {
    position: relative;
    overflow: hidden;
    min-height: 50vh;
    padding-top: 120px;
    display: flex;
    align-items: flex-end;
}
.page-hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
}
.page-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(3,15,40,0.28) 0%, rgba(3,15,40,0.78) 100%);
}
.page-hero-waves {
    position: absolute;
    bottom: -2px; left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    z-index: 3;
}


/* ================================================================
   18. FOOTER
================================================================ */

.footer-bg { background: #0571c4; }


/* ================================================================
   19. PROGRESS BAR & SUCCESS MESSAGE
================================================================ */

.progress-bar {
    position: fixed;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: #0984e3;
    z-index: 2000;
    transform-origin: left;
    transform: scaleX(0);
    transition: transform 0.1s linear;
}

.success-msg {
    display: none;
    background: linear-gradient(135deg, #d1fae5, #a7f3d0);
    border: 1px solid #10b981;
    border-radius: 1rem;
    padding: 1.5rem;
    text-align: center;
}


/* ================================================================
   20. MEDIA QUERIES
================================================================ */

/* Tablet */
@media (max-width: 1024px) {
    .gal-grid-balanced { grid-auto-rows: 150px; }
    .gal-tile.big { grid-column: 1 / -1; grid-row: span 2; }
    .gal-grid-balanced > .gal-tile:nth-child(2),
    .gal-grid-balanced > .gal-tile:nth-child(3),
    .gal-grid-balanced > .gal-tile:nth-child(4),
    .gal-grid-balanced > .gal-tile:nth-child(5) {
        grid-column: span 6;
        grid-row: auto;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .top-bar .top-bar-extra { display: none; }
    .mobile-nav-link { font-size: 1.85rem; padding: 13px 0; }
    .mobile-menu-inner { padding: 0 6% 7%; }
    .mobile-menu-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    .mobile-menu-footer .book-cta { align-self: flex-start; }
    .page-hero { padding-top: 136px; }
}

/* Small gallery on mobile */
@media (max-width: 640px) {
    .gal-grid-balanced {
        grid-template-columns: repeat(6, minmax(0,1fr));
        grid-auto-rows: 140px;
        gap: 10px;
    }
    .gal-tile.big { grid-column: 1 / -1; grid-row: span 2; }
    .gal-grid-balanced > .gal-tile:nth-child(2),
    .gal-grid-balanced > .gal-tile:nth-child(3),
    .gal-grid-balanced > .gal-tile:nth-child(4),
    .gal-grid-balanced > .gal-tile:nth-child(5) {
        grid-column: span 3;
        grid-row: auto;
    }
}

/* Tiny phones */
@media (max-width: 380px) {
    .mobile-nav-link { font-size: 1.55rem; }
}
