/* ============================================
   Africa Exotica - Main Stylesheet
   ============================================ */

/* --- CSS Variables --- */
:root {
    --orange: #e88025;
    --orange-hover: #d4710e;
    --dark-nav: #1a1a1a;
    --text: #222222;
    --text-dark: #222222;
    --light-bg: #F7F8F9;
    --white: #ffffff;
    --border: #e0e0e0;
    --shadow: 0 2px 8px rgba(0,0,0,0.08);
    --shadow-lg: 0 4px 20px rgba(0,0,0,0.12);
    --radius: 8px;
    --font: 'Pontano Sans', sans-serif;
    --max-width: 1200px;
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; overflow-x: hidden; }

body {
    font-family: var(--font);
    font-size: 17px;
    line-height: 1.5;
    color: var(--text);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--orange); text-decoration: none; transition: color 0.2s; }
a:hover { color: #000000; }

h1, h2, h3, h4 { color: var(--text-dark); line-height: 1.3; font-weight: 600; }
h1 { font-size: 31px; }
h2 { font-size: 27px; }
h3 { font-size: 24px; }
h4 { font-size: 22px; }

.container { max-width: var(--max-width); margin: 0 auto; padding: 0 20px; }
.section { padding: 60px 0; }
.section-alt { background: var(--light-bg); }

.section-title {
    text-align: center;
    margin-bottom: 12px;
}
.section-subtitle {
    text-align: center;
    color: var(--text);
    margin-bottom: 30px;
    font-size: 17px;
}
.section-cta { text-align: center; margin-top: 40px; }

/* --- Buttons --- */
.btn {
    display: inline-block;
    padding: 1em 3em;
    border-radius: 10px;
    font-family: var(--font);
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    border: 2px solid transparent;
    text-align: center;
    letter-spacing: 0.025em;
}
.btn-primary {
    background: var(--orange);
    color: var(--white);
    border-color: var(--orange);
}
.btn-primary:hover {
    background: #3f4047;
    border-color: #3f4047;
    color: var(--white);
}
.btn-outline {
    background: transparent;
    color: var(--orange);
    border-color: var(--orange);
}
.btn-outline:hover {
    background: var(--orange);
    color: var(--white);
}
.btn-block { display: block; width: 100%; max-width: 100%; box-sizing: border-box; }

/* --- Top Bar --- */
.top-bar {
    background: #636363;
    color: var(--white);
    font-size: 0.8rem;
    padding: 6px 0;
}
.top-bar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.top-bar a { color: var(--white); }
.top-bar a:hover { color: var(--orange); }

/* --- Header --- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--dark-nav);
}
.header-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}
.logo img { height: 45px; width: auto; }

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    flex-direction: column;
    gap: 5px;
}
.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--white);
    transition: all 0.3s;
}

.nav-list {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 0;
}
.nav-list > li > a {
    display: block;
    padding: 24px 16px;
    color: #ccc;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.2s;
}
.nav-list > li > a:hover,
.nav-list > li:hover > a { color: var(--orange); }

.nav-cta {
    background: var(--orange) !important;
    color: var(--white) !important;
    border-radius: var(--radius) !important;
    padding: 10px 20px !important;
    margin-left: 8px;
}
.nav-cta:hover { background: #3f4047 !important; }

/* Mega Dropdown */
.has-dropdown { position: relative; }
.mega-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: var(--white);
    border-radius: 0 0 var(--radius) var(--radius);
    box-shadow: var(--shadow-lg);
    padding: 24px;
    min-width: 600px;
    gap: 24px;
    z-index: 1001;
}
.has-dropdown:hover .mega-dropdown { display: flex; }
.dropdown-col { flex: 1; min-width: 140px; }
.dropdown-col h4 {
    font-size: 0.85rem;
    text-transform: uppercase;
    color: var(--orange);
    margin-bottom: 8px;
    letter-spacing: 0.5px;
}
.dropdown-col ul { list-style: none; }
.dropdown-col li a {
    display: block;
    padding: 4px 0;
    color: var(--text);
    font-size: 0.9rem;
}
.dropdown-col li a:hover { color: var(--orange); }
.mega-dropdown-small {
    min-width: 240px !important;
    padding: 16px 20px !important;
}

/* --- Hero Sections --- */
.hero, .tour-hero, .stop-hero, .page-hero {
    position: relative;
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-color: var(--dark-nav);
}
.page-hero-small { min-height: 35vh; }

/* Parallax divider between sections */
.parallax-divider {
    position: relative;
    min-height: 400px;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
}
.parallax-divider .hero-overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.55); }
.parallax-divider-content { position: relative; z-index: 1; padding: 40px 20px; max-width: 700px; }
.parallax-divider-content h2 { font-size: 30px; margin-bottom: 12px; color: var(--white); }
.parallax-divider-content p { font-size: 17px; line-height: 1.5; opacity: 0.9; }
.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.5);
}
.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 40px 20px;
    max-width: 700px;
    animation: heroFadeIn 1.5s ease-out;
}
@keyframes heroFadeIn {
    0% { opacity: 0; transform: translateY(30px); }
    100% { opacity: 1; transform: translateY(0); }
}
.hero-content h1 { color: var(--white); font-size: 36px; margin-bottom: 16px; }
.hero-content p { color: rgba(255,255,255,0.9); font-size: 17px; margin-bottom: 24px; }
.tour-hero-category {
    display: inline-block;
    background: var(--orange);
    color: var(--white);
    padding: 4px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.stop-country { font-size: 1.1rem; }

/* --- Tour Grid --- */
.tour-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}
.tour-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: box-shadow 0.3s, transform 0.3s;
}
.tour-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.tour-card-link { display: block; color: inherit; }
.tour-card-link:hover { color: inherit; }
.tour-card-image {
    position: relative;
    aspect-ratio: 16/10;
    overflow: hidden;
}
.tour-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}
.tour-card:hover .tour-card-image img { transform: scale(1.05); }
.tour-card-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: var(--orange);
    color: var(--white);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}
.tour-card-category {
    position: absolute;
    bottom: 12px;
    left: 12px;
    background: rgba(0,0,0,0.7);
    color: var(--white);
    padding: 3px 10px;
    border-radius: 4px;
    font-size: 0.75rem;
    text-transform: uppercase;
}
.tour-card-body { padding: 16px; }
.tour-card-body h3 { margin-bottom: 6px; font-size: 19px; }
.tour-card-route {
    color: var(--orange);
    font-size: 0.85rem;
    text-transform: uppercase;
    margin-bottom: 8px;
}
.tour-card-desc {
    font-size: 14px;
    margin-bottom: 12px;
    color: var(--text);
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.tour-card-cta { color: var(--orange); font-weight: 600; font-size: 0.9rem; }
.tour-duration {
    position: absolute;
    top: 12px;
    right: 12px;
    background: var(--orange);
    color: var(--white);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}
.tour-route {
    color: var(--orange);
    font-size: 0.85rem;
    text-transform: uppercase;
    margin-bottom: 8px;
}

/* --- Filter Tabs --- */
.filter-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 32px;
    justify-content: center;
}
.filter-tab {
    padding: 8px 20px;
    border: 2px solid var(--border);
    border-radius: 30px;
    color: var(--text);
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.2s;
}
.filter-tab:hover { border-color: var(--orange); color: var(--orange); }
.filter-tab.active {
    background: var(--orange);
    border-color: var(--orange);
    color: var(--white);
}

/* --- Tour Detail --- */
.tour-quickfacts { background: var(--light-bg); padding: 20px 0; }
.quickfacts-bar {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}
.quickfact { text-align: center; }
.quickfact-label {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    color: var(--text);
    letter-spacing: 0.5px;
}
.quickfact-value { font-weight: 600; color: var(--text-dark); }

.tour-detail-layout {
    display: grid;
    grid-template-columns: 1fr 260px;
    gap: 40px;
    align-items: start;
}
.tour-main { min-width: 0; overflow: hidden; }
.tour-description { margin-bottom: 40px; }
.tour-description h2, .tour-itinerary h2 { margin-bottom: 20px; }
.tour-gallery, .stop-gallery { margin-top: 40px; }

/* --- Day Cards (Accordion) --- */
.day-cards { display: flex; flex-direction: column; gap: 8px; }
.day-card {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
}
.day-card-header {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background: var(--white);
    border: none;
    cursor: pointer;
    font-family: var(--font);
    font-size: 1rem;
    text-align: left;
    transition: background 0.2s;
}
.day-card-header:hover { background: var(--light-bg); }
.day-number {
    background: var(--orange);
    color: var(--white);
    padding: 2px 10px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 700;
    white-space: nowrap;
}
.day-title { flex: 1; font-weight: 600; color: var(--text-dark); }
.day-toggle { font-size: 1.4rem; color: var(--text); transition: transform 0.3s; }
.day-card.expanded .day-toggle { transform: rotate(45deg); }

.day-card-body { padding: 0 20px 20px; }
.day-card-image { margin-bottom: 12px; border-radius: var(--radius); overflow: hidden; }
.day-card-image img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.day-card-content p { margin-bottom: 12px; }
.day-card-link { font-weight: 600; font-size: 0.9rem; }

/* --- Stop Detail --- */
.stop-detail-layout {
    display: grid;
    grid-template-columns: 1fr 260px;
    gap: 40px;
    align-items: start;
}
.stop-description { font-size: 1.05rem; line-height: 1.8; margin-bottom: 32px; }
.stop-accommodation { margin-bottom: 32px; }
.star-rating { color: #f5a623; font-size: 1.3rem; margin-top: 8px; }

/* --- Sidebar --- */
.sidebar-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    box-shadow: var(--shadow);
}
.sidebar-card.sticky { position: sticky; top: 90px; }
.sidebar-card h3 { margin-bottom: 8px; }
.sidebar-card p { margin-bottom: 16px; font-size: 0.95rem; }
.sidebar-card .btn { margin-bottom: 10px; }
.sidebar-section { margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--border); }
.sidebar-section h4 { margin-bottom: 8px; font-size: 0.95rem; text-transform: uppercase; color: var(--orange); }

/* Newsletter Subscribe Widget */
.nl-subscribe { margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--border); }
.nl-subscribe h4 { font-size: 0.95rem; text-transform: uppercase; color: var(--orange); margin-bottom: 6px; }
.nl-subscribe p { font-size: 0.85rem; color: var(--text); margin-bottom: 10px; line-height: 1.4; }
.nl-subscribe input[type="email"] {
    width: 100%; padding: 10px 14px; border: 1px solid var(--border); border-radius: 6px;
    font-size: 0.9rem; margin-bottom: 8px; font-family: inherit;
}
.nl-subscribe input[type="email"]:focus { outline: none; border-color: var(--orange); }
.nl-subscribe button {
    width: 100%; padding: 10px; background: var(--dark); color: white; border: none;
    border-radius: 6px; font-size: 0.85rem; font-weight: 600; cursor: pointer; transition: background 0.2s;
}
.nl-subscribe button:hover { background: var(--orange); }
.nl-subscribe button:disabled { opacity: 0.6; cursor: not-allowed; }
.nl-subscribe .nl-msg { font-size: 0.8rem; margin-top: 6px; line-height: 1.4; }

/* --- Itinerary Carousel (owl-carousel style) --- */
.itinerary-carousel {
    position: relative;
    margin: 0 auto;
    padding: 0 40px;
    overflow: hidden;
}
.itinerary-viewport {
    overflow: hidden;
    width: 100%;
}
.itinerary-track {
    display: flex;
    transition: transform 1s cubic-bezier(0.25, 0.1, 0.25, 1);
}
.itinerary-card {
    flex: 0 0 25%;
    padding: 0 10px;
    box-sizing: border-box;
}
.itinerary-card-image {
    border-radius: 6px 6px 0 0;
    overflow: hidden;
}
.itinerary-card-image img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    display: block;
}
.itinerary-card-body {
    padding: 12px;
    background: var(--white);
    border: 1px solid var(--border);
    border-top: none;
    border-radius: 0 0 6px 6px;
}
.itinerary-day {
    display: inline-block;
    background: var(--orange);
    color: var(--white);
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 700;
    margin-bottom: 4px;
}
.itinerary-card-body h3 {
    font-size: 14px;
    margin-bottom: 4px;
    line-height: 1.3;
}
.itinerary-card-body p {
    font-size: 12px;
    color: var(--text);
    margin-bottom: 4px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.itinerary-link {
    font-size: 12px;
    font-weight: 600;
    color: var(--orange);
}
.itinerary-arrow {
    position: absolute;
    top: 35%;
    transform: translateY(-50%);
    z-index: 2;
    background: none;
    color: var(--text-dark);
    border: none;
    width: 36px;
    height: 36px;
    font-size: 2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s;
    line-height: 1;
}
.itinerary-arrow:hover { color: var(--orange); }
.itinerary-prev { left: 0; }
.itinerary-next { right: 0; }
.itinerary-dots {
    display: flex;
    justify-content: center;
    gap: 6px;
    padding: 20px 0 0;
}
.itinerary-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: none;
    background: #d6d6d6;
    cursor: pointer;
    padding: 0;
    transition: all 0.2s;
}
.itinerary-dot.active { background: #869791; }

/* Button glare/shine animation */
.btn-primary {
    position: relative;
    overflow: hidden;
}
.btn-primary::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s ease;
}
.btn-primary:hover::after {
    left: 100%;
}

.related-tours-list { list-style: none; }
.related-tours-list li { margin-bottom: 12px; }
.related-tours-list li a {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-dark);
    padding: 8px;
    border-radius: var(--radius);
    transition: background 0.2s;
}
.related-tours-list li a:hover { background: var(--light-bg); }
.related-tours-list img {
    width: 50px;
    height: 50px;
    border-radius: 6px;
    object-fit: cover;
    flex-shrink: 0;
}
.related-tours-list strong { display: block; font-size: 0.9rem; }
.related-tours-list span { font-size: 0.8rem; color: var(--text); }

/* --- Gallery --- */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}
.gallery-item { border-radius: var(--radius); overflow: hidden; cursor: pointer; }
.gallery-img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    transition: transform 0.3s;
}
.gallery-item:hover .gallery-img { transform: scale(1.05); }

/* --- Addons --- */
.addons-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
}
.addon-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}
.addon-card-image { aspect-ratio: 16/10; overflow: hidden; }
.addon-card-image img { width: 100%; height: 100%; object-fit: cover; }
.addon-card-body { padding: 20px; }
.addon-icon { width: 48px; height: 48px; margin-bottom: 12px; }
.addon-card-body h3 { margin-bottom: 8px; }
.addon-short { margin-bottom: 12px; font-size: 0.95rem; }
.addon-details summary {
    color: var(--orange);
    cursor: pointer;
    font-weight: 600;
    font-size: 0.9rem;
}
.addon-details p { margin-top: 12px; }

/* --- Trust / Features --- */
.trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
    text-align: center;
}
.trust-item { padding: 24px 16px; }
.trust-icon { margin-bottom: 16px; }
.trust-item h3 { margin-bottom: 8px; font-size: 1.1rem; }
.trust-item p { font-size: 0.9rem; }

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}
.feature-card {
    background: var(--white);
    padding: 28px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}
.feature-card h3 { margin-bottom: 8px; }

/* --- Category Cards --- */
.category-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.category-card {
    display: block;
    padding: 28px 20px;
    background: var(--light-bg);
    border-radius: var(--radius);
    border: 2px solid transparent;
    transition: all 0.2s;
    color: var(--text-dark);
}
.category-card:hover { border-color: var(--orange); color: var(--text-dark); }
.category-card h3 { margin-bottom: 8px; font-size: 1.05rem; }
.category-card p { font-size: 0.85rem; color: var(--text); margin-bottom: 12px; }
.category-card-cta { color: var(--orange); font-weight: 600; font-size: 0.9rem; }

/* --- CTA Section --- */
.cta-section { padding: 40px 0; }
.cta-box {
    background: var(--dark-nav);
    color: var(--white);
    padding: 50px 40px;
    border-radius: var(--radius);
    text-align: center;
}
.cta-box h2 { color: var(--white); margin-bottom: 12px; }
.cta-box p { color: rgba(255,255,255,0.8); margin-bottom: 24px; font-size: 1.1rem; }

/* --- Contact --- */
.contact-layout {
    display: grid;
    grid-template-columns: 1fr 260px;
    gap: 40px;
    align-items: start;
}
.contact-form-wrap h2 { margin-bottom: 8px; }
.contact-form-wrap > p { margin-bottom: 24px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 16px; }
.form-group label {
    display: block;
    margin-bottom: 4px;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-dark);
}
.required { color: var(--orange); }
.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-family: var(--font);
    font-size: 1rem;
    color: var(--text-dark);
    transition: border-color 0.2s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--orange);
}
.form-status {
    padding: 12px 16px;
    border-radius: var(--radius);
    margin-bottom: 16px;
    font-weight: 500;
}
.form-status.success { background: #e8f5e9; color: #2e7d32; }
.form-status.error { background: #fce4ec; color: #c62828; }
.checkbox-label { display: flex; align-items: center; gap: 8px; font-size: 0.95rem; cursor: pointer; }
.checkbox-label input[type="checkbox"] { width: 18px; height: 18px; accent-color: var(--orange); cursor: pointer; }

.contact-method { margin-bottom: 16px; }
.contact-method h4 { font-size: 0.85rem; text-transform: uppercase; color: var(--text); margin-bottom: 2px; }

/* --- Content Pages (Terms, Privacy) --- */
.content-page { max-width: 800px; }
.content-page h2 { margin-top: 32px; margin-bottom: 12px; font-size: 1.4rem; }
.content-page p { margin-bottom: 16px; }
.content-page ul { margin-bottom: 16px; padding-left: 24px; }
.content-page li { margin-bottom: 6px; }

/* --- About --- */
.about-content { max-width: 800px; margin: 0 auto; }
.about-text p { margin-bottom: 16px; font-size: 1.05rem; }

/* --- Empty State --- */
.empty-state { text-align: center; padding: 60px 20px; }
.empty-state p { margin-bottom: 20px; font-size: 1.1rem; }

/* --- Feature Split (Mandela, Hiking) --- */
.feature-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}
.feature-split-reverse { direction: rtl; }
.feature-split-reverse > * { direction: ltr; }
.feature-subtitle {
    color: var(--orange);
    text-transform: uppercase;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 8px;
}
.feature-text h2 { margin-bottom: 12px; }
.feature-text p { margin-bottom: 16px; }
.feature-image img { border-radius: var(--radius); width: 100%; }
.duration-badge {
    color: var(--orange);
    font-weight: 600;
    font-size: 1.1rem;
    letter-spacing: 1px;
}
.mandela-feature { background: var(--white); }

/* --- Motorcycle Section --- */
.motorcycle-section { background: var(--white); }
.section-desc {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 40px;
    font-size: 1rem;
}
.brand-section { margin-bottom: 50px; }
.brand-logo {
    text-align: center;
    margin-bottom: 24px;
}
.brand-logo img { display: inline-block; max-height: 80px; }

/* --- Tour Grid Variants --- */
.tour-grid-3 { grid-template-columns: repeat(3, 1fr); }
.tour-grid-4 { grid-template-columns: repeat(4, 1fr); }
.btn-sm { padding: 0.7em 2em; font-size: 13px; }

/* --- Social Section --- */
.social-section { background: var(--light-bg); padding: 40px 0; }
.social-icons-large {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-top: 16px;
}
.social-icons-large img { width: 48px; height: 48px; border-radius: 50%; }

/* --- Subsection Title --- */
.subsection-title {
    text-align: center;
    font-size: 1.4rem;
    color: var(--text-dark);
}

/* --- Footer --- */
.site-footer {
    background: #222222;
    color: #ccc;
}
.footer-links { padding: 50px 0 30px; }
.footer-columns {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 30px;
}
.footer-col h4 {
    color: var(--white);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 6px; }
.footer-col a { color: #ccc; font-size: 0.85rem; }
.footer-col a:hover { color: var(--orange); }

.footer-bottom {
    background: #1a1a1a;
    padding: 30px 0;
    border-top: 1px solid #3a3a3a;
}
.footer-bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    flex-wrap: wrap;
}
.footer-logo img { max-width: 200px; }
.footer-contact { text-align: center; }
.footer-contact p { font-size: 0.85rem; color: #aaa; margin-bottom: 4px; }
.footer-contact a { color: #ccc; }
.footer-contact a:hover { color: var(--orange); }
.footer-social {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-bottom: 12px;
}
.footer-social img { width: 32px; height: 32px; border-radius: 50%; }
.footer-social svg { color: #aaa; }
.footer-social a:hover svg { color: var(--orange); }
.footer-badges {
    display: flex;
    gap: 16px;
    align-items: center;
}
.footer-badges img { max-height: 50px; }
.copyright {
    text-align: center;
    font-size: 0.8rem;
    color: #888;
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid #333;
}


/* --- Back to Top --- */
.back-to-top {
    position: fixed;
    bottom: 90px;
    right: 28px;
    width: 40px;
    height: 40px;
    background: var(--dark-nav);
    color: white;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s, background 0.2s;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}
.back-to-top.visible { opacity: 1; visibility: visible; }
.back-to-top:hover { background: var(--orange); }

/* --- Lightbox --- */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.9);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    cursor: pointer;
}
.lightbox img {
    max-width: 90vw;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 4px;
}
@media (max-width: 768px) {
    .lightbox { padding: 10px; }
    .lightbox-close { top: 12px; right: 16px; font-size: 2.4rem; padding: 8px; }
}
.lightbox-close {
    position: absolute;
    top: 20px;
    right: 24px;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    line-height: 1;
}

/* --- Responsive: 1200px --- */
@media (max-width: 1200px) {
    .tour-grid { grid-template-columns: repeat(2, 1fr); }
    .tour-grid-4 { grid-template-columns: repeat(3, 1fr); }
    .trust-grid { grid-template-columns: repeat(2, 1fr); }
    .category-cards { grid-template-columns: repeat(2, 1fr); }
    .footer-inner { grid-template-columns: repeat(2, 1fr); }
    .footer-columns { grid-template-columns: repeat(3, 1fr); }
}

/* --- Guide Cards --- */
.guides-grid {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.guide-card {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 1.5rem;
    align-items: start;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 1.5rem;
}

.guide-card-featured {
    grid-template-columns: 280px 1fr;
}

.guide-image img {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    transition: all 0.3s;
}
.guide-card:hover .guide-image img {
    box-shadow: 0 0 0 4px var(--orange);
}

.guide-image-placeholder {
    background: var(--light-bg);
    border-radius: 50%;
    width: 200px;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--text);
}

.guide-info h3 {
    margin-bottom: 0.25rem;
}

.guide-role {
    display: inline-block;
    color: var(--orange);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
}

.guide-info p {
    margin-bottom: 0.5rem;
}

.guide-details summary {
    color: var(--orange);
    cursor: pointer;
    font-weight: 600;
    margin: 0.5rem 0;
}

.guide-details p {
    margin-bottom: 0.75rem;
}

/* --- Addon Feature Sections --- */
.addons-section .addon-feature {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    margin-bottom: 4rem;
    padding-bottom: 4rem;
    border-bottom: 1px solid var(--border);
}

.addons-section .addon-feature:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.addon-feature-reverse {
    direction: rtl;
}

.addon-feature-reverse > * {
    direction: ltr;
}

.addon-feature-icon {
    margin-bottom: 1rem;
}

.addon-feature-icon img {
    max-width: 80px;
    max-height: 80px;
}

.addon-feature-content h2 {
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.addon-feature-content p {
    margin-bottom: 0.75rem;
}

.addon-feature-image img {
    width: 100%;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

/* --- Tour Carousel --- */
.carousel-section { background: var(--light-bg); }
.carousel { position: relative; overflow: hidden; border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow-lg); }
.carousel-track { position: relative; }
.carousel-slide {
    display: none;
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
    min-height: 360px;
}
.carousel-slide.active { display: grid; }
.carousel-img { position: relative; overflow: hidden; }
.carousel-img img { width: 100%; height: 100%; object-fit: cover; display: block; min-height: 360px; }
.carousel-info { padding: 40px; display: flex; flex-direction: column; justify-content: center; }
.carousel-category {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--orange);
    margin-bottom: 8px;
}
.carousel-info h3 { font-size: 1.6rem; color: var(--text-dark); margin-bottom: 8px; }
.carousel-duration { font-weight: 600; color: var(--orange); margin-bottom: 12px; }
.carousel-desc { color: var(--text); margin-bottom: 20px; line-height: 1.6; }
.carousel-slide:has(.carousel-img-full) { grid-template-columns: 1fr; }
.carousel-img-full img { min-height: 300px; max-height: 500px; width: 100%; object-fit: cover; }
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    background: rgba(0,0,0,0.5);
    color: white;
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    font-size: 1.6rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
    line-height: 1;
}
.carousel-btn:hover { background: var(--orange); }
.carousel-prev { left: 12px; }
.carousel-next { right: 12px; }
.carousel-dots { display: flex; justify-content: center; gap: 8px; padding: 16px 0; }
.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 2px solid var(--border);
    background: transparent;
    cursor: pointer;
    padding: 0;
    transition: all 0.2s;
}
.carousel-dot.active { background: var(--orange); border-color: var(--orange); }

/* --- Responsive: 1024px --- */
@media (max-width: 1024px) {
    .tour-detail-layout,
    .stop-detail-layout,
    .contact-layout { grid-template-columns: 1fr; }
    .tour-sidebar, .stop-sidebar, .contact-sidebar { order: -1; }
    .sidebar-card.sticky { position: static; }
    .mega-dropdown { min-width: 480px; }
    .addons-grid { grid-template-columns: 1fr; }

    /* Parallax fixed-attachment breaks on iOS/mobile — fall back to scroll */
    .hero, .tour-hero, .stop-hero, .page-hero,
    .parallax-divider { background-attachment: scroll; }

    .hero, .tour-hero, .stop-hero, .page-hero { min-height: 55vh; }
    .footer-columns { grid-template-columns: repeat(2, 1fr); }
}

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

    .top-bar { display: none; }
    .nav-toggle { display: flex; }
    .main-nav {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        background: var(--dark-nav);
        border-top: 1px solid #333;
    }
    .main-nav.open { display: block; }
    .nav-list { flex-direction: column; padding: 16px 0; }
    .nav-list > li > a { padding: 12px 20px; }
    .nav-cta { margin: 8px 20px !important; display: block !important; text-align: center; }

    .has-dropdown:hover .mega-dropdown { display: none; }
    .has-dropdown.open .mega-dropdown {
        display: flex;
        flex-direction: column;
        position: static;
        transform: none;
        box-shadow: none;
        background: #222;
        min-width: auto;
        padding: 0 20px 16px;
    }
    .has-dropdown.open .mega-dropdown .dropdown-col h4 { color: var(--orange); }
    .has-dropdown.open .mega-dropdown .dropdown-col a { color: #ccc; padding: 6px 0; }

    .tour-grid, .tour-grid-3, .tour-grid-4 { grid-template-columns: repeat(2, 1fr); }
    .gallery-grid { grid-template-columns: repeat(2, 1fr); }
    .features-grid { grid-template-columns: 1fr; }
    .footer-inner { grid-template-columns: 1fr; gap: 24px; }
    .form-row { grid-template-columns: 1fr; }

    .btn { padding: 0.8em 2em; }

    .guide-card, .guide-card-featured { grid-template-columns: 1fr; text-align: center; }
    .guide-image { display: flex; justify-content: center; }
    .guide-image img { width: 160px; height: 160px; }

    .addons-section .addon-feature { grid-template-columns: 1fr; gap: 1.5rem; }
    .addon-feature-reverse { direction: ltr; }

    .feature-split, .feature-split-reverse { grid-template-columns: 1fr; }
    .feature-split-reverse { direction: ltr; }

    .carousel-slide { grid-template-columns: 1fr; }
    .carousel-img img { min-height: 220px; max-height: 260px; }
    .carousel-info { padding: 24px; }
    .carousel-info h3 { font-size: 1.3rem; }

    .itinerary-card { flex: 0 0 50%; }

    .footer-columns { grid-template-columns: repeat(2, 1fr); }

    /* Parallax divider shorter on tablets */
    .parallax-divider { min-height: 280px; }
    .parallax-divider-content h2 { font-size: 24px; }
}

/* --- Responsive: 480px --- */
@media (max-width: 480px) {
    h1 { font-size: 24px; }
    h2 { font-size: 22px; }
    .hero-content h1 { font-size: 26px; }
    .hero, .tour-hero, .stop-hero, .page-hero { min-height: 45vh; }
    .page-hero-small { min-height: 28vh; }
    .section { padding: 40px 0; }
    .tour-grid, .tour-grid-3, .tour-grid-4 { grid-template-columns: 1fr; }
    .trust-grid { grid-template-columns: 1fr; gap: 16px; }
    .category-cards { grid-template-columns: 1fr; }
    .gallery-grid { grid-template-columns: repeat(2, 1fr); }
    .quickfacts-bar { flex-direction: column; gap: 12px; }
    .filter-tabs { gap: 6px; }
    .filter-tab { padding: 6px 14px; font-size: 0.85rem; }
    .cta-box { padding: 32px 20px; }
    .footer-columns { grid-template-columns: 1fr; }
    .footer-bottom-inner { flex-direction: column; text-align: center; gap: 20px; }
    .footer-badges { justify-content: center; flex-wrap: wrap; }

    .btn { padding: 0.7em 1.5em; font-size: 14px; }
    .btn-block { padding: 0.7em 1em; }

    .itinerary-card { flex: 0 0 100%; }
    .itinerary-carousel { padding: 0 32px; }
    .itinerary-prev { left: 0; }
    .itinerary-next { right: 0; }

    .parallax-divider { min-height: 220px; }
    .parallax-divider-content h2 { font-size: 22px; }
    .parallax-divider-content p { font-size: 15px; }

    .sidebar-card { padding: 16px; }

    .section-desc { font-size: 0.9rem; }
    .brand-logo img { max-height: 60px; }
}

/* --- Responsive: 375px (Small phones) --- */
@media (max-width: 375px) {
    .hero-content h1 { font-size: 22px; }
    .hero-content p { font-size: 15px; }
    .container { padding: 0 12px; }
    .gallery-grid { grid-template-columns: 1fr; }
    .brand-logo img { max-width: 140px; }
    .section-title { font-size: 22px; }

    .tour-card-body h3 { font-size: 17px; }
    .tour-card-desc { font-size: 13px; }

    .day-card-header { padding: 12px 14px; font-size: 0.9rem; }
    .day-number { font-size: 0.75rem; padding: 2px 8px; }

    .guide-image img { width: 130px; height: 130px; }

    .addon-feature-icon img { max-width: 60px; max-height: 60px; }

    .cta-box h2 { font-size: 20px; }
    .cta-box p { font-size: 0.95rem; }

    .footer-col h4 { font-size: 0.8rem; }
    .footer-col a { font-size: 0.8rem; }
}
