/* --- GLOBAL STYLES & RESETS --- */
:root {
    --primary-color: #1C1818; /* Coral Red */
    --secondary-color: #F7B267; /* Orange */
    --booking-blue: #0e0e0e; /* New Blue for "Select Date" button */
    --dark-color: #2F2F2F;
    --light-color: #F4F4F9;
    --text-color: #333;
    --border-radius-card: 12px;
    --shadow-light: 0 4px 15px rgba(0,0,0,0.06);
    --shadow-strong: 0 8px 25px rgba(0,0,0,0.12);
}

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

html { scroll-behavior: smooth; }

body {
    font-family: 'Ubuntu', sans-serif;
    background-color: var(--light-color);
    color: var(--text-color);
    line-height: 1.6;
}


/* Accessibility: visible focus rings */
:focus-visible{
    outline: none;
    box-shadow: 0 0 0 3px rgba(242,92,84,0.35);
}

/* Motion safety */
@media (prefers-reduced-motion: reduce){
    *, *::before, *::after{ scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}
.skip {
    position:absolute; left:-9999px; top:auto;
    width:1px; height:1px; overflow:hidden;
}
.skip:focus, .skip:active {
    left:0; top:0; width:auto; height:auto;
    background:#fff; color:#111; padding:0.75rem 1rem;
    text-decoration:none; box-shadow:0 0 0 2px #111; z-index:1000;
}

/* --- HEADER & NAVIGATION --- */
header {
    background: #222; 
    color: #fff;
    padding: 15px 25px; 
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 999;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    transition: transform 0.3s ease-in-out; 
}

header.header-hidden {
    transform: translateY(-100%);
}

.logo {
    font-weight: bold;
    font-size: 20px;
    text-decoration: none;
    color: #fff;
    display: flex;
    align-items: center;
}

.lang-switcher{
    display:flex;
    align-items:center;
    gap:10px;
}

.lang-flag{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    width:34px;
    height:28px;
    border-radius:8px;
    text-decoration:none;
    font-size:18px;
    line-height:1;
    border:1px solid rgba(255,255,255,0.25);
    background: rgba(255,255,255,0.08);
    transition: transform 0.15s ease, background 0.15s ease;
}

.lang-flag:hover{
    transform: translateY(-1px);
    background: rgba(255,255,255,0.16);
}

.lang-flag.active{
    background: rgba(255,193,7,0.25);
    border-color: rgba(255,193,7,0.6);
}


.logo img { 
    height: 30px; 
    margin-right: 10px; 
}

.header-controls { display: flex; align-items: center; gap: 20px; }
.phone-icon { 
    color: #fff; 
    font-size: 18px; 
    text-decoration: none; 
    transition: color 0.3s;
}
.phone-icon:hover {
    color: #ffc107; 
}

nav#navMenu a {
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    padding: 10px 15px;
    border-radius: 20px;
    transition: background-color 0.3s, color 0.3s;
}
nav#navMenu a:hover { 
    background-color: #ffc107; 
    color: #222;
}
nav#navMenu .menu-booking {
    background-color: #ffc107;
    color: #222;
    font-weight: 500;
}
nav#navMenu .menu-booking:hover { 
    background-color: var(--secondary-color); 
    color: #222;
}
.menu-toggle {
    display: none; font-size: 24px; color: #fff;
    cursor: pointer; background: none; border: none; z-index: 1001;
    transition: color 0.3s;
}
.menu-toggle:hover {
    color: #ffc107; 
}

@media (max-width: 900px) {
    .menu-toggle { display: block; }
    nav#navMenu {
        display: flex; position: fixed; top: 0; right: -100%;
        width: 280px; height: 100vh; background: #1a1a1a;
        flex-direction: column; align-items: flex-start;
        padding: 80px 30px 30px; box-shadow: -5px 0 15px rgba(0,0,0,0.2);
        transition: right 0.4s cubic-bezier(0.77, 0, 0.175, 1);
    }
    nav#navMenu.show { right: 0; }
    nav#navMenu a { margin: 10px 0; width: 100%; text-align: left; font-size: 18px; }
}
@media (min-width: 901px) {
    nav#navMenu { display: flex !important; align-items: center; gap: 15px; }
}

/* --- HERO SECTION --- */
.hero {
    min-height: clamp(420px, 65vh, 720px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    padding: clamp(20px, 6vw, 56px) 16px;
}
.hero h1 {
    font-size: clamp(30px, 3.6vw, 54px);
    font-weight: 700;
    margin-bottom: 10px;
    text-shadow: 2px 2px 5px rgba(0,0,0,0.5);
    max-width: 900px; 
    line-height: 1.3;
}
.hero h2{ font-size: clamp(18px, 2.2vw, 28px); margin-bottom: 18px; font-weight: 500; opacity: 0.95; max-width: 900px; }
.hero p {
    max-width: 700px;
    font-size: clamp(16px, 1.2vw, 18px);
    margin-bottom: 26px;
    background: rgba(0, 0, 0, 0.38);
    backdrop-filter: blur(4px);
    padding: 15px;
    border-radius: 8px;
}

.hero > *{ max-width: 1100px; }
.buttons { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; }
.buttons a {
    padding: 14px 28px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 700;
    font-size: 16px;
    transition: all 0.3s ease;
    border: none;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}
.buttons .book {
    background: linear-gradient(45deg, var(--secondary-color), #FFC947);
    color: var(--dark-color);
}
.buttons .contact {
    background: #fff;
    color: var(--dark-color);
}
.buttons a:hover { transform: translateY(-3px) scale(1.05); box-shadow: 0 6px 15px rgba(0,0,0,0.3); }

/* Unified Hero Badge Design */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: #e3f9e5; /* Light Green Background */
    color: #1f9d55;           /* Strong Green Text */
    padding: 8px 16px;
    border-radius: 50px;      /* Pill shape */
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 10px;
    border: 1px solid #1f9d55;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}
.hero-badge i { font-size: 14px; }

/* Hide old individual classes to avoid conflicts */
.note { display: none; }
.guarantee-badge { display: none; }

/* --- GENERAL SECTION STYLING --- */
main {
    margin-bottom: 100px; 
}
section{ padding: clamp(56px, 7vw, 80px) 20px; margin: auto; }
section h2{ text-align: center; font-size: clamp(26px, 2.6vw, 36px); margin-bottom: 34px; font-weight: 800; }
section p{ color: #555; max-width: 760px; margin: 0 auto 20px auto; text-align: center; }


/* --- OUR SERVICES (Intro + Highlights) --- */
.services-intro {
    max-width: 800px;
    margin: 0 auto 22px auto;
    text-align: center;
    font-size: 1.05rem;
}
.services-highlights {
    max-width: 900px;
    margin: 0 auto 30px auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 14px;
}
.services-highlight {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 14px;
    padding: 14px 16px;
    display: flex;
    gap: 12px;
    align-items: center;
    box-shadow: var(--shadow-light);
}
.services-highlight i {
    color: var(--primary-color);
    font-size: 20px;
    flex: 0 0 auto;
}
.services-highlight span {
    color: #333;
    font-size: 0.95rem;
}
.services-highlight strong { font-weight: 800; }

/* --- SERVICE FILTER --- */
.filter-controls {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}
.filter-btn {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 30px;
    padding: 10px 25px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-light);
}
.filter-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-strong);
}
.filter-btn.active {
    background-color: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
    box-shadow: 0 4px 15px rgba(242, 92, 84, 0.4);
}

/* --- SERVICE CATEGORIES --- */
.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}
.category-card {
    position: relative;
    display: block;
    height: 220px;
    border-radius: 16px;
    overflow: hidden;
    text-decoration: none;
    box-shadow: var(--shadow-strong);
    transition: transform 0.3s ease, box-shadow 0.3s ease, opacity 0.3s ease-in-out;
}
.category-card[hidden] { display: none !important; }
.category-card.filtering {
    opacity: 0;
}
.category-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.2);
}
.category-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.category-card:hover img { transform: scale(1.1); }
.category-title {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
    color: white;
    text-align: center;
    /* Extra bottom padding so CTA button doesn't overlap text (matches Trending card layout) */
    padding: 46px 15px 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    gap: 4px;
    z-index: 2;
}

/* Services cards CTA (visual button so users know cards are clickable) */
.category-cta {
    position: absolute;
    bottom: 15px;
    right: 15px;
    z-index: 3;
    pointer-events: none; /* Card <a> handles the click */
}
.category-cta-btn {
    /* Reuse Trending button style (.request-trip-btn) but slightly tighter for overlays */
    font-size: 0.85rem;
    padding: 8px 14px;
}
/* Hover state (since the CTA itself doesn't receive hover due to pointer-events:none) */
.category-card:hover .category-cta .category-title h3 {
    margin: 0;
    font-size: 22px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.category-subtitle {
    margin: 0;
    font-size: 13px;
    font-weight: 500;
    color: #eee;
    text-transform: none;
    letter-spacing: 0;
    max-width: 95%;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.category-price-container {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 5px;
    font-size: 16px;
    text-transform: none;
    letter-spacing: 0;
}
.price-cross {
    text-decoration: line-through;
    color: #ddd;
    font-weight: 400;
    font-size: 0.9em;
    opacity: 0.8;
}
.price-sale {
    color: #ffc107; 
    font-weight: 800;
    font-size: 1.9em;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

/* Duration label used in service cards (replaces price display) */
.category-price-container .duration-tag{
    color: #ffc107;
    font-weight: 800;
    font-size: 1.2em;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.sale-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: var(--primary-color);
    color: #fff;
    padding: 5px 12px;
    border-radius: 15px;
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    z-index: 2; 
    letter-spacing: 0.5px;
}

/* --- SLIDER STYLES --- */
.slider-wrapper { position: relative; }
.slider-container { overflow: hidden; margin: 0 -10px; }
.slider-track { display: flex; transition: transform 0.5s ease-in-out; }

.slider-btn {
    position: absolute; top: 50%; transform: translateY(-50%);
    background-color: rgba(255, 255, 255, 0.9); border: none;
    border-radius: 50%; width: 45px; height: 45px;
    font-size: 22px; cursor: pointer; z-index: 10;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2); transition: background-color 0.2s, transform 0.2s;
}
.slider-btn:hover { background-color: #fff; transform: translateY(-50%) scale(1.1); }
.slider-btn.prev { left: -25px; }
.slider-btn.next { right: -25px; }
@media (max-width: 1150px) {
    .slider-btn.prev { left: 10px; }
    .slider-btn.next { right: 10px; }
}

.slider-pagination {
    text-align: center;
    margin-bottom: 25px; 
    padding: 10px 0;
}
.slider-dot {
    background-color: #ccc;
    border: none;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin: 0 5px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
}
.slider-dot:hover { background-color: #aaa; transform: scale(1.2); }
.slider-dot.active { background-color: var(--primary-color); transform: scale(1.2); }

/* --- NEW TRENDING CARD DESIGN (Overlay Style) --- */
.slider-track .trending-card { 
    flex: 0 0 100%;
    max-width: 100%;
    margin: 0 10px;
}
@media (min-width: 640px) {
    .slider-track .trending-card { flex: 0 0 calc(50% - 20px); max-width: calc(50% - 20px); }
}
@media (min-width: 1024px) {
    .slider-track .trending-card { flex: 0 0 calc(33.333% - 20px); max-width: calc(33.333% - 20px); }
}

.trending-card {
    position: relative;
    background: #000;
    border-radius: var(--border-radius-card);
    overflow: hidden;
    box-shadow: var(--shadow-light);
    transition: all 0.3s ease;
    height: 280px; /* Fixed height for the card look */
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
}

.trending-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-strong);
}

/* Image/Video Background Layer */
.trending-card-video-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    transition: height 0.3s ease;
}

/* Gradient Overlay for Text Readability */
.trending-card-video-wrapper::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 70%;
    background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.5) 50%, transparent 100%);
    z-index: 2;
    pointer-events: none;
}

.trending-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Content Layer (Text) */
.trending-card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 10;
    /* FIX 2: Extra padding at bottom so text doesn't touch button */
    padding: 15px 20px 60px 20px;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    pointer-events: none; /* Let clicks pass through to container/button */
}
/* Re-enable pointer events for links inside content if any */
.trending-card-content > * { pointer-events: auto; }

.trending-card-title {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 5px;
    color: #fff;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
    line-height: 1.2;
}
.trending-card-title a { text-decoration: none; color: white; }

/* FIX 2: Ensure text cuts off cleanly */
.trending-card-desc {
    font-size: 0.9rem;
    color: #e0e0e0;
    line-height: 1.4;
    margin-bottom: 0;
    max-width: 100%; 
    display: -webkit-box;
    -webkit-line-clamp: 2; /* Limit to 2 lines */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.trending-card-details {
    font-size: 0.85rem;
    color: #ccc;
    margin-bottom: 5px;
    display: flex;
    gap: 8px;
    align-items: center;
}
.trending-card-details i { color: #f4c430; }

.trending-card-footer {
    position: absolute;
    bottom: 15px;
    right: 15px;
    z-index: 12;
    pointer-events: auto; /* Ensure button is clickable */
}

/* "Select date" Blue Button */
.request-trip-btn{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: var(--primary-color);
    color: #fff;
    padding: 10px 18px;
    border-radius: 999px;
    font-weight: 800;
    font-size: 0.95rem;
    line-height: 1;
    border: 0;
    cursor: pointer;
    text-decoration: none;
    box-shadow: 0 8px 18px rgba(0,0,0,0.18);
    transition: transform .15s ease, filter .15s ease, box-shadow .15s ease;
}
.request-trip-btn:hover{ filter: brightness(0.95); transform: translateY(-1px); }
.request-trip-btn:active{ transform: translateY(0); }
.request-trip-btn:focus-visible{
    outline: none;
    box-shadow: 0 0 0 3px rgba(242,92,84,0.35), 0 8px 18px rgba(0,0,0,0.18);
}

.cancellation-note { display: none; } /* Hidden for cleaner look */
.play-button-overlay { display: none; } /* Hidden for cleaner look */

/* --- OPEN STATE (Booking Form) --- */
/* When "Select Date" is clicked, card expands */
.trending-card.booking-open {
    height: auto;
    background: #fff;
}

.trending-card.booking-open .trending-card-video-wrapper {
    position: relative;
    height: 150px; /* Banner at top */
}
.trending-card.booking-open .trending-card-video-wrapper::after {
    background: linear-gradient(to top, rgba(0,0,0,0.6), transparent);
}

.trending-card.booking-open .trending-card-content {
    position: relative;
    background: #fff;
    padding: 15px 20px 0;
    color: #333;
    pointer-events: auto; /* Re-enable standard interaction */
}
.trending-card.booking-open .trending-card-title {
    color: #333;
    text-shadow: none;
    font-size: 1.2rem;
}
.trending-card.booking-open .trending-card-title a { color: #333; }
.trending-card.booking-open .trending-card-desc { color: #666; max-width: 100%; -webkit-line-clamp: unset; }
.trending-card.booking-open .trending-card-footer { display: none; } /* Hide the button, show form */

.booking-form-wrapper {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    /* FIX 3: Speed up transition from 0.5s to 0.3s */
    transition: all 0.3s ease-in-out;
    padding: 0 20px;
}
.trending-card.booking-open .booking-form-wrapper {
    max-height: 500px;
    opacity: 1;
    padding: 10px 20px 20px;
}

/* Form Styles */
.booking-form .form-row { display: flex; gap: 15px; margin-bottom: 15px; }
.booking-form .form-group { flex: 1; display: flex; flex-direction: column; }
.booking-form label { font-size: 12px; font-weight: 500; color: #555; margin-bottom: 5px; }
.booking-form input {
    width: 100%; padding: 8px 10px; border: 1px solid #ccc;
    border-radius: 4px; font-family: 'Ubuntu', sans-serif; font-size: 14px;
}
.book-now-btn {
    background-color: #25D366; /* WhatsApp Green */
    color: white; width: 100%; padding: 12px;
    border: none; border-radius: 4px; font-weight: 700;
    font-size: 16px; cursor: pointer; transition: background-color 0.3s;
}
.book-now-btn:hover { background-color: #1ebc59; }
.booking-validation-msg {
    font-size: 12px; color: var(--primary-color);
    text-align: center; margin-bottom: 10px; font-weight: 500;
    display: none;
}


/* --- LAZY LOAD ANIMATION --- */
.lazy-load {
    opacity: 0;
    transform: translateY(20px);
    /* FIX 3: Speed up transition from 0.6s to 0.4s for Services section */
    transition: opacity 0.4s ease-out, transform 0.4s ease-out;
}
.lazy-load.visible {
    opacity: 1;
    transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
    .lazy-load { opacity: 1; transform: none; }
}

/* --- REVIEWS --- */
.reviews-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px; margin-top: 30px;
}
.review-card {
    background: #fff; padding: 25px; border-radius: 16px;
    box-shadow: var(--shadow-light); text-align: left;
}
.review-stars { color: #fbbf24; margin-bottom: 10px; }
.review-text { font-style: italic; color: #555; margin-bottom: 15px; font-size: 0.95rem; }
.review-author { font-weight: bold; color: #222; display: flex; align-items: center; gap: 10px; }
.review-author img { width: 30px; height: 30px; border-radius: 50%; background: #ddd; }
.reviews-wrapper {
    max-height: 0; opacity: 0; overflow: hidden;
    transition: max-height 0.6s ease-in-out, opacity 0.6s ease-in-out;
}
.reviews-wrapper.open { max-height: 2000px; opacity: 1; }
.toggle-reviews-btn {
    background-color: var(--primary-color); color: #fff; border: none;
    padding: 10px 30px; border-radius: 30px; font-weight: 700;
    font-size: 16px; cursor: pointer; margin-top: 20px;
    box-shadow: var(--shadow-light); transition: background-color 0.3s, transform 0.2s;
}
.toggle-reviews-btn:hover { background-color: #d54435; transform: translateY(-2px); }

/* --- SITE FOOTER --- */
.site-footer {
    background-color: #222; color: #ccc; padding: 50px 20px;
    font-family: 'Ubuntu', sans-serif; text-align: left;
}
.footer-container {
    max-width: 1200px; margin: 0 auto; display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 40px;
}
.footer-logo {
    display: flex; align-items: center; gap: 10px; color: #fff;
    text-decoration: none; font-size: 1.5rem; font-weight: 500; margin-bottom: 15px;
}
.footer-logo img { width: 50px; height: auto; }
.footer-column h3 {
    color: #fff; font-size: 1.2rem; margin-bottom: 20px;
    position: relative; padding-bottom: 10px; text-transform: uppercase; letter-spacing: 1px;
}
.footer-column h3::after {
    content: ''; position: absolute; bottom: 0; left: 0; width: 50px; height: 2px; background-color: #ffc107; 
}
.footer-column ul { list-style: none; padding: 0; margin: 0; }
.footer-column ul li { margin-bottom: 12px; }
.footer-column a { color: #ccc; text-decoration: none; transition: all 0.3s ease; }
.footer-column a:hover { color: #ffc107; padding-left: 5px; }
.social-icons a {
    display: inline-flex; justify-content: center; align-items: center;
    width: 40px; height: 40px; border-radius: 50%; background-color: #333;
    color: #fff; margin-right: 10px; text-decoration: none;
    transition: background-color 0.3s ease, transform 0.3s ease;
}
.social-icons a:hover { background-color: #ffc107; color: #222; transform: translateY(-3px); }
.footer-bottom-bar {
    text-align: center; margin-top: 40px; padding-top: 20px;
    border-top: 1px solid #444; font-size: 0.9rem;
}

/* --- STICKY WHATSAPP --- */
.sticky-whatsapp {
    position: fixed; bottom: 30px; right: 30px; width: 60px; height: 60px;
    background-color: #25D366; color: white; border-radius: 50%;
    display: flex; justify-content: center; align-items: center; font-size: 35px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3); z-index: 1005;
    text-decoration: none; transition: transform 0.3s ease;
    animation: pulse-green 2s infinite;
}
.sticky-whatsapp:hover { transform: scale(1.1); }
@keyframes pulse-green {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* --- MAP & CONTENT --- */
.map-container {
    position: relative; max-width: 800px; margin: 20px auto;
    border: 3px solid #fff; box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    border-radius: 8px; overflow: hidden; 
}
.map-image {
    display: block;
    width: 100%;
    height: auto;
    background-color: #e0e0e0;
}
.map-point { position: absolute; z-index: 10; cursor: pointer; text-decoration: none; color: #333; }
.pin {
    width: 22px; height: 22px; background-color: var(--primary-color); 
    border-radius: 50%; border: 2px solid #ffffff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.4); transition: all 0.2s ease-in-out;
    transform: translate(-50%, -50%); 
}
.pin::before {
    content: ''; position: absolute; top: 50%; left: 50%; width: 100%; height: 100%;
    transform: translate(-50%, -50%); border-radius: 50%; background-color: var(--primary-color);
    opacity: 0.7; animation: pulse 1.5s infinite ease-out; z-index: -1;
}
.label {
    display: block; position: absolute; left: 100%; top: 50%; 
    transform: translate(10px, -50%); font-size: 12px; font-weight: bold;
    color: var(--dark-color); text-shadow: -1px -1px 0 #fff, 1px -1px 0 #fff, -1px 1px 0 #fff, 1px 1px 0 #fff;
    white-space: nowrap; pointer-events: none;
}
.label.label-top { left: 50%; top: 0; transform: translate(-50%, -15px); }
.label.label-bottom { left: 50%; top: 100%; transform: translate(-50%, 15px); }
.label.label-left { left: 0; top: 50%; transform: translate(-110%, -50%); }

.content-container {
    max-width: 800px; margin: 20px auto; background: #ffffff;
    padding: 20px 30px; border-radius: 8px; box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}
.tour-list { display: grid; grid-template-columns: 1fr; gap: 15px; }
.tour-item {
    display: block; background: #f9f9f9; border-radius: 8px;
    padding: 20px; text-decoration: none; color: #333;
    border: 1px solid #ddd; transition: all 0.2s ease-in-out; position: relative; 
}
.tour-item:hover {
    transform: translateY(-5px); box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    border-color: var(--primary-color);
}
.tour-item-price {
    position: absolute; top: 20px; right: 20px;
    font-size: 20px; font-weight: 700; color: var(--primary-color);
}
.tour-item h3 { margin: 0 0 10px 0; color: var(--primary-color); padding-right: 70px; }
.tour-item p { margin: 0; font-size: 15px; color: #555; }
.contact-info { display: flex; flex-direction: column; gap: 15px; margin-top: 20px; }
.cta-button {
    display: block; padding: 15px 20px; border-radius: 8px;
    text-decoration: none; font-weight: bold; color: #ffffff;
    text-align: center; font-size: 18px; transition: opacity 0.2s ease;
}
.cta-button:hover { opacity: 0.85; }
.btn-whatsapp { background-color: #25D366; }
.btn-phone { background-color: var(--primary-color); }
.btn-email { background-color: #555555; }
@media (min-width: 600px) {
    .tour-list { grid-template-columns: 1fr 1fr; }
    .contact-info { flex-direction: row; justify-content: center; }
    .cta-button { flex-grow: 1; max-width: 250px; }
}

/* ---- Moved from inline <style> in index ---- */
.hero{
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('/img/bg-img.webp') no-repeat center center/cover;
}
noscript .lazy-load{ opacity: 1 !important; transform: none !important; }

/* ---- Inline style attributes moved from index ---- */

/* Hero badges wrapper */
.hero-badges{
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    margin-bottom: 20px;
}

@media (min-width: 700px){ .hero-badges{ flex-direction: row; } }

/* Why-us section */
.why-us-section{
    padding: 40px 20px;
    background: #fff;
    text-align: center;
}
.why-us-inner{
    max-width: 1100px;
    margin: 0 auto;
}
.why-us-title{
    font-size: 2rem;
    margin-bottom: 30px;
    color: #222;
}
.why-us-grid{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}
.why-us-card{
    padding: 20px;
}
.why-us-icon{
    font-size: 2.5rem;
    color: #F25C54;
    margin-bottom: 15px;
}
.why-us-card-title{
    margin-bottom: 10px;
}
.why-us-card-text{
    color: #666;
    font-size: 0.95rem;
}

/* Reviews section */
.reviews-section{
    background-color: #f9f9f9;
    text-align: center;
}
.reviews-cta{
    text-align: center;
    margin-top: 30px;
}
.google-reviews-btn{
    display: inline-block;
    background: #fff;
    border: 1px solid #ddd;
    padding: 10px 20px;
    border-radius: 30px;
    text-decoration: none;
    color: #333;
    font-weight: 700;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}
.google-reviews-btn:hover{
    transform: translateY(-1px);
    box-shadow: 0 6px 10px rgba(0,0,0,0.12);
}
.google-reviews-btn .google-icon{
    color: #4285F4;
    margin-right: 8px;
}

/* Story section */
.story-section{
    padding: 50px 20px;
    background: #f9f9f9;
    color: #333;
}
.story-inner{
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}
.story-title{
    font-size: 2rem;
    margin-bottom: 20px;
}
.story-lead{
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 20px;
}
.story-body{
    font-size: 1rem;
    line-height: 1.6;
    color: #555;
}
.story-link{
    color: #F25C54;
    text-decoration: none;
    font-weight: 700;
}
.story-link:hover{ text-decoration: underline; }

/* Map point positions (moved from inline) */
.map-point.mp-funchal{ top: 75%; left: 58%; }
.map-point.mp-camara{ top: 78%; left: 50%; }
.map-point.mp-cabo{ top: 75%; left: 45%; }
.map-point.mp-monte{ top: 70%; left: 57%; }
.map-point.mp-cristo{ top: 77%; left: 65%; }

/* Contact section */
.contact-section{ padding-top: 0; }
.section-divider{
    border: 0;
    border-top: 1px solid #eee;
    margin: 30px 0;
}
.contact-intro{
    text-align: center;
    max-width: 100%;
}

/* FAQ section */
.faq-section{
    padding: 40px 20px;
    max-width: 1000px;
    margin: 0 auto 60px auto;
}
.faq-title{
    text-align: center;
    color: #333;
    margin-bottom: 30px;
}
.faq-section .faq-container{
    display: grid;
    gap: 15px;
}
.faq-item{
    background: #fff;
    padding: 15px;
    border-radius: 8px;
    border: 1px solid #eee;
    cursor: pointer;
}
.faq-question{
    font-weight: 700;
    color: #222;
}
.faq-answer{
    margin-top: 10px;
    color: #666;
}

/* ========================================================================== */
/* BOOKING PAGE ONLY (moved from booking (7).php inline CSS + inline styles)   */
/* Scope: add `booking-page` class to <html>                                  */
/* ========================================================================== */

/* --- HIDE GLOBAL ELEMENTS THAT CONFLICT --- */
    html.booking-page .fixed-footer-bar{ display: none !important; }

    /* --- GLOBAL VARIABLES & OVERRIDES --- */
    html.booking-page{
        --primary-color: #F25C54; /* Coral Red */
        --secondary-color: #F7B267; /* Warm Orange */
        --booking-bg: #2e2d32;
        --booking-form-bg: #3a393f;
        --shadow-strong: 0 8px 25px rgba(0,0,0,0.12);
        --success-color: #2ecc71;
    }

    /* Force Dark Theme for Booking Page */
    html.booking-page body{
        background-color: var(--booking-bg) !important;
        color: white;
        padding-bottom: 140px; /* Space for floating footer */
    }

    /* --- HERO SECTION --- */
    html.booking-page .hero-booking{
        background: linear-gradient(rgba(46, 45, 50, 0.7), rgba(46, 45, 50, 0.7)), url("img/funchal-main.jpg") no-repeat center center/cover;
        padding: 3rem 1.5rem;
        text-align: center;
        margin-bottom: 20px;
        color: white;
        transition: all 0.3s ease; /* Smooth transition for hiding */
    }
    html.booking-page .hero-booking h1{
        font-size: 2.5rem;
        margin-bottom: 0;
        text-shadow: 2px 2px 5px rgba(0,0,0,0.5);
    }

    /* --- PROGRESS BAR --- */
    html.booking-page .progress-container{
        max-width: 800px;
        margin: 0 auto 30px auto;
        padding: 0 10px;
        transition: margin-top 0.3s ease; /* Smooth transition for spacing */
    }
    html.booking-page .progress-bar{
        display: flex;
        justify-content: space-between;
        counter-reset: step;
        position: relative;
    }
    html.booking-page .progress-bar::before{
        content: "";
        position: absolute;
        top: 15px;
        left: 0;
        width: 100%;
        height: 2px;
        background-color: #555;
        z-index: 0;
    }
    html.booking-page .progress-step{
        width: 35px;
        height: 35px;
        background-color: #555;
        border-radius: 50%;
        display: flex;
        justify-content: center;
        align-items: center;
        font-weight: bold;
        z-index: 1;
        position: relative;
        transition: all 0.3s ease;
        border: 2px solid var(--booking-bg);
    }
    html.booking-page .progress-step.active{
        background-color: var(--primary-color);
        box-shadow: 0 0 10px rgba(242, 92, 84, 0.5);
        transform: scale(1.1);
    }
    html.booking-page .progress-step.completed{
        background-color: var(--success-color);
        color: #222;
    }
    html.booking-page .progress-label{
        position: absolute;
        top: 40px;
        font-size: 0.75rem;
        width: 100px;
        text-align: center;
        color: #ccc;
        left: 50%;
        transform: translateX(-50%);
    }

    /* --- BOOKING FORM CONTAINER --- */
    html.booking-page #bookingForm{
        max-width: 800px;
        margin: 0 auto 20px auto;
        background: var(--booking-form-bg);
        padding: 24px;
        border-radius: 16px;
        box-shadow: var(--shadow-strong);
        color: white;
    }

    /* --- STAGE LAYOUT --- */
    html.booking-page .booking-stage{ display: none; animation: fadeIn 0.4s ease; }
    html.booking-page .booking-stage.active{ display: block; }
    @keyframes fadeIn { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: translateY(0); } }

    /* --- FORM ELEMENTS & COLUMNS --- */
    html.booking-page .form-row{
        display: flex;
        gap: 20px;
        flex-wrap: wrap;
    }
    html.booking-page .form-group{ 
        margin-bottom: 20px; 
        flex: 1; 
        min-width: 250px; /* Ensures inputs don't get too small */
    }
    html.booking-page .form-group.full-width{ flex: 100%; width: 100%; }
    
    html.booking-page label{
        display: block;
        margin-bottom: 8px;
        font-weight: bold;
        font-size: 0.95rem;
        color: #ddd;
    }

    /* Input Overrides for Dark Theme */
    html.booking-page #bookingForm input, html.booking-page #bookingForm select, html.booking-page #bookingForm textarea{
        width: 100%;
        padding: 12px;
        margin-bottom: 5px;
        border: none;
        border-radius: 8px;
        font-size: 16px;
        background-color: #555;
        color: white;
        font-family: "Ubuntu", sans-serif;
        box-sizing: border-box;
    }
    html.booking-page #bookingForm input:focus, html.booking-page #bookingForm select:focus{
        outline: 2px solid var(--primary-color);
        background-color: #666;
    }
    html.booking-page #bookingForm input::placeholder{ color: #ccc; }

    /* --- NAVIGATION BUTTONS --- */
    html.booking-page .nav-buttons{
        display: flex;
        justify-content: space-between;
        margin-top: 25px;
        padding-top: 15px;
        border-top: 1px solid #555;
    }
    html.booking-page button.nav-btn{
        padding: 12px 25px;
        border: none;
        border-radius: 25px;
        font-size: 16px;
        font-weight: bold;
        cursor: pointer;
        width: auto !important; /* Override full width */
        transition: transform 0.2s;
    }
    html.booking-page .btn-next{ background: var(--primary-color); color: white; margin-left: auto; }
    html.booking-page .btn-prev{ background: #666; color: white; }
    html.booking-page .btn-next:hover{ background: #e0533c; transform: translateY(-2px); }
    html.booking-page .btn-prev:hover{ background: #555; transform: translateY(-2px); }


/* --- ADD-ON TOGGLE (iOS style) --- */
html.booking-page .addon-toggle{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    background: rgba(0,0,0,0.25);
    border: 1px solid #555;
    padding: 14px 16px;
    border-radius: 12px;
    margin: 18px 0 10px;
}
html.booking-page .addon-toggle .question{
    font-weight: 700;
    color: #fff;
    line-height: 1.25;
}
html.booking-page .addon-toggle .sub{
    font-size: 0.85rem;
    color: #ccc;
    margin-top: 4px;
    font-weight: 400;
}
html.booking-page .ios-switch{
    position: relative;
    display: inline-block;
    width: 62px;
    height: 34px;
    flex: 0 0 auto;
    user-select: none;
}
html.booking-page .ios-switch input{
    opacity: 0;
    width: 0;
    height: 0;
}
html.booking-page .ios-slider{
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #666;
    transition: .25s;
    border-radius: 34px;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.12);

    overflow: hidden;
}
html.booking-page .ios-slider:before{
    position: absolute;
    content: "";
    height: 28px;
    width: 28px;
    left: 3px;
    top: 3px;
    background: #fff;
    transition: .25s;
    border-radius: 50%;
    box-shadow: 0 4px 10px rgba(0,0,0,0.35);
}
html.booking-page .ios-yes{
    position: absolute;
    left: 12px;
    right: auto;
    top: 50%;
    transform: translateY(-50%);
    font-size: 12px;
    font-weight: 800;
    color: #fff;
    letter-spacing: 0.2px;
    opacity: 0;
    transition: .25s;
    pointer-events: none;
    z-index: 1;
}
html.booking-page .ios-switch input:checked + .ios-slider{
    background: var(--success-color);
}
html.booking-page .ios-switch input:checked + .ios-slider:before{
    transform: translateX(28px);
}
html.booking-page .ios-switch input:checked + .ios-slider .ios-yes{
    opacity: 1;
}

@media (max-width: 420px) {html.booking-page .ios-switch{ width: 72px; }
    html.booking-page .ios-switch input:checked + .ios-slider:before{ transform: translateX(38px); }
    html.booking-page .ios-yes{ left: 14px; }}

/* --- ADD-ON INFO ICON + PHOTO MODAL --- */
html.booking-page .addon-toggle .question-row{
    display:flex;
    align-items:center;
    gap:10px;
}
html.booking-page .info-btn{
    width:22px;
    height:22px;
    border-radius:50%;
    border:1px solid rgba(255,255,255,0.35);
    background:rgba(255,255,255,0.12);
    color:#fff;
    font-weight:900;
    font-size:13px;
    line-height:1;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    cursor:pointer;
    padding:0;
    flex:0 0 auto;
}
html.booking-page .info-btn:hover{background:rgba(255,255,255,0.18);}
html.booking-page .info-btn:active{transform:scale(0.96);}
html.booking-page .info-btn:focus{outline:2px solid rgba(231,76,60,0.65); outline-offset:2px;}

html.booking-page .addon-modal-overlay{
    position:fixed;
    inset:0;
    background:rgba(0,0,0,0.78);
    display:none;
    align-items:center;
    justify-content:center;
    z-index:9999;
    padding:16px;
}
html.booking-page .addon-modal-overlay.active{display:flex;}
html.booking-page .addon-modal{
    width:100%;
    max-width:760px;
    background:rgba(15,15,15,0.98);
    border:1px solid rgba(255,255,255,0.14);
    border-radius:18px;
    overflow:hidden;
    box-shadow:0 18px 60px rgba(0,0,0,0.55);
}
html.booking-page .addon-modal-header{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;
    padding:12px 14px;
    border-bottom:1px solid rgba(255,255,255,0.10);
}
html.booking-page .addon-modal-title{color:#fff;font-weight:800;}
html.booking-page .addon-modal-close{
    background:transparent;
    border:none;
    color:#fff;
    font-size:28px;
    line-height:1;
    cursor:pointer;
    padding:0 4px;
}
html.booking-page .addon-modal-body{padding:12px 14px;}
html.booking-page .addon-modal-img{
    width:100%;
    height:auto;
    max-height:46vh;
    object-fit:cover;
    border-radius:14px;
    border:1px solid rgba(255,255,255,0.10);
    background:#111;
}
html.booking-page .addon-modal-thumbs{
    display:flex;
    gap:10px;
    margin-top:10px;
    overflow-x:auto;
    padding-bottom:4px;
    -webkit-overflow-scrolling:touch;
}
html.booking-page .addon-modal-thumb{
    width:82px;
    height:56px;
    flex:0 0 auto;
    object-fit:cover;
    border-radius:12px;
    border:1px solid rgba(255,255,255,0.12);
    cursor:pointer;
    opacity:0.78;
    background:#111;
}
html.booking-page .addon-modal-thumb.active{
    opacity:1;
    border-color: var(--primary-color);
}
html.booking-page .addon-modal-nav{
    display:flex;
    gap:10px;
    margin-top:10px;
}
html.booking-page .addon-modal-nav button{
    flex:1;
    padding:10px 12px;
    border-radius:12px;
    border:none;
    cursor:pointer;
    font-weight:800;
}
html.booking-page .addon-modal-note{
    margin-top:10px;
    font-size:0.85rem;
    color:#cfcfcf;
}

@media (max-width: 420px){html.booking-page .info-btn{width:24px;height:24px;}
    html.booking-page .addon-modal{border-radius:16px;}
    html.booking-page .addon-modal-thumb{width:74px;height:52px;}}

    /* --- DISCOUNT BANNER --- */
    html.booking-page .discount-banner{
        background-color: rgba(46, 204, 113, 0.2); 
        border: 1px solid var(--success-color);
        color: #fff;
        padding: 15px;
        border-radius: 8px;
        text-align: center;
        margin-bottom: 20px;
        font-weight: bold;
        animation: pulse 2s infinite;
    }
    @keyframes pulse {
        0% { box-shadow: 0 0 0 0 rgba(46, 204, 113, 0.4); }
        70% { box-shadow: 0 0 0 10px rgba(46, 204, 113, 0); }
        100% { box-shadow: 0 0 0 0 rgba(46, 204, 113, 0); }
    }

    /* --- TOUR SELECTION & SUMMARY CARD (NEW) --- */
    /* Wrapper to toggle between the grid and the summary */
    html.booking-page .tour-selection-wrapper{ transition: all 0.3s ease; }
    
    /* The Summary Card (Hidden by default) */
    html.booking-page .tour-summary-card{
        display: none; 
        background: #444;
        border: 2px solid var(--primary-color);
        border-radius: 12px;
        padding: 15px;
        align-items: center;
        justify-content: space-between;
        margin-bottom: 20px;
        animation: fadeIn 0.3s ease;
        box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    }
    html.booking-page .tour-summary-info{ display: flex; align-items: center; gap: 15px; }
    html.booking-page .tour-summary-img{ width: 60px; height: 60px; border-radius: 8px; object-fit: cover; background: #333; }
    html.booking-page .tour-summary-text h4{ margin: 0; font-size: 1.1rem; color: white; }
    html.booking-page .tour-summary-text span{ font-size: 0.85rem; color: var(--success-color); }
    
    html.booking-page .change-tour-btn{
        background: #666; color: white; border: none; padding: 8px 15px; border-radius: 20px; cursor: pointer; font-size: 0.85rem; transition: background 0.3s;
    }
    html.booking-page .change-tour-btn:hover{ background: #777; }
    
    /* --- TOUR FILTER TABS --- */
    html.booking-page .tour-filters{
        display: flex;
        gap: 10px;
        margin-bottom: 20px;
        justify-content: center;
        flex-wrap: wrap;
    }
    html.booking-page .filter-btn{
        background: #444 !important;
        border: 1px solid #555 !important;
        color: #ccc !important;
        width: auto !important;
        padding: 10px 20px !important;
        border-radius: 25px !important;
        margin-bottom: 5px !important;
        transition: all 0.3s ease !important;
        cursor: pointer;
    }
    html.booking-page .filter-btn.active{
        background: var(--primary-color) !important;
        color: #fff !important;
        border-color: var(--primary-color) !important;
        box-shadow: 0 2px 10px rgba(242, 92, 84, 0.4);
    }
    html.booking-page .filter-btn:hover{ background: #555 !important; }

    /* --- TOUR CARD GRID --- */
    html.booking-page .tour-grid{
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 12px;
        margin-bottom: 15px;
    }
    
    html.booking-page .tour-card{
        background-color: #4a494e;
        border: 2px solid transparent;
        border-radius: 12px;
        cursor: pointer;
        transition: all 0.3s ease;
        overflow: hidden;
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        animation: fadeIn 0.4s ease;
        position: relative; 
    }
    html.booking-page .tour-card:hover{ background-color: #555; transform: translateY(-2px); }
    html.booking-page .tour-card.selected{
        border-color: var(--primary-color);
        background-color: #3e3d42;
        box-shadow: 0 4px 12px rgba(242, 92, 84, 0.3);
    }
    
    html.booking-page .tour-card-img{ width: 100%; height: 100px; object-fit: cover; background-color: #333; }

    /* Split Image Fix */
    html.booking-page .split-img-container{ width: 100%; height: 100px; display: flex; }
    html.booking-page .split-img{
        height: 100%; width: 50%; flex-basis: 50%;
        object-fit: cover; display: block; border-right: 1px solid #333;
    }
    html.booking-page .split-img:last-child{ border-right: none; }
    
    /* Badges */
    html.booking-page .tour-card-price{
        position: absolute; top: 8px; right: 8px;
        background-color: rgba(0, 0, 0, 0.8); color: var(--primary-color);
        font-weight: bold; font-size: 0.75rem; padding: 4px 8px;
        border-radius: 12px; box-shadow: 0 2px 5px rgba(0,0,0,0.3); z-index: 5;
    }
    html.booking-page .tour-card-badge{
        position: absolute; top: 8px; left: 8px;
        background-color: var(--secondary-color); color: #222;
        font-weight: bold; font-size: 0.7rem; padding: 4px 8px;
        border-radius: 12px; box-shadow: 0 2px 5px rgba(0,0,0,0.3); z-index: 10;
    }
    html.booking-page .tour-card-icon{
        width: 100%; height: 100px; display: flex; align-items: center; justify-content: center;
        background-color: #444; font-size: 40px; color: #777;
    }
    html.booking-page .tour-card-title{
        padding: 10px; font-size: 0.85rem; font-weight: bold;
        line-height: 1.3; color: #fff; width: 100%;
    }

    /* --- CUSTOM BUILDER --- */
    html.booking-page .custom-builder-container{
        display: none; grid-template-columns: repeat(2, 1fr); gap: 15px; margin-bottom: 20px;
    }
    html.booking-page .custom-slot{
        background-color: #444; border: 2px dashed #777; border-radius: 12px;
        height: 150px; display: flex; flex-direction: column; align-items: center; justify-content: center;
        cursor: pointer; transition: all 0.3s; position: relative; overflow: hidden;
    }
    html.booking-page .custom-slot:hover{ background-color: #505050; border-color: #aaa; }
    html.booking-page .custom-slot-plus{ font-size: 40px; color: var(--primary-color); margin-bottom: 10px; }
    html.booking-page .custom-slot-text{ font-size: 0.9rem; color: #ccc; text-align: center; padding: 0 10px; }
    html.booking-page .custom-slot.filled{ border-style: solid; border-color: var(--primary-color); padding: 0; }
    html.booking-page .custom-slot.filled img{ width: 100%; height: 100%; object-fit: cover; opacity: 0.6; }
    html.booking-page .custom-slot-label{
        position: absolute; bottom: 0; left: 0; width: 100%;
        background: rgba(0,0,0,0.7); color: white; font-size: 0.8rem; padding: 5px; text-align: center;
    }
    html.booking-page .custom-slot-remove{
        position: absolute; top: 5px; right: 5px; background: red; color: white; border-radius: 50%;
        width: 32px; height: 32px; display: flex; align-items: center; justify-content: center;
        font-size: 16px; z-index: 10; cursor: pointer; box-shadow: 0 2px 5px rgba(0,0,0,0.5);
    }

    /* --- FLOATING FOOTER --- */
    html.booking-page .floating-footer{
        position: fixed; bottom: 0; left: 0; width: 100%;
        background-color: #222; border-top: 1px solid #444; padding: 12px 20px;
        display: none; justify-content: space-between; align-items: center;
        z-index: 1000; box-shadow: 0 -4px 20px rgba(0,0,0,0.4); animation: slideUp 0.3s ease-out;
    }
    @keyframes slideUp { from { transform: translateY(100%); } to { transform: translateY(0); } }
    html.booking-page .footer-price-container{ display: flex; flex-direction: column; }
    html.booking-page .footer-label{ font-size: 0.8rem; color: #ccc; text-transform: uppercase; letter-spacing: 0.5px; }
    html.booking-page .footer-sub-label{ font-size: 0.7rem; color: #aaa; margin-top: 2px; }
    html.booking-page .footer-amount{ font-size: 1.4rem; font-weight: bold; color: var(--primary-color); }
    html.booking-page .footer-amount .original{ font-size: 1rem; text-decoration: line-through; color: #777; margin-right: 5px; }
    
    /* --- ACTION BUTTONS (STAGE 4) --- */
    html.booking-page #free-booking-button, html.booking-page #stripe-button, html.booking-page #whatsapp-button{
        width: 100%; padding: 15px; margin-top: 10px; border-radius: 8px; 
        font-weight: bold; border:none; cursor: pointer; color: white; font-size: 1.1rem;
    }
    html.booking-page #free-booking-button{ background: var(--primary-color); }
    html.booking-page #free-booking-button:hover{ background: #e0533c; }
    html.booking-page #stripe-button{ background: linear-gradient(135deg, #0077ff, #0057d9); }
    
    /* WHATSAPP BUTTON STYLE */
    html.booking-page #whatsapp-button{ background: #25D366; }
    html.booking-page #whatsapp-button:hover{ background: #128C7E; }
    
    html.booking-page .location-button{ background: #444 !important; color: white; margin-bottom: 12px; width: 100% !important; padding: 10px; border-radius: 8px; cursor: pointer; border: none; }
    
    /* --- MISC --- */
    html.booking-page .phone-input-group{ display: flex; gap: 8px; align-items: center; }
    html.booking-page #country-code{ width: 35% !important; margin-bottom: 5px; }
    html.booking-page #phone-number{ flex: 2; margin-bottom: 5px; }
    
    html.booking-page .tour-preview-img{
        width: 100%; max-width: 500px; height: 250px; object-fit: cover;
        border-radius: 10px; margin: 15px auto; display: none;
        box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    }
    html.booking-page .price-tag{ font-weight: bold; margin: 0; font-size: 1.4rem; color: var(--primary-color); }
    html.booking-page .original-price{ text-decoration: line-through; color: #888; margin-right: 8px; }
    html.booking-page .new-price{ font-weight: bold; color: var(--primary-color); }
    
    html.booking-page .helper-text{ color: lightblue; font-style: italic; margin-top: -8px; margin-bottom: 10px; font-size: 0.9rem; }
    html.booking-page .warning-msg{ color: yellow; font-weight: bold; margin-bottom: 10px; display: none; }
    html.booking-page .warning-text{ color: orange; font-size: 13px; margin-left: 8px; }

    /* --- FLATPICKR OVERRIDES --- */
    html.booking-page .flatpickr-calendar{ background: #3a393f !important; border-color: #555 !important; }
    html.booking-page .flatpickr-day{ color: #fff !important; }
    html.booking-page .flatpickr-day.selected{ background: var(--primary-color) !important; border-color: var(--primary-color) !important; }
    html.booking-page .flatpickr-months .flatpickr-month, html.booking-page .flatpickr-weekday{ color: #fff !important; fill: #fff !important; }
    html.booking-page .flatpickr-time input{ color: #fff !important; }

    /* --- FAQ STYLES --- */
    html.booking-page .faq-container{
        max-width: 800px;
        margin: 30px auto;
        padding: 0 10px;
        color: white;
    }
    html.booking-page .faq-title{ text-align: center; font-size: 1.6rem; margin-bottom: 20px; color: white; }
    html.booking-page .faq-item{ background: var(--booking-form-bg); margin-bottom: 10px; border-radius: 8px; border: 1px solid #444; }
    html.booking-page details.faq-details summary{ padding: 15px; cursor: pointer; font-weight: bold; list-style: none; display: flex; justify-content: space-between; align-items: center; outline: none; }
    html.booking-page details.faq-details summary::-webkit-details-marker{ display: none; }
    html.booking-page details.faq-details summary::after{ content: "+"; font-size: 1.2rem; color: var(--secondary-color); font-weight: bold; }
    html.booking-page details.faq-details[open] summary::after{ content: "-"; color: var(--primary-color); }
    html.booking-page .faq-answer{ padding: 15px; color: #ccc; font-size: 0.95rem; line-height: 1.5; border-top: 1px solid #444; background: rgba(0,0,0,0.1); }

    /* --- MODALS --- */
    html.booking-page .modal-overlay{
        position: fixed; top: 0; left: 0; width: 100%; height: 100%;
        background: rgba(0,0,0,0.8); display: none; justify-content: center; align-items: center; z-index: 2000;
    }
    html.booking-page .modal-content{
        background: #333; padding: 30px; border-radius: 15px;
        text-align: center; max-width: 400px; width: 90%;
        border: 2px solid var(--success-color); box-shadow: 0 10px 30px rgba(0,0,0,0.5);
        color: white;
    }
    html.booking-page .spinner{
        border: 4px solid rgba(255, 255, 255, 0.1); width: 40px; height: 40px; border-radius: 50%;
        border-left-color: var(--success-color); animation: spin 1s linear infinite; margin: 0 auto 15px;
    }
    @keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }



    /* --- PAY LATER CONFIRMATION MODAL (scroll inside the modal, not the page) --- */
html.booking-page #paylater-modal.modal-overlay{
    padding: 16px 10px;
    overflow: hidden;
}
html.booking-page .paylater-modal-content{
    max-width: 720px;
    width: 96%;
    text-align: left;
    border-color: var(--primary-color);

    position: relative;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    touch-action: pan-y;
}
html.booking-page .paylater-scroll{
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 0;
    overscroll-behavior: contain;
}
html.booking-page .paylater-close{
    position:absolute;
    top:10px;
    right:14px;
    background:transparent;
    border:none;
    color:#fff;
    font-size:28px;
    line-height:1;
    cursor:pointer;
    padding:0 4px;
    z-index: 5;
}
html.booking-page .paylater-summary{
    margin-top: 14px;
    background: rgba(0,0,0,0.25);
    border: 1px solid #555;
    border-radius: 12px;
    overflow: hidden;
}
html.booking-page .paylater-row{
    display:flex;
    gap:12px;
    justify-content:space-between;
    padding: 10px 12px;
    border-bottom: 1px solid rgba(255,255,255,0.10);
    align-items:flex-start;
}
html.booking-page .paylater-row:last-child{ border-bottom: none; }
html.booking-page .paylater-label{ color: #bbb; font-size: 0.95rem; min-width: 140px; font-weight: 700; }
html.booking-page .paylater-value{ color: #fff; font-size: 0.95rem; text-align:right; word-break:break-word; }
html.booking-page .paylater-actions{
    display:flex;
    gap:12px;
    margin-top: 14px;
    background: #333;
    padding-top: 12px;
    padding-bottom: 6px;
    border-top: 1px solid rgba(255,255,255,0.10);
}
html.booking-page .paylater-actions button{
    flex:1;
    padding: 12px 14px;
    border-radius: 12px;
    border: none;
    cursor: pointer;
    font-weight: 800;
    font-size: 1rem;
}
html.booking-page #paylater-cancel{ background: #555; color:#fff; }
html.booking-page #paylater-cancel:hover{ background: #4b4b4b; }
html.booking-page #paylater-confirm{ background: var(--primary-color); color:#fff; }
html.booking-page #paylater-confirm:hover{ background: #e0533c; }
html.booking-page #paylater-confirm:disabled{ opacity: 0.6; cursor: not-allowed; }

/* Stripe-like loading on Pay Later confirm */
html.booking-page #paylater-confirm.loading{
    position: relative;
    padding-left: 44px;
    opacity: 0.85;
}
html.booking-page #paylater-confirm.loading::before{
    content: "";
    position: absolute;
    left: 16px;
    top: 50%;
    width: 16px;
    height: 16px;
    margin-top: -8px;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.35);
    border-top-color: rgba(255,255,255,1);
    animation: spin 0.8s linear infinite;
}

/* --- RESPONSIVE --- */
    @media (max-width: 600px) {html.booking-page .form-row{ flex-direction: column; gap: 0; }
        html.booking-page .form-group{ min-width: 100%; }
        html.booking-page .progress-label{ display: none; } /* Hide labels on mobile to save space */
        html.booking-page .phone-input-group{ flex-direction: row; }}

/* --- Booking page: moved inline style attributes --- */
html.booking-page #intro-description{
    max-width: 800px;
    margin: 20px auto;
    text-align: center;
    color: #ddd;
    padding: 0 15px;
    transition: all 0.3s ease;
}

html.booking-page .booking-step-title{
    margin-bottom: 20px;
    border-bottom: 1px solid #555;
    padding-bottom: 10px;
    color: white;
    font-size: 1.5rem;
}

html.booking-page #selection-feedback{
    color: var(--secondary-color);
    font-weight: bold;
    margin-top: 10px;
    display: none;
}

html.booking-page #tour-description{
    margin-bottom: 15px;
    color: #ddd;
    min-height: 20px;
    display: none;
}

html.booking-page #addon-food-drink-wrapper{ display: none; }

html.booking-page #date-availability-msg{ font-size: 0.8rem; }

html.booking-page #date-availability-note{ display: none; }

html.booking-page #current-time-display{
    font-size: 0.9rem;
    margin-bottom: 15px;
    text-align: center;
}

html.booking-page .payment-summary-box{
    background: rgba(0,0,0,0.3);
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    text-align: center;
    border: 1px solid #555;
}

html.booking-page .tax-note{
    font-size: 0.85rem;
    color: #aaa;
    margin-top: 5px;
}

html.booking-page #stripe-error{
    color: salmon;
    font-weight: bold;
    display: none;
    margin-top: 5px;
    text-align: center;
}

html.booking-page .reset-btn{
    background: transparent;
    border: 1px solid #555;
    color: #ddd;
    border-radius: 20px;
    cursor: pointer;
    margin: 0;
    font-size: 0.8rem;
    padding: 5px 15px;
}

html.booking-page .modal-primary-border{ border-color: var(--primary-color); }
html.booking-page .modal-error-border{ border-color: salmon; }

html.booking-page .modal-title{
    text-align: center;
    margin-bottom: 10px;
}

html.booking-page .modal-text{
    text-align: center;
    color: #ddd;
    margin-bottom: 15px;
}

html.booking-page #paylater-error{
    display: none;
    color: salmon;
    font-weight: bold;
    margin-top: 10px;
    text-align: center;
}

html.booking-page .addon-note{
    display: block;
    font-size: 0.85rem;
    color: #cfcfcf;
    margin-top: 6px;
}

html.booking-page .closing-note{ color: salmon; }
