/* ============================================
   CSS VARIABLES & RESET
   ============================================ */
:root {
    --burgundy: #5B0E14;
    --gold: #F1E194;
    --white: #FFFFFF;
    --dark-gray: #2C2C2C;
    --light-gray: #F5F5F5;
    --gray: #666666;
    
    /* Fonts */
    --font-primary: 'Montserrat', sans-serif;
    --font-heading: 'Oswald', sans-serif;
    
    /* Spacing */
    --section-padding: 80px 0;
    --container-padding: 0 20px;
    
    /* Transitions */
    --transition-smooth: all 0.3s ease;
    --transition-fast: all 0.2s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    color: var(--dark-gray);
    line-height: 1.6;
    background-color: var(--white);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--container-padding);
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-smooth);
}

/* ============================================
   NAVIGATION
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    padding: 15px 0;
    transition: var(--transition-smooth);
}

.navbar.scrolled {
    padding: 10px 0;
    box-shadow: 0 4px 20px rgba(91, 14, 20, 0.15);
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.logo a {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo img {
    height: 50px;
    width: auto;
}

.logo span {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 700;
    color: var(--burgundy);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 40px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-links a {
    font-weight: 500;
    font-size: 16px;
    color: var(--dark-gray);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--burgundy);
    transition: width 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-links a.active {
    color: var(--burgundy);
}

.nav-cta .btn-primary {
    padding: 12px 30px;
}

/* Hamburger Menu - Unique Animation */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: flex-end;
    cursor: pointer;
    width: 30px;
    height: 30px;
    position: relative;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: var(--burgundy);
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.27, 1.55);
    position: absolute;
    right: 0;
}

.hamburger span:nth-child(1) {
    top: 6px;
    width: 25px;
}

.hamburger span:nth-child(2) {
    top: 13px;
    width: 20px;
}

.hamburger span:nth-child(3) {
    top: 20px;
    width: 15px;
}

/* Active state - Unique X transformation */
.hamburger.active span:nth-child(1) {
    top: 13px;
    transform: rotate(45deg);
    width: 25px;
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
    transform: translateX(20px);
    width: 25px;
}

.hamburger.active span:nth-child(3) {
    top: 13px;
    transform: rotate(-45deg);
    width: 25px;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn-primary,
.btn-secondary {
    display: inline-block;
    padding: 15px 35px;
    font-weight: 600;
    font-size: 16px;
    border-radius: 5px;
    cursor: pointer;
    transition: var(--transition-smooth);
    border: 2px solid transparent;
}

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

.btn-primary:hover {
    background-color: transparent;
    color: var(--burgundy);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(91, 14, 20, 0.3);
}

.btn-secondary {
    background-color: transparent;
    color: var(--burgundy);
    border-color: var(--burgundy);
}

.btn-secondary:hover {
    background-color: var(--burgundy);
    color: var(--white);
    transform: translateY(-2px);
}

/* ============================================
   HERO SECTION WITH CAROUSEL
   ============================================ */
.hero-section {
    position: relative;
    height: 100vh;
    min-height: 600px;
    overflow: hidden;
    margin-top: 80px;
}

.hero-carousel {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.carousel-slide.active {
    opacity: 1;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carousel-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(91, 14, 20, 0.85), rgba(91, 14, 20, 0.6));
}

.hero-content {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
    z-index: 2;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 72px;
    font-weight: 700;
    color: var(--white);
    line-height: 1.1;
    margin-bottom: 20px;
}

.hero-title span {
    color: var(--gold);
}

.hero-subtitle {
    font-size: 22px;
    color: var(--white);
    margin-bottom: 30px;
    max-width: 600px;
}

.hero-locations {
    display: flex;
    gap: 15px;
    margin-bottom: 40px;
}

.location-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    background-color: rgba(255, 255, 255, 0.2);
    padding: 10px 20px;
    border-radius: 25px;
    backdrop-filter: blur(10px);
    color: var(--white);
    font-weight: 500;
}

.location-badge i {
    color: var(--gold);
}

.hero-buttons {
    display: flex;
    gap: 20px;
}

/* Carousel Controls */
.carousel-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(255, 255, 255, 0.3);
    border: none;
    color: var(--white);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    backdrop-filter: blur(5px);
    transition: var(--transition-smooth);
    z-index: 3;
}

.carousel-control:hover {
    background-color: rgba(241, 225, 148, 0.9);
    color: var(--burgundy);
}

.carousel-control.prev {
    left: 30px;
}

.carousel-control.next {
    right: 30px;
}

/* Carousel Indicators */
.carousel-indicators {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 3;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: var(--transition-smooth);
}

.indicator.active {
    background-color: var(--gold);
    width: 30px;
    border-radius: 6px;
}

/* ============================================
   MISSION SECTION
   ============================================ */
.mission-section {
    padding: 60px 0;
    background-color: var(--gold);
}

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

.mission-content h2 {
    font-family: var(--font-heading);
    font-size: 42px;
    color: var(--burgundy);
    margin-bottom: 20px;
}

.mission-content p {
    font-size: 20px;
    color: var(--dark-gray);
    line-height: 1.8;
}

/* ============================================
   FEATURES SECTION
   ============================================ */
.features-section {
    padding: var(--section-padding);
    background-color: var(--white);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-family: var(--font-heading);
    font-size: 48px;
    color: var(--burgundy);
    margin-bottom: 15px;
}

.section-header p {
    font-size: 18px;
    color: var(--gray);
    max-width: 700px;
    margin: 0 auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-card {
    background-color: var(--white);
    padding: 40px 30px;
    border-radius: 10px;
    text-align: center;
    transition: var(--transition-smooth);
    border: 2px solid var(--light-gray);
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: var(--burgundy);
    box-shadow: 0 10px 30px rgba(91, 14, 20, 0.15);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background-color: var(--gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 35px;
    color: var(--burgundy);
}

.feature-card h3 {
    font-family: var(--font-heading);
    font-size: 24px;
    color: var(--burgundy);
    margin-bottom: 15px;
}

.feature-card p {
    color: var(--gray);
    font-size: 16px;
    line-height: 1.6;
}

/* ============================================
   EVENTS SECTION
   ============================================ */
.events-section {
    padding: var(--section-padding);
    background-color: var(--light-gray);
}

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

.event-card {
    background-color: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
}

.event-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(91, 14, 20, 0.2);
}

.event-date {
    background-color: var(--burgundy);
    color: var(--white);
    padding: 20px;
    text-align: center;
    min-width: 100px;
}

.event-date .month {
    font-size: 14px;
    text-transform: uppercase;
    display: block;
    margin-bottom: 5px;
    color: var(--gold);
}

.event-date .day {
    font-size: 36px;
    font-weight: 700;
    display: block;
}

.event-content {
    padding: 25px;
    flex: 1;
}

.event-content h3 {
    font-family: var(--font-heading);
    font-size: 24px;
    color: var(--burgundy);
    margin-bottom: 15px;
}

.event-location,
.event-time {
    font-size: 14px;
    color: var(--gray);
    margin-bottom: 8px;
}

.event-location i,
.event-time i {
    color: var(--gold);
    margin-right: 8px;
}

.event-description {
    margin: 15px 0 20px;
    color: var(--dark-gray);
    line-height: 1.6;
}

.event-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--burgundy);
    font-weight: 600;
    transition: var(--transition-smooth);
}

.event-link:hover {
    gap: 12px;
    color: var(--gold);
}

.events-note {
    background-color: var(--gold);
    padding: 25px 30px;
    border-radius: 8px;
    margin-top: 40px;
    border-left: 4px solid var(--burgundy);
}

.events-note p {
    color: var(--dark-gray);
    font-size: 15px;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.events-note i {
    color: var(--burgundy);
    font-size: 20px;
}

/* Loading and No Events States */
.loading-events,
.no-events {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    background-color: var(--white);
    border-radius: 10px;
    color: var(--gray);
}

.loading-events i,
.no-events i {
    font-size: 48px;
    color: var(--burgundy);
    margin-bottom: 20px;
    display: block;
}

.loading-events p,
.no-events p {
    font-size: 18px;
    color: var(--gray);
}

/* ============================================
   AGE GROUPS SECTION
   ============================================ */
.age-groups-section {
    padding: var(--section-padding);
    background-color: var(--white);
}

.age-groups-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.age-group-card {
    background-color: var(--white);
    border: 2px solid var(--light-gray);
    border-radius: 10px;
    padding: 40px 30px;
    transition: var(--transition-smooth);
    position: relative;
}

.age-group-card:hover {
    border-color: var(--burgundy);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(91, 14, 20, 0.15);
}

.age-group-card.featured {
    border-color: var(--burgundy);
    border-width: 3px;
}

.age-badge {
    display: inline-block;
    background-color: var(--gold);
    color: var(--burgundy);
    padding: 8px 20px;
    border-radius: 25px;
    font-weight: 700;
    font-size: 14px;
    margin-bottom: 20px;
}

.age-group-card h3 {
    font-family: var(--font-heading);
    font-size: 28px;
    color: var(--burgundy);
    margin-bottom: 25px;
}

.schedule-info {
    background-color: var(--light-gray);
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 25px;
}

.schedule-day {
    color: var(--dark-gray);
    font-size: 15px;
    margin-bottom: 12px;
    line-height: 1.6;
}

.schedule-day:last-child {
    margin-bottom: 0;
}

.schedule-day i {
    color: var(--burgundy);
    margin-right: 8px;
}

.schedule-day strong {
    color: var(--burgundy);
}

.winter-time {
    display: block;
    font-size: 13px;
    color: var(--gray);
    font-style: italic;
    margin-left: 24px;
    margin-top: 3px;
}

.age-group-card ul {
    list-style: none;
}

.age-group-card li {
    margin-bottom: 12px;
    color: var(--dark-gray);
    display: flex;
    align-items: center;
    gap: 10px;
}

.age-group-card li i {
    color: var(--gold);
    font-size: 18px;
}

.popular-badge {
    position: absolute;
    top: -15px;
    right: 20px;
    background-color: var(--burgundy);
    color: var(--white);
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
}

.league-info {
    background: linear-gradient(135deg, var(--burgundy), #7a1219);
    padding: 40px;
    border-radius: 10px;
    color: var(--white);
    text-align: center;
}

.league-info h3 {
    font-family: var(--font-heading);
    font-size: 28px;
    margin-bottom: 15px;
    color: var(--gold);
}

.league-info h3 i {
    margin-right: 10px;
}

.league-info p {
    font-size: 18px;
    margin-bottom: 20px;
}

.league-info ul {
    list-style: none;
    display: inline-block;
    text-align: left;
}

.league-info li {
    margin-bottom: 12px;
    font-size: 16px;
}

.league-info strong {
    color: var(--gold);
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
    padding: var(--section-padding);
    background: linear-gradient(135deg, var(--burgundy), #7a1219);
    color: var(--white);
}

.cta-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.cta-content h2 {
    font-family: var(--font-heading);
    font-size: 48px;
    margin-bottom: 20px;
}

.cta-content p {
    font-size: 20px;
    margin-bottom: 40px;
    opacity: 0.95;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.cta-section .btn-primary {
    background-color: var(--gold);
    color: var(--burgundy);
    border-color: var(--gold);
}

.cta-section .btn-primary:hover {
    background-color: transparent;
    color: var(--gold);
}

.cta-section .btn-secondary {
    background-color: transparent;
    color: var(--white);
    border-color: var(--white);
}

.cta-section .btn-secondary:hover {
    background-color: var(--white);
    color: var(--burgundy);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background-color: var(--dark-gray);
    color: var(--white);
    padding: 60px 0 20px;
}

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

.footer-column h3 {
    font-family: var(--font-heading);
    font-size: 24px;
    color: var(--gold);
    margin-bottom: 20px;
}

.footer-column h4 {
    font-family: var(--font-heading);
    font-size: 20px;
    color: var(--gold);
    margin-bottom: 15px;
}

.footer-column p {
    line-height: 1.8;
    margin-bottom: 20px;
    opacity: 0.9;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background-color: var(--burgundy);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
}

.social-links a:hover {
    background-color: var(--gold);
    color: var(--burgundy);
    transform: translateY(-3px);
}

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

.footer-column ul li {
    margin-bottom: 12px;
}

.footer-column ul li a {
    opacity: 0.9;
    transition: var(--transition-smooth);
}

.footer-column ul li a:hover {
    opacity: 1;
    color: var(--gold);
    padding-left: 5px;
}

.location-info {
    margin-bottom: 25px;
}

.location-info strong {
    color: var(--gold);
}

.contact-info li {
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-info i {
    color: var(--gold);
    width: 20px;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom a {
    color: var(--gold);
}

.footer-bottom a:hover {
    text-decoration: underline;
}

/* ============================================
   WHATSAPP FLOAT BUTTON
   ============================================ */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: 0 5px 20px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: var(--transition-smooth);
    animation: pulse 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.6);
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 5px 20px rgba(37, 211, 102, 0.4);
    }
    50% {
        box-shadow: 0 5px 30px rgba(37, 211, 102, 0.7);
    }
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 992px) {
    .hero-title {
        font-size: 56px;
    }
    
    .section-header h2 {
        font-size: 40px;
    }
    
    .nav-menu {
        position: fixed;
        top: 80px;
        right: -100%;
        width: 300px;
        height: calc(100vh - 80px);
        background: linear-gradient(135deg, var(--white) 0%, #f9f9f9 100%);
        flex-direction: column;
        padding: 40px;
        box-shadow: -5px 0 30px rgba(91, 14, 20, 0.15);
        transition: right 0.4s cubic-bezier(0.68, -0.55, 0.27, 1.55);
        align-items: flex-start;
        z-index: 999;
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-links {
        flex-direction: column;
        gap: 20px;
        width: 100%;
    }
    
    /* Staggered fade-in animation for menu items */
    .nav-menu.active .nav-links li {
        animation: slideInRight 0.5s ease forwards;
        opacity: 0;
    }
    
    .nav-menu.active .nav-links li:nth-child(1) { animation-delay: 0.1s; }
    .nav-menu.active .nav-links li:nth-child(2) { animation-delay: 0.2s; }
    .nav-menu.active .nav-links li:nth-child(3) { animation-delay: 0.3s; }
    .nav-menu.active .nav-links li:nth-child(4) { animation-delay: 0.4s; }
    
    .nav-menu.active .nav-cta {
        animation: slideInRight 0.5s ease forwards 0.5s;
        opacity: 0;
    }
    
    @keyframes slideInRight {
        from {
            opacity: 0;
            transform: translateX(30px);
        }
        to {
            opacity: 1;
            transform: translateX(0);
        }
    }
    
    .hamburger {
        display: flex;
    }
    
    /* Reposition carousel controls on tablets */
    .carousel-control {
        width: 40px;
        height: 40px;
        top: auto;
        bottom: 150px;
    }
    
    .carousel-control.prev {
        left: 20%;
    }
    
    .carousel-control.next {
        right: 20%;
    }
}

@media (max-width: 768px) {
    /* Hide carousel controls on mobile, show indicators only */
    .carousel-control {
        display: none;
    }
    
    /* Make indicators larger and more prominent on mobile */
    .carousel-indicators {
        bottom: 140px;
    }
    
    .indicator {
        width: 10px;
        height: 10px;
    }
    
    .indicator.active {
        width: 25px;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 42px;
    }
    
    .hero-subtitle {
        font-size: 18px;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 15px;
    }
    
    .hero-buttons .btn-primary,
    .hero-buttons .btn-secondary {
        width: 100%;
        text-align: center;
    }
    
    .section-header h2 {
        font-size: 32px;
    }
    
    .features-grid,
    .events-grid,
    .age-groups-grid {
        grid-template-columns: 1fr;
    }
    
    .mission-content h2 {
        font-size: 32px;
    }
    
    .mission-content p {
        font-size: 18px;
    }
    
    .cta-content h2 {
        font-size: 36px;
    }
    
    .cta-content p {
        font-size: 18px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 36px;
    }
    
    .logo span {
        font-size: 18px;
    }
    
    .logo img {
        height: 40px;
    }
    
    .hero-locations {
        flex-direction: column;
    }
    
    .whatsapp-float {
        width: 50px;
        height: 50px;
        font-size: 24px;
        bottom: 20px;
        right: 20px;
    }
}