:root{
    --navy:#102b35;
    --navy-2:#173f4d;
    --teal:#0f6f73;
    --teal-dark:#0b5c60;
    --gold:#d9a441;
    --gold-light:#fff2cf;
    --bg:#f5f8f9;
    --card:#ffffff;
    --text:#1c2b31;
    --muted:#6a7a80;
    --border:#dfe7ea;
    --success:#1f8a4c;
    --danger:#b63a3a;
    --radius:18px;
    --shadow:0 14px 40px rgba(16,43,53,.10);
}

/* =========================================
   GLOBAL
========================================= */

*{
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{
    margin:0;
    background:var(--bg);
    color:var(--text);
    font-family:Arial,Helvetica,sans-serif;
    line-height:1.65;
}

img{
    max-width:100%;
}

a{
    color:var(--teal);
    text-decoration:none;
}

a:hover{
    color:var(--teal-dark);
    text-decoration:underline;
}

/* =========================================
   HEADER
========================================= */

.site-header{
    background:rgba(16,43,53,.98);
    color:#fff;
    position:sticky;
    top:0;
    z-index:999;
    box-shadow:0 8px 28px rgba(16,43,53,.16);
    border-bottom:1px solid rgba(255,255,255,.08);
}

.site-header-inner{
    width:min(1240px,calc(100% - 32px));
    min-height:78px;
    margin:0 auto;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:28px;
}

/* Brand */

.site-brand{
    display:block;
    color:#fff;
    font-size:22px;
    line-height:1.15;
    font-weight:800;
    letter-spacing:-.3px;
    white-space:nowrap;
}

.site-brand:hover{
    color:#fff;
    text-decoration:none;
}

/* Optional subtitle - ready for later PHP update */

.site-brand-wrap{
    display:flex;
    flex-direction:column;
    justify-content:center;
    min-width:max-content;
}

.site-brand-subtitle{
    margin-top:5px;
    color:#9fc4c7;
    font-size:11px;
    line-height:1;
    font-weight:700;
    letter-spacing:1.1px;
    text-transform:uppercase;
}

/* Navigation */

.site-nav{
    display:flex;
    align-items:center;
    justify-content:flex-end;
    flex-wrap:wrap;
    gap:4px;
    margin-left:auto;
}

.site-nav a{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height:42px;
    padding:10px 14px;
    border-radius:9px;
    color:#eaf4f5;
    font-size:15px;
    font-weight:700;
    line-height:1;
    white-space:nowrap;
    transition:
        background-color .2s ease,
        color .2s ease,
        transform .2s ease;
}

.site-nav a:hover{
    color:#fff;
    background:rgba(255,255,255,.08);
    text-decoration:none;
}

/* Future Top 10 dropdown */

.nav-dropdown{
    position:relative;
}

.nav-dropdown-button{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height:42px;
    padding:10px 14px;
    border:0;
    border-radius:9px;
    background:transparent;
    color:#eaf4f5;
    font-family:inherit;
    font-size:15px;
    font-weight:700;
    cursor:pointer;
}

.nav-dropdown-button:hover{
    background:rgba(255,255,255,.08);
    color:#fff;
}

.nav-dropdown-button::after{
    content:"";
    width:7px;
    height:7px;
    margin-left:9px;
    border-right:2px solid currentColor;
    border-bottom:2px solid currentColor;
    transform:rotate(45deg) translateY(-2px);
}

.nav-dropdown-menu{
    position:absolute;
    top:calc(100% + 12px);
    right:0;
    width:340px;
    padding:10px;
    background:#fff;
    border:1px solid var(--border);
    border-radius:16px;
    box-shadow:0 22px 60px rgba(16,43,53,.20);
    opacity:0;
    visibility:hidden;
    transform:translateY(8px);
    transition:.2s ease;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu{
    opacity:1;
    visibility:visible;
    transform:translateY(0);
}

.nav-dropdown-menu a{
    display:flex;
    align-items:center;
    justify-content:flex-start;
    gap:11px;
    min-height:auto;
    padding:11px 12px;
    color:var(--navy);
    border-radius:9px;
    font-size:14px;
    font-weight:700;
}

.nav-dropdown-menu a:hover{
    color:var(--teal-dark);
    background:#eef8f8;
}

.nav-number{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    width:30px;
    height:30px;
    flex:0 0 30px;
    border-radius:8px;
    background:var(--gold-light);
    color:#74520d;
    font-size:11px;
    font-weight:800;
}

/* Future header booking button */

.header-book-button{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height:44px;
    padding:11px 18px;
    border-radius:10px;
    background:var(--gold);
    color:var(--navy) !important;
    font-size:14px;
    font-weight:800;
    white-space:nowrap;
    box-shadow:0 7px 20px rgba(217,164,65,.18);
    transition:
        background-color .2s ease,
        transform .2s ease;
}

.header-book-button:hover{
    color:var(--navy) !important;
    background:#e5b451;
    text-decoration:none;
    transform:translateY(-1px);
}

/* Future mobile button */

.mobile-menu-toggle{
    display:none;
    width:44px;
    height:44px;
    padding:0;
    border:1px solid rgba(255,255,255,.18);
    border-radius:10px;
    background:transparent;
    color:#fff;
    cursor:pointer;
}

.mobile-menu-toggle span{
    display:block;
    width:20px;
    height:2px;
    margin:4px auto;
    border-radius:10px;
    background:#fff;
}

/* =========================================
   GENERAL PAGE
========================================= */

.page-shell{
    width:min(1180px,calc(100% - 32px));
    margin:28px auto 60px;
}

.admin-preview{
    background:#fff7db;
    border:1px solid #ecd98e;
    color:#6a5311;
    padding:12px 16px;
    border-radius:12px;
    margin-bottom:20px;
}

.breadcrumbs{
    margin-bottom:18px;
    color:var(--muted);
    font-size:14px;
}

/* =========================================
   TOUR HERO
========================================= */

.tour-hero{
    overflow:hidden;
    margin-bottom:28px;
    border-radius:22px;
    background:#ddd;
    box-shadow:var(--shadow);
}

.tour-hero img{
    display:block;
    width:100%;
    height:min(58vw,560px);
    object-fit:cover;
    object-position:center center;
}

/* Optional category hero improvement */

.category-hero img{
    object-position:center 35%;
}

/* =========================================
   TOUR LAYOUT
========================================= */

.tour-grid{
    display:grid;
    grid-template-columns:minmax(0,1fr) 360px;
    gap:30px;
    align-items:start;
}

.tour-main{
    min-width:0;
}

.tour-sidebar{
    position:sticky;
    top:100px;
}

.tour-heading{
    margin:0 0 8px;
    color:var(--navy);
    font-size:clamp(32px,4vw,52px);
    line-height:1.08;
}

/* =========================================
   BADGES / PRICE / QUICK FACTS
========================================= */

.badge{
    display:inline-block;
    margin:6px 0 14px;
    padding:6px 11px;
    border:1px solid #efd79c;
    border-radius:999px;
    background:#fff2cf;
    color:#7a5712;
    font-size:13px;
    font-weight:700;
}

.price-line{
    margin:4px 0 14px;
    color:var(--teal);
    font-size:28px;
    font-weight:800;
}

.quick-facts{
    display:flex;
    flex-wrap:wrap;
    gap:10px;
    margin-bottom:20px;
}

.quick-fact{
    padding:8px 12px;
    border:1px solid var(--border);
    border-radius:999px;
    background:#fff;
    color:#40545b;
    font-size:14px;
}

/* =========================================
   CONTENT CARDS
========================================= */

.content-card{
    margin:0 0 20px;
    padding:24px;
    border:1px solid var(--border);
    border-radius:var(--radius);
    background:var(--card);
    box-shadow:0 8px 26px rgba(16,43,53,.06);
}

.content-card h2{
    margin:0 0 14px;
    color:var(--navy);
    font-size:26px;
}

.content-card h3{
    margin-top:24px;
    color:var(--navy);
}

.content-card p:last-child{
    margin-bottom:0;
}

.content-card ul{
    padding-left:22px;
}

.content-card a{
    font-weight:600;
}

/* =========================================
   GALLERY
========================================= */

.gallery-grid{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:16px;
}

.gallery-grid figure{
    overflow:hidden;
    margin:0;
    border:1px solid var(--border);
    border-radius:14px;
    background:#fff;
}

.gallery-grid img{
    display:block;
    width:100%;
    aspect-ratio:16/10;
    object-fit:cover;
}

.gallery-grid figcaption{
    padding:10px 12px;
    color:var(--muted);
    font-size:14px;
}

/* =========================================
   FAQ
========================================= */

details{
    padding:14px 0;
    border-top:1px solid var(--border);
}

details:first-of-type{
    border-top:0;
}

summary{
    cursor:pointer;
    color:var(--navy);
    font-weight:700;
}

/* =========================================
   BOOKING CARD
========================================= */

.booking-card{
    padding:22px;
    border:1px solid var(--border);
    border-radius:20px;
    background:#fff;
    box-shadow:var(--shadow);
}

.booking-card h2,
.booking-card h3{
    color:var(--navy);
}

.booking-card h2{
    margin-top:0;
}

.booking-card label{
    color:#30464e;
    font-weight:700;
}

.booking-card input[type="text"],
.booking-card input[type="email"],
.booking-card input[type="tel"],
.booking-card input[type="number"],
.booking-card input[type="date"],
.booking-card select,
.booking-card textarea{
    width:100%;
    padding:11px 12px;
    border:1px solid #cbd7dc;
    border-radius:10px;
    background:#fff;
    color:var(--text);
    font:inherit;
}

.booking-card textarea{
    min-height:84px;
    resize:vertical;
}

.booking-card input:focus,
.booking-card select:focus,
.booking-card textarea:focus{
    outline:none;
    border-color:var(--teal);
    box-shadow:0 0 0 3px rgba(15,111,115,.10);
}

.booking-card input[type="radio"],
.booking-card input[type="checkbox"]{
    accent-color:var(--teal);
}

/* =========================================
   TRANSPORT
========================================= */

.transport-option{
    display:block;
    margin:8px 0;
    padding:11px 12px;
    border:1px solid var(--border);
    border-radius:12px;
    background:#fbfdfd;
    cursor:pointer;
}

.transport-option:hover{
    border-color:#b7c9cf;
    background:#f6fbfb;
}

#transportCalculation{
    padding:10px 12px;
    border-left:4px solid var(--teal);
    border-radius:8px;
    background:#eef8f8;
    color:var(--teal-dark);
    font-weight:700;
}

/* =========================================
   BOOKING SUMMARY
========================================= */

.booking-summary{
    margin-top:18px;
    padding:16px;
    border:1px solid var(--border);
    border-radius:14px;
    background:#f7fafb;
}

.booking-summary-row{
    display:flex;
    justify-content:space-between;
    gap:20px;
    padding:7px 0;
    border-bottom:1px dashed #dce5e8;
}

.booking-summary-row:last-child{
    border-bottom:0;
}

.booking-total{
    color:var(--navy);
    font-size:20px;
    font-weight:800;
}

/* =========================================
   BUTTONS
========================================= */

.primary-button{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    width:100%;
    padding:14px 18px;
    border:0;
    border-radius:11px;
    background:var(--teal);
    color:#fff;
    font-size:16px;
    font-weight:800;
    cursor:pointer;
    transition:
        background-color .2s ease,
        transform .2s ease;
}

.primary-button:hover{
    background:var(--teal-dark);
    color:#fff;
    text-decoration:none;
}

.primary-button:active{
    transform:translateY(1px);
}

/* =========================================
   CONTACT BOX
========================================= */

.contact-box{
    margin-top:18px;
    padding-top:16px;
    border-top:1px solid var(--border);
    color:#4e6269;
    font-size:14px;
}

/* =========================================
   FOOTER
========================================= */

.footer{
    margin-top:50px;
    padding:36px 0;
    background:var(--navy);
    color:#dce8ea;
}

.footer-inner{
    width:min(1180px,calc(100% - 32px));
    margin:0 auto;
}

.footer strong{
    color:#fff;
}

.footer a{
    color:#dce8ea;
}

.footer a:hover{
    color:#fff;
}

/* =========================================
   TABLET
========================================= */

@media (max-width:900px){

    .site-header-inner{
        min-height:72px;
        align-items:center;
        flex-wrap:wrap;
        gap:8px 16px;
        padding:10px 0;
    }

    .site-brand{
        font-size:20px;
    }

    .site-nav{
        width:100%;
        margin:0;
        justify-content:flex-start;
        overflow-x:auto;
        flex-wrap:nowrap;
        padding-bottom:4px;
        scrollbar-width:none;
    }

    .site-nav::-webkit-scrollbar{
        display:none;
    }

    .site-nav a{
        min-height:38px;
        padding:9px 11px;
        font-size:14px;
    }

    .tour-grid{
        grid-template-columns:1fr;
    }

    .tour-sidebar{
        position:static;
    }

    .gallery-grid{
        grid-template-columns:1fr;
    }
}

/* =========================================
   MOBILE
========================================= */

@media (max-width:560px){

    .site-header-inner{
        width:calc(100% - 24px);
        min-height:auto;
    }

    .site-brand{
        font-size:18px;
    }

    .site-brand-subtitle{
        font-size:9px;
    }

    .site-nav{
        gap:2px;
    }

    .site-nav a{
        padding:8px 10px;
        font-size:13px;
    }

    .page-shell{
        width:calc(100% - 20px);
        margin-top:16px;
    }

    .content-card,
    .booking-card{
        padding:18px;
        border-radius:14px;
    }

    .tour-heading{
        font-size:34px;
    }

    .tour-hero{
        border-radius:16px;
    }

    .tour-hero img{
        height:300px;
        object-position:center center;
    }

    .quick-facts{
        gap:7px;
    }

    .quick-fact{
        padding:7px 10px;
        font-size:13px;
    }

    .price-line{
        font-size:24px;
    }

    .booking-summary-row{
        gap:10px;
        font-size:14px;
    }

    .footer{
        padding:28px 0;
    }
}