:root {
    --primary-blue: #002366;
    --secondary-yellow: #FFD700;
    --dark-gold: #D4AF37; /* Darker gold for text readability on white */
    --white: #ffffff;
    --light-grey: #f4f4f4;
    --text-dark: #333333;
    --border-radius: 8px;
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 15px rgba(0,0,0,0.1);
    --transition: all 0.3s ease;
}

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

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--white);
}

/* Header */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    background: var(--primary-blue);
    box-shadow: var(--shadow-sm);
    flex-wrap: wrap; /* Allow wrapping on small screens */
    border-bottom: 2px solid var(--secondary-yellow); /* Added yellow border */
}

.logo img {
    height: 50px;
    width: auto;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

nav a {
    text-decoration: none;
    color: var(--white);
    font-weight: 500;
    transition: var(--transition);
}

nav a:hover {
    color: var(--secondary-yellow);
}

.btn-cta {
    background-color: var(--secondary-yellow);
    color: var(--primary-blue);
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: bold;
    transition: var(--transition);
    white-space: nowrap; /* Prevent button text breaking */
}

.btn-cta:hover {
    background-color: #e5c100;
    transform: translateY(-2px);
}

/* Hero Section */
.hero {
    height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 2rem;
    /* Background Image with Lower Opacity Blue Overlay */
    background: linear-gradient(rgba(0, 35, 102, 0.4), rgba(0, 35, 102, 0.2)), url('../img/car-london-lg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    margin-top: 100px; /* Offset for fixed header + white gap */
}

.hero-content {
    max-width: 800px;
}

.hero h1 {
    font-size: 3.5rem;
    color: var(--white);
    margin-bottom: 1rem;
    line-height: 1.2;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.hero p {
    font-size: 1.25rem;
    color: #f4f4f4;
    margin-bottom: 2rem;
    text-shadow: 0 1px 2px rgba(0,0,0,0.5);
}

/* Service Grid */
.services {
    padding: 4rem 2rem;
    background-color: var(--white);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    color: var(--primary-blue);
    margin-bottom: 3rem;
    font-size: 2.5rem;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.card {
    background: var(--white);
    border: 2px solid var(--light-grey);
    border-radius: var(--border-radius);
    padding: 2rem;
    transition: var(--transition);
    text-align: center;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-blue);
}

.card-icon {
    font-size: 2rem;
    color: var(--secondary-yellow);
    margin-bottom: 1rem;
    display: block;
}

.card h3 {
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

/* About Section */
.about {
    padding: 6rem 2rem;
    background-color: var(--light-grey);
}

.about-content {
    display: flex;
    justify-content: center;
    text-align: center;
}

.about-text {
    max-width: 800px;
}

.about-text h2 {
    color: var(--primary-blue);
    margin-bottom: 2rem;
    font-size: 2.5rem;
}

.about-text p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

/* Why Choose Us */
.why-choose {
    padding: 6rem 2rem;
    background-color: var(--white);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature {
    text-align: center;
}

.feature h4 {
    color: var(--primary-blue);
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.feature p {
    font-size: 0.95rem;
    color: #666;
}

/* Footer */
footer {
    background-color: var(--primary-blue);
    color: var(--white);
    padding: 4rem 2rem 2rem 2rem;
    text-align: left;
    border-top: 2px solid var(--secondary-yellow); /* Added yellow border */
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr; /* Force 3 columns */
    gap: 2rem;
    margin-bottom: 0;
}

/* Footer Links List */
.footer-links, .social-list {
    list-style: none;
    padding: 0;
    margin: 0; /* Remove default margin */
}

.footer-links li, .social-list li {
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Social List Specifics */
.social-list li a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
}

.footer-col {
    text-align: left; /* Ensure left alignment */
}

.footer-col p {
    margin-bottom: 0.25rem;
    font-size: 0.95rem;
    opacity: 0.9;
    line-height: 1.4;
}


.footer-col a {
    color: var(--white);
    text-decoration: none;
    transition: var(--transition);
}

.footer-col a:hover {
    color: var(--secondary-yellow);
}

/* Footer Icons Color */
footer .fa {
    color: var(--secondary-yellow);
}

/* VCR Dropdown Styles */
.vcr-dropdown {
    margin-top: 1rem;
    position: relative;
    display: inline-block;
}

.vcr-btn {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--white);
    padding: 0.5rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: var(--transition);
}

.vcr-btn:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

#vcr-content {
    display: none;
    position: absolute;
    background-color: var(--white);
    min-width: 160px;
    box-shadow: var(--shadow-lg);
    border-radius: 4px;
    margin-top: 5px;
    z-index: 9999; /* Ensure it stays on top when shown */
}

#vcr-content a {
    color: var(--primary-blue) !important;
    padding: 0.75rem 1rem;
    text-decoration: none;
    display: block;
    font-weight: bold;
}

#vcr-content a:hover {
    background-color: var(--light-grey);
}

.show {
    display: block !important; /* Force display when toggled */
}

/* Mobile Responsive */
@media (max-width: 768px) {
    header {
        flex-direction: column;
        padding: 1rem;
        gap: 1rem;
    }

    nav ul {
        gap: 1rem;
        flex-wrap: wrap; /* Wrap links if needed */
        justify-content: center;
    }
    
    .logo img {
        height: 40px; /* Slightly smaller logo */
    }

    /* Increase margin to push hero down below taller header and create white gap */
    .hero {
        margin-top: 200px; 
        height: auto; 
        padding: 4rem 1rem; 
        min-height: 60vh;
    }

    .hero h1 {
        font-size: 2.5rem; /* Smaller heading */
    }

    .hero p {
        font-size: 1rem;
    }
    
    .btn-cta {
        width: 100%; /* Full width button on mobile */
        text-align: center;
    }

    /* Stack footer columns on mobile */
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center; /* Center align on mobile for better look, or keep left if preferred */
    }
    
    .footer-col {
        text-align: center; /* Override the desktop left align */
    }
    
    .footer-links li, .social-list li {
        justify-content: center; /* Center list items */
    }
}