/* --- Variables & Reset --- */
:root {
    --primary-color: #ffffff;
    --secondary-color: #cccccc;
    --accent-color: #D30000;
    /* Strong Automotive Red */
    --accent-hover: #ff1a1a;
    --bg-color: #000000;
    /* Pure Black */
    --font-main: 'Outfit', sans-serif;
}

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

body {
    font-family: var(--font-main);
    background-color: var(--bg-color);
    color: var(--primary-color);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    overflow-x: hidden;
    background: #000000;
    /* Pure black background */
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    width: 100%;
}

/* --- Header --- */
.site-header {
    padding: 30px 0;
    width: 100%;
    z-index: 10;
    background-color: transparent;
    display: flex;
    justify-content: center;
    position: absolute;
    top: 0;
    left: 0;
}

.logo {
    height: 140px;
    width: auto;
    display: block;
    margin: 0 auto;
}

/* --- Hero Section --- */
.hero-section {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 260px 20px 80px 20px;
    /* Updated top padding */
    position: relative;
    text-align: center;
}

/* Optional: Red glow effect behind text */
.hero-section::after {
    content: '';
    position: absolute;
    width: 600px;
    height: 400px;
    background: var(--accent-color);
    filter: blur(180px);
    opacity: 0.12;
    z-index: -1;
    top: 50%;
    /* Re-center the glow vertically in the viewport/section */
    left: 50%;
    transform: translate(-50%, -50%);
}

.content-box {
    max-width: 800px;
    margin: 0 auto;
}

.badge {
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 4px;
    color: #fff;
    font-weight: 700;
    margin-bottom: 30px;
    display: inline-block;
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 8px 16px;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.05);
}

h1 {
    font-size: 5rem;
    line-height: 1.05;
    margin-bottom: 30px;
    font-weight: 700;
    color: #fff;
    letter-spacing: -1px;
}

p {
    font-size: 1.5rem;
    color: var(--secondary-color);
    line-height: 1.6;
    margin-bottom: 50px;
    font-weight: 300;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.divider {
    height: 4px;
    width: 60px;
    background-color: var(--accent-color);
    margin: 0 auto 50px auto;
    border-radius: 2px;
}

.cta-button {
    display: inline-block;
    text-decoration: none;
    color: #fff;
    background-color: var(--accent-color);
    padding: 18px 48px;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    border: none;
    box-shadow: 0 10px 30px rgba(211, 0, 0, 0.3);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(211, 0, 0, 0.5);
    background-color: var(--accent-hover);
}

/* --- Footer --- */
.site-footer {
    padding: 40px 0;
    font-size: 0.9rem;
    color: #555;
    text-align: center;
}

.footer-content {
    display: flex;
    justify-content: center;
    gap: 30px;
    align-items: center;
    flex-direction: column;
}

@media (max-width: 768px) {
    h1 {
        font-size: 2.8rem;
    }

    .footer-content {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
}

/* --- Early Access Form --- */
.input-group {
    display: flex;
    justify-content: center;
    gap: 10px;
    max-width: 300px;
    margin: 0 auto;
}

.password-input {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 5px;
    padding: 10px 15px;
    color: #fff;
    font-family: var(--font-main);
    font-size: 1rem;
    outline: none;
    flex: 1;
    transition: all 0.3s ease;
}

.password-input:focus {
    border-color: var(--accent-color);
    background: rgba(255, 255, 255, 0.15);
}

.submit-button {
    background: var(--accent-color);
    color: #fff;
    border: none;
    border-radius: 5px;
    padding: 0 20px;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-button:hover {
    background: var(--accent-hover);
}

/* --- Homepage Specific Styles --- */

/* Navbar */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 15px 0;
    transition: all 0.3s ease;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    height: 50px;
    width: auto;
}

.main-nav ul {
    display: flex;
    gap: 40px;
    list-style: none;
}

.main-nav a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s ease;
}

.main-nav a:hover {
    color: var(--accent-color);
}

.btn-header {
    padding: 10px 24px;
    background-color: var(--accent-color);
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: background-color 0.3s ease;
}

.btn-header:hover {
    background-color: var(--accent-hover);
}

/* Homepage Hero */
.hero-home {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    /* Center horizontally */
    text-align: center;
    /* Center text */
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.8)), url('https://images.unsplash.com/photo-1486262715619-67b85e0b08d3?q=80&w=2832&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
    padding-top: 80px;
    /* Offset for fixed header */
}

/* Sections General */
.section {
    padding: 100px 0;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #fff;
    text-align: center;
    font-weight: 700;
}

.section-subtitle {
    text-align: center;
    color: var(--secondary-color);
    max-width: 600px;
    margin: 0 auto 60px auto;
    font-size: 1.1rem;
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background: #111;
    padding: 40px;
    border-radius: 8px;
    border: 1px solid #222;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent-color);
}

.service-icon {
    font-size: 2rem;
    color: var(--accent-color);
    margin-bottom: 20px;
    display: block;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #fff;
}

.service-card p {
    font-size: 1rem;
    color: #aaa;
    margin-bottom: 0;
    padding: 0;
    line-height: 1.6;
    max-width: 100%;
}

/* About Section */
.about-section {
    background: #0a0a0a;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-image img {
    width: 100%;
    border-radius: 8px;
    filter: grayscale(100%);
}

.about-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    line-height: 1.2;
}

.about-content p {
    font-size: 1.1rem;
    text-align: left;
    margin-left: 0;
    max-width: 100%;
}

/* Contact/Location */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    /* Removed background/padding from container to create two separate cards */
}

.contact-info {
    background: #111;
    padding: 40px;
    border-radius: 12px;
    border: 1px solid #222;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.contact-form {
    background: #111;
    padding: 40px;
    border-radius: 12px;
    border: 1px solid #222;
    height: 100%;
}

.contact-info h3 {
    margin-bottom: 30px;
    color: #fff;
    font-size: 1.5rem;
}

.info-item {
    margin-bottom: 25px;
    display: flex;
    align-items: flex-start;
    gap: 15px;
    color: #ccc;
}

.info-label {
    font-weight: 700;
    color: #fff;
    min-width: 80px;
}

.map-container {
    margin-top: auto;
    width: 100%;
}

/* Footer Extended */
.main-footer {
    background: #050505;
    padding: 80px 0 30px 0;
    border-top: 1px solid #222;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

.footer-column h4 {
    color: #fff;
    margin-bottom: 25px;
    font-size: 1.2rem;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 12px;
}

.footer-column ul li a {
    color: #888;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-column ul li a:hover {
    color: var(--accent-color);
}


/* Contact Form Children */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #ccc;
    font-size: 0.9rem;
    font-weight: 500;
}

.form-control {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid #333;
    border-radius: 6px;
    padding: 12px 15px;
    color: #fff;
    font-family: var(--font-main);
    font-size: 1rem;
    transition: all 0.3s ease;
    outline: none;
}

.form-control:focus {
    border-color: var(--accent-color);
    background: rgba(255, 255, 255, 0.1);
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

.btn-submit {
    width: 100%;
    padding: 14px;
    background-color: var(--accent-color);
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-submit:hover {
    background-color: var(--accent-hover);
}

/* Responsive adjustments */
/* Mobile Navigation */
.burger-menu {
    display: none;
    font-size: 1.5rem;
    color: #fff;
    cursor: pointer;
    z-index: 1001;
}

.mobile-cta {
    display: none;
}

/* Responsive adjustments */
@media (max-width: 900px) {
    .header-inner {
        flex-direction: row;
        justify-content: space-between;
        padding: 0 20px;
    }

    .burger-menu {
        display: block;
    }

    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: rgba(0, 0, 0, 0.95);
        backdrop-filter: blur(10px);
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: right 0.3s ease;
        z-index: 999;
    }

    .main-nav.active {
        right: 0;
    }

    .main-nav ul {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }

    .main-nav a {
        font-size: 1.5rem;
    }

    .btn-header {
        display: none;
    }

    .mobile-cta {
        display: block;
        margin-top: 30px;
        padding: 12px 30px;
        background-color: var(--accent-color);
        color: white;
        text-decoration: none;
        border-radius: 4px;
        font-weight: 600;
        text-transform: uppercase;
        font-size: 1.2rem;
    }

    .about-grid,
    .contact-container {
        grid-template-columns: 1fr;
    }

    .hero-home {
        text-align: center;
        padding-top: 100px;
        align-items: center;
    }

    .hero-home h1 {
        font-size: 3rem;
    }
}