:root {
    --primary-color: #2E7D32;
    /* Forest Green */
    --secondary-color: #81C784;
    /* Light Green */
    --accent-color: #FF6F00;
    /* Amber/Orange for call to action */
    --dark-bg: #1a1a1a;
    --light-bg: #f5f5f5;
    --text-color: #333;
    --text-light: #fff;
    --card-bg: #ffffff;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --radius: 12px;
    --font-main: 'Inter', sans-serif;
    --font-heading: 'Outfit', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    background-color: var(--light-bg);
    color: var(--text-color);
    line-height: 1.6;
}

/* Navigation */
.navbar {
    background-color: var(--dark-bg);
    color: var(--text-light);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--secondary-color);
}

.lang-switcher {
    display: flex;
    gap: 0.5rem;
}

.lang-btn {
    background: transparent;
    border: 1px solid var(--secondary-color);
    color: var(--text-light);
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.8rem;
    transition: all 0.3s ease;
}

.lang-btn:hover,
.lang-btn.active {
    background-color: var(--secondary-color);
    color: var(--dark-bg);
}

/* Hero Section */
.hero {
    position: relative;
    height: 60vh;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--text-light);
    overflow: hidden;
}

.hero-image-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 3rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-date,
.hero-location {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

/* Sections */
.section {
    padding: 4rem 0;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 2rem;
    color: var(--primary-color);
}

.section-subtitle {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 1.1rem;
    color: #666;
}

/* Info Grid */
.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.info-card {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.info-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-family: var(--font-heading);
}

.facilities-list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
}

.facilities-list li::before {
    content: "✓";
    color: var(--accent-color);
    margin-right: 0.5rem;
}

/* Races Grid */
.races-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.race-card {
    background: var(--card-bg);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
    border-top: 5px solid var(--primary-color);
}

.race-card:hover {
    transform: translateY(-5px);
}

.race-header {
    padding: 1.5rem;
    background: #f9f9f9;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.race-header h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--dark-bg);
}

.itra-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: #003366;
    /* ITRA Blue */
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: bold;
    color: white;
}

.itra-text {
    font-family: var(--font-heading);
}

.race-details {
    padding: 1.5rem;
}

.race-details p {
    margin-bottom: 0.5rem;
}

.race-price {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px dashed #ddd;
    color: var(--accent-color);
    font-weight: 600;
}

/* Parking */
.parking-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.parking-item {
    background: var(--card-bg);
    padding: 1.5rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    cursor: pointer;
    transition: background-color 0.2s;
}

.parking-item:hover {
    background-color: #e8f5e9;
}

.parking-item h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.parking-item small {
    display: block;
    margin-top: 0.5rem;
    color: #666;
    font-style: italic;
}

/* Map */
.map-section {
    padding-bottom: 0;
}

#map {
    height: 400px;
    width: 100%;
    z-index: 1;
}

/* Footer */
.footer {
    background: var(--dark-bg);
    color: var(--text-light);
    text-align: center;
    padding: 2rem 0;
    margin-top: 2rem;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }

    .section {
        padding: 2rem 0;
    }
}