/* =========================
   RESET & BASE
========================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f5f5f5;
}

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

.text-center {
    text-align: center;
}

/* =========================
   NAVIGATION
========================= */
.navbar {
    background-color: #1a1a1a;
    padding: 15px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.nav-container {
    max-width: 1200px;
    margin: auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h1 {
    color: #e10600;
    font-size: 24px;
    font-weight: 700;
}

.logo .tagline {
    color: #fff;
    font-size: 12px;
    opacity: 0.8;
}

.nav-menu {
    display: flex;
    gap: 30px;
}

.nav-menu a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: #e10600;
}

.cta-nav {
    background: #e10600;
    padding: 8px 20px;
    border-radius: 4px;
}

.mobile-menu-btn {
    display: none;
    font-size: 24px;
    color: #fff;
    cursor: pointer;
}

/* =========================
   HERO SECTION
========================= */
.hero {
    height: 100vh;
    margin-top: 60px;
    background: linear-gradient(rgba(0,0,0,.7), rgba(0,0,0,.7)),
                url('../images/hero-bg.jpg') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
}

.hero-main {
    font-size: 64px;
    font-weight: 900;
    letter-spacing: 3px;
}

.hero-subtitle {
    font-size: 20px;
    margin: 20px 0 40px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.btn-primary,
.btn-secondary {
    padding: 15px 30px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    text-transform: uppercase;
}

.btn-primary {
    background: #e10600;
    color: #fff;
}

.btn-secondary {
    border: 2px solid #fff;
    color: #fff;
}

/* =========================
   DRIVER PROFILE
========================= */
.driver-profile-ui {
    padding: 80px 5%;
    background: #fff;
}

.driver-wrapper {
    max-width: 1200px;
    margin: auto;
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 60px;
    align-items: center;
}

/* LEFT */
.driver-eyebrow {
    letter-spacing: 4px;
    font-size: 12px;
    color: #888;
}

.driver-title {
    font-size: 42px;
    font-weight: 800;
    margin: 10px 0 30px;
}

.driver-meta {
    list-style: none;
    margin-bottom: 30px;
}

.driver-meta li {
    margin-bottom: 10px;
}

.driver-meta strong {
    width: 140px;
    display: inline-block;
}

.driver-highlights p {
    margin-bottom: 15px;
    color: #555;
}

.driver-btn {
    display: inline-flex;
    padding: 14px 26px;
    background: #000;
    color: #fff;
    text-decoration: none;
    letter-spacing: 1px;
    margin-top: 25px;
}

/* =========================
   DRIVER IMAGE SLIDER
========================= */
.driver-images-slider {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.driver-track {
    display: flex;
    transition: transform 0.8s ease-in-out;
    will-change: transform;
}

.driver-slide {
    min-width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.driver-slide img {
    width: 100%;
    height: 520px;
    object-fit: cover;
    border-radius: 6px;
}

/* =========================
   SECTIONS
========================= */
.section-title {
    text-align: center;
    font-size: 36px;
    margin-bottom: 50px;
}

.standings-section {
    padding: 80px 0;
    background: #fff;
}

.standings-card {
    max-width: 800px;
    margin: auto;
    background: #f8f9fa;
    border-radius: 10px;
}

.driver-standing {
    display: flex;
    padding: 20px;
    border-bottom: 1px solid #eee;
}

.driver-first {
    background: #e10600;
    color: #fff;
}

/* =========================
   EVENT SECTION
========================= */
.next-event-section {
    padding: 80px 0;
    background: #1a1a1a;
    color: #fff;
}

.event-card {
    display: flex;
    gap: 40px;
    background: #2a2a2a;
    padding: 30px;
    border-radius: 10px;
}

/* =========================
   BLOG
========================= */
.blog-preview {
    padding: 80px 0;
    background: #fff;
}

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

.blog-card {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,.1);
}

/* =========================
   SPONSORS
========================= */
.sponsors-section {
    padding: 60px 0;
    background: #f8f9fa;
}

.sponsors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(200px,1fr));
    gap: 30px;
}

/* =========================
   FOOTER
========================= */
.footer {
    background: #1a1a1a;
    color: #fff;
    padding: 60px 0 20px;
}

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

.footer-bottom {
    text-align: center;
    border-top: 1px solid #333;
    padding-top: 20px;
    font-size: 14px;
    color: #999;
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 900px) {
    .driver-wrapper {
        grid-template-columns: 1fr;
    }

    .driver-slide {
        grid-template-columns: 1fr;
    }

    .driver-slide img {
        height: 380px;
    }
}
