/* ==========================================================================
   TOUR GUIDE MANILA — style.css
   ==========================================================================
   Table of Contents:
   1.  Design Tokens
   2.  Base Reset
   3.  Utilities
   4.  Top Strip
   5.  Navbar & Brand Logo            ← FIX 1, 3: merged .book-btn & .brand-logo img
   6.  Keyframe Animations            ← FIX 5: removed invalid !important from floatCard
   7.  Scroll-Reveal
   8.  Hero Section
   9.  Logo Slider / Partner Strip
   10. About Section
   11. Guide Feature Section          ← FIX 6: removed !important abuse
   12. Tours Section
   13. Reviews Carousel               ← FIX 2: single .review-card definition
   14. CTA Banner
   15. Lightbox
   16. WhatsApp FAB
   17. Modal
   18. Footer                         ← FIX 8: added missing footer CSS
   19. Package / Tour Cards (Tours page)
   20. Departure Tiles
   21. Legacy Review Summary (Tours page)
   22. Miscellaneous / Forms
   23. Responsive
   24. Reduced Motion                 ← FIX 7: added prefers-reduced-motion
   ========================================================================== */


/* ==========================================================================
   1. DESIGN TOKENS
   ========================================================================== */
:root {
    --brand-black:  #020202;
    --brand-yellow: #ffeb28;
    --brand-orange: #ff7b22;
    --brand-red:    #f64141;
    --brand-green:  #22c55e;
    --brand-blue:   #50d3ef;
    --ink:          #111827;
    --surface:      #ffffff;
    --muted:        #6c757d;
    --radius-lg:    1.25rem;
    --radius-pill:  999px;
    --shadow-md:    0 10px 30px rgba(0,0,0,.10);
    --shadow-lg:    0 20px 45px rgba(0,0,0,.18);
    --transition:   .3s ease;
}


/* ==========================================================================
   2. BASE RESET                      ← FIX 4: added missing resets
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }

/* FIX 4: scroll-behavior belongs in html, not missing */
html { scroll-behavior: smooth; }

body {
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--ink);
    background: var(--surface);
}

/* FIX 4: base image reset */
img {
    max-width: 100%;
    display: block;
}

a { color: #4f63ff; }
a:hover { color: #2232c7; }

a:focus-visible,
button:focus-visible,
[role="button"]:focus-visible,
.js-lightbox-trigger:focus-visible {
    outline: 3px solid var(--brand-yellow);
    outline-offset: 3px;
    border-radius: 4px;
}


/* ==========================================================================
   3. UTILITIES
   ========================================================================== */
.fw-black { font-weight: 900; }

.icon-circle {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: #fff7df;
    color: #b87900;
    font-size: 1.4rem;
}

.feature-box {
    background: var(--surface);
    border-radius: 1rem;
    padding: 1.25rem;
    box-shadow: 0 .5rem 1.25rem rgba(16,24,32,.06);
    font-weight: 700;
}

.custom-box {
    background: linear-gradient(135deg, #101820, #283747);
}

.page-header {
    border-bottom: 1px solid rgba(16,24,32,.08);
}

.section-intro { max-width: 680px; }

.booking-card,
.contact-card,
.about-panel {
    border: 1px solid rgba(16,24,32,.08);
}

.tour-card {
    transition: transform .2s ease, box-shadow .2s ease;
}
.tour-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 1rem 2rem rgba(16,24,32,.12) !important;
}

.form-control:focus,
.form-select:focus {
    border-color: #ffc107;
    box-shadow: 0 0 0 .25rem rgba(255,193,7,.25);
}


/* ==========================================================================
   4. TOP STRIP
   ========================================================================== */
.top-strip {
    height: 28px;
    background: var(--surface);
    border-bottom: 1px solid rgba(0,0,0,.08);
    line-height: 28px;
}
.top-strip a {
    color: #050505;
    text-decoration: none;
}


/* ==========================================================================
   5. NAVBAR & BRAND LOGO
   FIX 1: .book-btn merged into one rule (was split across two locations)
   FIX 3: .brand-logo img merged into one rule (was split across two locations)
   ========================================================================== */
.main-navbar {
    min-height: 82px;
    background: #000;
    z-index: 1030;
}

.nav-container { position: relative; }

/* FIX 3: merged static + animation into single selector */
.brand-logo {
    position: relative;
    width: 112px;
    min-width: 112px;
    height: 76px;
    margin-right: 2rem;
    display: flex;
    align-items: center;
}
.brand-logo img {
    position: absolute;
    top: -32px;
    width: 112px;
    height: 112px;
    filter: drop-shadow(0 3px 4px rgba(0,0,0,.55));
    animation: floatLogo 4s ease-in-out infinite;
}

.main-navbar .nav-link {
    color: #fff;
    text-transform: uppercase;
    font-weight: 900;
    font-size: .97rem;
    padding-left: 1rem !important;
    padding-right: 1rem !important;
}
.main-navbar .nav-link:hover,
.main-navbar .nav-link.active { color: #ffe34c; }

.dropdown-menu {
    border: 0;
    border-radius: .75rem;
    box-shadow: 0 1rem 2rem rgba(0,0,0,.18);
}

.language-btn {
    border-radius: .65rem;
    padding: .65rem 1rem;
}

/* FIX 1: single combined .book-btn rule */
.book-btn {
    border-radius: .6rem;
    padding: .85rem 1.5rem;
    background: var(--brand-green);
    border: 0;
    position: relative;
    overflow: hidden;
    transition: transform var(--transition), box-shadow var(--transition);
    z-index: 1;
}
.book-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(
        to right,
        rgba(255,255,255,0) 0%,
        rgba(255,255,255,.4) 50%,
        rgba(255,255,255,0) 100%
    );
    transform: skewX(-25deg);
    animation: shimmer 3s infinite;
    z-index: -1;
}
.book-btn:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 6px 15px rgba(25,135,84,.4);
}

/* Navbar item entrance animation */
.navbar-nav .nav-item {
    opacity: 0;
    animation: slideUpFade .6s ease-out forwards;
}
.navbar-nav .nav-item:nth-child(1) { animation-delay: .1s; }
.navbar-nav .nav-item:nth-child(2) { animation-delay: .2s; }
.navbar-nav .nav-item:nth-child(3) { animation-delay: .3s; }
.navbar-nav .nav-item:nth-child(4) { animation-delay: .4s; }


/* ==========================================================================
   6. KEYFRAME ANIMATIONS
   FIX 5: removed invalid !important from inside @keyframes floatCard
   ========================================================================== */
@keyframes floatLogo {
    0%, 100% {
        transform: translateY(0);
        filter: drop-shadow(0 3px 4px rgba(0,0,0,.55));
    }
    50% {
        transform: translateY(-8px);
        filter: drop-shadow(0 12px 12px rgba(0,0,0,.4));
    }
}

/* FIX 5: !important is invalid inside @keyframes — removed */
@keyframes floatCard {
    0%, 100% {
        transform: translateY(0);
        box-shadow: 0 20px 45px rgba(0,0,0,.4);
    }
    50% {
        transform: translateY(-15px);
        box-shadow: 0 30px 60px rgba(0,0,0,.6);
    }
}

@keyframes slideUpFade {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes shimmer {
    0%        { left: -100%; }
    20%, 100% { left: 200%; }
}

@keyframes zoomIn {
    from { transform: scale(.8); opacity: 0; }
    to   { transform: scale(1);  opacity: 1; }
}

@keyframes scrollMarquee {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

@keyframes revealUp {
    from { opacity: 0; transform: translateY(40px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes whatsappPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(37,211,102,.5); }
    70%       { box-shadow: 0 0 0 12px rgba(37,211,102,0); }
}


/* ==========================================================================
   7. SCROLL-REVEAL
   ========================================================================== */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity .65s ease, transform .65s ease;
}
.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }
.reveal-delay-4 { transition-delay: .4s; }


/* ==========================================================================
   8. HERO SECTION
   ========================================================================== */
.hero-visual {
    position: relative;
    overflow: hidden;
    color: #fff !important;
    padding: 130px 0 110px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 88vh;
}

.hero-bg-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 0;
}

.video-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        160deg,
        rgba(0,0,0,.70) 0%,
        rgba(0,0,0,.45) 60%,
        rgba(0,0,0,.60) 100%
    );
    z-index: 1;
}

/* Trust stats bar */
.hero-stats {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem 2.5rem;
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,.18);
}
.hero-stat { text-align: center; color: #fff; }
.hero-stat__number {
    display: block;
    font-size: 1.65rem;
    font-weight: 900;
    color: var(--brand-yellow);
    line-height: 1;
}
.hero-stat__label {
    font-size: .8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .05em;
    opacity: .85;
    margin-top: 4px;
}


/* ==========================================================================
   9. LOGO SLIDER / PARTNER STRIP
   ========================================================================== */
.logo-slider-section {
    background: #fafafa;
    padding: 40px 0;
    overflow: hidden;
    width: 100%;
}
.logo-track-wrapper { display: flex; }
.logo-track {
    display: flex;
    align-items: center;
    gap: 60px;
    white-space: nowrap;
    animation: scrollMarquee 22s linear infinite;
    will-change: transform;
}
.logo-track:hover { animation-play-state: paused; }
.logo-track a {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
    transition: transform var(--transition);
}
.logo-track a:hover { transform: scale(1.1); }
.logo-track img {
    height: 44px;
    width: auto;
    max-width: 140px;
    object-fit: contain;
}


/* ==========================================================================
   10. ABOUT SECTION
   ========================================================================== */
.about-section {
    background-color: #f8f6f0;
    padding: 90px 0;
}

.about-heading {
    font-family: 'Poppins', 'Century Gothic', sans-serif;
    font-weight: 700;
    font-size: clamp(2rem, 4vw, 3.2rem);
    color: #111;
    margin-bottom: 30px;
    text-align: center;
}

.about-text-container {
    padding: 0 40px;
    text-align: center;
}

.about-text {
    font-family: 'Montserrat', 'Century Gothic', sans-serif;
    font-size: 1.05rem;
    line-height: 1.9;
    color: #222;
    margin-bottom: 20px;
}

.about-highlight {
    font-weight: bold;
    font-style: italic;
    margin-top: 30px;
    font-size: 1.15rem;
}

/* Image collage */
.image-collage {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 14px;
}
.collage-img-top {
    grid-column: 1 / span 2;
    width: 100%;
    height: 280px;
    object-fit: cover;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    transition: transform var(--transition);
    cursor: zoom-in;
}
.collage-img-bottom {
    width: 100%;
    height: 260px;
    object-fit: cover;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    transition: transform var(--transition);
    cursor: zoom-in;
}
.collage-img-top:hover,
.collage-img-bottom:hover { transform: scale(1.03); }


/* ==========================================================================
   11. GUIDE FEATURE SECTION
   FIX 6: removed all !important abuse from .guide-card-premium
   ========================================================================== */
.guide-feature-section {
    position: relative;
    background:
        linear-gradient(
            180deg,
            #f8f6f0 0,
            #f8f6f0 70px,
            #050505 70px,
            #0f0f0f calc(100% - 70px),
            #f8f6f0 calc(100% - 70px),
            #f8f6f0 100%
        );
    padding: 95px 0;
    overflow: hidden;
}
.guide-feature-section::before {
    content: "";
    position: absolute;
    inset: 70px 0;
    background:
        radial-gradient(circle at 84% 48%, rgba(255,255,255,.035), transparent 24%),
        radial-gradient(circle at 62% 24%, rgba(255,235,40,.045), transparent 20%);
    pointer-events: none;
}
.guide-feature-container { position: relative; z-index: 2; }
.guide-image-wrap        { position: relative; z-index: 3; }

.guide-image-card {
    position: relative;
    width: 100%;
    min-height: 610px;
    overflow: hidden;
    border-radius: 14px;
    background: #e8dfd3;
    box-shadow: 0 24px 55px rgba(0,0,0,.30);
}
.guide-image-card img {
    display: block;
    width: 100%;
    height: 610px;
    object-fit: cover;
    object-position: center top;
    cursor: zoom-in;
    transition: transform .4s ease;
}
.guide-image-card:hover img { transform: scale(1.025); }

.guide-feature-content {
    position: relative;
    padding: 24px 20px 24px 32px;
    color: #fff;
}
.guide-kicker {
    display: inline-flex;
    align-items: center;
    margin-bottom: 16px;
    padding: 8px 16px;
    border-radius: var(--radius-pill);
    background: rgba(255,255,255,.15);
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .03em;
}
.guide-feature-title {
    margin-bottom: 14px;
    color: #fff;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: clamp(2rem, 3vw, 3.25rem);
    font-weight: 700;
    line-height: 1.15;
}
.guide-feature-lead {
    margin-bottom: 14px;
    color: rgba(255,255,255,.90);
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    line-height: 1.7;
}
.guide-feature-text {
    margin-bottom: 22px;
    color: rgba(255,255,255,.72);
    font-family: 'Montserrat', sans-serif;
    font-size: .92rem;
    line-height: 1.75;
}
.guide-feature-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-bottom: 24px;
}
.guide-feature-meta span {
    display: inline-flex;
    align-items: center;
    padding: 8px 13px;
    border: 1px solid rgba(255,255,255,.15);
    border-radius: var(--radius-pill);
    background: rgba(255,255,255,.06);
    color: #fff;
    font-size: .76rem;
    font-weight: 700;
}
.guide-feature-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}
.guide-primary-btn,
.guide-secondary-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 12px 20px;
    border-radius: 9px;
    font-size: .9rem;
    font-weight: 800;
    text-decoration: none;
    transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
}
.guide-primary-btn {
    background: var(--brand-green);
    color: #fff;
}
.guide-primary-btn:hover {
    color: #fff;
    background: #16a34a;
    transform: translateY(-2px);
    box-shadow: 0 10px 22px rgba(34,197,94,.25);
}
.guide-secondary-btn {
    border: 1px solid rgba(255,255,255,.22);
    background: rgba(255,255,255,.08);
    color: #fff;
}
.guide-secondary-btn:hover {
    color: #050505;
    background: #f8f6f0;
    transform: translateY(-2px);
}
.guide-decor-circle {
    position: absolute;
    right: 3%;
    top: 50%;
    width: 330px;
    height: 330px;
    border: 7px solid rgba(255,255,255,.035);
    border-radius: 50%;
    transform: translateY(-50%);
    pointer-events: none;
}

/* FIX 6: .guide-card-premium — removed all 7 !important declarations */
.guide-card-premium {
    background: rgba(255,255,255,.75);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: 1.5rem;
    box-shadow: 0 20px 45px rgba(0,0,0,.4);
    border: 4px solid var(--brand-yellow);
    transition: all .3s ease;
    animation: floatCard 4s ease-in-out infinite;
}
.guide-card-premium:hover {
    transform: translateY(-5px) scale(1.02);
    animation-play-state: paused;
}

.expert-toggle-btn {
    cursor: pointer;
    display: inline-block;
    padding: 5px 15px;
    border-radius: 8px;
    transition: all .3s ease;
}
.expert-toggle-btn:hover {
    background: rgba(255,255,255,.15);
    transform: scale(1.05);
}


/* ==========================================================================
   12. TOURS SECTION
   ========================================================================== */
.tour-card-img { height: 230px; object-fit: cover; }

/* Badge colours driven by tour data theme */
.badge-tour-green  { background: var(--brand-green)  !important; }
.badge-tour-orange { background: var(--brand-orange) !important; }
.badge-tour-red    { background: var(--brand-red)    !important; }
.badge-tour-blue   { background: var(--brand-blue)   !important; }


/* ==========================================================================
   13. REVIEWS CAROUSEL
   FIX 2: single .review-card definition — old conflicting definition removed
   ========================================================================== */
.reviews-section {
    background: #f8f6f0;
    padding: 80px 0;
}

.reviews-carousel { position: relative; overflow: hidden; }
.reviews-track {
    display: flex;
    gap: 1.5rem;
    transition: transform .45s cubic-bezier(.4,0,.2,1);
    will-change: transform;
}
.review-slide { flex-shrink: 0; }

/* FIX 2: one definitive .review-card rule */
.review-card {
    background: var(--surface);
    border-radius: var(--radius-lg);
    padding: 32px 28px;
    text-align: center;
    height: 100%;
    border: 1px solid #e8e8e8;
    box-shadow: var(--shadow-md);
    transition: transform var(--transition), box-shadow var(--transition);
}
.review-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}
.review-avatar {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #1877F2;
    margin: 0 auto 15px;
    transition: transform var(--transition);
}
.review-avatar:hover { transform: scale(1.08); }
.review-name {
    color: #111827;
    font-weight: 700;
    text-decoration: none;
    font-size: 1.1rem;
}
.review-name:hover { color: #1877F2; }
.review-stars {
    color: #ffc107;
    font-size: 1.2rem;
    letter-spacing: 2px;
}
.review-text {
    color: var(--muted);
    font-style: italic;
    line-height: 1.8;
    font-size: .95rem;
}
.review-text.collapsed {
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    line-clamp: 5; /* standard (Chrome 125+, Firefox 126+) */
}
.review-facebook {
    color: #1877F2;
    font-size: 14px;
    margin-top: 12px;
    display: inline-block;
    text-decoration: none;
    font-weight: 600;
}
.read-more-btn {
    cursor: pointer;
    display: inline-block;
    margin-top: 6px;
    font-size: .88rem;
    padding: 0;
    border: 0;
    background: none;
}
.read-more-btn:hover { text-decoration: underline; }

/* Carousel controls */
.carousel-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}
.carousel-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 2px solid var(--brand-green);
    background: transparent;
    color: var(--brand-green);
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background var(--transition), color var(--transition);
}
.carousel-btn:hover {
    background: var(--brand-green);
    color: #fff;
}
.carousel-btn:disabled { opacity: .35; cursor: not-allowed; }
.carousel-dots { display: flex; gap: 8px; }
.carousel-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #ccc;
    border: 0;
    cursor: pointer;
    transition: background var(--transition), transform var(--transition);
    padding: 0;
}
.carousel-dot.active {
    background: var(--brand-green);
    transform: scale(1.3);
}


/* ==========================================================================
   14. CTA BANNER
   ========================================================================== */
.cta-banner {
    background: linear-gradient(135deg, #022c16 0%, #14532d 50%, #166534 100%);
    padding: 70px 0;
    position: relative;
    overflow: hidden;
}
.cta-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(255,235,40,.08) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 50%, rgba(34,197,94,.12) 0%, transparent 50%);
    pointer-events: none;
}
.cta-banner-title {
    font-size: clamp(1.9rem, 4vw, 3rem);
    font-weight: 900;
    color: #fff;
    margin-bottom: 1rem;
}
.cta-banner-sub {
    color: rgba(255,255,255,.80);
    font-size: 1.05rem;
    max-width: 560px;
    margin: 0 auto 2rem;
}
.cta-banner-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 16px 40px;
    background: var(--brand-yellow);
    color: #000 !important;
    font-weight: 900;
    font-size: 1.05rem;
    border-radius: var(--radius-pill);
    text-decoration: none;
    transition: transform var(--transition), box-shadow var(--transition);
}
.cta-banner-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(255,235,40,.35);
}


/* ==========================================================================
   15. LIGHTBOX
   ========================================================================== */
.lightbox-overlay {
    display: none;
    position: fixed;
    z-index: 9999;
    inset: 0;
    background: rgba(0,0,0,.92);
    cursor: zoom-out;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.lightbox-overlay.is-open { display: flex; }
.lightbox-content {
    display: block;
    max-width: min(900px, 90vw);
    max-height: 85vh;
    object-fit: contain;
    border-radius: 10px;
    animation: zoomIn .3s ease;
    cursor: default;
}
.lightbox-close {
    position: absolute;
    top: 18px;
    right: 28px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #f1f1f1;
    font-size: 42px;
    line-height: 1;
    font-weight: bold;
    transition: color var(--transition);
    cursor: pointer;
}
.lightbox-close:hover { color: var(--brand-yellow); }


/* ==========================================================================
   16. WHATSAPP FAB
   ========================================================================== */
.whatsapp-fab {
    position: fixed;
    bottom: 28px;
    right: 24px;
    z-index: 1050;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #25D366;
    color: #fff !important;
    text-decoration: none;
    box-shadow: 0 4px 18px rgba(0,0,0,.28);
    animation: whatsappPulse 2.2s infinite;
    transition: transform var(--transition);
}
.whatsapp-fab:hover {
    transform: scale(1.12);
    color: #fff !important;
    animation-play-state: paused;
}
.whatsapp-fab::before {
    content: 'Book via WhatsApp';
    position: absolute;
    right: 72px;
    background: #000;
    color: #fff;
    font-size: .78rem;
    font-weight: 700;
    padding: 6px 12px;
    border-radius: 6px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s ease;
}
.whatsapp-fab:hover::before { opacity: 1; }


/* ==========================================================================
   17. MODAL
   ========================================================================== */
.modal-tour-list li { margin-bottom: 8px; }
.modal-price-box {
    background: #f8f9fa;
    border-left: 4px solid #198754;
    padding: 15px;
    border-radius: 5px;
}


/* ==========================================================================
   18. FOOTER                         ← FIX 8: added missing footer CSS
   ========================================================================== */
.custom-footer {
    background: linear-gradient(145deg, #1a1a1a, #0d0d0d);
    border-top: 3px solid var(--brand-yellow);
}
.footer-logo {
    max-height: 80px;
    width: auto;
    object-fit: contain;
}
.footer-brand-name {
    letter-spacing: .08em; /* replaces Tailwind "tracking-wide" which had zero effect */
}
.footer-link {
    text-decoration: none;
    transition: color var(--transition);
}
.footer-link:hover {
    color: var(--brand-yellow) !important;
}
.social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform var(--transition), color var(--transition);
}
.social-icons a:hover {
    transform: translateY(-3px);
    color: var(--brand-yellow) !important;
}

.footer a {
    color: rgba(255,255,255,.75);
}
.footer a:hover {
    color: #fff;
}


/* ==========================================================================
   19. PACKAGE / TOUR CARDS (tours.php page)
   ========================================================================== */
.tour-board { max-width: 1340px; }

.package-card {
    position: relative;
    overflow: hidden;
    height: 100%;
    border-radius: 1rem;
    border: 6px solid #e6e6e6;
    box-shadow: 0 .75rem 1.8rem rgba(0,0,0,.14);
    display: flex;
    flex-direction: column;
}
.package-card.tour-yellow {
    background: linear-gradient(180deg, #fffef4 0%, #fffacd 36%, #fff02a 100%);
}
.package-card.tour-blue {
    background: linear-gradient(180deg, #f4ffff 0%, #dffbff 36%, #47cdeb 100%);
}
.package-card.tour-white { background: var(--surface); }

.package-head {
    min-height: 154px;
    padding: 1.45rem 1rem .75rem;
}
.package-head h2,
.departure-tile h2 {
    font-family: Impact, Haettenschweiler, "Arial Black", sans-serif;
    text-transform: uppercase;
    letter-spacing: .02em;
    line-height: .98;
    transform: skew(-6deg);
}
.package-head h2 {
    color: #ff0707;
    font-size: clamp(2.05rem, 3.1vw, 3rem);
    text-shadow: 2px 2px 0 #fff;
    margin-bottom: .65rem;
}

.depart-bar {
    background: #080808;
    color: #fff;
    padding: .8rem 1rem;
    text-transform: uppercase;
    font-size: .86rem;
    letter-spacing: .02em;
}
.depart-pill {
    background: var(--brand-orange);
    color: #fff;
    border-radius: var(--radius-pill);
    padding: .45rem 1.6rem;
    font-weight: 900;
    box-shadow: 0 .25rem .8rem rgba(255,123,34,.55);
}
.depart-text {
    font-weight: 900;
    color: #cfd4df;
    white-space: nowrap;
}

.tour-image-wrap {
    position: relative;
    margin: 1rem 1rem 0;
    background: #eef3ff;
    min-height: 220px;
    overflow: hidden;
}
.tour-image-wrap img {
    display: block;
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.floating-label {
    position: absolute;
    top: .7rem;
    right: .65rem;
    background: #ff5cb8;
    color: #fff;
    font-weight: 900;
    border-radius: .6rem;
    padding: .45rem .7rem;
    font-size: .82rem;
}
.tour-blue .floating-label  { background: #ff973c; }
.tour-white .floating-label { background: #18bdf2; }

.package-body {
    padding: .65rem 1rem .35rem;
    flex: 1;
}
.red-mark {
    width: 7px;
    height: 38px;
    background: #ff0303;
    margin: .2rem 0 .55rem 2rem;
}
.tour-copy {
    font-style: italic;
    font-weight: 700;
    color: #000;
    line-height: 1.15;
}
.schedule {
    margin: 1.1rem 0;
    color: #000;
}
.feature-list { color: #000; line-height: 1.85; }
.feature-list div div::first-letter { color: #16a34a; }

.package-actions { padding: 1rem; }
.package-actions .btn {
    border: 0;
    border-radius: .6rem;
    padding: .8rem 1rem;
}
.package-actions .btn-danger  { background: var(--brand-red); }
.package-actions .btn-success { background: var(--brand-green); }

.price-row small,
.price-row span { display: block; color: #000; font-weight: 800; }
.price-row strong { color: #000; font-size: 1.45rem; margin-left: .25rem; }
.price-row span   { font-size: .78rem; }


/* ==========================================================================
   20. DEPARTURE TILES
   ========================================================================== */
.departures-section { background: #f7f7f7; }

.departure-tile {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 365px;
    border-radius: 1.1rem;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    color: #fff;
    padding: 2rem;
    text-decoration: none;
    box-shadow: 0 1rem 2.5rem rgba(0,0,0,.12);
    transition: transform .2s ease;
}
.departure-tile:hover {
    color: #fff;
    transform: translateY(-2px);
}
.departure-tile h2 {
    font-size: clamp(2.1rem, 4vw, 3.5rem);
    max-width: 620px;
    text-shadow: 2px 3px 0 rgba(0,0,0,.5);
}
.tile-badge {
    display: inline-flex;
    width: fit-content;
    background: #ff5cb8;
    color: #fff;
    border-radius: var(--radius-pill);
    text-transform: uppercase;
    font-weight: 900;
    letter-spacing: .12em;
    padding: .45rem .8rem;
    margin-bottom: .9rem;
    font-size: .8rem;
}
.tile-badge.blue { background: var(--brand-blue); color: #071015; }
.tile-meta { display: flex; gap: .5rem; flex-wrap: wrap; }
.tile-meta span {
    background: rgba(255,255,255,.18);
    border-radius: var(--radius-pill);
    padding: .35rem .65rem;
    font-weight: 800;
    font-size: .82rem;
}

.location-panel {
    border-radius: var(--radius-lg);
    background: var(--surface);
    padding: 2.2rem 1rem;
    box-shadow: 0 .3rem 1.2rem rgba(0,0,0,.08);
    border: 1px solid rgba(0,0,0,.06);
}

.wide-bus { background: #000; max-height: 430px; overflow: hidden; }
.wide-bus img { display: block; min-height: 290px; object-fit: cover; }


/* ==========================================================================
   21. LEGACY REVIEW SUMMARY (tours page — scoped to avoid conflict with homepage)
   FIX 2: scoped under .review-summary so it doesn't override the homepage .review-card
   ========================================================================== */
.review-summary {
    max-width: 1120px;
    background: #f6f6f6;
    border-radius: .55rem;
    overflow: hidden;
}
.review-tabs {
    border-bottom: 1px solid #dcdcdc;
    padding: .9rem 1.5rem;
}

/* Scoped: only affects cards INSIDE .review-summary */
.review-summary .review-card {
    background: #f7f7f7;
    border-radius: .55rem;
    padding: 1.4rem;
    min-height: 180px;
    border: none;
    box-shadow: none;
    transform: none;
}
.review-summary .review-card:hover {
    transform: none;
    box-shadow: none;
}

.avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #ed6c02;
    color: #fff;
    display: grid;
    place-items: center;
    font-size: 1.3rem;
}

.big-stars      { font-size: 1.5rem; }
.big-stars,
.stars          { color: #ffb800; }
.big-stars strong { color: #111; }
.big-stars small  { color: #87909e; font-size: .85rem; }

.google-rating { font-size: 2rem; color: #4285f4; line-height: 1; }
.google-rating span { color: #ffb800; }

.rating-badge {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-weight: 900;
    color: #0b0b0b;
}
.rating-badge.trip { background: #00d084; }
.rating-badge.yelp { background: #d93025; color: #fff; }


/* ==========================================================================
   22. HERO INTRO (legacy — kept for other pages that may use it)
   ========================================================================== */
.hero-intro {
    padding: 1.1rem 0 1.8rem;
    background: var(--surface);
}
.hero-intro h1 {
    text-transform: uppercase;
    line-height: 1.05;
    font-size: clamp(1.8rem, 3vw, 2.55rem);
}


/* ==========================================================================
   23. RESPONSIVE
   ========================================================================== */
@media (max-width: 991px) {
    .about-text-container { padding: 0 15px; margin-top: 40px; }

    .guide-feature-section {
        background:
            linear-gradient(
                180deg,
                #f8f6f0 0, #f8f6f0 38px,
                #050505 38px, #0f0f0f calc(100% - 38px),
                #f8f6f0 calc(100% - 38px), #f8f6f0 100%
            );
        padding: 70px 0;
    }
    .guide-image-card,
    .guide-image-card img { min-height: 520px; height: 520px; }

    .guide-feature-content { padding: 15px 0 0; text-align: center; }
    .guide-feature-meta,
    .guide-feature-actions { justify-content: center; }
    .guide-decor-circle { display: none; }
}

@media (max-width: 576px) {
    .guide-feature-section { padding: 55px 0; }
    .guide-image-card,
    .guide-image-card img { min-height: 430px; height: 430px; }
    .guide-feature-title   { font-size: 1.85rem; }
    .guide-feature-lead,
    .guide-feature-text    { font-size: .9rem; }
    .guide-primary-btn,
    .guide-secondary-btn   { width: 100%; }

    .hero-stats { gap: 1rem 1.5rem; }
    .hero-stat__number { font-size: 1.35rem; }
}


/* ==========================================================================
   24. REDUCED MOTION                 ← FIX 7: added missing guard
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *,
    *::before,
    *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }
    .reveal            { opacity: 1; transform: none; }
    .whatsapp-fab      { animation: none; }
    .brand-logo img    { animation: none; }
    .navbar-nav .nav-item { opacity: 1; animation: none; }
}

/* ========================
   FOOTER
   ======================== */
.custom-footer {
    background: linear-gradient(145deg, #1a1a1a, #0d0d0d) !important;
    border-top: 3px solid #ffeb28;
}
.footer-logo {
    max-height: 80px;
    width: auto;
    object-fit: contain;
}
.footer-brand-name {
    letter-spacing: .08em;
}
.footer-link {
    text-decoration: none;
    transition: color 0.3s ease;
}
.footer-link:hover {
    color: #ffeb28 !important;
}
.social-icons a {
    display: inline-flex;
    align-items: center;
    transition: transform 0.3s ease, color 0.3s ease;
}
.social-icons a:hover {
    transform: translateY(-3px);
    color: #ffeb28 !important;
}
