/* --- Global Styles & Reset --- */

:root {
    /* New Deep-Green Tones Palette */
    --primary-color: #44785B;   /* Medium/Muted Green - Main actions (buttons, active link underline) */
    --secondary-color: #6F9D87; /* Lighter Green - Used for secondary text/subtle borders */
    --accent-color: #275F3E;    /* Bold Deep Green - Highlights (prices, service icons, itinerary border, whatsapp hover) */
    --error-color: #dc3545;     /* Retain Red for errors/exclusions */
    --text-color: #122F0B;      /* Very Dark Forest Green - Main body text and headings */
    --background-light: #B5CABA;/* Lightest Sage - Light background sections (about, tours, sidebar) */
    --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); /* Offset for fixed nav */
    background: #ffffff;
}

/* FIXED: Add ScrollSpy support for detail pages */
.detail-page-body {
    padding-top: var(--nav-height); /* Now consistent with index page */
}

/* --- 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);
    /* FIX: Center the button text for full-width buttons like the one in the sidebar */
    text-align: center;
}

.btn:hover {
    background: #0056b3;
    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;
}

/* 1. MOBILE MENU TOGGLE (Hamburger Icon Styling) */
.menu-toggle {
    /* FIX: Set to none by default, will be set to block in mobile media query */
    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;
}

/* Hamburger to X animation */
.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);
}


/* 2. NAVIGATION LINKS */
.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);
}

/* Active State Styling */
.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;
}

/* WhatsApp Button in Nav */
.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); /* Re-adjust for full height minus nav */
    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; /* Added: Tightens the vertical space between lines */
    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;
     /* CHANGE THIS: Increase space below the H2 */
    margin-bottom: 20px;
} 
    /* Add this to styles.css */

.about-text p {
    margin-bottom: 30px; /* Increases space between paragraphs and the button */
}  

.about-image {
    flex: 1;
    min-width: 300px;
    text-align: center;
}

.about-image img {
    max-width: 100%;
    height: auto;
    border-radius: 10px; /* Retained 10px for non-tour-detail pages */
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* --- Services Section (Index Page) --- */

#services .service-grid {
    display: grid;
    /* Allows 3-4 cards on desktop, and wraps nicely on smaller screens */
    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);
}

#tours .tour-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

/* Added styling for the new #day-trips section */
#day-trips {
    background: white; /* Contrast with tours section */
}

#day-trips .tour-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}
/* END new day-trips styling */


.tour-card {
    background: white;
    border-radius: 10px; /* Retained 10px for non-tour-detail pages */
    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;
}

.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);
}

/* START: Updated styles for Day Trip features list */
#day-trips .tour-card-content .tour-features-list {
    list-style: none;
    padding: 0;
    margin: 15px 0; /* Space between description and duration */
    text-align: left;
    display: flex; /* ADDED: Flex container to align li items horizontally */
    flex-wrap: wrap; /* ADDED: Allow list items to wrap to the next line if space is limited */
    gap: 10px 15px; /* ADDED: Set vertical and horizontal spacing between list items */
}

#day-trips .tour-card-content .tour-features-list li {
    font-size: 0.95rem; /* <-- INCREASED FONT SIZE */
    color: var(--secondary-color); /* Lighter green text */
    /* REMOVED: margin-bottom: 8px; - Replaced by 'gap' on the parent 'ul' */
    font-weight: 500;
    display: flex; /* <-- RETAINED for icon alignment */
    align-items: center; /* <-- RETAINED for icon alignment */
}

/* ADDED: New rule for icons */
#day-trips .tour-card-content .tour-features-list li i {
    color: var(--primary-color); /* Use the main green */
    margin-right: 8px; /* Space between icon and text */
    width: 16px; /* Fixed width for alignment */
    text-align: center; /* Center icon */
}
/* END: Updated styles for Day Trip features list */


/* START: New styles for Day Trip Price Tag and layout adjustment */

/* Adjust duration margin for better flow with the new price tag */
#day-trips .tour-card-content .duration {
    margin-bottom: 5px; /* Reduced space below duration to be closer to price */
    display: block; /* Ensure it takes its own line */
}

/* New style for Day Trip price tags */
.tour-card-content .price-tag {
    display: block; /* Make it take full width, separating it from duration */
    font-weight: 600;
    color: var(--accent-color); /* Use green for price */
    font-size: 1.1rem;
    margin-bottom: 15px; /* Space above the button */
}

/* Ensure the button is full width for day trips for prominence */
.tour-card-content .book-now-btn {
    width: 100%;
    margin-top: 10px; 
}
/* END: New styles for Day Trip Price Tag and layout adjustment */


/* --- Tour Detail Page Styles (applies to all detail pages) --- */

.tour-main-content {
    background: #fff;
    /* Reduced padding top as the hero section will push the content down */
    padding: 0 0 80px 0; 
}

/* START: NEW HERO REDESIGN STYLES */

.tour-hero-image {
    position: relative;
    width: 100%;
    /* Set a minimum height for the hero area */
    min-height: 500px; 
    overflow: hidden;
    margin-bottom: 40px; /* Space below the hero before the info grid */
    /* NEW: Rounded bottom corners */
    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;
}

/* Dark overlay for better text contrast */
.tour-hero-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.2);
    z-index: 2;
}

.tour-hero-header {
    position: relative;
    z-index: 3;
    color: white; /* All text should be white */
    text-align: center;
    padding: 150px 20px 50px; /* Top padding to push content down from the top edge */
    max-width: 900px;
    margin: 0 auto;
}

.tour-hero-header h1 {
    font-size: 3.5rem;
    color: white; /* Override default text color */
    margin-bottom: 5px;
}

.tour-hero-header h2 {
    font-size: 2.5rem; 
    color: whitesmoke; /* Keep accent color for duration for highlight */
    margin-top: 0; 
    margin-bottom: 20px; 
    font-weight: 700;
    text-align: center; 
}

.tour-hero-header p {
    font-size: 1.5rem;
    color: white; /* Ensure description is white */
    margin-top: 15px; 
}

/* END: NEW HERO REDESIGN STYLES */

/* --- Floating Arrow Overlay Styles (Option 2) --- */

.hero-nav-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5; /* Above the image and overlay */
    background: rgba(0, 0, 0, 0.4);
    color: white;
    font-size: 2rem;
    padding: 20px 15px;
    transition: background 0.3s;
    text-decoration: none;
    /* Use var(--accent-color) for hover */
}

.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;
}

/* --- End Floating Arrow Overlay Styles --- */


/* The tour-details-header and tour-gallery styles were removed/modified here */

.tour-info-grid {
    /* This needs a container to restrict the width of the grid content */
    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;
    /* Space between heading and next block of content (e.g., Overview and the introductory paragraph) */
    margin-bottom: 40px; 
}

/* NEW CHANGE: Increased margin-bottom on the introductory paragraph to push the next heading ('Inclusions') down */
.tour-description p {
    line-height: 1.7; /* Improves readability of body text */
    margin-bottom: 50px; 
    margin-top: 0;
}

.tour-description ul {
    list-style: none;
    padding: 0;
    margin-top: 30px; 
    /* Space after the list content and before the next element (which could be the Itinerary heading) */
    margin-bottom: 40px; 
}

.tour-description ul li {
    background: url('images/check.png') no-repeat left center; /* Placeholder icon */
    background-size: 20px;
    padding-left: 30px;
    margin-bottom: 10px;
    line-height: 1.8;
}

/* START: NEW CSS FOR ICON COLORING (for detail pages) */
/* Green check circle for Inclusions */
.tour-description h2:nth-of-type(2) + ul .fa-check-circle {
    color: var(--accent-color);
}

/* Red x circle for Exclusions */
.tour-description h2:nth-of-type(3) + ul .fa-times-circle {
    color: var(--error-color);
}
/* END: NEW CSS FOR ICON COLORING */


.tour-itinerary .day-item {
    /* Increased margin-bottom from 25px to 35px */
    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; /* Rounded corners for the sidebar */
    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;
}

/* NEW STYLING FOR SIDEBAR UL/LI (Key Facts) */
.tour-sidebar ul {
    list-style: none;
    padding: 0;
    margin-bottom: 25px;
    border-top: 1px solid #ddd; /* Separator for price section */
    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); /* Highlight the icon */
    margin-right: 10px;
    font-size: 1.1rem;
    width: 20px; /* Fixed width for icon alignment */
    text-align: center;
}
/* END NEW STYLING */


.tour-sidebar .btn {
    width: 100%; /* Changed from 52% to 100% to fill the sidebar width */
}


/* --- Contact Section --- */

#contact {
    background: #fff;
    text-align: center;
}

#contact form {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

#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;
    letter-spacing: normal;
}

#contact #contact-form-container .btn:hover {
    background: var(--primary-color);
    color: white;
    transform: none;
}

/* Footer Styles (FOR IMAGES) */
footer {
    background: var(--text-color);
    color: white;
    text-align: center;
    padding: 20px 0;
    font-size: 0.9rem;
}

.footer-contact-email {
    /* Ensure the link takes its own line for proper layout in the footer */
    display: block; 
    text-decoration: none;
    /* Assuming a dark footer, set text color to white for contrast */
    color: white; 
    font-size: 1.1rem;
    font-weight: 500;
    /* Add space below the email and above the social icons */
    margin-bottom: 20px; 
    transition: color 0.3s;
}

.footer-contact-email i {
    margin-right: 8px;
    /* Use the defined accent color for the icon, making it stand out */
    color: var(--accent-color); 
}

.footer-contact-email:hover {
    /* Highlight the text on hover using the accent color */
    color: var(--accent-color); 
}

/* ADDED: Styles for the Footer Business Address */
.footer-address {
    display: flex; /* Use flexbox to align icon and text */
    align-items: center;
    justify-content: center;
    color: white; /* Assuming footer background is dark, text should be light */
    font-size: 1rem;
    padding: 10px 0; /* Spacing matching other footer elements */
    font-weight: 500;
    margin-top: -10px; /* Slight adjustment to reduce gap with email if needed */
}

.footer-address i {
    margin-right: 10px;
    color: var(--primary-color); /* Uses the existing blue primary color for the icon */
    font-size: 1.2rem;
}

.third-party-badges {
    margin: 20px 0;
    text-align: center;
}

.gyg-badge-image {
    /* Added to make the GetYourGuide badge consistent with other elements */
    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 Styling --- */
.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;
}

/* --- Custom Car Rental/Service Grid Styles (Moved from car-rental.html) --- */
.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); /* Using your accent color */
    margin-bottom: 10px;
}


/* --- Media Query for MOBILE/TABLET (Max 767px) --- */
@media (max-width: 767px) {
    
    body {
        /* Reduce padding-top for a less bulky mobile nav */
        padding-top: 80px; 
    }
    
    :root {
        --nav-height: 80px; /* Adjust mobile nav height */
    }
    
    nav {
        height: var(--nav-height);
        align-items: flex-start; /* Align logo to top */
        padding: 10px 20px;
    }

    .logo img {
        height: 60px; /* Smaller logo on mobile */
    }
    
    /* FIX: Explicitly show the toggle button on mobile */
    .menu-toggle {
        display: block; 
        position: absolute; /* Position relative to nav */
        right: 20px;
        top: 50%;
        transform: translateY(-50%);
    }

    .nav-right {
        /* Hide all right elements by default */
        display: block; 
    }

    /* Mobile Navigation Slide-out Menu */
    .nav-links {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: var(--nav-height); /* Starts below the fixed nav */
        left: 0;
        width: 100%;
        height: calc(100% - var(--nav-height)); /* Full height remaining */
        background: #fff;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
        transform: translateX(100%); /* Slide out to the right */
        transition: transform 0.3s ease-in-out;
        z-index: 990;
        padding: 20px 0;
        overflow-y: auto; /* Allow scrolling for long menus */
        align-items: center;
    }
    
    .nav-links.open {
        transform: translateX(0); /* Slide in */
    }
    
    .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; /* Hide the bottom bar on mobile links */
    }
    
    .nav-whatsapp {
        display: none; /* Hide the WhatsApp button in the nav on mobile */
    }

    /* Adjust Hero content */
    #hero h1 {
        font-size: 3rem;
    }

    #hero p {
        font-size: 1.1rem;
    }

    /* Adjust About section layout */
    .about-text {
        padding-right: 0;
        margin-bottom: 30px;
    }

    .about-text h2 {
        text-align: center;
    }
    
    /* Adjust Tour Detail Page layout */
    .tour-info-grid {
        grid-template-columns: 1fr;
    }
    
    .tour-main-content {
        /* Remove old padding from the mobile query */
        padding-top: 0; 
    }
    
    /* Adjust Hero for mobile */
    .tour-hero-image {
        min-height: 400px; /* Slightly smaller on mobile */
        margin-bottom: 20px;
    }
    
    .tour-hero-header {
        padding: 100px 10px 30px; /* Reduced padding */
    }

    .tour-hero-header h1 {
        font-size: 2.5rem;
    }
    
    .tour-hero-header h2 {
        font-size: 1.8rem; 
    }

    .tour-hero-header p {
        font-size: 1.1rem;
    }

    /* Mobile adjustments for floating arrows */
    .hero-nav-arrow {
        font-size: 1.5rem;
        padding: 15px 10px;
    }

    /* Mobile adjustment for car rental grid (Moved from car-rental.html) */
    .car-rental-grid {
        grid-template-columns: 1fr;
    }
} /* FIXED: Added missing closing brace */

/* --- Media Query for DESKTOP (Min 768px) --- */
@media (min-width: 768px) {
    
    .menu-toggle {
        display: none; 
    }
    
    .nav-links {
        transform: translateX(0); /* Ensure links are visible on desktop */
        position: static;
        width: auto;
        height: auto;
        box-shadow: none;
        padding: 0;
    }
    
    /* Ensure the WhatsApp link is visible on desktop */
    .nav-whatsapp {
        display: flex;
    }
}

/* --- Services Section Link Card Styling --- */

/* Reset default anchor styles on the service card wrapper */
.service-link-card {
    text-decoration: none; /* Remove underline */
    color: inherit; /* Inherit text color from body/parent */
    display: block; /* Make the link fill the grid cell */
    /* Ensure the transform/shadow transition still works from the old .service-card rule */
    transition: transform 0.3s, box-shadow 0.3s;
}

/* Apply the hover effect to the link wrapper */
.service-link-card:hover .service-card {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

/* Remove the hover from the .service-card itself to move it to the wrapper */
.service-card:hover {
    transform: none; /* Reset original hover */
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08); /* Reset original hover */
}

/* Add this to the end of your styles.css file */

/* --- Pricing Section Styles --- */

.price-grid {
    display: grid;
    /* This creates a responsive grid: 3 columns on desktop, adapts down to 1 column on mobile */
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.price-card {
    background: var(--background-light); /* Lightest Sage background */
    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); /* Deep Green highlight */
    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; /* Pushes the button to the bottom of the card */
    width: 100%; /* Makes the button full width of the card */
}

/* --- Common Conditions Section Styles --- */
.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;
}

/* Mobile Responsive */
@media (max-width: 767px) {
    .conditions-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .common-conditions-section {
        padding: 60px 0;
    }
}

/* --- Smooth Scroll Offset for Fixed Nav --- */
section[id] {
  scroll-margin-top: var(--nav-height);
}

/* --- FIX: Make date/text placeholders visible on mobile --- */

/* 1. This styles the regular placeholders (e.g., "Your Name") */
#contact #contact-form-container ::placeholder {
  color: #757575; /* A standard, visible grey */
  opacity: 1;
}

/* 2. This is the main fix for the DATE input on mobile. */
/* It targets any empty (invalid) input and gives it a visible color. */
/* On mobile, this will style the browser's default date text (e.g., "mm/dd/yyyy") */
#contact #contact-form-container input:invalid {
  color: #757575;
}

/* 3. This ensures that once a user *does* select a date, */
/* the text turns back to your main dark text color. */
#contact #contact-form-container input:valid {
  color: var(--text-color);
}