:root {
    --f1-red: #e10600;
    --dark: #15151e;
    --white: #ffffff;
    --gray: #38383f;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Arial, sans-serif;
    background-color: var(--dark);
    color: var(--white);
    line-height: 1.6;
}

#nav-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 5%;
    background: #000;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 2px solid var(--gray);
}

.logo { font-weight: 900; font-size: 1.5rem; display: flex; align-items: center; }
.logo img { height: 25px; margin-right: 10px; }
.accent { color: var(--f1-red); }

.nav-links { list-style: none; display: flex; gap: 20px; }
.nav-links a { color: white; text-decoration: none; font-weight: bold; transition: 0.3s; }
.nav-links a:hover, .active { color: var(--f1-red); }

#hero {
    height: 70vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('https://images.unsplash.com/photo-1547447134-cd3f5c716030?q=80&w=1920');
    background-size: cover;
    background-position: center;
}

#hero h1 { font-size: 3.5rem; margin-bottom: 10px; }

#form { margin-top: 20px; }
#email { padding: 10px; width: 250px; border-radius: 5px; border: none; }
#submit { padding: 10px 20px; background: var(--f1-red); color: white; border: none; cursor: pointer; border-radius: 5px; font-weight: bold; }

.container { max-width: 1200px; margin: auto; padding: 40px 20px; }
.section-title { text-align: center; margin-bottom: 40px; font-size: 2.5rem; }

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

.driver-card {
    background: var(--gray);
    padding: 25px;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.driver-card:hover { transform: translateY(-10px); }
.driver-card h3 { color: var(--f1-red); margin-bottom: 10px; }

#video-section { text-align: center; padding: 50px 0; }

@media (max-width: 768px) {
    .nav-links { display: none; } /* Mobile cleanup */
    #hero h1 { font-size: 2rem; }
}
