/* CSS Variables */
:root {
    --text-color: #333333;
    --bg-color: #FAFAFA;
    --primary-blue: #5EB1BF;
    /* Mackly Soft Blue */
    --primary-pink: #F4C2C2;
    /* Mackly Soft Pink */
    --accent-orange: #FF8A5B;
    /* Energetic Accent */
    --accent-bright-blue: #0077B6;
    /* Active Accent */
    --white: #FFFFFF;
    --gray-light: #F0F0F0;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    --shadow-hover: 0 10px 15px rgba(0, 0, 0, 0.1);
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Nunito', sans-serif;
}

/* Global Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-color);
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

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

.section {
    padding: 80px 0;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 50px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    cursor: pointer;
    text-align: center;
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-orange), #FF6B6B);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 107, 0.5);
}

.full-width {
    width: 100%;
}

/* Section Titles */
.section-title {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-color);
    line-height: 1.2;
    text-transform: uppercase;
}

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

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    /* Removed static background-image for video */
    background: #000;
    /* Fallback color */
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.video-background-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    /* Prevent interaction with video */
    z-index: 0;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 300%;
    /* Oversized to ensure coverage */
    height: 300%;
    transform: translate(-50%, -50%);
    border: none;
    pointer-events: none;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.7) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
    /* Ensure block centering */
    text-align: center;
    /* Ensure text/inline child centering */
}

.hero-title {
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: #ffffff;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
    /* Stronger shadow for video */
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    font-weight: 600;
    color: #f0f0f0;
    /* Slightly off-white for hierarchy */
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Hero Highlights & Scarcity */
.hero-highlight-box {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-bottom: 2rem;
    background: rgba(0, 0, 0, 0.4);
    /* Darker background for contrast */
    backdrop-filter: blur(5px);
    padding: 15px 30px;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    display: inline-flex;
}

.detail-item-large {
    font-size: 1.25rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #ffffff;
}

.separator {
    color: rgba(255, 255, 255, 0.5);
    font-size: 1.5rem;
    font-weight: 300;
}

.scarcity-container {
    margin-top: 2rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
    background: rgba(0, 0, 0, 0.5);
    padding: 15px;
    border-radius: 12px;
}

.scarcity-text {
    font-weight: 800;
    color: #FFD93D;
    /* Warning Yellow */
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.progress-bar {
    height: 10px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 5px;
    overflow: hidden;
    margin-bottom: 8px;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #FF6B6B, #FF8A5B);
    border-radius: 5px;
}

.spots-left {
    font-size: 0.9rem;
    font-weight: 600;
}

/* Story Section */
.story-section {
    background-color: var(--white);
}

.grid-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.image-placeholder-active {
    background: linear-gradient(45deg, var(--primary-blue), var(--primary-pink));
    height: 400px;
    border-radius: 20px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.floating-card {
    background: white;
    padding: 20px 40px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--accent-bright-blue);
    transform: rotate(-5deg);
}

.story-content h3 {
    margin-top: 2rem;
    margin-bottom: 0.5rem;
    color: var(--accent-bright-blue);
}

/* Experience Section */
.experience-section {
    background-color: var(--gray-light);
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.feature-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.icon-circle {
    width: 70px;
    height: 70px;
    background: var(--primary-pink);
    color: var(--white);
    font-size: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin: 0 auto 20px;
}

.feature-card:nth-child(2) .icon-circle {
    background: var(--accent-orange);
}

.feature-card:nth-child(3) .icon-circle {
    background: var(--primary-blue);
}

.feature-card h3 {
    margin-bottom: 15px;
}

/* Kit Section */
.kit-section {
    background: var(--white);
}

.highlight-text {
    color: var(--accent-bright-blue);
    display: block;
    font-size: 0.8em;
}

.kit-content .kit-list {
    margin-top: 2rem;
}

.kit-list li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
}

.kit-list .check {
    background: var(--accent-bright-blue);
    color: white;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    flex-shrink: 0;
    margin-top: 3px;
}

.kit-image img {
    border-radius: 20px;
    box-shadow: var(--shadow-hover);
}

/* Awards Section */
.awards-section {
    background: linear-gradient(135deg, #1a1a2e, #16213e);
    color: white;
    padding: 100px 0;
}

.trophy-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.awards-section .section-title {
    color: var(--white);
}

.section-desc {}

/* Schedule Section (Redesign) */
.schedule-section {
    background-color: #1a1a1a;
    color: white;
    padding: 100px 0;
}

.schedule-section .section-title {
    color: white;
    margin-bottom: 60px;
}

.timeline {
    position: relative;
    max-width: 100%;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

/* Horizontal Line */
.timeline::before {
    content: '';
    position: absolute;
    top: 25px;
    /* Aligns with the dots */
    left: 0;
    right: 0;
    height: 2px;
    background: rgba(255, 255, 255, 0.2);
    width: 100%;
    z-index: 0;
}

.timeline-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 1;
    flex: 1;
    text-align: center;
    margin-bottom: 0;
}

.timeline-item .time {
    font-weight: 800;
    color: var(--accent-orange);
    margin-bottom: 15px;
    background: #1a1a1a;
    /* Hide line behind text */
    padding: 5px 10px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    width: auto;
    text-align: center;
    padding-right: 10px;
    /* Reset */
}

.timeline-item .event {
    padding-left: 0;
    /* Reset */
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    width: 100%;
    height: 100%;
    transition: transform 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.timeline-item:hover .event {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--accent-orange);
}

.timeline-item::after {
    display: none;
    /* Removing the dot as requested */
}

/* Adjusting layout for the card below the line */
.timeline-item .event {
    margin-top: 40px;
    /* Push down below the line/dot */
}


/* Register Section */
.register-section {
    background: var(--primary-blue);
    position: relative;
    padding-bottom: 120px;
    /* Space for Sticky CTA */
}

.form-wrapper {
    max-width: 600px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.section-title.white {
    color: white;
    margin-bottom: 5px;
}

.white-sub {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
}

.price-tag {
    background: var(--white);
    color: var(--accent-bright-blue);
    display: inline-block;
    padding: 10px 20px;
    border-radius: 30px;
    font-weight: 800;
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.registration-form {
    text-align: left;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    color: white;
    margin-bottom: 5px;
    font-weight: 600;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 12px 15px;
    border-radius: 8px;
    border: none;
    font-family: inherit;
    font-size: 1rem;
}

.checkbox-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.checkbox-group input {
    width: auto;
}

/* Footer */
.footer {
    background: #333;
    color: white;
    padding: 40px 0;
    font-size: 0.9rem;
    padding-bottom: 100px;
    /* Space for Sticky CTA */
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-logo {
    height: 40px;
    margin-bottom: 10px;
    filter: brightness(0) invert(1);
    width: auto;
}

.footer-links a,
.footer-legal a {
    color: rgba(255, 255, 255, 0.7);
    margin: 0 10px;
    transition: color 0.3s;
}

.footer-links a:hover,
.footer-legal a:hover {
    color: white;
}

/* Sticky CTA */
.sticky-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: white;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.1);
    padding: 15px 0;
    z-index: 999;
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    justify-content: center;
}

.sticky-cta.visible {
    transform: translateY(0);
}

.cta-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 900px;
}

.cta-text {
    display: flex;
    flex-direction: column;
}

.cta-title {
    font-weight: 800;
    font-family: var(--font-heading);
    color: var(--text-color);
    font-size: 1.1rem;
}

.cta-price {
    color: var(--accent-orange);
    font-weight: 700;
}

.small-btn {
    padding: 10px 25px;
    font-size: 0.9rem;
}

/* Animations */
.fade-in-up {
    animation: fadeInUp 0.8s ease-out forwards;
    opacity: 0;
    transform: translateY(20px);
}

.delay-1 {
    animation-delay: 0.2s;
}

.delay-2 {
    animation-delay: 0.4s;
}

.delay-3 {
    animation-delay: 0.6s;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsiveness */
/* Responsiveness */
@media (max-width: 768px) {
    .section {
        padding: 60px 0;
        /* Reduced padding */
    }

    /* Navigation */
    .menu-toggle {
        display: block;
        z-index: 1001;
        /* Above mobile menu */
    }

    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        /* Below header */
        left: 0;
        width: 100%;
        background: var(--white);
        padding: 20px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        text-align: center;
        gap: 20px;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        margin: 0;
    }

    /* Hero Section */
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1rem;
        padding: 0 20px;
    }

    .hero-highlight-box {
        flex-direction: column;
        border-radius: 20px;
        gap: 15px;
        padding: 20px;
        width: 90%;
        margin: 0 auto 2rem;
    }

    .separator {
        display: none;
    }

    .detail-item-large {
        width: 100%;
        justify-content: center;
    }

    /* Story & Experience */
    .grid-split,
    .grid-3 {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    /* Kit Section - Reverse Stacking */
    .reverse-mobile {
        display: flex;
        flex-direction: column-reverse;
        gap: 40px;
    }

    .kit-image {
        margin-bottom: 20px;
    }

    .kit-list li {
        flex-direction: row;
        /* Keep icon with text align */
        align-items: flex-start;
    }

    /* Awards Section */
    .awards-grid {
        grid-template-columns: 1fr;
    }

    .trophy-icon {
        font-size: 3rem;
    }

    /* Schedule Mobile Stack (from previous fix) */
    .timeline {
        flex-direction: column;
        gap: 0;
        padding-left: 0;
    }

    .timeline::before {
        /* Convert to vertical line on mobile */
        width: 2px;
        height: 100%;
        left: 20px;
        top: 0;
        right: auto;
    }

    .timeline-item {
        flex-direction: row;
        text-align: left;
        margin-bottom: 40px;
        align-items: flex-start;
    }

    .timeline-item::after {
        left: 20px;
        top: 25px;
        /* Re-enable dot for vertical timeline if desired, kept hidden per user request to 'remove dots' generally, 
           but for vertical timeline sometimes a marker is useful. 
           User asked to 'remove timeline dots' - assuming this meant the circle markers specifically.
           So keeping display:none from main CSS is fine, but if we want mobile specific styling: */
    }

    .timeline-item .time {
        /* On mobile, maybe put time inside or above */
        position: relative;
        left: auto;
        top: auto;
        margin-bottom: 5px;
        display: inline-block;
        width: fit-content;
        /* Revert absolute positioning if it was set */
    }

    .timeline-item .event {
        margin-top: 0;
        margin-left: 40px;
        /* Space for line */
        width: calc(100% - 40px);
    }

    /* Registration */
    .form-wrapper {
        padding: 30px 20px;
    }

    /* Footer */
    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }

    .sticky-cta {
        padding: 10px 0;
    }

    .cta-content {
        flex-direction: row;
        /* Keep side-by-side but tighter */
        padding: 0 15px;
        gap: 10px;
    }

    .cta-title {
        font-size: 0.9rem;
    }

    .cta-price {
        font-size: 1rem;
    }

    .small-btn {
        padding: 8px 16px;
        font-size: 0.8rem;
    }
}

/* Extra Small Devices */
@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .cta-content {
        flex-direction: column;
        text-align: center;
        gap: 5px;
    }

    .cta-text {
        align-items: center;
        width: 100%;
    }

    .cta-content .btn {
        width: 100%;
    }
}

/* --- Image Slider --- */
.slider-container {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: var(--shadow-hover);
    margin-bottom: 2rem;
}

.slider-wrapper {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.slide {
    min-width: 100%;
    box-sizing: border-box;
}

.slide img {
    width: 100%;
    display: block;
    border-radius: 20px;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 10px 15px;
    cursor: pointer;
    font-size: 1.5rem;
    border-radius: 50%;
    z-index: 10;
    transition: background 0.3s;
}

.slider-btn:hover {
    background: rgba(0, 0, 0, 0.8);
}

.slider-btn.prev {
    left: 10px;
}

.slider-btn.next {
    right: 10px;
}
}