/* Professional Color Scheme: Deep Navy, Metallic Gold/Tan, Crisp White/Off-White */
:root {
    --primary-color: #0A1931; /* Deep Navy Blue (Corporate/Luxury) */
    --secondary-color: #C39F6A; /* Metallic Gold/Tan (Accent) */
    --text-color: #333;
    --light-bg: #F8F8F8; /* Off-White for sections */
    --white: #FFFFFF;
    --font-family: 'Poppins', sans-serif;
}

/* Base Styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
body {
    font-family: var(--font-family);
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--white);
}
.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
    padding: 20px 0;
}
h1, h2, h3, h4 {
    color: var(--primary-color);
    margin-bottom: 15px;
    line-height: 1.2;
}
h2 { font-size: 2.5em; }
h3 { font-size: 2em; text-align: center; margin-bottom: 40px; }
.section-subtitle { text-align: center; color: #666; margin-bottom: 50px; }

/* Header & Navigation */
.logo {
    font-size: 1.8em;
    font-weight: 700;
    color: var(--secondary-color);
}

/* Fixed Navigation Bar */
.fixed-header {
    background-color: var(--primary-color);
    width: 100%;
    
    position: fixed; 
    top: 0;
    left: 0;
    z-index: 1000;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4); 
}
.fixed-header .container {
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    width: 90%;
    max-width: 1200px; 
    margin: auto;
    padding: 15px 0;
    flex-wrap: wrap; 
}
nav ul {
    list-style: none;
    display: flex;
}
nav ul li {
    margin-left: 25px;
}
nav ul a {
    color: var(--white) !important; 
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}
nav ul a:hover {
    color: var(--secondary-color);
}
.future-link a {
    color: #FFD700; 
    font-weight: 700;
}

/* Hero Section (DESKTOP) */
.hero {
    /* Desktop uses 30% background position */
    background: url('hero.png') no-repeat center 30% / cover; 
    height: 70vh;
    display: flex;
    flex-direction: column;
    justify-content: center; 
    align-items: center;
    text-align: center;
    color: var(--white); 
    position: relative;
    padding: 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    /* Standard padding to clear fixed header on desktop */
    padding-top: 120px; 
}

/* Overlay for text readability */
.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 25, 49, 0.5); 
    z-index: 1;
}

.hero .hero-content {
    position: relative;
    z-index: 2;
    padding: 20px;
    margin-top: 0; 
}
.hero h2 {
    color: var(--white); 
    font-size: 3.5em;
    margin-bottom: 10px;
}
.hero p {
    color: var(--white); 
    font-size: 1.4em;
    margin-bottom: 30px;
    font-weight: 300;
}

/* Call to Action Button */
.cta-button {
    display: inline-block;
    background: var(--secondary-color); 
    color: #000000; 
    padding: 12px 30px;
    text-decoration: none;
    font-weight: 700;
    border-radius: 5px;
    transition: background-color 0.3s, transform 0.2s;
    border: none;
    cursor: pointer;
}
.cta-button:hover {
    background: #FFD700;
    transform: translateY(-2px); 
}
.secondary-cta {
    background: var(--primary-color);
    color: var(--white);
    border: 2px solid var(--primary-color);
    margin-top: 20px;
}
.secondary-cta:hover {
    background: var(--secondary-color);
    color: var(--primary-color);
    border-color: var(--secondary-color);
}

/* Section Styling */
section {
    padding: 60px 0;
}
.about {
    background: var(--white);
    text-align: center;
}
.about p {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1em;
}
.services {
    background: var(--light-bg);
}
.service-grid {
    display: flex;
    justify-content: space-around;
    gap: 30px;
    text-align: center;
}
.service-item {
    background: var(--white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    flex: 1;
    min-width: 280px;
    transition: transform 0.3s;
    border-top: 3px solid var(--primary-color);
}
.service-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
    border-top: 3px solid var(--secondary-color); 
}
.service-item h4 {
    color: var(--primary-color);
    font-size: 1.4em;
}
.price-estimate {
    margin-top: 15px;
    color: var(--secondary-color);
    font-weight: 700;
    font-size: 1.2em;
}
.booking-note {
    text-align: center;
    margin-top: 40px;
    font-style: italic;
    color: #666;
}

/* Gallery Section Styling */
.gallery {
    background: var(--white);
    text-align: center;
}
.image-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 30px;
}
.gallery-item {
    height: 200px;
    display: block; 
    border: 2px solid var(--light-bg);
    border-radius: 5px;
    overflow: hidden;
    transition: box-shadow 0.3s;
    background-size: cover; 
    background-position: center center; 
}
.gallery-item:hover {
    box-shadow: 0 0 0 4px var(--secondary-color);
}

/* CRITICAL: Assigns the specific downloaded images */
.image-grid .gallery-item:nth-child(1) {
    background-image: url('fleet-suv.jpg');
}
.image-grid .gallery-item:nth-child(2) {
    background-image: url('fleet-van.jpg');
}
.image-grid .gallery-item:nth-child(3) {
    background-image: url('fleet-sedan.jpg');
}
.image-grid .gallery-item:nth-child(4) {
    background-image: url('fleet-interior.jpg');
}

/* Contact Section */
.contact {
    background: var(--primary-color);
    color: var(--white);
}
.contact h3 {
    color: var(--secondary-color);
}
.contact-info {
    text-align: center;
    margin-bottom: 30px;
    font-size: 1.1em;
}
.contact-info p {
    margin: 10px 0;
}
.booking-form {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.booking-form input[type="text"],
.booking-form input[type="email"],
.booking-form input[type="tel"],
.booking-form textarea {
    padding: 15px;
    border: 1px solid var(--secondary-color); 
    border-radius: 5px;
    font-size: 1em;
    width: 100%;
    background-color: var(--light-bg); 
    color: var(--text-color);
}
.booking-form textarea {
    resize: vertical;
}
.booking-form .cta-button {
    align-self: flex-start;
    width: 100%;
    margin-top: 10px;
}

/* Footer Styling */
footer {
    background: var(--primary-color); 
    color: var(--light-bg);
    padding: 30px 0;
    font-size: 0.9em;
}

/* Layout for Footer Content */
.footer-content {
    display: flex;
    justify-content: space-between; 
    align-items: center;
    flex-wrap: wrap; 
    text-align: center;
}

/* Styling for the Social Media Link Group */
.social-links {
    display: flex;
    gap: 25px; 
    margin-top: 10px;
}

/* Styling for the Individual Social Icon/Phone Link */
.social-icon {
    color: var(--secondary-color); 
    text-decoration: none;
    font-size: 1.1em;
    display: flex;
    align-items: center;
    transition: color 0.3s;
}

/* Hover Effect */
.social-icon:hover {
    color: var(--white); 
}

/* Spacing for the Icon (i element) */
.social-icon i {
    margin-right: 8px; 
}
.phone-icon {
    font-weight: 600;
}

/* Media Queries for Responsiveness */
@media (max-width: 768px) {
    /* CRITICAL HERO SECTION ADJUSTMENTS FOR MOBILE */
    .hero {
        /* Pushes content far enough down to clear the stacked fixed header */
        padding-top: 180px; 
        padding-bottom: 50px;
        height: auto; 
        min-height: 85vh; /* Increased height to give content and image more room */
        
        /* ADJUST BACKGROUND IMAGE POSITION to move the man's head UP FURTHER */
        background-position: center 20% !important; /* ***FINAL FIX: Moved the image UP again (from 25% to 20%)*** */
    }

    /* Adjust the hero content text sizes to prevent overlap */
    .hero .hero-content {
        padding-top: 20px; 
    }

    .hero h2 {
        font-size: 1.8em; /* Significantly reduced size of main heading */
        line-height: 1.1;
    }

    .hero p {
        font-size: 1em; /* Reduced paragraph text size */
    }
    
    /* CRITICAL MOBILE NAV FIX */
    .fixed-header .container {
        flex-direction: column; 
    }
    .logo {
        margin-bottom: 10px;
    }
    nav ul {
        margin-top: 5px;
        flex-wrap: wrap;
        justify-content: center;
        padding-bottom: 5px; 
    }
    nav ul li {
        margin: 5px 10px;
    }
    
    /* Content and Services fixes */
    .service-grid {
        flex-direction: column; 
    }
    .service-item {
        margin-bottom: 20px;
    }
}

@media (max-width: 600px) {
    .footer-content {
        flex-direction: column; 
    }
    .social-links {
        margin-top: 20px;
        justify-content: center;
    }
    .social-icon {
        font-size: 1em;
    }
}

/* Anchor Offset Fix (Ensures fixed header doesn't hide content when linking) */
section:target {
    padding-top: 120px; 
    margin-top: -120px;
}
/* Specific fix for the Contact section */
#contact {
    scroll-margin-top: 120px;
}