/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --red-rock: #C1440E;
    --dark-red: #8B3103;
    --desert-sand: #E8C4A0;
    --sky-blue: #4A90E2;
    --dark-bg: #1a1a1a;
    --darker-bg: #0d0d0d;
    --light-text: #ffffff;
    --gray-text: #a0a0a0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--light-text);
    background-color: var(--darker-bg);
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(13, 13, 13, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(193, 68, 14, 0.3);
}

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

.logo {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.2rem;
    font-weight: 900;
    color: var(--red-rock);
    letter-spacing: 2px;
}

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

.nav-menu a {
    color: var(--light-text);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
    font-size: 0.95rem;
}

.nav-menu a:hover {
    color: var(--red-rock);
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: #0a0a0a;
    overflow: hidden;
}

/* Animated starfield background */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(2px 2px at 20% 30%, white, transparent),
        radial-gradient(2px 2px at 60% 70%, white, transparent),
        radial-gradient(1px 1px at 50% 50%, white, transparent),
        radial-gradient(1px 1px at 80% 10%, white, transparent),
        radial-gradient(2px 2px at 90% 60%, white, transparent),
        radial-gradient(1px 1px at 33% 80%, white, transparent),
        radial-gradient(1px 1px at 15% 95%, white, transparent),
        #0a0a0a;
    background-size: 200% 200%;
    background-position: 0% 0%;
    opacity: 0.6;
    animation: twinkle 8s ease-in-out infinite;
}

/* Drone lights animation */
.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 15% 25%, rgba(193, 68, 14, 0.8) 0%, transparent 1%),
        radial-gradient(circle at 45% 35%, rgba(232, 196, 160, 0.9) 0%, transparent 1%),
        radial-gradient(circle at 75% 20%, rgba(193, 68, 14, 0.7) 0%, transparent 1%),
        radial-gradient(circle at 25% 60%, rgba(74, 144, 226, 0.8) 0%, transparent 1%),
        radial-gradient(circle at 85% 55%, rgba(193, 68, 14, 0.9) 0%, transparent 1%),
        radial-gradient(circle at 55% 70%, rgba(232, 196, 160, 0.7) 0%, transparent 1%),
        radial-gradient(circle at 10% 85%, rgba(193, 68, 14, 0.8) 0%, transparent 1%),
        radial-gradient(circle at 90% 80%, rgba(74, 144, 226, 0.9) 0%, transparent 1%),
        radial-gradient(circle at 35% 15%, rgba(232, 196, 160, 0.8) 0%, transparent 1%),
        radial-gradient(circle at 65% 90%, rgba(193, 68, 14, 0.9) 0%, transparent 1%);
    background-size: 100% 100%;
    animation: droneLights 12s ease-in-out infinite;
    z-index: 1;
}

@keyframes twinkle {
    0%, 100% {
        opacity: 0.5;
        transform: scale(1);
    }
    50% {
        opacity: 0.8;
        transform: scale(1.05);
    }
}

@keyframes droneLights {
    0% {
        background-position: 0% 0%, 10% 5%, 20% 0%, 30% 10%, 40% 5%, 50% 15%, 60% 20%, 70% 10%, 80% 15%, 90% 5%;
        opacity: 1;
    }
    25% {
        background-position: 25% 15%, 35% 25%, 45% 10%, 55% 30%, 65% 20%, 75% 35%, 85% 40%, 15% 30%, 5% 25%, 95% 20%;
        opacity: 0.9;
    }
    50% {
        background-position: 50% 30%, 60% 45%, 70% 25%, 80% 50%, 90% 40%, 0% 55%, 10% 60%, 40% 50%, 30% 45%, 20% 35%;
        opacity: 1;
    }
    75% {
        background-position: 75% 50%, 85% 65%, 95% 45%, 5% 70%, 15% 60%, 25% 75%, 35% 80%, 65% 70%, 55% 65%, 45% 55%;
        opacity: 0.85;
    }
    100% {
        background-position: 0% 0%, 10% 5%, 20% 0%, 30% 10%, 40% 5%, 50% 15%, 60% 20%, 70% 10%, 80% 15%, 90% 5%;
        opacity: 1;
    }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(ellipse at bottom, transparent 0%, rgba(10, 10, 10, 0.7) 50%, rgba(10, 10, 10, 0.95) 100%),
        linear-gradient(to bottom, rgba(139, 49, 3, 0.1) 0%, transparent 30%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding: 0 20px;
}

.hero-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 4.5rem;
    font-weight: 900;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--red-rock) 0%, var(--desert-sand) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 4px;
    animation: glow 3s ease-in-out infinite alternate;
}

@keyframes glow {
    from { filter: drop-shadow(0 0 10px rgba(193, 68, 14, 0.5)); }
    to { filter: drop-shadow(0 0 20px rgba(193, 68, 14, 0.8)); }
}

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

.hero-date {
    font-family: 'Orbitron', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--red-rock);
    margin-bottom: 0.5rem;
}

.hero-location {
    font-size: 1.2rem;
    color: var(--gray-text);
    margin-bottom: 2rem;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 1rem 2.5rem;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-primary {
    background: var(--red-rock);
    color: white;
    border: 2px solid var(--red-rock);
}

.btn-primary:hover {
    background: transparent;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(193, 68, 14, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--light-text);
    border: 2px solid var(--light-text);
}

.btn-secondary:hover {
    background: var(--light-text);
    color: var(--dark-bg);
    transform: translateY(-3px);
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.scroll-arrow {
    width: 30px;
    height: 30px;
    border-left: 2px solid var(--red-rock);
    border-bottom: 2px solid var(--red-rock);
    transform: rotate(-45deg);
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: rotate(-45deg) translateY(0); }
    40% { transform: rotate(-45deg) translateY(10px); }
    60% { transform: rotate(-45deg) translateY(5px); }
}

/* Section Styles */
section {
    padding: 6rem 0;
}

.section-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 3rem;
    font-weight: 900;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--red-rock);
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: var(--gray-text);
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* About Section */
.about-section {
    background: var(--dark-bg);
}

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

.about-card {
    background: var(--darker-bg);
    padding: 2.5rem;
    border-radius: 15px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(193, 68, 14, 0.2);
}

.about-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(193, 68, 14, 0.2);
    border-color: var(--red-rock);
}

.card-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.about-card h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--desert-sand);
}

.about-card p {
    color: var(--gray-text);
    line-height: 1.8;
}

/* Events Section */
.events-section {
    background: linear-gradient(180deg, var(--dark-bg) 0%, var(--darker-bg) 100%);
}

.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.event-card {
    background: var(--dark-bg);
    border-radius: 15px;
    overflow: hidden;
    transition: transform 0.3s ease;
    border: 1px solid rgba(193, 68, 14, 0.2);
}

.event-card:hover {
    transform: translateY(-5px);
    border-color: var(--red-rock);
}

.event-image {
    height: 200px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.event-racing {
    background:
        linear-gradient(135deg, rgba(193, 68, 14, 0.85), rgba(139, 49, 3, 0.9)),
        url('data:image/svg+xml,<svg width="400" height="200" xmlns="http://www.w3.org/2000/svg"><defs><linearGradient id="sky" x1="0%" y1="0%" x2="0%" y2="100%"><stop offset="0%" style="stop-color:%234A90E2;stop-opacity:0.3"/><stop offset="100%" style="stop-color:%23C1440E;stop-opacity:0.6"/></linearGradient></defs><rect width="400" height="200" fill="url(%23sky)"/><polygon points="0,150 80,130 160,140 240,125 320,135 400,120 400,200 0,200" fill="%23C1440E" opacity="0.8"/><polygon points="0,165 100,145 200,155 300,145 400,150 400,200 0,200" fill="%238B3103" opacity="0.6"/><circle cx="100" cy="50" r="2" fill="%23fff" opacity="0.8"/><circle cx="300" cy="40" r="2" fill="%23E8C4A0" opacity="0.9"/></svg>');
    background-size: cover;
}

.event-show {
    background:
        linear-gradient(135deg, rgba(10, 10, 20, 0.7), rgba(193, 68, 14, 0.6)),
        url('data:image/svg+xml,<svg width="400" height="200" xmlns="http://www.w3.org/2000/svg"><rect width="400" height="200" fill="%230a0a14"/><circle cx="50" cy="60" r="3" fill="%23C1440E" opacity="0.9"><animate attributeName="opacity" values="0.5;1;0.5" dur="2s" repeatCount="indefinite"/></circle><circle cx="120" cy="80" r="2" fill="%23E8C4A0" opacity="0.8"><animate attributeName="opacity" values="0.6;1;0.6" dur="1.5s" repeatCount="indefinite"/></circle><circle cx="200" cy="50" r="3" fill="%234A90E2" opacity="0.9"><animate attributeName="opacity" values="0.4;1;0.4" dur="2.5s" repeatCount="indefinite"/></circle><circle cx="280" cy="70" r="2" fill="%23C1440E" opacity="0.8"><animate attributeName="opacity" values="0.7;1;0.7" dur="1.8s" repeatCount="indefinite"/></circle><circle cx="350" cy="90" r="3" fill="%23E8C4A0" opacity="0.9"><animate attributeName="opacity" values="0.5;1;0.5" dur="2.2s" repeatCount="indefinite"/></circle><polygon points="0,180 100,170 200,175 300,165 400,170 400,200 0,200" fill="%23C1440E" opacity="0.3"/></svg>');
    background-size: cover;
}

.event-ai {
    background:
        linear-gradient(135deg, rgba(139, 49, 3, 0.8), rgba(193, 68, 14, 0.85)),
        url('data:image/svg+xml,<svg width="400" height="200" xmlns="http://www.w3.org/2000/svg"><defs><linearGradient id="desert" x1="0%" y1="0%" x2="0%" y2="100%"><stop offset="0%" style="stop-color:%23E8C4A0;stop-opacity:0.4"/><stop offset="100%" style="stop-color:%23C1440E;stop-opacity:0.8"/></linearGradient></defs><rect width="400" height="200" fill="url(%23desert)"/><ellipse cx="200" cy="180" rx="80" ry="20" fill="%238B3103" opacity="0.6"/><rect x="180" y="100" width="40" height="60" fill="%23fff" opacity="0.15" rx="2"/><circle cx="200" cy="90" r="8" fill="%234A90E2" opacity="0.3"/></svg>');
    background-size: cover;
}

.event-industry {
    background:
        linear-gradient(135deg, rgba(232, 196, 160, 0.4), rgba(193, 68, 14, 0.85)),
        url('data:image/svg+xml,<svg width="400" height="200" xmlns="http://www.w3.org/2000/svg"><rect width="400" height="200" fill="%23E8C4A0"/><polygon points="0,140 60,120 120,130 180,115 240,125 300,110 360,120 400,105 400,200 0,200" fill="%23C1440E" opacity="0.7"/><polygon points="40,160 100,145 160,155 220,140 280,150 340,135 400,145 400,200 0,200" fill="%238B3103" opacity="0.5"/><circle cx="80" cy="60" r="2" fill="%234A90E2" opacity="0.4"/><circle cx="200" cy="50" r="2" fill="%234A90E2" opacity="0.4"/><circle cx="320" cy="70" r="2" fill="%234A90E2" opacity="0.4"/><line x1="80" y1="60" x2="120" y2="100" stroke="%234A90E2" opacity="0.3" stroke-width="1"/></svg>');
    background-size: cover;
}

.event-content {
    padding: 2rem;
}

.event-content h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--red-rock);
}

.event-content p {
    color: var(--gray-text);
    line-height: 1.8;
}

/* Register Section */
.register-section {
    background: var(--dark-bg);
}

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

.register-card {
    background: var(--darker-bg);
    padding: 3rem;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid rgba(193, 68, 14, 0.2);
    text-decoration: none;
    display: block;
}

.register-card:hover {
    transform: translateY(-10px);
    border-color: var(--red-rock);
    box-shadow: 0 20px 40px rgba(193, 68, 14, 0.3);
}

.register-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
}

.register-card h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--red-rock);
}

.register-card p {
    color: var(--gray-text);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.register-link {
    color: var(--red-rock);
    font-weight: 600;
    font-size: 1.1rem;
}

/* Location Section */
.location-section {
    background: linear-gradient(180deg, var(--dark-bg) 0%, var(--darker-bg) 100%);
}

.location-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.location-info h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 2rem;
    color: var(--red-rock);
    margin-bottom: 1.5rem;
}

.location-info p {
    color: var(--gray-text);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.location-features {
    list-style: none;
    margin: 2rem 0;
}

.location-features li {
    padding: 0.8rem 0;
    color: var(--light-text);
    font-size: 1.1rem;
}

.permits-note {
    font-size: 0.9rem;
    color: var(--gray-text);
    font-style: italic;
}

.location-image {
    height: 400px;
    background:
        linear-gradient(to bottom, rgba(74, 144, 226, 0.2) 0%, transparent 40%, rgba(193, 68, 14, 0.3) 100%),
        url('data:image/svg+xml,<svg width="600" height="400" xmlns="http://www.w3.org/2000/svg"><defs><linearGradient id="sky2" x1="0%" y1="0%" x2="0%" y2="100%"><stop offset="0%" style="stop-color:%234A90E2;stop-opacity:1"/><stop offset="40%" style="stop-color:%23E8C4A0;stop-opacity:0.8"/><stop offset="100%" style="stop-color:%23C1440E;stop-opacity:0.6"/></linearGradient><radialGradient id="sun" cx="80%" cy="30%"><stop offset="0%" style="stop-color:%23FFD700;stop-opacity:0.9"/><stop offset="40%" style="stop-color:%23FFA500;stop-opacity:0.6"/><stop offset="100%" style="stop-color:transparent;stop-opacity:0"/></radialGradient></defs><rect width="600" height="400" fill="url(%23sky2)"/><ellipse cx="480" cy="120" rx="50" ry="50" fill="url(%23sun)"/><polygon points="0,320 80,240 140,260 200,220 260,250 320,210 380,240 440,200 500,230 560,190 600,220 600,400 0,400" fill="%23C1440E" opacity="0.95"/><polygon points="0,340 100,270 200,290 300,260 400,280 500,250 600,270 600,400 0,400" fill="%238B3103" opacity="0.9"/><polygon points="50,360 150,310 250,330 350,300 450,320 550,290 600,310 600,400 0,400" fill="%23B8390A" opacity="0.8"/><polygon points="120,280 180,250 200,255 220,248 240,260 260,252" fill="%23E8C4A0" opacity="0.4"/><polygon points="350,240 410,210 430,215 450,208 470,220 490,212" fill="%23E8C4A0" opacity="0.4"/><circle cx="100" cy="180" r="1.5" fill="%23228B22" opacity="0.6"/><circle cx="180" cy="200" r="1" fill="%23228B22" opacity="0.5"/><circle cx="450" cy="160" r="1.5" fill="%23228B22" opacity="0.6"/><path d="M 150 210 Q 155 205, 160 210" stroke="%23228B22" fill="none" opacity="0.4" stroke-width="1"/></svg>');
    background-size: cover;
    background-position: center;
    border-radius: 15px;
    border: 2px solid var(--red-rock);
    box-shadow: 0 10px 40px rgba(193, 68, 14, 0.3);
}

/* Footer */
.footer {
    background: var(--darker-bg);
    padding: 3rem 0 1rem;
    border-top: 1px solid rgba(193, 68, 14, 0.3);
}

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

.footer-section h4 {
    font-family: 'Orbitron', sans-serif;
    color: var(--red-rock);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.footer-section p {
    color: var(--gray-text);
    margin-bottom: 0.5rem;
}

.footer-date {
    color: var(--red-rock);
    font-weight: 600;
}

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

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

.footer-section a {
    color: var(--gray-text);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.permits-text {
    font-style: italic;
    font-size: 0.9rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(193, 68, 14, 0.2);
    color: var(--gray-text);
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
        letter-spacing: 2px;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .hero-date {
        font-size: 1.5rem;
    }

    .nav-menu {
        gap: 1rem;
        font-size: 0.85rem;
    }

    .logo {
        font-size: 1rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .location-content {
        grid-template-columns: 1fr;
    }

    .location-image {
        height: 300px;
    }

    section {
        padding: 4rem 0;
    }
}

@media (max-width: 480px) {
    .hero-cta {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 300px;
    }

    .nav-menu {
        display: none;
    }
}
