:root {
    --primary: #E60000;
    /* NXT ERA Red */
    --primary-dark: #cc0000;

    /* Light Theme Palette */
    --bg-color: #ffffff;
    --bg-secondary: #f4f4f4;
    --text-color: #111111;
    --text-muted: #555555;
    --border-color: #dddddd;

    --card-bg: #ffffff;
    --card-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);

    --font-heading: 'Oswald', sans-serif;
    --font-body: 'Inter', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: transparent;
    /* Changed from var(--bg-color) to transparent for parallax video */
    color: var(--text-color);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

html {
    background-color: #000000;
    /* Fallback for video */
}

/* Typography */
h1,
h2,
h3 {
    font-family: var(--font-heading);
    text-transform: uppercase;
    font-weight: 700;
    color: var(--text-color);
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

/* Navbar */
.navbar {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 40px;
    z-index: 100;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    height: 90px;
    width: auto;
    max-width: 100%;
    /* Ensure it doesn't overflow container */
    object-fit: contain;
    filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.6)) brightness(1.1);
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    background-color: transparent;
    /* Allow fixed video to show */
    color: #ffffff;
}

/* Parallax Video Container */
.parallax-video-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    /* Behind everything */
    overflow: hidden;
}

.parallax-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    /* Darker overlay */
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 1;
    padding: 20px;
}

.hero-content h1 {
    font-size: 5rem;
    letter-spacing: 2px;
    margin-bottom: 10px;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
    color: #ffffff;
}

.hero-content p {
    font-size: 1.2rem;
    color: #eeeeee;
    margin-bottom: 30px;
    letter-spacing: 1px;
}

/* Animations */
.animate-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 1s forwards ease-out;
}

.delay-1 {
    animation-delay: 0.3s;
}

.delay-2 {
    animation-delay: 0.6s;
}

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Buttons */
.cta-button,
.submit-btn {
    display: inline-block;
    background-color: var(--primary);
    color: white;
    padding: 15px 40px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.1rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    letter-spacing: 1px;
    transition: 0.3s ease;
}

.cta-button:hover,
.submit-btn:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(230, 0, 0, 0.2);
}

/* Parallax Section */
.parallax {
    background-image: url('https://images.pexels.com/photos/163444/sport-treadmill-tor-route-163444.jpeg?auto=compress&cs=tinysrgb&w=1260&h=750&dpr=1');
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
}

.info-section {
    padding: 100px 20px;
    background-color: var(--bg-secondary);
}

/* Dark Overlay for Parallax - Adjusted for light theme contrast if needed, 
   but parallax images usually need text contrast. Let's keep the parallax section specific styles. */
.parallax::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.9);
    /* White overlay for light theme feel */
    z-index: 0;
}

.content-wrapper {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    font-size: 3rem;
    margin-bottom: 50px;
    text-align: center;
    color: var(--text-color);
}

.section-subtitle {
    text-align: center;
    margin-bottom: 40px;
    color: var(--text-muted);
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.info-card {
    background: var(--card-bg);
    padding: 40px;
    border-left: 4px solid var(--primary);
    transition: 0.3s;
    box-shadow: var(--card-shadow);
    border-radius: 4px;
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.info-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--primary);
}

.info-card p {
    color: var(--text-muted);
}

/* Form Section */
.form-section {
    padding: 100px 20px;
    background-color: var(--bg-color);
    position: relative;
    /* Ensure it sits on top of fixed video */
    z-index: 1;
}

.nxtera-form {
    max-width: 700px;
    margin: 0 auto;
    background: var(--bg-secondary);
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.form-group {
    margin-bottom: 25px;
}

.form-row {
    display: flex;
    gap: 20px;
}

.form-group.half {
    flex: 1;
}

label {
    display: block;
    margin-bottom: 8px;
    font-family: var(--font-heading);
    color: var(--text-color);
    letter-spacing: 0.5px;
    font-weight: 600;
}

input,
textarea {
    width: 100%;
    padding: 15px;
    background-color: #ffffff;
    border: 1px solid var(--border-color);
    color: var(--text-color);
    font-family: var(--font-body);
    font-size: 1rem;
    border-radius: 4px;
    transition: 0.3s;
}

input:focus,
textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(230, 0, 0, 0.1);
}

input::placeholder,
textarea::placeholder {
    color: #aaaaaa;
}

.submit-btn {
    width: 100%;
    margin-top: 20px;
    font-size: 1.2rem;
}

.footer {
    padding: 40px;
    text-align: center;
    background-color: #f1f1f1;
    color: #666;
    font-size: 0.9rem;
    border-top: 1px solid #e5e5e5;
    position: relative;
    z-index: 1;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .navbar {
        padding: 15px 20px;
        /* Reduced padding to move logo left */
    }

    .hero-content h1 {
        font-size: 3rem;
    }

    .form-row {
        flex-direction: column;
        gap: 0;
    }

    .nxtera-form {
        padding: 20px;
    }

    .logo {
        height: auto;
        max-width: 50vw;
        /* Smaller width */
        max-height: 60px;
        /* Smaller height */
    }
}

/* Event Info Section - Modern Glassmorphism */
.event-info-section {
    position: relative;
    padding: 20px 20px 80px 20px;
    /* Reduced top padding */
    z-index: 2;
    /* Above video */
    background: transparent;
}

.glass-card-container {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.glass-card-row {
    display: flex;
    gap: 30px;
}

.glass-card {
    background: rgba(255, 255, 255, 0.1);
    /* Glass effect */
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
    color: #ffffff;
    transition: transform 0.3s ease, background 0.3s ease;
}

.glass-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.glass-card.full-width {
    width: 100%;
}

.glass-card.half {
    flex: 1;
}

.card-title {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 15px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    font-family: var(--font-heading);
    letter-spacing: 1px;
}

.card-text {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #f0f0f0;
    font-weight: 300;
}

.card-text.large-text {
    font-size: 1.5rem;
    font-weight: 600;
}

/* Responsive adjustment for glass cards */
@media (max-width: 768px) {
    .glass-card-row {
        flex-direction: column;
        gap: 20px;
    }

    .glass-card {
        padding: 30px;
    }
}