/* --- Global Styles & Reset --- */

:root {
    /* New Deep-Green Tones Palette */
    --primary-color: #44785B;   /* Medium/Muted Green - Main actions */
    --secondary-color: #6F9D87; /* Lighter Green - Secondary text/subtle borders */
    --accent-color: #275F3E;    /* Bold Deep Green - Highlights */
    --error-color: #dc3545;     /* Retain Red for errors/exclusions */
    --text-color: #122F0B;      /* Very Dark Forest Green - Main body text */
    --background-light: #B5CABA;/* Lightest Sage - Light backgrounds */
    --nav-height: 100px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif, Arial;
    line-height: 1.6;
    color: var(--text-color);
    padding-top: var(--nav-height);
    background: #ffffff;
}

.detail-page-body {
    padding-top: var(--nav-height);
}

/* --- Utility Classes --- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.btn {
    display: inline-block;
    background: var(--primary-color);
    color: white;
    padding: 12px 25px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: background 0.3s, transform 0.3s;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.btn:hover {
    background: var(--accent-color);
    transform: translateY(-2px);
}

h1, h2, h3 {
    margin-bottom: 0.5em;
    font-weight: 600;
    color: var(--text-color);
}

h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 40px;
}

section {
    padding: 80px 0;
}

/* --- Header and Navigation --- */
nav {
    background: #fff;
    padding: 0 20px;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    height: var(--nav-height);
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.logo img {
    height: 80px;
    vertical-align: middle;
}

.nav-right {
    display: flex;
    align-items: center;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
    position: relative;
    width: 40px;
    height: 30px;
}

.hamburger-icon {
    display: block;
    width: 100%;
    height: 3px;
    background: var(--text-color);
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    transition: transform 0.3s, opacity 0.3s;
}

.hamburger-icon::before,
.hamburger-icon::after {
    content: '';
    display: block;
    width: 100%;
    height: 3px;
    background: var(--text-color);
    position: absolute;
    left: 0;
    transition: transform 0.3s;
}

.hamburger-icon::before {
    top: -10px;
}

.hamburger-icon::after {
    bottom: -10px;
}

.menu-toggle.open .hamburger-icon {
    background: transparent;
    transform: rotate(45deg);
}

.menu-toggle.open .hamburger-icon::before {
    transform: translateY(10px) rotate(0deg);
}

.menu-toggle.open .hamburger-icon::after {
    transform: translateY(-10px) rotate(-90deg);
}

.nav-links {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
}

.nav-links li {
    margin: 0 15px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    padding: 10px 0;
    position: relative;
    transition: color 0.3s;
    font-size: 1rem;
}

.nav-links a:hover {
    color: var(--primary-color);
}

.nav-links a.active {
    color: var(--primary-color);
}

.nav-links a.active::after {
    content: '';
    display: block;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--primary-color);
    border-radius: 2px;
}

.nav-whatsapp {
    margin-left: 30px;
    display: flex;
    align-items: center;
    text-decoration: none;
}

.nav-whatsapp img {
    height: 40px;
    width: 40px;
    margin-right: 5px;
}

.nav-whatsapp span {
    color: var(--text-color);
    font-weight: 600;
}

.nav-whatsapp:hover span {
    color: var(--accent-color);
}

/* --- Hero Section (Index Page) --- */
#hero {
    background: url('images/hero-bg.webp') no-repeat center center/cover;
    height: 100vh;
    padding-top: var(--nav-height);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    position: relative;
}

#hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.1);
}

#hero .hero-content {
    position: relative;
    z-index: 10;
    max-width: 800px;
    padding: 20px;
}

#hero h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 20px;
    color: white;
}

#hero p {
    font-size: 1.5rem;
    margin-bottom: 40px;
    font-weight: 300;
}

/* --- About Section (Index Page) --- */
#about {
    background: var(--background-light);
}

#about .container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
}

.about-text {
    flex: 1;
    min-width: 300px;
    padding-right: 40px;
}

.about-text h2 {
    text-align: left;
    margin-bottom: 20px;
}

.about-text p {
    margin-bottom: 30px;
}

.about-image {
    flex: 1;
    min-width: 300px;
    text-align: center;
}

.about-image img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* --- Services Section (Index Page) --- */
#services .service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    text-align: center;
}

.service-card {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s, box-shadow 0.3s;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.service-card i {
    font-size: 3rem;
    color: var(--accent-color);
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

/* --- Tours Section (Index Page) --- */
#tours {
    background: var(--background-light);
}

.tour-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

#day-trips {
    background: white;
}

#day-trips .tour-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.tour-card {
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    text-decoration: none;
    color: inherit;
    display: block;
}

.tour-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.tour-card-image {
    height: 220px;
    overflow: hidden;
}

.tour-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.tour-card:hover .tour-card-image img {
    transform: scale(1.05);
}

.tour-card-content {
    padding: 20px;
}

.tour-card-content h3 {
    font-size: 1.4rem;
    margin-bottom: 10px;
}

.tour-card-content p {
    font-size: 0.95rem;
    margin-bottom: 15px;
    color: var(--secondary-color);
}

.tour-card-content .duration {
    font-weight: 600;
    color: var(--primary-color);
}

#day-trips .tour-card-content .tour-features-list {
    list-style: none;
    padding: 0;
    margin: 15px 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px 15px;
}

#day-trips .tour-card-content .tour-features-list li {
    font-size: 0.95rem;
    color: var(--secondary-color);
    font-weight: 500;
    display: flex;
    align-items: center;
}

#day-trips .tour-card-content .tour-features-list li i {
    color: var(--primary-color);
    margin-right: 8px;
    width: 16px;
    text-align: center;
}

#day-trips .tour-card-content .duration {
    margin-bottom: 5px;
    display: block;
}

.tour-card-content .price-tag {
    display: block;
    font-weight: 600;
    color: var(--accent-color);
    font-size: 1.1rem;
    margin-bottom: 15px;
}

.tour-card-content .book-now-btn {
    width: 100%;
    margin-top: 10px;
}

/* --- Tour Detail Page Styles --- */
.tour-main-content {
    background: #fff;
    padding: 0 0 80px 0;
}

.tour-hero-image {
    position: relative;
    width: 100%;
    min-height: 500px;
    overflow: hidden;
    margin-bottom: 40px;
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
}

.tour-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}

.tour-hero-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.15); /* Lowered opacity for a brighter background */
    z-index: 2;
}

.tour-hero-header {
    position: relative;
    z-index: 3;
    color: white;
    text-align: center;
    padding: 150px 20px 50px;
    max-width: 900px;
    margin: 0 auto;
}

.tour-hero-header h1 {
    font-size: 3.5rem;
    color: white;
    margin-bottom: 5px;
}

.tour-hero-header h2 {
    font-size: 2.5rem;
    color: whitesmoke;
    margin-top: 0;
    margin-bottom: 20px;
    font-weight: 700;
    text-align: center;
}

.tour-hero-header p {
    font-size: 1.5rem;
    color: white;
    margin-top: 15px;
}

.hero-nav-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    background: rgba(0, 0, 0, 0.4);
    color: white;
    font-size: 2rem;
    padding: 20px 15px;
    transition: background 0.3s;
    text-decoration: none;
}

.hero-nav-arrow:hover {
    background: var(--accent-color);
}

.prev-tour-arrow {
    left: 0;
    border-radius: 0 8px 8px 0;
}

.next-tour-arrow {
    right: 0;
    border-radius: 8px 0 0 8px;
}

.tour-info-grid {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
}

.tour-description h2,
.tour-itinerary h2,
.tour-price h2 {
    text-align: left;
    font-size: 2rem;
    border-bottom: 2px solid var(--background-light);
    padding-bottom: 10px;
    margin-bottom: 40px;
}

.tour-description p {
    line-height: 1.7;
    margin-bottom: 50px;
    margin-top: 0;
}

.tour-description ul {
    list-style: none;
    padding: 0;
    margin-top: 30px;
    margin-bottom: 40px;
}

.tour-description ul li {
    position: relative;
    padding-left: 30px; /* already exists, but keep */
}

/* Use Font Awesome instead of background image */
.tour-description ul li i {
    position: absolute;
    left: 0;
    top: 4px;
    font-size: 1.1rem;
}

.tour-description h2:nth-of-type(2) + ul .fa-check-circle {
    color: var(--accent-color);
}

.tour-description h2:nth-of-type(3) + ul .fa-times-circle {
    color: var(--error-color);
}

.tour-itinerary .day-item {
    margin-bottom: 35px;
    border-left: 3px solid var(--accent-color);
    padding-left: 15px;
}

.tour-itinerary .day-item h4 {
    color: var(--accent-color);
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.tour-sidebar {
    background: var(--background-light);
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
    height: fit-content;
}

.tour-sidebar h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.tour-sidebar .price-details {
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.tour-sidebar .price-details span {
    font-weight: 700;
    font-size: 1.8rem;
    color: var(--accent-color);
    display: block;
    margin: 5px 0;
}

.tour-sidebar ul {
    list-style: none;
    padding: 0;
    margin-bottom: 25px;
    border-top: 1px solid #ddd;
    padding-top: 15px;
}

.tour-sidebar ul li {
    border-bottom: 1px dashed #ccc;
    padding: 10px 0;
    font-size: 0.95rem;
}

.tour-sidebar ul li:last-child {
    border-bottom: none;
}

.tour-sidebar ul li i {
    color: var(--primary-color);
    margin-right: 10px;
    font-size: 1.1rem;
    width: 20px;
    text-align: center;
}

.tour-sidebar .btn {
    width: 100%;
}

/* --- Contact Section --- */
#contact {
    background: #fff;
    text-align: center;
}

#contact #contact-form-container input[type="text"],
#contact #contact-form-container input[type="email"],
#contact #contact-form-container input[type="number"],
#contact #contact-form-container input[type="date"],
#contact #contact-form-container textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-family: inherit;
    font-size: 1rem;
}

#contact #contact-form-container textarea {
    min-height: 150px;
    resize: vertical;
}

#contact #contact-form-container .btn {
    padding: 15px 30px;
    background: var(--accent-color);
    border-radius: 8px;
    box-shadow: none;
    width: 50%;
    margin-top: 25px;
    font-weight: 700;
}

#contact #contact-form-container .btn:hover {
    background: var(--primary-color);
    color: white;
    transform: none;
}

/* Footer */
footer {
    background: var(--text-color);
    color: white;
    text-align: center;
    padding: 20px 0;
    font-size: 0.9rem;
}

.footer-contact-email {
    display: block;
    text-decoration: none;
    color: white;
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 20px;
    transition: color 0.3s;
}

.footer-contact-email i {
    margin-right: 8px;
    color: var(--accent-color);
}

.footer-contact-email:hover {
    color: var(--accent-color);
}

.footer-address {
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1rem;
    padding: 10px 0;
    font-weight: 500;
    margin-top: -10px;
}

.footer-address i {
    margin-right: 10px;
    color: var(--primary-color);
    font-size: 1.2rem;
}

.third-party-badges {
    margin: 20px 0;
    text-align: center;
}

.gyg-badge-image {
    border-radius: 10px;
}

.social-links {
    margin-bottom: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.social-image-link {
    display: inline-block;
    margin: 0 10px;
}

.social-img {
    height: 45px;
    width: 45px;
    vertical-align: middle;
    transition: transform 0.2s;
}

.social-img:hover {
    transform: scale(1.1);
}

/* --- Scroll-to-Top Button --- */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--accent-color);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.5rem;
    line-height: 50px;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
    z-index: 999;
}

.scroll-to-top.show {
    opacity: 1;
    visibility: visible;
}

/* --- Car Rental Specific --- */
.car-rental-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 30px;
}

.rental-feature-box {
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 8px;
    text-align: center;
}

.rental-feature-box i {
    font-size: 36px;
    color: var(--accent-color);
    margin-bottom: 10px;
}

/* --- Pricing Section --- */
.price-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.price-card {
    background: var(--background-light);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.price-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.price-card h3 {
    color: var(--text-color);
    margin-bottom: 15px;
    font-size: 1.8rem;
}

.price-icon {
    font-size: 3.5rem;
    color: var(--accent-color);
    margin-bottom: 25px;
}

.passengers {
    color: var(--text-color);
    font-size: 1.1rem;
    margin-bottom: 25px;
    font-weight: 500;
}

.passengers i {
    color: var(--primary-color);
    margin-right: 8px;
}

.price {
    margin-bottom: 30px;
    font-weight: 700;
    line-height: 1.2;
}

.price .currency {
    display: block;
    font-size: 1rem;
    color: var(--secondary-color);
    margin-bottom: 5px;
}

.price .amount {
    font-size: 2.8rem;
    color: var(--accent-color);
}

.book-now-btn {
    margin-top: auto;
    width: 100%;
}

/* --- Common Conditions Section --- */
.common-conditions-section {
    background: var(--background-light);
    padding: 80px 0;
}

.conditions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.condition-card {
    background: white;
    padding: 30px 25px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s, box-shadow 0.3s;
}

.condition-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.condition-card i {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 20px;
}

.condition-card h3 {
    color: var(--text-color);
    margin-bottom: 15px;
    font-size: 1.4rem;
}

.condition-card p {
    color: var(--secondary-color);
    line-height: 1.6;
}

/* --- Smooth Scroll Offset --- */
section[id] {
    scroll-margin-top: var(--nav-height);
}

/* --- Mobile Styles --- */
@media (max-width: 767px) {
    body {
        padding-top: 80px;
    }

    :root {
        --nav-height: 80px;
    }

    nav {
        height: var(--nav-height);
        align-items: flex-start;
        padding: 10px 20px;
    }

    .logo img {
        height: 60px;
    }

    .menu-toggle {
        display: block;
        position: absolute;
        right: 20px;
        top: 50%;
        transform: translateY(-50%);
    }

    .nav-right {
        display: block;
    }

    .nav-links {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: var(--nav-height);
        left: 0;
        width: 100%;
        height: calc(100% - var(--nav-height));
        background: #fff;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
        transform: translateX(100%);
        transition: transform 0.3s ease-in-out;
        z-index: 990;
        padding: 20px 0;
        overflow-y: auto;
        align-items: center;
    }

    .nav-links.open {
        transform: translateX(0);
    }

    .nav-links li {
        margin: 10px 0;
        width: 80%;
        text-align: center;
    }

    .nav-links a {
        display: block;
        padding: 15px 0;
        font-size: 1.2rem;
        border-bottom: 1px solid #f0f0f0;
    }

    .nav-links a.active::after {
        display: none;
    }

    .nav-whatsapp {
        display: none;
    }

    #hero h1 {
        font-size: 3rem;
    }

    #hero p {
        font-size: 1.1rem;
    }

    .about-text {
        padding-right: 0;
        margin-bottom: 30px;
    }

    .about-text h2 {
        text-align: center;
    }

    .tour-info-grid {
        grid-template-columns: 1fr;
    }

    .tour-hero-image {
        min-height: 400px;
        margin-bottom: 20px;
    }

    .tour-hero-header {
        padding: 100px 10px 30px;
    }

    .tour-hero-header h1 {
        font-size: 2.5rem;
    }

    .tour-hero-header h2 {
        font-size: 1.8rem;
    }

    .tour-hero-header p {
        font-size: 1.1rem;
    }

    .hero-nav-arrow {
        font-size: 1.5rem;
        padding: 15px 10px;
    }

    .car-rental-grid {
        grid-template-columns: 1fr;
    }

    .conditions-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .common-conditions-section {
        padding: 60px 0;
    }

    #contact #contact-form-container .btn {
        width: 100%;
    }
}

@media (min-width: 768px) {
    .menu-toggle {
        display: none;
    }

    .nav-links {
        transform: translateX(0);
        position: static;
        width: auto;
        height: auto;
        box-shadow: none;
        padding: 0;
    }

    .nav-whatsapp {
        display: flex;
    }
}

/* Services link card */
.service-link-card {
    text-decoration: none;
    color: inherit;
    display: block;
    transition: transform 0.3s, box-shadow 0.3s;
}

.service-link-card:hover .service-card {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.service-card:hover {
    transform: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

/* Placeholder visibility */
#contact #contact-form-container ::placeholder {
    color: #757575;
    opacity: 1;
}

#contact #contact-form-container input:invalid {
    color: #757575;
}

#contact #contact-form-container input:valid {
    color: var(--text-color);
}
/* --- Special Promotions Section --- */
.promotions-section {
    background: #f9f7f3;  /* subtle contrast */
}

.promo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    margin-top: 30px;
}

.promo-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.promo-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 35px rgba(0, 0, 0, 0.15);
}

.promo-image {
    height: 200px;
    background: linear-gradient(135deg, #44785B, #122F0B);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 4rem;
}

.promo-content {
    padding: 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* Desktop view for Promo Titles */
.promo-content h3 {
    font-size: 1.4rem; /* Reduced from 1.8rem */
    margin-bottom: 20px;
    color: var(--accent-color);
    border-left: 5px solid var(--primary-color);
    padding-left: 15px;
}

/* Mobile view for Promo Titles (Ensure this is inside your @media (max-width: 768px) block) */
@media (max-width: 768px) {
    .promo-content h3 {
        font-size: 1.2rem; /* Reduced from 1.5rem */
    }
    .promo-details p {
        font-size: 0.9rem;
    }
    .price-highlight {
        font-size: 1.2rem;
    }
}

.promo-details p {
    margin: 12px 0;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.promo-details i {
    width: 28px;
    color: var(--primary-color);
    font-size: 1.2rem;
}

.price-highlight {
    font-size: 1.5rem;
    font-weight: 700;
    color: #e67e22;
    background: #fef5e8;
    padding: 2px 8px;
    border-radius: 30px;
    display: inline-block;
}

.promo-btn {
    margin-top: 25px;
    background: var(--accent-color);
    width: 100%;
    text-align: center;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.promo-btn:hover {
    background: var(--primary-color);
}

@media (max-width: 768px) {
    .promo-content h3 {
        font-size: 1.5rem;
    }
    .promo-details p {
        font-size: 0.9rem;
    }
    .price-highlight {
        font-size: 1.2rem;
    }
}
.promo-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
/* --- Popular Destinations Section --- */
#popular-destinations {
    background: var(--background-light); 
}
/* ==========================================================================
   Styles for Beautiful Sri Lanka Page
   ========================================================================== */

/* Page Hero Header */
.page-hero {
    background: linear-gradient(135deg, var(--accent-color), var(--primary-color));
    color: white;
    text-align: center;
    padding: 80px 20px;
    margin-bottom: 40px;
}

.page-hero h1 {
    font-size: 3rem;
    margin-bottom: 10px;
}

.content-section {
    padding: 60px 0;
}

.bg-light {
    background-color: var(--background-light);
}

.section-subtitle {
    text-align: center;
    margin-bottom: 40px;
    font-size: 1.1rem;
    color: var(--text-color); /* Changed from --secondary-color for better contrast */
    font-weight: 500; /* Added a little extra weight to make it pop */
}

/* Info Grid (Geographics & Demographics) */
.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.info-card {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    border-top: 4px solid var(--primary-color);
}

.info-card h3 {
    color: var(--accent-color);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.stats-list {
    list-style: none;
    padding: 0;
}

.stats-list li {
    padding: 8px 0;
    border-bottom: 1px solid #eee;
}
.stats-list.mt-top {
    margin-top: 15px;
}

/* Weather Table */
.weather-table-wrapper {
    overflow-x: auto;
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.weather-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

.weather-table th, .weather-table td {
    padding: 15px 20px;
    border-bottom: 1px solid #eee;
}

.weather-table th {
    background-color: var(--primary-color);
    color: white;
    font-weight: 500;
}

.weather-table tr:hover {
    background-color: #f9f9f9;
}

/* Split Grid for Beaches & Gems */
.split-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

.sub-heading {
    color: var(--accent-color);
    margin-bottom: 20px;
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 10px;
}

.feature-list {
    list-style: none;
}

.feature-list li {
    margin-bottom: 15px;
    padding-left: 25px;
    position: relative;
}

.feature-list li::before {
    content: '\f00c'; /* FontAwesome Checkmark */
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--primary-color);
}
/* ==========================================================================
   Fixes & Additions for Vertical Card Components
   ========================================================================== */

/* Fix: Make sure page hero header h1 remains white */
.page-hero h1 {
    color: #ffffff !important;
}

/* Fix: Map nav-whatsapp-btn from HTML to CSS styling rules */
.nav-whatsapp-btn {
    margin-left: 30px;
    display: flex;
    align-items: center;
    text-decoration: none;
}
.nav-whatsapp-btn img {
    height: 40px;
    width: 40px;
    margin-right: 5px;
}
.nav-whatsapp-btn class {
    color: var(--text-color);
    font-weight: 600;
}
.nav-whatsapp-btn:hover {
    opacity: 0.9;
}

/* New Vertical Tour Grid Layout */
.vertical-tour-list {
    display: flex;
    flex-direction: column;
    gap: 25px;
    max-width: 900px;
    margin: 0 auto;
}

.vertical-tour-card {
    display: flex;
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.vertical-tour-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.vertical-card-image {
    flex: 0 0 300px; /* Locked width for desktop image */
    height: 200px;
    overflow: hidden;
}

.vertical-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.vertical-tour-card:hover .vertical-card-image img {
    transform: scale(1.04);
}

.vertical-card-content {
    padding: 25px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.vertical-card-content h3 {
    font-size: 1.4rem;
    color: var(--accent-color);
    margin-bottom: 10px;
}

.vertical-card-content p {
    font-size: 0.95rem;
    color: var(--text-color);
    line-height: 1.6;
}

/* Responsive Handling: Transform to clean standard vertical block cards on smaller devices */
@media (max-width: 768px) {
    .vertical-tour-card {
        flex-direction: column;
    }
    
    .vertical-card-image {
        flex: none;
        width: 100%;
        height: 220px;
    }
    
    .vertical-card-content {
        padding: 20px;
    }
}
/* Hide WhatsApp Nav Button on Mobile Devices */
@media (max-width: 768px) {
    .nav-whatsapp-btn {
        display: none !important;
    }
}
/* Fix for buttons inside vertical promotional cards */
.vertical-promo-btn {
    width: max-content;
    align-self: flex-start;
    margin-top: 15px;
    padding: 10px 25px;
}

@media (max-width: 768px) {
    .vertical-promo-btn {
        width: 100%; /* Keeps it full-width on mobile */
    }
}
/* ── AI CHAT ASSISTANT ── */
#ctb-btn {
  position: fixed;
  bottom: 90px;
  right: 25px;
  z-index: 950;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid #275F3E;
  cursor: pointer;
  padding: 0;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(39,95,62,0.4);
  transition: transform 0.3s, box-shadow 0.3s;
}
#ctb-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 10px 28px rgba(39,95,62,0.6);
}
#ctb-btn img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

#ctb-pulse {
  position: fixed;
  bottom: 90px;
  right: 25px;
  z-index: 948;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(68,120,91,0.3);
  pointer-events: none;
  animation: ctbPulse 2s infinite;
  display: none;
}
@keyframes ctbPulse {
  0%   { transform: scale(1); opacity: 1; }
  100% { transform: scale(2.1); opacity: 0; }
}

#ctb-panel {
  position: fixed;
  bottom: 170px;
  right: 25px;
  z-index: 949;
  width: 340px;
  max-height: 500px;
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.18);
  border: 1px solid #ddd;
  display: none;
  flex-direction: column;
}
#ctb-panel.open {
  display: flex;
  animation: ctbSlideUp 0.3s ease;
}
@keyframes ctbSlideUp {
  from { opacity: 0; transform: translateY(15px); }
  to   { opacity: 1; transform: translateY(0); }
}

.ctb-header {
  background: linear-gradient(135deg, #275F3E, #44785B);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.ctb-header-logo {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid rgba(255,255,255,0.6);
  overflow: hidden;
  flex-shrink: 0;
}
.ctb-header-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ctb-header-info h4 {
  color: #fff;
  font-size: 0.92rem;
  margin: 0 0 2px;
  font-weight: 600;
}
.ctb-online {
  display: flex;
  align-items: center;
  gap: 5px;
}
.ctb-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #4ade80;
}
.ctb-online span {
  color: rgba(255,255,255,0.8);
  font-size: 0.7rem;
}

#ctb-messages {
  flex: 1;
  overflow-y: auto;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: #f7f7f7;
}
#ctb-messages::-webkit-scrollbar { width: 4px; }
#ctb-messages::-webkit-scrollbar-thumb { background: #ccc; border-radius: 4px; }

.ctb-msg {
  max-width: 86%;
  padding: 9px 13px;
  font-size: 0.84rem;
  line-height: 1.55;
  border-radius: 14px;
  font-family: 'Poppins', sans-serif;
}
.ctb-msg.bot {
  background: #fff;
  color: #2a2a2a;
  border-radius: 14px 14px 14px 4px;
  align-self: flex-start;
  box-shadow: 0 2px 6px rgba(0,0,0,0.07);
}
.ctb-msg.user {
  background: #44785B;
  color: #fff;
  border-radius: 14px 14px 4px 14px;
  align-self: flex-end;
}

.ctb-typing {
  display: flex;
  gap: 4px;
  align-items: center;
  padding: 10px 14px;
  background: #fff;
  border-radius: 14px 14px 14px 4px;
  align-self: flex-start;
  box-shadow: 0 2px 6px rgba(0,0,0,0.07);
  width: fit-content;
}
.ctb-typing span {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #44785B;
  animation: ctbDot 1.2s infinite;
}
.ctb-typing span:nth-child(2) { animation-delay: 0.2s; }
.ctb-typing span:nth-child(3) { animation-delay: 0.4s; }
@keyframes ctbDot {
  0%,80%,100% { opacity:.3; transform:scale(.8); }
  40%          { opacity:1;  transform:scale(1);  }
}

.ctb-quick-replies {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.ctb-quick {
  background: #fff;
  border: 1.5px solid #44785B;
  color: #275F3E;
  border-radius: 50px;
  padding: 5px 12px;
  font-size: 0.77rem;
  cursor: pointer;
  transition: all 0.2s;
  font-family: 'Poppins', sans-serif;
}
.ctb-quick:hover { background: #44785B; color: #fff; }

.ctb-input-row {
  padding: 10px 12px;
  border-top: 1px solid #eee;
  display: flex;
  gap: 8px;
  align-items: center;
  background: #fff;
  flex-shrink: 0;
}
#ctb-input {
  flex: 1;
  border: 1.5px solid #ddd;
  border-radius: 50px;
  padding: 8px 14px;
  font-size: 0.83rem;
  outline: none;
  font-family: 'Poppins', sans-serif;
  transition: border-color 0.3s;
}
#ctb-input:focus { border-color: #44785B; }
#ctb-send {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: #44785B;
  border: none;
  cursor: pointer;
  color: #fff;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  flex-shrink: 0;
}
#ctb-send:hover { background: #275F3E; }

@media (max-width: 480px) {
  #ctb-panel  { width: calc(100vw - 30px); right: 15px; bottom: 160px; }
  #ctb-btn,
  #ctb-pulse  { right: 15px; }
}