:root {
    --black: #111111;
    --white: #ffffff;
    --slate: #444444;
    --gold: #D4AF37; /* Prestige Accent */
    --light-grey: #f4f4f4;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--slate);
    background-color: var(--white);
    overflow-x: hidden; /* Prevent horizontal scroll on mobile */
}

.container {
    max-width: 1200px;
    margin: auto;
    padding: 0 1.5rem;
}

.small-container { max-width: 750px; }

a { text-decoration: none; color: inherit; transition: var(--transition); }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; } /* Responsive Images */

/* --- Navigation (Responsive) --- */
nav {
    background: var(--white);
    padding: 1rem 0;
    border-bottom: 1px solid #eee;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-weight: 700;
    font-size: 1.5rem;
    letter-spacing: 1px;
    color: var(--black);
}

.logo span { color: var(--gold); }

.nav-links {
    display: flex;
    align-items: center;
}

.nav-links li a {
    margin-left: 2rem;
    font-size: 0.9rem;
    font-weight: 400;
    color: var(--slate);
}

.nav-links li a:hover, .nav-links li a.active { color: var(--gold); }

/* Mobile Menu Toggle (Hidden on Desktop) */
.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.menu-toggle span {
    width: 25px;
    height: 2px;
    background: var(--black);
    transition: var(--transition);
}

/* --- Global Elements & Typography --- */
.accent { color: var(--gold); }

h1, h2, h3 { color: var(--black); font-weight: 700; margin-bottom: 1rem; }

.page-header {
    padding: 4rem 0 2rem 0;
    text-align: center;
    background-color: var(--light-grey);
    margin-bottom: 3rem;
}

.page-header h1 { font-size: 2.5rem; }
.lead { font-size: 1.1rem; font-weight: 300; max-width: 600px; margin: auto; }

.section-title { text-align: center; margin-bottom: 4rem; }
.section-title h2 { font-size: 2rem; }

/* Buttons */
.btn-primary, .btn-submit, .book-now-btn {
    background: var(--black);
    color: var(--white);
    padding: 0.8rem 1.8rem;
    font-size: 0.9rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    display: inline-block;
}

.btn-secondary {
    border: 1px solid var(--black);
    padding: 0.8rem 1.8rem;
    color: var(--black);
    margin-left: 1rem;
    font-weight: 600;
}

.btn-primary:hover, .btn-submit:hover, .book-now-btn:hover { background: var(--gold); color: var(--white); }
.btn-secondary:hover { background: var(--black); color: var(--white); }

/* --- Forms & Quote Section --- */
.minimal-form input, .minimal-form select, .minimal-form textarea {
    width: 100%;
    padding: 1rem;
    margin-bottom: 1rem;
    border: 1px solid #ddd;
    font-family: inherit;
    background: var(--white);
}

.form-group-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

.btn-submit { width: 100%; text-align: center; font-size: 1rem; }

/* --- Responsive Grids --- */
.grid-2, .grid-3, .grid-4 {
    display: grid;
    gap: 2rem;
    margin-top: 2rem;
}

.card {
    background: var(--white);
    padding: 1.5rem;
    border-bottom: 3px solid transparent;
    transition: var(--transition);
}

.card:hover { border-bottom: 3px solid var(--gold); transform: translateY(-5px); box-shadow: 0 10px 20px rgba(0,0,0,0.05); }

/* Image Containers within Cards */
.card-img-container {
    width: 100%;
    height: 200px;
    overflow: hidden;
    margin-bottom: 1.5rem;
}

.card-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Important: prevents stretching */
    transition: var(--transition);
}

.card:hover .card-img-container img { transform: scale(1.05); }

/* --- Specific Page Sections --- */

/* Home Hero - Image Background */
.hero {
    padding: 12rem 0;
    /* REPLACE WITH YOUR ACTUAL HERO IMAGE (SCENIC KENYA / LUXURY FLEET) */
    background: linear-gradient(to right, rgba(255,255,255,0.95) 30%, rgba(255,255,255,0.1)), 
                url('https://images.unsplash.com/photo-1516026672322-bc52d61a55d5?q=80&w=1600&auto=format&fit=crop') no-repeat center center;
    background-size: cover;
}

.hero h1 { font-size: 3.5rem; line-height: 1.1; max-width: 600px; }
.hero p { font-size: 1.1rem; max-width: 450px; margin-bottom: 2rem; }

/* Trust Bar */
.trust-bar { padding: 3rem 0; background: var(--black); color: var(--white); text-align: center; }
.stat h3 { color: var(--gold); font-size: 2rem; margin-bottom: 0.2rem; }
.stat p { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 1px; opacity: 0.8; }

/* Quote Section */
.quote-section { padding: 6rem 0; background: var(--light-grey); }

/* About - BAMM Section & Locations */
.mission-flex { display: flex; align-items: center; gap: 3rem; margin-bottom: 4rem; }
.mission-text { flex: 1; }
.mission-img { flex: 1; height: 350px; overflow: hidden; }
.mission-img img { width: 100%; height: 100%; object-fit: cover; }

.awards-box { background: var(--black); color: var(--white); padding: 2rem; margin-top: 1.5rem; border-left: 3px solid var(--gold); }
.awards-box p { margin-bottom: 0.5rem; }

.loc-card h3 { color: var(--gold); margin-bottom: 0.5rem; }

/* Services - Display */
.service-item h3 { margin-bottom: 0.5rem; }

.specialized-table { margin-top: 5rem; padding: 3rem; background: var(--light-grey); }
.specialized-table h2 { text-align: center; margin-bottom: 2rem; }

table { width: 100%; border-collapse: collapse; background: var(--white); }
td { padding: 1.2rem; border-bottom: 1px solid #eee; }
td:first-child { font-weight: 700; color: var(--black); width: 30%; }

/* Contact - Grid */
.contact-wrapper { display: flex; gap: 4rem; padding: 5rem 0; }
.contact-info { flex: 1; }
.quote-card-wrapper { flex: 1; background: var(--white); padding: 3rem; box-shadow: 0 15px 40px rgba(0,0,0,0.05); }

/* --- Privacy Page --- */
.policy-content p { margin-bottom: 1.5rem; }
.policy-content ul { margin-left: 1.5rem; margin-bottom: 1.5rem; list-style: disc; }

/* --- Footer --- */
footer { padding: 3rem 0; text-align: center; background: var(--black); color: var(--white); font-size: 0.8rem; }
footer a { color: var(--gold); }
footer a:hover { text-decoration: underline; }


/* =========================================================
   MEDIA QUERIES (Responsiveness - Tablet & Mobile)
   ========================================================= */

/* Tablets (Max 1024px) */
@media (max-width: 1024px) {
    .container { padding: 0 2rem; }
    .hero h1 { font-size: 3rem; }
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .contact-wrapper, .mission-flex { gap: 2rem; }
}

/* Tablets/Large Phones (Max 768px) */
@media (max-width: 768px) {
    .page-header h1 { font-size: 2rem; }
    
    /* Navigation - Show Toggle, Hide Links */
    .menu-toggle { display: flex; z-index: 1001; }
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%; /* Hidden off-screen */
        height: 100vh;
        width: 70%;
        background: var(--white);
        flex-direction: column;
        align-items: flex-start;
        padding: 6rem 2rem;
        box-shadow: -5px 0 15px rgba(0,0,0,0.1);
        transition: var(--transition);
        z-index: 1000;
    }
    
    .nav-links.active { right: 0; } /* Show when toggled */
    
    .nav-links li { width: 100%; margin-bottom: 1.5rem; }
    .nav-links li a { margin-left: 0; font-size: 1.1rem; width: 100%; display: block; }

    /* Cross-line Hamburger animation */
    .menu-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
    .menu-toggle.active span:nth-child(2) { opacity: 0; }
    .menu-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

    /* Layout Shifts */
    .grid-3, .grid-2 { grid-template-columns: 1fr; }
    .hero { text-align: center; padding: 10rem 0; background-position: center; }
    .hero h1 { margin: auto; margin-bottom: 1.5rem; }
    .hero p { margin: auto; margin-bottom: 2rem; }
    .hero-btns { display: flex; flex-direction: column; gap: 1rem; align-items: center; }
    .btn-secondary { margin-left: 0; width: 100%; max-width: 250px;}
    .btn-primary { width: 100%; max-width: 250px;}

    .mission-flex, .contact-wrapper { flex-direction: column-reverse; text-align: center; }
    .mission-img { height: 250px; width: 100%; }
    
    table, thead, tbody, th, td, tr { display: block; }
    td:first-child { width: 100%; border-bottom: none; padding-bottom: 0; }
    
    .form-group-2 { grid-template-columns: 1fr; gap: 0; }
}

/* Small Phones (Max 480px) */
@media (max-width: 480px) {
    .container { padding: 0 1rem; }
    .hero h1 { font-size: 2.2rem; }
    .nav-links { width: 100%; }
    .quote-card-wrapper { padding: 1.5rem; }
}
DARK MODE
/* ===== DARK NAVIGATION BAR (matches index.html) ===== */
nav {
    background: #0a0c10;       /* deep black */
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid rgba(196, 154, 43, 0.2); /* gold tint */
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.nav-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.logo {
    font-size: 1.8rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: white;
}

.logo span {
    color: #c49a2b;            /* gold accent */
    font-size: 2rem;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    color: #e6e9f0;            /* off-white */
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.nav-links a:hover {
    color: #c49a2b;            /* gold on hover */
}

/* ===== MOBILE MENU TOGGLE (Hamburger) ===== */
.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: white;
    margin: 3px 0;
    border-radius: 2px;
}

/* Responsive behaviour */
@media (max-width: 760px) {
    .menu-toggle {
        display: flex;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        width: 100%;
        background: #0a0c10;
        padding: 1.5rem 0;
        gap: 1.2rem;
        text-align: center;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-flex {
        flex-direction: row;
        flex-wrap: wrap;
    }
}