/* Import Fonts (Lato & Cormorant Garamond based on mockup appearance) */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@600;700&family=Lato:wght@300;400;700&display=swap');

/* * -------------------------------------------
 * :root (CSS Variables) - Black, Grey, Gold Palette
 * -------------------------------------------
 */
:root {
    /* Palette: Black, Grey, Gold, White */
      --primary-color: #1a1a1a; /* Dark Grey/Black */
    --secondary-color: #c5a578; /* Your original accent color */
    --background-color: #ffffff;/* White */
    --bg-light: #f7f7f7;        /* Light Grey Background (from old CSS) */
    --text-dark: #333333;       /* Dark Grey Text */
    --text-light: #ffffff;     /* Soft White */
    --border-light: #e0e0e0;    /* Light Grey Border */
    --text-muted: #6c757d;      /* Muted Grey (from old CSS) */
--border-color: #e5e5e5;
    /* Typography */
     --header-font: 'Playfair Display', serif;
    --font-heading: 'Cormorant Garamond', serif; /* Serif for main content H2 */
    --font-body: 'Lato', sans-serif;       /* Sans-serif for body, nav, hero */

    --header-height: 75px;
    --border-radius: 3px;
    --shadow-light: 0 5px 15px rgba(0, 0, 0, 0.07);
    --shadow-medium: 0 8px 25px rgba(0, 0, 0, 0.1);
}

/* * -------------------------------------------
 * Global Reset & Base Styles
 * -------------------------------------------
 */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
body {
    font-family: var(--font-body);
    font-weight: 400;
    line-height: 1.7;
    color: var(--text-dark);
    background-color: var(--background-color);
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: var(--secondary-color); transition: color 0.3s ease; }
a:hover { color: var(--primary-color); }

h1, h2, h3, h4, h5, h6 {
    color: var(--primary-color);
    line-height: 1.3;
    margin-bottom: 1rem;
}
/* Specific Heading Fonts */
h1, h3, h4, h5, h6, .subheading, .nav-link, .hero-title, .hero-subtitle, .cta-button, .btn-secondary, .tour-card-title, .dest-card-content h3, .vehicle-content h3 {
     font-family: var(--font-body); /* Sans-serif for most */
}
/* Serif only for main content H2 in sections like Okavango/Chobe/Promise */
.content-text h2, .section-title, .footer-section h4 {
    font-family: var(--font-heading);
    font-weight: 700;
}

h1 { font-size: 2.5rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px;}
h2 { font-size: 2.5rem; }
h3 { font-size: 1.6rem; font-weight: 700;}
.tour-card-title, .dest-card-content h3, .vehicle-content h3 { font-size: 1.5rem; font-weight: 700; } /* Card Titles */

.container { width: 92%; max-width: 1280px; margin: 0 auto; }
.section-title { /* For general section titles if needed */
    text-align: center; font-size: 2.5rem; margin-bottom: 2.5rem;
}
.subheading { /* Style for Gold Subheadings in content sections */
    display: block; font-weight: 700; font-size: 0.9rem; color: var(--secondary-color);
    text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 0.8rem;
}

/* * -------------------------------------------
 * Header & Mobile Navigation - Logo Left
 * -------------------------------------------
 */
.site-header {
    height: var(--header-height);
    background-color: #FFF;
    border-bottom: 1px solid var(--border-light);
    position: sticky; top: 0; z-index: 1000;
}
.main-nav {
    height: 100%;
    display: flex;
    justify-content: space-between; /* Logo left, toggle right */
    align-items: center;
    position: relative; /* Keep for mobile menu positioning */
}
.logo-link {
    position: static; /* Remove absolute positioning */
    transform: none;
    z-index: auto;
}
.logo-image {
    max-height: 50px; /* Adjust size as needed */
    width: auto;
    display: block;
}
.nav-toggle { /* Hamburger */
    display: block;
    background: transparent; border: none; cursor: pointer;
    padding: 0.5rem; z-index: 1012; /* Ensure on top */
    position: relative; /* Keep in flow */
}
.hamburger-line {
    display: block; width: 25px; height: 2px;
    background-color: var(--primary-color); margin: 6px 0;
    transition: all 0.3s ease-in-out;
}

/* Mobile Menu Overlay */
.nav-menu { /* Applies to the overlay ul */
    display: none; flex-direction: column; position: fixed;
    top: 0; left: 0; width: 100%; height: 100vh;
    background-color: rgba(255, 255, 255, 0.98); backdrop-filter: blur(5px);
    z-index: 1005; padding-top: var(--header-height);
    justify-content: center; align-items: center; overflow-y: auto;
}
.nav-menu.is-active { display: flex; }

/* Remove styles specific to nav-left/nav-right as they no longer exist */
/* Styles for items within the overlay */
.nav-item {
    list-style: none; width: 80%; text-align: center; margin-bottom: 1rem;
}
.nav-link { /* Uppercase, bold sans-serif */
    display: block; padding: 0.8rem; font-family: var(--font-body);
    font-size: 1.1rem; font-weight: 700; color: var(--primary-color);
    text-transform: uppercase; letter-spacing: 1.5px; transition: color 0.2s ease;
    position: relative; /* Needed for dropdown positioning */
}
.nav-link:hover { color: var(--secondary-color); }

/* Dropdown styles for mobile overlay */
.dropdown-toggle .arrow-down { border-top-color: var(--primary-color); margin-left: 10px; transition: transform 0.3s ease; }
.nav-item.dropdown-active .arrow-down { transform: rotate(180deg); }
.dropdown-menu { display: none; list-style: none; width: 100%; background-color: transparent; padding-top: 0.5rem; }
.dropdown-link {
    display: block; padding: 0.6rem 1rem; color: #555; font-size: 0.9rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: 1px; transition: color 0.2s ease;
}
.dropdown-link:hover { color: var(--secondary-color); }

/* * -------------------------------------------
 * Hero Section - Mockup Style
 * -------------------------------------------
 */
.hero-section {
    height: 90vh; min-height: 500px; position: relative; display: flex; align-items: center; justify-content: center;
    text-align: center; color: var(--text-light); padding: 1rem;
}
.hero-background {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background-image: url('../images/home-cover.jpeg'); /* Ensure path is correct */
    background-size: cover; background-position: center center; filter: brightness(0.55); z-index: 1;
}
.hero-section::after { /* Optional overlay */
    content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,0.3), transparent 60%); z-index: 2;
}
.hero-content { position: relative; z-index: 3; max-width: 700px; }
.hero-title { /* Uppercase, bold sans-serif */
    font-size: 2.5rem; color: var(--text-light); margin-bottom: 1rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: 2px; text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}
.hero-subtitle { /* Uppercase, light sans-serif */
    font-size: 1.1rem; font-weight: 300; text-transform: uppercase; letter-spacing: 1.5px;
    line-height: 1.6; margin-bottom: 2.5rem; text-shadow: 0 1px 5px rgba(0,0,0,0.4);
}

/* * -------------------------------------------
 * Buttons - Mockup Style
 * -------------------------------------------
 */
.cta-button, .btn-secondary {
    display: inline-block; padding: 0.8rem 2rem; border-radius: var(--border-radius);
    font-family: var(--font-body); font-weight: 700; font-size: 0.9rem; letter-spacing: 1px;
    text-transform: uppercase; transition: all 0.3s ease; border: 2px solid transparent; cursor: pointer;
}
/* Standard Gold Button */
.cta-button {
    background-color: var(--secondary-color); color: #FFF; border-color: var(--secondary-color);
}
.cta-button:hover {
    background-color: transparent; border-color: var(--secondary-color); color: var(--secondary-color);
}
/* Standard Secondary (Dark Outline) */
.btn-secondary {
    background-color: transparent; color: var(--primary-color); border: 2px solid var(--primary-color);
}
.btn-secondary:hover {
    background-color: var(--primary-color); color: var(--text-light);
}
/* Hero Ghost Button */
.hero-section .cta-button {
    background-color: transparent; color: var(--text-light); border-color: var(--text-light);
}
.hero-section .cta-button:hover {
    background-color: var(--text-light); color: var(--primary-color); border-color: var(--text-light);
}

/* * -------------------------------------------
 * Content Sections (Okavango, Chobe, Promise) - Mobile
 * -------------------------------------------
 */
#featured-okavango, #our-promise { background-color: var(--background-color); } /* White bg */
.content-section-bg { background-color: var(--bg-light); } /* Light grey bg */

.content-section {
    display: grid; grid-template-columns: 1fr; /* Stack on mobile */ gap: 2rem; align-items: center;
    padding: 3rem 0; max-width: 1100px; margin: 0 auto; width: 92%;
}
.content-section-bg .content-section { padding: 3rem 0; }
.content-image img {
    width: 100%; height: auto; border-radius: var(--border-radius); box-shadow: var(--shadow-medium);
}
.content-text { text-align: center; }
.content-text h2 { /* Serif Heading */
    font-size: 2.3rem; margin-bottom: 1rem;
}
.content-text p { font-size: 1rem; color: #555; line-height: 1.8; margin-bottom: 2rem; }
.content-text .cta-button { /* Standard Gold Button */
     background-color: var(--secondary-color); color: #FFF; border-color: var(--secondary-color);
}
 .content-text .cta-button:hover {
     background-color: transparent; border-color: var(--secondary-color); color: var(--secondary-color);
 }

/* * -------------------------------------------
 * Other Sections (Featured Safaris, Testimonials etc.)
 * -------------------------------------------
 */
.featured-tours, .tours-page, .static-content, .about-content, .fleet-grid, .testimonials-section, .blog-list-container, .destinations-grid {
    padding: 3rem 0; /* Consistent padding */
}
.tours-grid, .destinations-grid, .fleet-grid, .testimonials-grid {
    display: grid; grid-template-columns: 1fr; gap: 2rem;
}
/* Card styles */
.tour-card, .dest-card, .vehicle-card, .testimonial-card, .blog-post-excerpt {
    background-color: #FFF; border-radius: var(--border-radius); box-shadow: var(--shadow-light);
    overflow: hidden; transition: transform 0.3s ease, box-shadow 0.3s ease; border: 1px solid var(--border-light); margin-bottom: 0; /* Remove potential extra margin */
}
.tour-card:hover, .dest-card:hover, .vehicle-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-medium); }
.tour-card-image img, .dest-card-image img, .vehicle-image img, .blog-post-excerpt img.featured-image {
    width: 100%; height: 280px; object-fit: cover; display: block;
}
.tour-card-content, .dest-card-content, .vehicle-content, .testimonial-card, .blog-post-content { padding: 1.8rem; }
.tour-card-excerpt, .dest-card-content p, .vehicle-description, .blog-post-excerpt-text {
    font-size: 0.95rem; color: #555; margin-bottom: 1.2rem; line-height: 1.6;
}
/* Testimonial specific */
.testimonial-card .rating { font-size: 1.1rem; color: var(--secondary-color); margin-bottom: 0.8rem; }
.testimonial-card p:first-of-type { font-style: italic; margin-bottom: 1.2rem; font-size: 1.05rem; color: #444; }
.testimonial-card p:last-of-type { font-size: 0.9rem; color: #777; margin-top: -0.8rem; }
/* Blog specific */
.blog-post-content h2 { font-size: 1.8rem; margin-bottom: 0.5rem; font-family: var(--font-body); /* Sans-serif for blog titles */}
.blog-post-content h2 a { color: var(--primary-color); }
.blog-post-meta { font-size: 0.9rem; color: var(--text-muted); margin-bottom: 1rem; }
.blog-post-meta span { margin-right: 1rem; }
.blog-post-meta a { color: var(--text-muted); text-decoration: underline; }

/* * -------------------------------------------
 * Footer - Light Grey Background
 * -------------------------------------------
 */
.site-footer {
    background-color: var(--bg-light); color: #555; padding: 4rem 0 2rem; margin-top: 3rem; border-top: 1px solid var(--border-light);
}
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; margin-bottom: 3rem; }
.footer-section h4 { /* Serif Heading */
    color: var(--primary-color); font-size: 1.3rem; font-weight: 700; margin-bottom: 1.2rem;
}
.footer-section p, .footer-section li { font-size: 0.95rem; color: #555; font-weight: 300; }
.footer-section ul { list-style: none; }
.footer-section li { margin-bottom: 0.6rem; }
.footer-section a { color: #555; }
.footer-section a:hover { color: var(--secondary-color); }
.footer-bottom { text-align: center; border-top: 1px solid var(--border-light); padding-top: 2rem; font-size: 0.9rem; color: #777; font-weight: 300; }

/* * -------------------------------------------
 * Forms & Alerts
 * -------------------------------------------
 */
.form-group { margin-bottom: 1.5rem; }
.form-group label { display: block; margin-bottom: 0.6rem; font-weight: 700; font-size: 0.9rem; color: #444; }
.form-control, .form-control-textarea {
    width: 100%; padding: 0.9rem 1rem; font-size: 1rem; font-family: var(--font-body);
    border: 1px solid var(--border-light); border-radius: var(--border-radius); box-sizing: border-box; background-color: #fff;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.form-control:focus, .form-control-textarea:focus { border-color: var(--secondary-color); outline: none; box-shadow: 0 0 0 2px rgba(184, 134, 11, 0.2); }
.form-control-textarea { min-height: 120px; resize: vertical; }
.form-error { color: #c94a4a; font-size: 0.85rem; margin-top: 0.4rem; }
.rating-stars { margin-bottom: 1.5rem; display: flex; flex-direction: row-reverse; justify-content: center; } /* Added display flex */
.rating-stars input[type="radio"] { display: none; }
.rating-stars label { font-size: 2.2rem; padding: 0 0.3rem; color: #ccc; cursor: pointer; transition: color 0.2s ease;}
.rating-stars input[type="radio"]:checked ~ label, .rating-stars label:hover, .rating-stars label:hover ~ label { color: var(--secondary-color); }
.alert-success, .alert-danger { padding: 1rem 1.5rem; margin-bottom: 1.5rem; border-radius: var(--border-radius); border: 1px solid transparent; }
.alert-success { background-color: #e8f5e9; color: #2e7d32; border-color: #a5d6a7; }
.alert-danger { background-color: #ffcdd2; color: #c62828; border-color: #ef9a9a; }

/* * -------------------------------------------
 * Static Page Headers (About, Contact, Services etc.)
 * -------------------------------------------
 */
.static-page-header, .page-header-simple, .dest-detail-header, .single-post-header, .contact-header {
    height: 45vh; /* Consistent medium height */
    min-height: 300px;
    background-size: cover;
    background-position: center center;
    display: flex;
    align-items: center; /* Center vertically */
    justify-content: center; /* Center horizontally */
    color: #FFF;
    text-align: center;
    position: relative; /* For overlay */
    margin-bottom: 3rem; /* Space below header */
}
.static-page-header::after, .page-header-simple::after, .dest-detail-header::after, .single-post-header::after, .contact-header::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0,0,0, 0.4); /* Simple dark overlay */
    z-index: 1;
}
.static-page-header h1, .page-header-simple h1, .dest-detail-title, .single-post-title h1, .contact-header h1 {
    font-family: var(--font-body); /* Sans-serif for page titles */
    font-size: 2.5rem;
    color: #FFF;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    position: relative; /* Above overlay */
    z-index: 2;
    text-shadow: 0 1px 4px rgba(0,0,0,0.5);
}
/* Specific Header styles */
.dest-detail-header, .single-post-header { align-items: flex-end; /* Align title to bottom */ padding-bottom: 3rem;}
.dest-detail-header::after, .single-post-header::after { background: linear-gradient(to top, rgba(0,0,0,0.7), transparent); } /* Gradient overlay */
.dest-detail-tagline, .single-post-meta { position: relative; z-index: 2; font-size: 1.1rem; }
.single-post-meta a { color: #FFF; text-decoration: underline; }

/* * -------------------------------------------
 * Utility Classes
 * -------------------------------------------
 */
.text-center { text-align: center; }
/* * -------------------------------------------
     * Content Sections (Image/Text Split) - Mobile
     * -------------------------------------------
     */
    /* Style for the light grey background section */
    .content-section-bg {
        background-color: var(--bg-light); /* Light Grey */
        padding: 3rem 0; /* Apply padding to the section */
    }

    .content-section {
        display: grid;
        grid-template-columns: 1fr; /* Stack on mobile */
        gap: 2rem;
        align-items: center; /* Vertically align content */
        max-width: 1100px;
        margin: 0 auto;
        width: 92%; /* Match container width */
        padding: 3rem 0; /* Padding for non-bg sections */
    }

    /* On mobile, ensure reverse has no effect yet */
    .content-section.reverse {
         /* No style changes needed here for mobile */
    }

    .content-image img {
        width: 100%;
        height: auto;
        border-radius: var(--border-radius);
        box-shadow: var(--shadow-medium);
    }

    .content-text {
        text-align: center; /* Center text on mobile */
    }
    .content-text .subheading {
        display: block;
        font-family: var(--font-body); /* Sans-serif */
        font-weight: 700;
        font-size: 0.9rem;
        color: var(--secondary-color); /* Gold color */
        text-transform: uppercase;
        letter-spacing: 1.5px;
        margin-bottom: 0.8rem;
    }
    .content-text h2 { /* Serif Heading */
        font-family: var(--font-heading);
        font-size: 2.3rem;
        margin-bottom: 1rem;
        font-weight: 700;
    }
    .content-text p {
        font-family: var(--font-body); /* Sans-serif */
        font-size: 1rem;
        color: #555;
        line-height: 1.8;
        margin-bottom: 2rem;
    }
    .content-text .cta-button { /* Use standard gold button */
         background-color: var(--secondary-color);
         color: #FFF;
         border-color: var(--secondary-color);
    }
     .content-text .cta-button:hover {
         background-color: transparent;
         border-color: var(--secondary-color);
         color: var(--secondary-color);
     }