@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@300;400;500;600;700;800&display=swap');

:root {
    --primary-color: #EB8C4D;
    --primary-hover: #d37a40;
    --secondary-color: #16A085;
    --secondary-hover: #128c73;
    --dark-green: #00695C;
    --text-color: #333333;
    --light-text: #666666;
    --bg-light: #F9F9F9;
    --white: #FFFFFF;
    --footer-bg: #1E6F5C;
    --transition: all 0.3s ease;
    --shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    --border-radius: 8px;
}

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

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    text-align: center;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: var(--secondary-color);
    color: var(--white);
}

.btn-secondary:hover {
    background-color: var(--secondary-hover);
    transform: translateY(-2px);
}

/* Header */
header {
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
}

header.scrolled {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.top-bar {
    background-color: var(--secondary-color);
    color: var(--white);
    padding: 8px 0;
    font-size: 14px;
    min-height: 40px;
    height: auto;
    transition: var(--transition);
}

header.scrolled .top-bar {
    min-height: 0;
    max-height: 0;
    height: 0;
    padding: 0;
    margin: 0;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar-info span {
    margin-right: 20px;
}

.top-bar-phone-desktop {
    display: inline;
}

.top-bar-phone-mobile {
    display: none;
    color: inherit;
    text-decoration: none;
}

.top-bar-social {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
}

.top-bar-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 25px;
    height: 25px;
    margin: 0;
    line-height: 1;
    font-size: 14px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
    text-decoration: none;
    transition: var(--transition);
}

.top-bar-info .top-bar-phone > i.fab.fa-whatsapp {
    font-size: 14px;
    line-height: 1;
    vertical-align: middle;
}

.top-bar-social a:hover {
    background: var(--primary-color);
    color: var(--white);
}

/* Match hamburger breakpoint (991px) so top bar doesn’t stay “desktop” on phones/tablets */
@media (max-width: 991px) {
    .top-bar .top-bar-email {
        display: none !important;
    }

    .top-bar {
        font-size: 15px;
        height: auto;
        min-height: 38px;
        padding: 7px 0;
    }

    .top-bar .container {
        justify-content: space-between;
        align-items: center;
        padding-left: 12px;
        padding-right: 12px;
    }

    .top-bar-info {
        display: flex;
        flex-wrap: nowrap;
        align-items: center;
        flex: 0 1 auto;
        min-width: 0;
        margin-right: 8px;
    }

    .top-bar-info span {
        margin-right: 0;
        white-space: nowrap;
        min-width: 0;
    }

    .top-bar-info span:first-child {
        flex-shrink: 0;
    }

    .top-bar-phone-desktop {
        display: none;
    }

    .top-bar-phone-mobile {
        display: inline;
    }

    .top-bar-info i {
        margin-right: 3px;
        flex-shrink: 0;
    }

    .top-bar-info .top-bar-phone > i.fab.fa-whatsapp,
    .top-bar-social a {
        font-size: 15px;
    }

    .top-bar .top-bar-social {
        display: flex !important;
        align-items: center;
        flex-shrink: 0;
    }
}

.main-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    transition: var(--transition);
}

header.scrolled .main-nav {
    padding: 8px 0;
    /* Reduced padding */
}

.logo img {
    height: 60px;
    transition: var(--transition);
}

header.scrolled .logo img {
    height: 48px;
    /* Approx 80% of 60px */
}

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

.nav-links li {
    margin-left: 30px;
}

.nav-links a {
    font-weight: 500;
    color: var(--light-text);
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--secondary-color);
}

.nav-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: none;
    background: transparent;
    color: var(--secondary-color);
    font-size: 22px;
    cursor: pointer;
    border-radius: 8px;
    transition: var(--transition);
    z-index: 1003;
    position: relative;
}

.nav-toggle:hover {
    background: rgba(22, 160, 133, 0.1);
    color: var(--secondary-color);
}

.nav-toggle:focus-visible {
    outline: 3px solid var(--secondary-color);
    outline-offset: 2px;
}

.nav-toggle-icon-close {
    display: none;
}

.main-nav.is-open .nav-toggle-icon-open {
    display: none;
}

.main-nav.is-open .nav-toggle-icon-close {
    display: inline;
}

.nav-backdrop {
    display: none;
}

.nav-links .nav-contact-btn {
    padding: 10px 22px;
    border-radius: 5px;
}

/* Mobile / tablet: hamburger + slide-out panel */
@media (max-width: 991px) {
    .nav-toggle {
        display: flex;
    }

    .nav-backdrop {
        display: block;
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.45);
        z-index: 1001;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease, visibility 0.3s ease;
        pointer-events: none;
    }

    .main-nav.is-open .nav-backdrop {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        width: min(300px, 88vw);
        max-width: 100%;
        margin: 0;
        padding: 88px 24px 32px;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        background: var(--white);
        box-shadow: -8px 0 32px rgba(0, 0, 0, 0.12);
        z-index: 1002;
        transform: translateX(100%);
        transition: transform 0.3s ease;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    .main-nav.is-open .nav-links {
        transform: translateX(0);
    }

    .nav-links li {
        margin: 0;
        border-bottom: 1px solid #eee;
    }

    .nav-links li:last-child {
        border-bottom: none;
        margin-top: 8px;
        padding-top: 8px;
    }

    .nav-links a {
        display: block;
        padding: 16px 8px;
        font-size: 16px;
    }

    .nav-links .nav-contact-btn {
        display: block;
        text-align: center;
        width: 100%;
        box-sizing: border-box;
    }
}

body.nav-menu-open {
    overflow: hidden;
}

/* Footer */
footer {
    background-color: var(--footer-bg);
    color: var(--white);
    padding: 60px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h4 {
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 30px;
    height: 2px;
    background-color: var(--primary-color);
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a:hover {
    padding-left: 5px;
    color: var(--primary-color);
}

.footer-contact {
    margin-top: 28px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px 22px;
}

.footer-contact__link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.92);
    font-size: 14px;
    text-decoration: none;
    transition: var(--transition);
}

.footer-contact__link:hover {
    color: var(--primary-color);
}

.footer-contact__link i {
    font-size: 18px;
    flex-shrink: 0;
}

.footer-contact__social {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.footer-contact__social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
    font-size: 16px;
    text-decoration: none;
    transition: var(--transition);
}

.footer-contact__social a:hover {
    background: var(--primary-color);
    color: #fff;
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 14px;
}

/* Sections */
section {
    padding: 80px 0;
}

.clients {
    background-color: #f8fbfb;
    /* Subtle green-tinted light gray */
    padding: 60px 0;
    overflow: hidden;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 36px;
    margin-bottom: 15px;
    color: var(--text-color);
}

.section-title .divider {
    width: 80px;
    height: 3px;
    background-color: var(--primary-color);
    margin: 0 auto;
}

/* Hero Section */
.hero {
    height: calc(100vh - 80px); /* Adjust based on header height */
    min-height: 700px;
    display: flex;
    align-items: center;
    position: relative;
    color: var(--white);
    padding: 0;
    overflow: hidden;
}

.hero-slides {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}

.hero-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.2s ease-in-out;
}

.hero-slide.is-active {
    opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
    .hero-slide {
        transition: none;
    }
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.2));
}

.hero > .container {
    position: relative;
    z-index: 2;
    width: 100%;
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 800px;
}

.hero h1 {
    font-size: 72px;
    line-height: 1.1;
    margin-bottom: 20px;
    text-transform: uppercase;
    font-weight: 800;
    letter-spacing: -1px;
}

.hero p {
    font-size: 20px;
    margin-bottom: 30px;
    opacity: 0.9;
}

/* Glassmorphism Search Bar */
.hero-search {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 25px;
    border-radius: 20px;
    margin-top: 50px;
    display: grid;
    grid-template-columns: repeat(4, 1fr) auto;
    gap: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
    position: relative;
    z-index: 20;
}

.search-item {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.search-item label {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--white);
    font-weight: 500;
    font-size: 13px;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.search-item label i {
    color: var(--secondary-color);
    font-size: 14px;
}

.form-control-modern {
    background: rgba(255, 255, 255, 0.95);
    border: none;
    padding: 15px 20px;
    border-radius: 12px;
    font-size: 15px;
    color: var(--text-color);
    width: 100%;
    transition: var(--transition);
    outline: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23666' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: calc(100% - 15px) center;
}

.form-control-modern:focus {
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

/* Chevron is only for selects in hero search; plain fields reuse the class elsewhere */
input.form-control-modern,
textarea.form-control-modern {
    background-image: none;
}

select.form-control-modern {
    cursor: pointer;
}

.hero-search .btn-search {
    padding: 15px 35px;
    border-radius: 12px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
    height: 52px;
    margin-top: 25px;
    background: var(--primary-color);
    border: none;
    box-shadow: 0 10px 20px rgba(30, 111, 92, 0.3);
}

.hero-search .btn-search:hover {
    background: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: 0 15px 25px rgba(255, 126, 103, 0.4);
}

@media (max-width: 991px) {
    .hero-search {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px;
        padding: 18px;
        margin-top: 32px;
    }

    .hero-search .search-item:last-child {
        grid-column: 1 / -1;
    }

    .hero-search .btn-search {
        margin-top: 0;
        width: 100%;
        justify-content: center;
        height: auto;
        min-height: 52px;
    }
}

@media (max-width: 576px) {
    /* 2×2 filters, full-width Search row below */
    .hero-search {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px 10px;
        padding: 16px;
        margin-top: 24px;
        border-radius: 16px;
    }

    .hero-search .search-item:last-child {
        grid-column: 1 / -1;
    }

    .hero-search .search-item label {
        font-size: 10px;
        letter-spacing: 0.3px;
        gap: 6px;
    }

    .hero-search .form-control-modern {
        padding: 11px 34px 11px 12px;
        font-size: 13px;
    }

    .hero-search .btn-search {
        min-height: 48px;
        padding: 12px 24px;
    }
}

/* About: Who we are (index + about) — stack images above text on small screens */
.about-section-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-images {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.about-images img {
    border-radius: 10px;
    height: 180px;
    width: 100%;
    object-fit: cover;
}

@media (max-width: 768px) {
    .about-section-split {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .about-images img {
        height: 140px;
    }
}

/* Tour Cards */
.tour-card {
    background: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.tour-card:hover {
    transform: translateY(-10px);
}

.tour-image {
    height: 250px;
    overflow: hidden;
    position: relative;
}

.tour-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.tour-card:hover .tour-image img {
    transform: scale(1.1);
}

.tour-info {
    padding: 20px;
}

.tour-meta {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    color: var(--light-text);
    margin-bottom: 10px;
}

.tour-title {
    font-size: 20px;
    margin-bottom: 15px;
}

.tour-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

.tour-price {
    font-weight: 700;
    color: var(--primary-color);
    font-size: 20px;
}

/* Slider Styles */
.tours-slider-container:hover .slider-btn {
    opacity: 1;
}

.slider-btn {
    opacity: 0;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary-color);
}

.slider-btn:hover {
    background: var(--white) !important;
    color: var(--primary-color);
}

/* Tour detail page image slider */
.tour-detail-gallery {
    position: relative;
    width: 100%;
    background: #111;
    padding: 0; /* override global section padding — keeps viewport math correct */
}

.tour-detail-gallery__viewport {
    --slide-count: 1;
    overflow: hidden;
    position: relative;
    isolation: isolate;
    width: 100%;
    /* 3:2 is taller than 16:9 for the same width */
    aspect-ratio: 3 / 2;
    min-height: 380px;
    max-height: min(72vh, 720px);
}

@media (min-width: 1200px) {
    .tour-detail-gallery__viewport {
        min-height: 460px;
        max-height: min(70vh, 820px);
    }
}

@media (max-width: 576px) {
    .tour-detail-gallery__viewport {
        min-height: 280px;
        max-height: min(65vh, 560px);
        aspect-ratio: 4 / 3;
    }
}

.tour-detail-gallery__track {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: stretch;
    height: 100%;
    width: calc(100% * var(--slide-count));
    transition: transform 0.55s ease;
    will-change: transform;
}

.tour-detail-gallery__slide {
    flex: 0 0 calc(100% / var(--slide-count));
    width: calc(100% / var(--slide-count));
    max-width: calc(100% / var(--slide-count));
    flex-shrink: 0;
    height: 100%;
}

.tour-detail-gallery__slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.tour-detail-gallery__title-wrap {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9;
    pointer-events: none;
    padding: 56px 28px 72px;
    box-sizing: border-box;
}

.tour-detail-gallery__title {
    margin: 0;
    font-family: 'Outfit', sans-serif;
    font-size: clamp(26px, 4.5vw, 46px);
    font-weight: 800;
    color: #fff;
    text-align: center;
    line-height: 1.15;
    white-space: nowrap;
    max-width: 100%;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    text-shadow:
        0 0 40px rgba(0, 0, 0, 0.65),
        0 2px 12px rgba(0, 0, 0, 0.85),
        0 1px 2px rgba(0, 0, 0, 0.9);
}

@media (max-width: 576px) {
    .tour-detail-gallery__title-wrap {
        padding: 40px 16px 64px;
    }
}

/* Do not use .slider-btn here — it sets opacity:0 and hides arrows on desktop */
.tour-detail-gallery__btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 12;
    width: 46px;
    height: 46px;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary-color);
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
    opacity: 1;
    transition: var(--transition);
}

.tour-detail-gallery__btn:hover {
    background: var(--white);
    color: var(--primary-color);
    transform: translateY(-50%) scale(1.05);
}

.tour-detail-gallery__btn--prev {
    left: 16px;
}

.tour-detail-gallery__btn--next {
    right: 16px;
}

.tour-detail-gallery__dots {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 20px 16px 16px;
    display: flex;
    justify-content: center;
    gap: 10px;
    z-index: 11;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.55), transparent);
}

.tour-detail-gallery__dot {
    width: 10px;
    height: 10px;
    padding: 0;
    border: 2px solid rgba(255, 255, 255, 0.95);
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.25);
    cursor: pointer;
    transition: var(--transition);
}

.tour-detail-gallery__dot.is-active {
    background: var(--secondary-color);
    border-color: #fff;
    transform: scale(1.15);
}

@media (max-width: 992px) {
    .tour-detail-gallery__btn {
        width: 42px;
        height: 42px;
    }

    .tour-card {
        flex: 0 0 calc(50% - 15px) !important;
    }
}

@media (max-width: 576px) {
    .tour-card {
        flex: 0 0 100% !important;
    }
}

/* Counter Animation ... */

/* Clients Marquee */
.marquee-container {
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    padding: 20px 0;
}

.marquee-track {
    display: flex;
    width: max-content;
    animation: scroll 30s linear infinite;
    gap: 80px;
}

.marquee-track:hover {
    animation-play-state: paused;
}

.marquee-track img {
    height: 150;
    width: auto;
    filter: grayscale(1);
    opacity: 0.6;
    transition: var(--transition);
    cursor: pointer;
}

.marquee-track img:hover {
    filter: grayscale(0);
    opacity: 1;
    transform: scale(1.1);
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.reveal {
    animation: fadeInUp 0.8s ease forwards;
}

html {
    scroll-behavior: smooth;
}

/* Back to top (shown after scrolling more than half a viewport height) */
.back-to-top {
    position: fixed;
    right: 20px;
    bottom: 24px;
    z-index: 999;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    background-color: var(--primary-color);
    color: var(--white);
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.2);
    font-size: 18px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(16px);
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease, background-color 0.2s ease;
}

.back-to-top.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background-color: var(--primary-hover);
}

.back-to-top:focus-visible {
    outline: 3px solid var(--secondary-color);
    outline-offset: 3px;
}

@media (max-width: 768px) {
    .back-to-top {
        right: 16px;
        bottom: 20px;
        width: 44px;
        height: 44px;
    }
}

/* Tour detail page: title + duration + meta grid */
.tour-detail-header-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 40px;
}

.tour-detail-title {
    font-size: 36px;
    margin: 0;
    line-height: 1.2;
    flex: 1;
    min-width: 0;
}

.tour-detail-duration-badge {
    flex-shrink: 0;
    background: var(--secondary-color);
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: 700;
    text-align: center;
}

.tour-detail-duration-badge__num {
    font-size: 24px;
    line-height: 1.2;
}

.tour-detail-duration-badge__unit {
    font-size: 12px;
    text-transform: uppercase;
}

.tour-detail-meta-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    margin-bottom: 50px;
    background: #f9f9f9;
    padding: 30px;
    border-radius: 10px;
}

.tour-detail-meta-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    min-width: 0;
}

.tour-detail-meta-item > i {
    font-size: 24px;
    color: var(--secondary-color);
    flex-shrink: 0;
    margin-top: 2px;
}

.tour-detail-meta-item > div {
    min-width: 0;
}

.tour-detail-meta-label {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.tour-detail-meta-value {
    font-size: 14px;
    color: #666;
    word-wrap: break-word;
}

@media (max-width: 768px) {
    .tour-detail-header-row {
        flex-direction: column;
        align-items: stretch;
        margin-bottom: 28px;
    }

    .tour-detail-title {
        font-size: 26px;
    }

    .tour-detail-duration-badge {
        align-self: flex-start;
    }

    .tour-detail-meta-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px 14px;
        padding: 20px;
        margin-bottom: 32px;
    }

    .tour-detail-meta-item {
        gap: 12px;
    }

    .tour-detail-meta-item > i {
        font-size: 20px;
    }

    .tour-detail-meta-value {
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .tour-detail-meta-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .tour-detail-title {
        font-size: 22px;
    }
}

/* Tour detail: related trips stack on mobile */
.related-trips-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 30px;
}

@media (max-width: 768px) {
    .related-trips-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 24px;
    }
}

/* Specific Page Tweaks */
.tour-detail-header h1 {
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.admin-tabs button {
    transition: var(--transition);
}

/* Responsive Overrides */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 36px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .stats-banner .container div {
        grid-column: span 2;
        margin-bottom: 20px;
    }

    .activity-card {
        grid-column: span 3 !important;
    }
}