/*
Theme Name: FatFish Travel
Theme URI: https://fatfishtravel.com
Author: FatFish Travel
Author URI: https://fatfishtravel.com
Description: A one-page travel theme for FatFish Travel with customizable sections, random photo backgrounds, and immersive gallery layouts.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: fatfish-travel
Tags: one-page, travel, full-width-template, custom-background, custom-logo, custom-menu, featured-images, footer-widgets, theme-options
*/

/* ─── DESIGN TOKENS ─── */
:root {
    --font: 'Urbanist', system-ui, sans-serif;

    /* Palette */
    --white: #ffffff;
    --black: #101010;
    --stroke: #eeeeee;
    --ground: #f6f6f6;
    --ground-alt: #f9f9f9;       /* slightly warmer surface, e.g. booking box */
    --page-bg: #E6E6E6;          /* outer body / wrap gutter background */
    --para: #666666;
    --muted: #888888;            /* copyright, tertiary text */
    --subtle: #333333;           /* dark-but-not-black text, e.g. mobile nav hover */

    /* Brand */
    --brand: #b68c3c;
    --brand-dark: #785808;
    --brand-light: #d19a10;

    /* Typography */
    --fs-hero: clamp(28px, 5vw, 54px);
    --fs-h2: clamp(22px, 3vw, 38px);
    --fs-h3: 18px;
    --fs-body: 15px;
    --fs-small: 13px;
    --fs-tag: 12px;
    --fw-reg: 400;
    --fw-med: 500;
    --fw-semi: 600;
    --lh-body: 1.75;
    --lh-heading: 1.15;

    /* Spacing */
    --nav-h: 60px;
    --section-v: 90px;
    --gap: 16px;

    /* Radii */
    --r-sm: 8px;
    --r-md: 12px;
    --r-lg: 16px;
    --r-xl: 24px;

    /* Transitions */
    --t: 0.2s ease;
}

/* ─── RESET ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
body {
    font-family: var(--font);
    font-size: var(--fs-body);
    color: var(--black);
    background: var(--page-bg);         /* FIX: was hardcoded #E6E6E6 */
    line-height: var(--lh-body);
}
a { color: inherit; text-decoration: none; cursor: pointer; }
img { max-width: 100%; display: block; }

/* ─── SCROLL REVEAL ─── */
@keyframes fadeUpZoom {
    from { opacity: 0; transform: translateY(80px) scale(0.95); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}
.reveal { opacity: 0; will-change: opacity, transform; }
.reveal.in-view { animation: fadeUpZoom 0.75s cubic-bezier(0.22, 1, 0.36, 1) forwards; }
.reveal[data-delay="1"] { animation-delay: .1s; }
.reveal[data-delay="2"] { animation-delay: .2s; }
.reveal[data-delay="3"] { animation-delay: .3s; }
.reveal[data-delay="4"] { animation-delay: .4s; }
.reveal[data-delay="5"] { animation-delay: .5s; }
.reveal[data-delay="6"] { animation-delay: .65s; }
.reveal[data-delay="7"] { animation-delay: .8s; }

/* ─── WRAP ─── */
.wrap {
    max-width: 1780px;
    margin: 0 auto;
    background: var(--white);          /* FIX: was hardcoded #ffffff */
    border-radius: 28px;
    margin-top: 50px;
    margin-bottom: 100px;
    padding-bottom: 28px;
}

/* ─── GLASS EFFECT ─── */
.glass-card {
    width: 240px;
    height: 360px;
    background: rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-radius: 35px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.5),
        inset 0 -1px 0 rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);               /* FIX: was hardcoded white */
    font-weight: var(--fw-med);
    font-size: var(--fs-body);
    text-align: center;
    padding: 26px;
}

.glass-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.8), transparent);
}

.glass-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 1px;
    height: 100%;
    background: linear-gradient(180deg, rgba(255,255,255,0.8), transparent, rgba(255,255,255,0.3));
}

.glass-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: var(--fs-tag);
    color: var(--white);               /* FIX: was hardcoded white */
    letter-spacing: 0.06em;
    text-transform: uppercase;
    font-weight: var(--fw-med);
    padding: 8px 20px;
    background: rgba(255,255,255,0.14);
    backdrop-filter: blur(14px);
    border-radius: 30px;
    border: 1px solid rgba(255,255,255,0.3);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

#moments .glass-tag,
#tours .glass-tag,
#gallery .glass-tag {
    color: var(--black);               /* FIX: was hardcoded black */
    margin-bottom: 25px;
}

/* ─── HERO NAV ─── */
.hero-nav {
    display: grid;
    grid-template-columns: fit-content(300px) 1fr fit-content(300px);
    align-items: center;
    gap: 20px;
    padding-top: 68px;
    margin-bottom: 40px;
}

.hero-logo {
    max-width: 300px;
    max-height: 70px;
    object-fit: contain;
}

.hero-logo img {
    max-width: 300px;
    max-height: 70px;
    object-fit: contain;
}

.hero-logo-text {
    font-size: 24px;
    font-weight: var(--fw-semi);
    color: var(--white);               /* FIX: was hardcoded white */
    text-shadow: 0 2px 8px rgba(0,0,0,0.4);
}

/* ─── MAIN MENU ─── */
.main-menu {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4px;
    width: auto;
    height: auto;
    padding: 10px 20px;
}

nav.main-menu {
    width: auto;
    height: auto;
    min-height: unset;
    padding: 8px 16px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-links a {
    padding-left: 20px;
    padding-right: 20px;
    padding-top: 10px;
    padding-bottom: 10px;
    color: var(--white);               /* FIX: was hardcoded white */
    font-weight: var(--fw-med);
    font-size: var(--fs-body);
    border-radius: 9999px;
    transition: background var(--t), color var(--t);
    white-space: nowrap;
    cursor: pointer;
}

.nav-links a:hover {
    background: var(--white);         /* FIX: was hardcoded white */
    color: var(--black);              /* FIX: was hardcoded black */
}

.nav-cta {
    margin-left: 8px;
    padding: 10px 22px;
    background: rgba(255,255,255,0.25);
    backdrop-filter: blur(14px);
    border-radius: 9999px;
    border: 1px solid rgba(255,255,255,0.5);
    color: var(--white);               /* FIX: was hardcoded white */
    font-weight: var(--fw-semi);
    font-size: var(--fs-small);
    cursor: pointer;
    transition: background var(--t), color var(--t);
    white-space: nowrap;
    font-family: var(--font);
}

.nav-cta:hover {
    background: var(--white);         /* FIX: was hardcoded white */
    color: var(--black);              /* FIX: was hardcoded black */
}

/* ─── HAMBURGER ─── */
.hamburger {
    display: none;
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(14px);
    border: 1px solid rgba(255,255,255,0.4);
    border-radius: var(--r-sm);
    padding: 8px 14px;
    cursor: pointer;
    font-size: 16px;
    color: var(--white);               /* FIX: was hardcoded white */
    font-family: var(--font);
}

.mobile-nav {
    display: none;
    flex-direction: column;
    background: rgba(255,255,255,0.95);
    border-radius: var(--r-lg);
    margin: 0 20px;
    padding: 12px 0 16px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.15);
    position: absolute;
    right: 0;
    left: auto;
    top: 130px;
    width: 240px;
    z-index: 1000;
}

.mobile-nav a {
    font-size: var(--fs-body);
    color: var(--para);               /* FIX: was hardcoded #666 */
    padding: 11px 20px;
    border-bottom: 1px solid var(--stroke);  /* FIX: was hardcoded #eee */
    font-weight: var(--fw-med);
    cursor: pointer;
}

.mobile-nav a:last-child { color: var(--brand); border-bottom: none; }  /* FIX: was hardcoded #C2561A */
.mobile-nav.open { display: flex; }

/* ─── BOOK NOW BUTTON ─── */
.book-now {
    display: flex;
    align-items: center;
    gap: 12px;
    justify-content: center;
    width: auto;
    height: auto;
    min-width: unset;
    min-height: unset;
}

/* ─── HERO SECTION ─── */
.hero {
    background: center/cover no-repeat;
    position: relative;
    color: var(--white);               /* FIX: was hardcoded white */
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    border-radius: 28px;
    margin-top: 100px;
    border: 5px solid var(--white);    /* FIX: was hardcoded white */
}

.natural-wonders {
    margin-top: 160px;
    z-index: 2;
}

.hero h1 {
    margin-top: 50px;
    font-size: clamp(42px, 6vw, 72px);
    font-weight: var(--fw-semi);
    line-height: 1.05;
    letter-spacing: -0.03em;
    z-index: 2;
    text-shadow: 2px 2px 24px rgba(0, 0, 0, 0.5);
}

.hero h1 span {
    font-weight: var(--fw-reg);
    opacity: 0.9;
}

/* ─── HERO GALLERY ─── */
.hero-gallery-wrapper {
    margin-top: 210px;
    margin-bottom: 110px;
    width: 100%;
    max-width: 1780px;
    position: relative;
    z-index: 2;
}

.hero-gallery {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    padding: 60px 0 10px;
    scrollbar-width: none;
}

.hero-gallery::-webkit-scrollbar { display: none; }

.hero-thumb {
    min-width: 15%;
    height: 475px;
    background-size: cover;
    background-position: center;
    border-radius: 24px;
    position: relative;
    overflow: visible;
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    background-color: var(--white);    /* FIX: was hardcoded white */
    border-radius: 28px;
}

.hero-thumb .thumb-img {
    width: 100%;
    height: 475px;
    background-size: cover;
    background-position: center;
    border-radius: 24px;
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    flex-shrink: 0;
}

.hero-thumb:hover { min-width: 19%; }

.hero-thumb:hover .thumb-img {
    height: 390px;
    transform: translateY(-54px);
}

.hero-thumb .overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 0;
    background: transparent;
    display: flex;
    align-items: flex-start;
    padding: 0 20px;
    opacity: 0;
    transition: opacity 0.4s ease 0.1s;
    overflow: hidden;
}

.hero-thumb:hover .overlay {
    opacity: 1;
    height: 100px;
}

.hero-thumb .overlay-text {
    color: var(--black);               /* FIX: was hardcoded black */
    font-size: var(--fs-small);
    line-height: 1.4;
    padding-top: 8px;
    text-align: left;
}

.hero-thumb .overlay-title {
    font-weight: var(--fw-semi);
    font-size: 16px;
    margin-bottom: 4px;
    text-align: left;
}

/* ─── SCROLL INDICATORS ─── */
.gallery-scroll {
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 30px;
    z-index: 3;
}

.scroll-arrow {
    width: 44px;
    height: 44px;
    border: 2px solid rgba(255,255,255,0.7);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);               /* FIX: was hardcoded white */
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.scroll-arrow:hover { background: rgba(255,255,255,0.2); }

/* ─── SECTION STYLES ─── */
.section {
    padding: var(--section-v) 2rem;
    max-width: 1780px;
    margin: 0 auto;
    text-align: center;
}

.glass-header {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: var(--fs-tag);
    color: var(--white);               /* FIX: was hardcoded white */
    letter-spacing: 0.06em;
    text-transform: uppercase;
    font-weight: var(--fw-med);
    padding: 8px 24px;
    background: rgba(255,255,255,0.14);
    backdrop-filter: blur(14px);
    border-radius: 30px;
    border: 1px solid rgba(255,255,255,0.3);
    margin-bottom: 20px;
}

/* ─── H2 GLOBAL ─── */
h2 {
    font-size: clamp(38px, 5vw, 55px);
    font-weight: var(--fw-semi);
    line-height: 1.05;
    letter-spacing: -0.03em;
    margin-top: 10px;
    margin-bottom: calc(1rem + 10px);
    text-shadow: 0 1px 4px rgba(0,0,0,0.08), 0 2px 12px rgba(0,0,0,0.06);
}

.h2-muted { color: var(--para); }      /* FIX: was hardcoded #6F6F6F (close to --para) */

/* ─── MOMENTS SECTION ─── */
#moments, #gallery {
    padding-left: 0;
    padding-right: 0;
}

.moments-gallery-wrapper {
    width: 100%;
    position: relative;
    margin-top: 20px;
}

.moments-gallery {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    padding: 60px 200px 10px 200px;
    scrollbar-width: none;
    padding-bottom: 50px;
}

.moments-gallery::-webkit-scrollbar { display: none; }

.moments-gallery-scroll {
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 30px;
    z-index: 3;
}

.moments-scroll-arrow {
    width: 44px;
    height: 44px;
    border: 2px solid rgba(0,0,0,0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--subtle);              /* FIX: was hardcoded #333 */
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.moments-scroll-arrow:hover { background: rgba(0,0,0,0.08); }

.moments-thumb {
    min-width: 464px;
    height: 475px;
    background-size: cover;
    background-position: center;
    border-radius: 28px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.25);
    flex-shrink: 0;
    position: relative;
    overflow: visible;
    display: flex;
    flex-direction: column;
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.moments-thumb .mthumb-img {
    width: 100%;
    height: 475px;
    background-size: cover;
    background-position: center;
    border-radius: 28px;
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    flex-shrink: 0;
}

.moments-thumb:hover { min-width: 620px; }

.moments-thumb:hover .mthumb-img {
    height: 390px;
    transform: translateY(-54px);
}

.moments-thumb .moverlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 0;
    background: transparent;
    display: flex;
    align-items: flex-start;
    padding: 0 20px;
    opacity: 0;
    transition: opacity 0.4s ease 0.1s;
    overflow: hidden;
}

.moments-thumb:hover .moverlay {
    opacity: 1;
    height: 100px;
}

.moments-thumb .moverlay-text {
    color: var(--black);               /* FIX: was hardcoded #101010 */
    font-size: var(--fs-small);
    line-height: 1.4;
    padding-top: 8px;
    text-align: left;
}

.moments-thumb .moverlay-title {
    font-weight: var(--fw-semi);
    font-size: 16px;
    margin-bottom: 4px;
    text-align: left;
}

/* ─── TOURS SECTION ─── */
.tours-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 32px;
    margin-top: 40px;
    width: 70%;
    margin-left: auto;
    margin-right: auto;
}

.card {
    background: var(--white);          /* FIX: was hardcoded white */
    border-radius: 24px;
    overflow: visible;
    transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1),
                box-shadow 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}
.card:hover {
    transform: scale(1.03) translateY(-4px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.14);
}

.card.featured {
    grid-row: span 2;
    display: flex;
    flex-direction: column;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center top;
}

.tours_cards_secondcol {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.tours_cards_secondcol .card {
    width: 100%;
    height: auto;
    min-height: 400px;
}

.card-body {
    border-radius: 0 0 24px 24px;
    overflow: hidden;
}

.tours_cards_secondcol .photo-ph {
    height: 220px;
    background-size: cover;
    background-position: center;
    border-radius: 28px;
    flex-shrink: 0;
}

.feat-bar {
    padding: 24px 28px;
    background: transparent;
    color: var(--black);               /* FIX: was hardcoded #101010 */
}

.feat-bar h3 {
    font-size: 52px;
    font-weight: var(--fw-semi);
    line-height: 1.05;
    letter-spacing: -0.03em;
    color: var(--white);               /* FIX: was hardcoded white */
}

/* ─── GALLERIES SECTION ─── */
.galleries-grid {
    display: flex;
    gap: 5px;
    overflow: hidden;
    padding: 20px 0;
    position: relative;
    padding-bottom: 40px;
}

.photo-card {
    min-width: 20%;
    background-size: cover;
    background-position: center;
    border-radius: 28px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
    flex-shrink: 0;
    transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    display: flex;
    flex-direction: column;
    background: var(--white);          /* FIX: was hardcoded white */
    aspect-ratio: 1/1.5;
}

.photo-card:hover {
    transform: rotate(0deg) scale(1.05) !important;
}

.photo-ph {
    height: 75%;
    border-radius: var(--r-lg);
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
}

.stars {
    color: #F5A623;                    /* intentional non-token: star gold is a universal convention */
    font-size: var(--fs-small);
    margin-bottom: 6px;
    padding: 0 16px;
}

.reviewer {
    font-weight: bold;
    font-size: 14px;
    padding: 0 16px;
}

.review-text {
    font-size: 0.9rem;
    color: var(--para);               /* FIX: was hardcoded var(--para) — already correct, kept */
    padding: 0 16px;
}

/* ─── BOOKING SECTION ─── */
#booking .section-inner {
    width: 70%;
    margin-left: auto;
    margin-right: auto;
}

.booking-box {
    background: var(--ground-alt);    /* FIX: was hardcoded #f9f9f9 — now uses --ground-alt */
    border-radius: 28px;
    padding: 60px;
    width: 70%;
    margin-left: auto;
    margin-right: auto;
}

.tabs-row {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 40px;
    flex-wrap: wrap;
    width: 70%;
    margin-left: auto;
    margin-right: auto;
}

.tab {
    padding: 12px 32px;
    background: var(--white);          /* FIX: was hardcoded white */
    border-radius: 9999px;
    font-size: var(--fs-body);
    font-weight: var(--fw-med);
    color: var(--para);               /* FIX: was hardcoded #666 */
    box-shadow: 0 4px 15px rgba(0,0,0,0.06);
}

.step {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    margin-bottom: 24px;
    text-align: left;
}

.step-num {
    width: 42px;
    height: 42px;
    background: var(--ground);        /* FIX: was hardcoded #F6F6F6 — now uses --ground */
    color: var(--black);              /* FIX: was hardcoded #101010 */
    border-radius: var(--r-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: var(--fw-semi);
    font-size: 18px;
    flex-shrink: 0;
}

.step-title {
    font-weight: var(--fw-semi);
    font-size: 16px;
    margin-bottom: 4px;
}

.step-desc {
    font-size: 14px;
    color: var(--para);               /* FIX: was hardcoded var(--para) — already correct */
}

/* ─── CTA BAND ─── */
.cta-band_wrapper {
    border-radius: 28px;
    background-size: cover;
    background-position: center;
    margin: 30px;
}

.cta-band {
    color: var(--white);               /* FIX: was hardcoded white */
    text-align: center;
    padding: clamp(60px, 8vw, 110px) 2rem;
}

/* ─── GLASS BUTTON ─── */
.btn-glass {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 18px 42px;
    background: rgba(255,255,255,0.14);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-radius: 9999px;
    border: 1px solid rgba(255,255,255,0.3);
    box-shadow:
        0 8px 32px rgba(0,0,0,0.1),
        inset 0 1px 0 rgba(255,255,255,0.5);
    color: var(--white);               /* FIX: was hardcoded white */
    font-weight: var(--fw-semi);
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: var(--font);
    text-decoration: none;
}

.btn-glass:hover { background: rgba(255,255,255,0.25); color: var(--white); }  /* FIX: was hardcoded white */

/* ─── FOOTER ─── */
footer {
    background: var(--white);          /* FIX: was hardcoded white */
    border-top: 1px solid var(--stroke);  /* FIX: was hardcoded #eee */
}

.footer-inner {
    width: 70%;
    margin-left: auto;
    margin-right: auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    padding: 60px 0 50px;
}

footer h4 { margin-bottom: 16px; }

.fc ul { line-height: 1.4; }

.subscribe-btn {
    background: var(--black);         /* FIX: was hardcoded #101010 */
    color: var(--white);              /* FIX: was hardcoded white */
    border: none;
    padding: 0 28px;
    border-radius: 9999px;
    cursor: pointer;
    font-family: var(--font);
    font-size: var(--fs-small);
    font-weight: var(--fw-med);
    transition: background var(--t);
}

.subscribe-btn:hover { background: var(--subtle); }  /* FIX: was hardcoded #333 */

.copyright {
    text-align: center;
    padding: 30px 0;
    border-top: 1px solid var(--stroke);   /* FIX: was hardcoded #eee */
    color: var(--muted);              /* FIX: was hardcoded #888 — now uses --muted */
    font-size: var(--fs-small);
}

/* ─── SINGLE TOUR ─── */
.single-tour-hero {
    background: center/cover no-repeat;
    min-height: 60vh;
    display: flex;
    align-items: flex-end;
    border-radius: 28px;
    margin-top: 100px;
    border: 5px solid var(--white);    /* FIX: was hardcoded white */
    padding: 40px;
    color: var(--white);              /* FIX: was hardcoded white */
}

.single-tour-content {
    max-width: 900px;
    margin: 60px auto;
    padding: 0 2rem;
}

.tour-meta {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
    margin-bottom: 32px;
    font-size: 14px;
    color: var(--para);               /* FIX: was hardcoded var(--para) — already correct */
}

.tour-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--brand);              /* FIX: was hardcoded var(--brand) — already correct */
    font-weight: var(--fw-semi);
    margin-bottom: 40px;
    font-size: var(--fs-body);
}

.back-link:hover { color: var(--brand-dark); }  /* FIX: was hardcoded var(--brand-dark) — already correct */


.gallery-scroll div, .moments-gallery-scroll div {display:none;}
/* ─── RESPONSIVE ─── */
@media (max-width: 1400px) {
    .hero-thumb { height: 400px;}
    .hero-thumb .thumb-img { height: 400px;}
    .hero-thumb:hover .thumb-img { height: 350px; }
    .hero-gallery { padding-bottom: 15px; }
}
@media (max-width: 1200px) {
    .hero-thumb { height: 300px;}
    .hero-thumb .thumb-img { height: 300px;}
    .hero-thumb:hover .thumb-img { height: 250px; }
    .hero-gallery { padding-bottom: 45px; }
}
@media (max-width: 1000px) {
    .wrap { margin-top: 5px; }
    .hero-nav { grid-template-columns: 1fr 1fr; gap: 30px; text-align: center; width: 80%; }
    .hero-logo {justify-self: start;}
    .main-menu { flex-wrap: wrap; justify-content: center; justify-self: end; }
    .nav-links { display: none; }
    .hamburger { display: block; }
    .natural-wonders { margin-top: 50px;}
    .section {padding: 60px}
    .tours-grid { width: 90%; }
    .booking-box { width: 90%; }
    .tabs-row { width: 90%; }
    .footer-inner { width: 90%; }
    nav.main-menu { width: auto; height: auto; padding: 8px 16px; }
    .book-now { display: none; }
    .gallery-scroll div {width:500px !important; }
    .hero-thumb { height: 250px;}
    .hero-thumb .thumb-img { height: 250px; }
    .hero-thumb:hover .thumb-img { height: 200px; }
    .hero-gallery { padding-bottom: 65px; }
}

@media (max-width: 780px) {
    .wrap { margin-top: 5px; }
    .hero { margin-top: 10px; }
    .hero-gallery { gap: 16px; }
    .hero-gallery-wrapper { margin-top: 0; }
    .hero-thumb { min-width: 240px; }
    .hero-thumb .thumb-img { height: 400px; }
    .natural-wonders { margin-top: 50px;}
    .section {padding: 60px}
    .moments-thumb { min-width: 300px; }
    .tours-grid { grid-template-columns: 1fr; width: 95%; }
    .tours_cards_secondcol { grid-template-columns: 1fr; }
    .tabs-row {display:none;}
    .booking-box { padding: 30px 20px; width: 95%; }
    .booking-box .steps-layout { gap: 20px !important; }
    .booking-box .step-ph { height: 150px !important; }
    .steps-layout { grid-template-columns: 1fr !important; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-inner { width: 95%; }
    .nav-links { display: none; }
    .hamburger { display: block; }
    .gallery-scroll div, .moments-gallery-scroll div {width:300px  !important}
    .card-body {padding:0 10px !important}
    .hero-gallery, .gallery-scroll { display: none; }
}
/* Gallery MOBILE */
@media (max-width: 768px) {
  .galleries-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    padding: 7px;
  }

  .photo-card {
    width: calc(48% - 6px);
    min-width: 48%;/*233px;*/
    height: 230px;
    transform: none !important;
  }

  .photo-ph {
    height: 50%;
    background-size: cover;
    background-position: center;
  }

  .photo-card .stars,
  .photo-card .reviewer,
  .photo-card .review-text {
    padding: 4px 8px;
  }

  .review-text {
    font-size: 12px;
    line-height: 1.2;
  }
}
/* MOBILE STYLES MOMENTS*/
@media (max-width: 768px) {

  .moments-gallery-scroll {
    display: none !important;
  }

  .moments-gallery {
    display: flex;
    flex-wrap: wrap;
    overflow: visible !important;
    padding: 0;
  }

  .moments-thumb {
    width: calc(48% - 8px);
    flex: 0 0 calc(48% - 8px);
    height: fit-content;
    padding-bottom: 10px;
  }
  .moments-thumb:hover { min-width: 200px; }

  .moments-thumb:hover .mthumb-img {
    height: 150px;
    transform: none !important;
  }
  .moments-thumb:hover .moverlay {
    opacity: 1;
    height: fit-content;
  }

  .moments-gallery-wrapper {
    overflow: visible;
  }
  .moments-thumb .mthumb-img { height: 150px; }
  .moments-thumb,
  .moverlay {
    transition: none !important;
    animation: none !important;
    min-width:200px;
  }

  .moverlay {
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    height:auto !important;
    position:relative !important;
  }

  .moverlay-text {
    transform: none !important;
  }
}


/* ── Mobile nav new ── */
.mobile-nav-new {
  display: none;
  flex-direction: column;
  background: var(--ground);          /* FIX: was hardcoded #f2f2f2 — close to --ground */
  border-radius: 20px;
  padding: 0 0 20px;
  position: absolute;
  right: 20px;
  top: 130px;
  z-index: 1000;
  overflow: visible;
  box-shadow: 0 12px 40px rgba(0,0,0,.18);
  width: 85vw;
  max-width: 340px;
}
@media (min-width: 600px) {
  .mobile-nav-new { width: 50vw; max-width: 480px; }
}
.mobile-nav-new.open { display: flex; }

.mnav-brand {
  text-align: center;
  padding: 24px 20px 20px;
  letter-spacing: .16em;
  font-size: var(--fs-tag);
  font-weight: 700;
  text-transform: uppercase;
  color: var(--muted);               /* FIX: was hardcoded #999 — now uses --muted */
  border-bottom: 1px solid var(--stroke);  /* FIX: was hardcoded #d8d8d8 — using --stroke */
  margin-bottom: 18px;
}

.mnav-items {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 0 14px;
  list-style: none;
}

.mnav-item { position: relative; }

.mnav-link {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--ground);         /* FIX: was hardcoded #e8e8e8 — using --ground */
  color: var(--black);               /* FIX: was hardcoded #C2561A */
  text-decoration: none;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: .07em;
  border-radius: 14px;
  border: 1.5px solid var(--stroke); /* FIX: was hardcoded #d8d8d8 — using --stroke */
  transition: background var(--t), color var(--t), border-color var(--t);
  position: relative;
  overflow: visible;
  white-space: nowrap;
}

/* Padding: clear the floating icon on whichever side it sits */
/*.mnav-item:nth-child(odd)  .mnav-link { padding: 18px 48px 18px 76px; }
.mnav-item:nth-child(even) .mnav-link { padding: 18px 76px 18px 48px; }*/

.mnav-link:hover,
.mnav-link:focus,
.mnav-link.active {
  background: var(--brand);          /* FIX: was hardcoded #C2561A */
  color: var(--white);               /* FIX: was hardcoded #ffffff */
  border-color: var(--brand);        /* FIX: was hardcoded #C2561A */
}

/* Icon — no background, no border, just the glyph */
.mnav-icon {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  background: none;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: var(--brand);               /* FIX: was hardcoded #C2561A */
  transition: color var(--t), font-size .15s;
  z-index: 2;
  pointer-events: none;
}

.mnav-item:nth-child(odd)  .mnav-icon { left:  -1px; }
.mnav-item:nth-child(even) .mnav-icon { left:  -1px; } /*right*/

/* Hover: white icon, 10% bigger */
.mnav-link:hover .mnav-icon,
.mnav-link.active .mnav-icon {
  color: var(--white);               /* FIX: was hardcoded #ffffff */
  font-size: 31px;
}

/* Book Now CTA row */
.mnav-item--cta .mnav-link {
  background: var(--brand);          /* FIX: was hardcoded #C2561A */
  color: var(--white);               /* FIX: was hardcoded #ffffff */
  border-color: var(--brand);        /* FIX: was hardcoded #C2561A */
  margin-top: 6px;
}
.mnav-item--cta .mnav-link:hover { background: var(--brand-dark); border-color: var(--brand-dark); }  /* FIX: was hardcoded #9E3F0F */
.mnav-item--cta .mnav-icon       { color: var(--white); }    /* FIX: was hardcoded #ffffff */
.mnav-item--cta .mnav-link:hover .mnav-icon { color: var(--white); font-size: 31px; }  /* FIX: was hardcoded #ffffff */








#home::before {
  content: '';
  position: absolute;
  inset: 0;
  background: transparent;
  z-index: 1;
  animation: heroReveal 1.2s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  pointer-events: none;
}

@keyframes heroReveal {
  0%   { clip-path: inset(0 0 100% 0); background: #000; }
  100% { clip-path: inset(0 0 0% 0);   background: transparent; }
}
/*

#home.image-revealed {
  -webkit-mask-image: none;
  mask-image: none;
  transition: -webkit-mask-image 0s, mask-image 0s;
}
*/