/* ================================
   ROCKET CITY RACING - BRAND COLORS
   ================================ */
:root {
    --primary-red: #C41E3A;      /* Racing Red - buttons, accents */
    --primary-cream: #E5D5B7;    /* Cream - text on dark backgrounds */
    --dark-bg: #0A0A0A;          /* Almost black - dark sections */
    --light-bg: #F8F8F8;         /* Off-white - light sections */
    --text-dark: #1A1A1A;        /* Dark text on light backgrounds */
    --text-light: #E5D5B7;       /* Light text on dark backgrounds */
    --accent-gray: #3A3A3A;      /* Dark gray accents */
    --border-color: #C41E3A;     /* Red borders */
}

/* ================================
   GLOBAL STYLES
   ================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-dark);
    background-color: #fff;
}

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

h1, h2, h3, h4 {
    font-family: 'Bebas Neue', sans-serif;
    font-weight: 400;
    letter-spacing: 1px;
}

h1 {
    font-size: 4rem;
    line-height: 1.2;
}

h2 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1.2rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

/* ================================
   NAVIGATION
   ================================ */
.navbar {
    background-color: var(--dark-bg);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.nav-menu a {
    color: var(--text-light);
    font-weight: 600;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 0.5rem 0;
    border-bottom: 2px solid transparent;
}

.nav-menu a:hover {
    color: var(--primary-red);
    border-bottom-color: var(--primary-red);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: var(--text-light);
    transition: 0.3s;
}

/* ================================
   BUTTONS
   ================================ */
.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background-color: var(--primary-red);
    color: white;
}

.btn-primary:hover {
    background-color: #9D1829;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(196, 30, 58, 0.4);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-red);
    border: 2px solid var(--primary-red);
    margin: 0.5rem;
}

.btn-secondary:hover {
    background-color: var(--primary-red);
    color: white;
}

/* ================================
   HERO SECTION
   ================================ */
.hero {
    background: var(--dark-bg);
    color: var(--text-light);
    padding: 8rem 0 6rem;
    text-align: center;
}

.hero-logo {
    max-width: 300px;
    height: auto;
    margin-bottom: 2rem;
    filter: drop-shadow(0 10px 30px rgba(0,0,0,0.5));
}

.hero h1 {
    color: var(--text-light);
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2.5rem;
    color: var(--text-light);
    font-weight: 300;
}

/* ================================
   ABOUT SECTION
   ================================ */
.about {
    padding: 6rem 0;
    background-color: var(--light-bg);
}

.about h2 {
    color: var(--text-dark);
}

.about-content {
    max-width: 900px;
    margin: 0 auto 4rem;
    text-align: center;
}

.about-content p {
    font-size: 1.1rem;
    line-height: 1.8;
}

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

.stat-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    border-top: 4px solid var(--primary-red);
    transition: transform 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
}

.stat-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.stat-number {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2.5rem;
    color: var(--primary-red);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1rem;
    color: var(--text-dark);
    font-weight: 600;
}

/* ================================
   EVENTS SECTION
   ================================ */
.events {
    padding: 6rem 0;
    background: linear-gradient(135deg, var(--dark-bg) 0%, #1a1a1a 100%);
    color: var(--text-light);
}

.events h2 {
    color: var(--text-light);
}

.section-intro {
    max-width: 800px;
    margin: 0 auto 1.5rem;
    text-align: center;
    font-size: 1.1rem;
}

.attendance-note {
    text-align: center;
    margin: 2rem 0;
    font-size: 1rem;
    color: var(--primary-cream);
}

.calendar-container {
    max-width: 1000px;
    margin: 3rem auto;
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
}

.calendar-note {
    text-align: center;
    margin-top: 1rem;
    font-size: 0.9rem;
    color: var(--accent-gray);
    font-style: italic;
}

/* ================================
   VENUE SECTION
   ================================ */
.venue {
    padding: 6rem 0;
    background-color: var(--light-bg);
}

.venue h2 {
    color: var(--text-dark);
    margin-bottom: 3rem;
}

.venue-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.venue-content p {
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
}

.das-stahl-logo {
    text-align: center;
    margin: 2.5rem 0;
    padding: 1.5rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.08);
}

.das-stahl-logo img {
    max-width: 250px;
    width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

.venue-links {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.venue-map {
    position: sticky;
    top: 100px;
}

.venue-map iframe {
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

.venue-info {
    background: white;
    padding: 1.5rem;
    margin-top: 1rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
}

.venue-info a {
    color: var(--primary-red);
    font-weight: 600;
}

.venue-info a:hover {
    text-decoration: underline;
}

/* ================================
   CONTACT SECTION
   ================================ */
.contact {
    padding: 6rem 0;
    background: linear-gradient(135deg, var(--dark-bg) 0%, #1a1a1a 100%);
    color: var(--text-light);
}

.contact h2 {
    color: var(--text-light);
}

.form-container {
    max-width: 700px;
    margin: 3rem auto;
    background: rgba(255,255,255,0.95);
    padding: 3rem;
    border-radius: 10px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.9rem;
    border: 2px solid #ddd;
    border-radius: 5px;
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-red);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

#contact-form .btn {
    width: 100%;
    margin-top: 1rem;
}

.privacy-note {
    margin-top: 1.5rem;
    font-size: 0.85rem;
    color: var(--accent-gray);
    text-align: center;
    line-height: 1.5;
}

/* ================================
   FOOTER
   ================================ */
.footer {
    background-color: var(--dark-bg);
    color: var(--text-light);
    padding: 3rem 0 1.5rem;
}

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

.footer-logo {
    height: 80px;
    width: auto;
    margin-bottom: 1rem;
}

.footer-section h4 {
    color: var(--primary-red);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

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

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: var(--text-light);
}

.footer-section a:hover {
    color: var(--primary-red);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--accent-gray);
    font-size: 0.9rem;
}

/* ================================
   RESPONSIVE DESIGN
   ================================ */
@media (max-width: 968px) {
    .venue-grid {
        grid-template-columns: 1fr;
    }
    
    .venue-map {
        position: static;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 3rem;
    }
    
    h2 {
        font-size: 2.5rem;
    }
    
    .hero {
        padding: 5rem 0 4rem;
    }
    
    .hero-logo {
        max-width: 220px;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--dark-bg);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0,0,0,0.5);
        padding: 2rem 0;
        gap: 0;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu li {
        margin: 1rem 0;
    }
    
    .hamburger {
        display: flex;
    }
    
    .hamburger.active span:nth-child(1) {
        transform: rotate(-45deg) translate(-5px, 6px);
    }
    
    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active span:nth-child(3) {
        transform: rotate(45deg) translate(-5px, -6px);
    }
    
    .stats-grid {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
        gap: 1.5rem;
    }
    
    .venue-links {
        flex-direction: column;
    }
    
    .form-container {
        padding: 2rem 1.5rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 2.2rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
}
