/* Reset et Variables CSS */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #ff6b35;
    --primary-dark: #e55a2b;
    --secondary-color: #2c3e50;
    --accent-color: #f39c12;
    --text-light: #ecf0f1;
    --text-dark: #2c3e50;
    --bg-light: #f8f9fa;
    --bg-dark: #1a1a1a;
    --gradient-primary: linear-gradient(135deg, #ff6b35 0%, #f39c12 100%);
    --gradient-secondary: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    --shadow-light: 0 2px 10px rgba(0,0,0,0.1);
    --shadow-medium: 0 5px 20px rgba(0,0,0,0.15);
    --shadow-heavy: 0 10px 40px rgba(0,0,0,0.2);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --border-radius: 12px;
    --border-radius-lg: 20px;
}

html {
    scroll-padding-top: 120px;
    scroll-behavior: smooth;
}

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(26, 26, 26, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(26, 26, 26, 0.98);
    box-shadow: var(--shadow-medium);
}

.nav-container {
    max-width: 100%; /* Changed from 1200px to allow full width */
    margin: 0 auto;
    padding: 0 4rem; /* Increased padding to look good */
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.nav-logo img {
    height: 90px;
    width: 90px;
    object-fit: cover;
    border-radius: 50%;
}

.nav-logo-text h2 {
    font-family: 'Bebas Neue', cursive;
    color: var(--primary-color);
    font-size: 1.8rem;
    letter-spacing: 2px;
    line-height: 1;
    margin: 0;
}

.nav-logo-text span {
    color: var(--text-light);
    font-size: 0.9rem;
    display: block;
    text-align: center;
    letter-spacing: 1px;
    line-height: 1;
}

/* Remove old .nav-logo h2 and span styles */
.nav-logo h2, .nav-logo span {
    /* Resetting previous styles if needed, but the new classes override them effectively */
}

/* Footer Logo */
.footer-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    text-decoration: none;
}

.footer-logo img {
    height: 110px;
    width: 110px;
    object-fit: cover;
    border-radius: 50%;
}

.footer-logo-text h3 {
    font-family: 'Bebas Neue', cursive;
    color: var(--primary-color);
    font-size: 1.8rem;
    letter-spacing: 2px;
    margin-bottom: 0;
    line-height: 1;
}

.footer-logo-text span {
    color: var(--text-light);
    font-size: 0.9rem;
    display: block;
    line-height: 1;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

/* ... */

.btn-sm {
    padding: 0.5rem 1.5rem;
    font-size: 0.9rem;
    border-width: 1px;
}

.btn-sm:hover {
    color: white;
}

.nav-link {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
    padding: 0.5rem 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link:hover {
    color: var(--primary-color);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--text-light);
    transition: var(--transition);
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: #1a1a1a;
}

.hero-slideshow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
    transform: scale(1.1);
}

.hero-slide.active {
    opacity: 1;
    transform: scale(1);
    z-index: 1;
}

.hero-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.7));
    z-index: 1;
}

.slide-caption {
    position: absolute;
    top: 180px;
    left: 0;
    background: rgba(0, 0, 0, 0.85);
    padding: 1rem 2rem 1rem 10%; /* Left padding to align somewhat with container but extend to edge */
    color: white;
    z-index: 2;
    max-width: 800px;
    border-right: 5px solid var(--primary-color);
    clip-path: polygon(0 0, 100% 0, 95% 100%, 0% 100%);
    opacity: 0;
    transform: translateX(-50px);
    transition: all 1s ease-out 0.5s;
}

.hero-slide.active .slide-caption {
    opacity: 1;
    transform: translateX(0);
}

.slide-caption h2 {
    font-family: 'Bebas Neue', cursive;
    font-size: 2rem;
    line-height: 1;
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: white;
}

.slide-caption p {
    font-family: 'Roboto', sans-serif;
    font-size: 0.9rem;
    font-weight: 300;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #ddd;
}

.hero-slide.active {
    opacity: 1;
    transform: scale(1);
}

.slideshow-controls {
    position: absolute;
    bottom: 6rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 1.5rem;
    z-index: 10;
}

.prev-slide,
.next-slide {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    backdrop-filter: blur(5px);
}

.prev-slide:hover,
.next-slide:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    transform: scale(1.1);
}

.slide-indicators {
    display: flex;
    gap: 0.5rem;
}

.indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: var(--transition);
}

.indicator.active {
    background: var(--primary-color);
    transform: scale(1.2);
}

.hero::before {
    /* Removed old gradient overlay from pseudo-element since we have explicit overlay div */
    display: none; 
}

.hero-overlay {
    display: none; /* We use per-slide overlay now */
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 4rem;
    align-items: center;
}

.hero-title {
    margin-bottom: 1.5rem;
}

.title-main {
    font-family: 'Bebas Neue', cursive;
    font-size: clamp(3rem, 8vw, 6rem);
    color: var(--primary-color);
    display: block;
    letter-spacing: 4px;
    animation: slideInLeft 1s ease-out;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.title-sub {
    font-family: 'Bebas Neue', cursive;
    font-size: clamp(1.5rem, 4vw, 3rem);
    color: var(--text-light);
    display: block;
    letter-spacing: 2px;
    animation: slideInRight 1s ease-out 0.3s both;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

.hero-description {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.8;
    animation: fadeInUp 1s ease-out 0.6s both;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    animation: fadeInUp 1s ease-out 0.9s both;
}

/* Buttons */
.btn {
    padding: 1rem 2rem;
    border: none;
    border-radius: var(--border-radius);
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    display: inline-block;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: var(--shadow-medium);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-heavy);
}

.btn-secondary {
    background: transparent;
    color: var(--text-light);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-outline:hover {
    background: var(--primary-color);
    color: white;
}

.btn-large {
    padding: 1.2rem 2.5rem;
    font-size: 1.1rem;
}

.btn-full {
    width: 100%;
}

/* Hero Stats */
.hero-stats {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    animation: fadeInRight 1s ease-out 1.2s both;
}

.stat {
    text-align: center;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: var(--border-radius);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.stat-number {
    display: block;
    font-family: 'Bebas Neue', cursive;
    font-size: 3rem;
    color: var(--primary-color);
    line-height: 1;
}

.stat-label {
    color: var(--text-light);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
    z-index: 2;
}

.scroll-arrow {
    width: 30px;
    height: 30px;
    border-right: 2px solid var(--primary-color);
    border-bottom: 2px solid var(--primary-color);
    transform: rotate(45deg);
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-family: 'Bebas Neue', cursive;
    font-size: clamp(2.5rem, 5vw, 4rem);
    color: var(--text-dark);
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

.section-header p {
    font-size: 1.2rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

/* Features Section */
.features {
    padding: 8rem 0 12rem 0; /* Augmenté pour l'espace */
    background: var(--bg-light);
    position: relative;
    z-index: 10;
    min-height: 90vh; /* Augmenté pour forcer l'espace vertical */
    display: flex;
    align-items: center;
}

.features-grid {
    display: flex; /* Changé de grid à flex */
    flex-wrap: nowrap; /* Force sur une ligne */
    gap: 2rem;
    justify-content: center; /* Centre les cartes */
    align-items: stretch; /* Même hauteur */
}

.feature-card {
    flex: 1; /* Largeur égale */
    width: 100%;
    background: white;
    padding: 2.5rem;
    border-radius: var(--border-radius-lg);
    text-align: center;
    box-shadow: var(--shadow-light);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

@media (max-width: 900px) {
    .features-grid {
        flex-direction: column; /* Stack sur mobile */
    }
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: var(--transition);
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-heavy);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: white;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.feature-card p {
    color: #666;
    line-height: 1.8;
}

/* Classes Section */
.classes {
    padding: 3rem 0;
}

.classes-grid {
    display: flex;
    flex-wrap: nowrap; /* Force single line */
    gap: 1.5rem; /* Reduce gap slightly to fit more */
    justify-content: center;
    align-items: stretch; /* Make cards same height */
}

.class-card {
    flex: 1;
    width: 100%; /* Take available width in flex item */
    min-width: 0; /* Allow shrinking below content size if needed */
    background: white;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-light);
    transition: var(--transition);
    position: relative;
    display: flex;
    flex-direction: column;
}

/* Mobile responsiveness */
@media (max-width: 900px) {
    .classes-grid {
        flex-direction: column; /* Stack on mobile */
    }
}

.class-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-heavy);
}

.class-card.featured {
    border: 2px solid var(--primary-color);
}

.class-card.featured::before {
    content: 'POPULAIRE';
    position: absolute;
    top: 1rem;
    right: -30px;
    background: var(--gradient-primary);
    color: white;
    padding: 0.5rem 3rem;
    font-size: 0.8rem;
    font-weight: 600;
    transform: rotate(45deg);
    z-index: 1;
}

.class-image {
    height: 200px;
    background: var(--gradient-secondary);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.class-overlay {
    position: absolute;
    top: 1rem;
    left: 1rem;
}

.class-level {
    background: rgba(255, 255, 255, 0.9);
    color: var(--text-dark);
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
    font-weight: 600;
    font-size: 0.9rem;
}

.class-content {
    padding: 2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.class-content h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.class-content p {
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.8;
    flex-grow: 0; /* Description shouldn't push too much */
}

.class-features {
    list-style: none;
    margin-bottom: 2rem;
    flex: 1; /* Pushes footer down */
}

.class-features li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    color: #666;
}

.class-features i {
    color: var(--primary-color);
}

.class-footer {
    display: flex;
    flex-direction: column; /* Stack price and button */
    align-items: center; /* Center them */
    padding-top: 1.5rem;
    border-top: 1px solid #eee;
    margin-top: auto; /* Ensures footer stays at bottom */
    gap: 1rem; /* Space between price and button */
}

.class-price {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
}

.class-footer .btn {
    width: 100%; /* Make button full width */
}

/* Instructors Section */
.instructors {
    padding: 3rem 0;
    background: var(--bg-light);
}

.instructors-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.instructor-card {
    background: white;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-light);
    transition: var(--transition);
}

.instructor-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-heavy);
}

.instructor-image {
    height: 350px;
    background: var(--gradient-secondary);
    position: relative;
    overflow: hidden;
}

.instructor-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    transition: var(--transition);
}

.instructor-card:hover .instructor-image img {
    transform: scale(1.05);
}

.instructor-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 1rem;
    opacity: 0;
    transition: var(--transition);
}

.instructor-card:hover .instructor-overlay {
    opacity: 1;
}

/* Remove grid styles */
.instructor-images, .instructor-img-main, .instructor-img-sub1, .instructor-img-sub2 {
    display: none;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--primary-dark);
    transform: scale(1.1);
}

.instructor-info {
    padding: 1.5rem;
    text-align: center;
}

.instructor-info h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.instructor-title {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.instructor-experience {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.6;
}

/* Schedule Section */
.schedule {
    padding: 3rem 0;
}

/* Schedule Tabs */
.schedule-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.tab-btn {
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
    background: white;
    border: 2px solid transparent;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--shadow-light);
}

.tab-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

.tab-btn.active {
    background: var(--gradient-primary);
    color: white;
    box-shadow: var(--shadow-medium);
}

.schedule-container {
    background: white;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-medium);
    display: none;
    animation: fadeInUp 0.5s ease-out;
}

.schedule-container.active {
    display: block;
}

.schedule-table {
    display: grid;
    grid-template-columns: 120px repeat(7, 1fr);
}

.schedule-header {
    display: contents;
}

.day-header {
    background: var(--gradient-secondary);
    color: white;
    padding: 1rem;
    text-align: center;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.schedule-body {
    display: contents;
}

.time-slot {
    display: contents;
}

.time-label {
    background: var(--bg-light);
    padding: 1rem;
    text-align: center;
    font-weight: 600;
    color: var(--text-dark);
    border-right: 1px solid #ddd;
    border-left: none;
}

.class-slot {
    padding: 1rem;
    text-align: center;
    border-right: 1px solid #eee;
    border-bottom: 1px solid #eee;
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 80px;
}

.class-slot:hover {
    background: rgba(255, 107, 53, 0.1);
}

.class-slot.beginner {
    background: rgba(76, 175, 80, 0.1);
    color: #4CAF50;
}

.class-slot.advanced {
    background: rgba(255, 152, 0, 0.1);
    color: #FF9800;
}

.class-slot.elite {
    background: rgba(244, 67, 54, 0.1);
    color: #F44336;
}

/* Pricing Section */
.pricing {
    padding: 3rem 0;
    background: #fff;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.pricing-card {
    background: #fff;
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--shadow-light);
    text-align: center;
    transition: var(--transition);
    border: 1px solid #eee;
    overflow: hidden; /* Added to clip image */
}

/* CTA Section */
.cta {
    padding: 6rem 0;
    background: var(--gradient-primary);
    color: white;
    text-align: center;
}

.cta-content h2 {
    font-family: 'Bebas Neue', cursive;
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 1rem;
    letter-spacing: 2px;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta .btn-secondary {
    border-color: white;
    color: white;
}

.cta .btn-secondary:hover {
    background: white;
    color: var(--primary-color);
}

/* Contact Section */
.contact {
    padding: 3rem 0;
    background: var(--bg-light);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.contact-details h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.contact-details p {
    color: #666;
    line-height: 1.6;
}

.contact-form {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-light);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid #eee;
    border-radius: var(--border-radius);
    font-size: 1rem;
    transition: var(--transition);
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Footer */
.footer {
    background: linear-gradient(rgba(26, 26, 26, 0.85), rgba(26, 26, 26, 0.9)), url('images/footer-bg.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: var(--text-light);
    padding: 4rem 0 1rem;
    position: relative;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: #ccc;
    text-decoration: none;
    transition: var(--transition);
}

.footer-section ul li a:hover {
    color: var(--primary-color);
}

.footer-logo h3 {
    font-family: 'Bebas Neue', cursive;
    color: var(--primary-color);
    font-size: 1.8rem;
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
}

.footer-logo span {
    color: var(--text-light);
    font-size: 0.9rem;
    display: block;
    margin-bottom: 1rem;
}

.footer-section p {
    color: #ccc;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid #444;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-links {
    display: flex;
    gap: 1rem;
}

.footer-links a {
    color: #ccc;
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary-color);
}

/* Animations */
@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* Location Info Section */
.location-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
}

.planning-card {
    background: var(--bg-light);
    border-radius: var(--border-radius);
    padding: 1rem;
    margin: 0 1.5rem 1.5rem;
    border: 1px solid #eee;
}

.map-container {
    width: 100%;
    height: 300px;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    box-shadow: var(--shadow-light);
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.building-photo {
    width: 100%;
    height: 300px;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
}

.building-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.building-photo:hover img {
    transform: scale(1.05);
}

.location-address {
    grid-column: 1 / -1;
    text-align: center;
    padding-top: 1rem;
    font-weight: 500;
    color: var(--text-dark);
}

.location-address i {
    color: var(--primary-color);
    margin-right: 0.5rem;
}

@media (max-width: 900px) {
    .events-layout {
        grid-template-columns: 1fr !important;
    }
    .events-side-image-wrapper {
        position: static !important;
        margin-top: 2rem;
    }
}

@media (max-width: 768px) {
    .location-info {
        grid-template-columns: 1fr;
    }
}
.events {
    padding: 3rem 0;
    background: var(--bg-light);
}

.events-container {
    background: transparent;
    border-radius: 0;
    padding: 0;
    box-shadow: none;
    max-width: 900px;
    margin: 0 auto;
}

.events-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.events-title {
    font-family: 'Roboto', sans-serif;
    background: white;
    color: var(--secondary-color);
    padding: 0.5rem 1.5rem;
    border-radius: var(--border-radius);
    font-size: 1.5rem;
    font-weight: 700;
    box-shadow: var(--shadow-light);
    display: inline-block;
    position: relative;
    overflow: hidden;
}

.events-title::after {
    content: '';
    display: block;
    height: 4px;
    width: 100%;
    background: var(--primary-color);
    position: absolute;
    bottom: 0;
    left: 0;
}

.events-tabs {
    display: flex;
    background: white;
    padding: 0.3rem;
    border-radius: 30px;
    box-shadow: var(--shadow-light);
}

.event-tab {
    padding: 0.5rem 1.5rem;
    border: none;
    background: transparent;
    color: #666;
    font-weight: 600;
    cursor: pointer;
    border-radius: 25px;
    transition: var(--transition);
}

.event-tab.active {
    background: var(--secondary-color);
    color: white;
}

.events-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.event-card {
    background: white;
    border-radius: var(--border-radius);
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: var(--shadow-light);
    transition: var(--transition);
    border-left: 5px solid var(--secondary-color);
    gap: 1.5rem;
}

.event-image {
    width: 120px;
    height: 80px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
}

.event-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.event-card:hover .event-image img {
    transform: scale(1.1);
}

.event-info {
    flex: 1;
}

/* Responsive adjustment */
@media (max-width: 768px) {
    .nav-container {
        justify-content: space-between;
        padding: 0 20px;
    }

    .nav-logo {
        position: static;
        transform: none;
    }

    .event-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .event-image {
        width: 100%;
        height: 150px;
    }
}

.event-details {
    text-align: right;
    min-width: 200px;
}

.event-date {
    color: #333;
    font-weight: 500;
    font-size: 0.95rem;
    margin-bottom: 0.2rem;
}

.event-location {
    color: #666;
    font-size: 0.9rem;
}

.events-footer {
    text-align: center;
    margin-top: 2rem;
}

.btn-rounded {
    border-radius: 30px;
    padding: 0.8rem 2rem;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .nav-container {
        justify-content: space-between;
        padding: 0 20px;
    }

    .nav-logo {
        position: static;
        transform: none;
    }

    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 100px; /* Adjusted for taller navbar */
        flex-direction: column;
        background-color: var(--bg-dark);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: var(--shadow-medium);
        padding: 2rem 0;
    }
    
    .nav-menu.active {
        left: 0;
    }

    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .hero-stats {
        flex-direction: row;
        justify-content: center;
    }
}

@media (max-width: 1024px) {
    .instructors-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 1rem;
    }
}

@media (max-width: 768px) {
    .event-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .event-details {
        text-align: left;
        width: 100%;
        padding-top: 0.5rem;
        border-top: 1px solid #eee;
    }
    
    .events-header {
        flex-direction: column;
        align-items: flex-start;
    }

    /* Moved navbar mobile styles to 1024px query above */
    
    .features-grid,
    .classes-grid,
    .instructors-grid {
        grid-template-columns: 1fr;
    }
    
    .schedule-table {
        grid-template-columns: 80px repeat(7, 1fr);
        font-size: 0.8rem;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-content {
        padding: 0 15px;
    }
    
    .stat {
        padding: 1rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .class-footer {
        flex-direction: column;
        gap: 1rem;
    }
    
    .schedule-table {
        grid-template-columns: 60px repeat(7, 1fr);
        font-size: 0.7rem;
    }
    
    .contact-item {
        flex-direction: column;
        text-align: center;
    }
}

/* Scroll Animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.slide-in-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.6s ease-out;
}

.slide-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.slide-in-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.6s ease-out;
}

.slide-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* Image Wall / Gallery Section */
.image-wall {
    padding: 5rem 0;
    background: #0a0a0a;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.image-wall .section-header h2 {
    color: var(--text-light);
}

.image-wall .section-header p {
    color: rgba(255, 255, 255, 0.6);
}

.gallery-wrapper {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
    position: relative;
}

.gallery-main-split {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    gap: 2rem;
    flex: 1;
    max-width: 1100px;
    width: 100%;
}

.gallery-video-side,
.gallery-image-side {
    flex: 1;
    position: relative;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    aspect-ratio: 16/9;
    background: #1a1a1a;
    box-shadow: var(--shadow-lg);
}

.video-container,
.image-container {
    width: 100%;
    height: 100%;
}

.video-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-thumbnails-wrapper {
    margin-top: 3rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--border-radius-lg);
}

.gallery-thumbnails {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.thumbnail {
    width: 120px;
    height: 80px;
    border-radius: var(--border-radius);
    overflow: hidden;
    cursor: pointer;
    opacity: 0.4;
    border: 3px solid transparent;
    transition: var(--transition);
    position: relative;
}

.thumbnail::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.3);
    transition: var(--transition);
}

.thumbnail.active {
    opacity: 1;
    border-color: var(--primary-color);
    transform: translateY(-5px);
}

.thumbnail.active::after {
    background: transparent;
}

.thumbnail:hover {
    opacity: 0.8;
}

@media (max-width: 992px) {
    .gallery-main-split {
        flex-direction: column;
        align-items: center;
    }
    
    .gallery-video-side,
    .gallery-image-side {
        width: 100%;
        max-width: 600px;
    }
}

.thumbnail:hover {
    opacity: 0.8;
}

.thumbnail.active {
    opacity: 1;
    border-color: var(--primary-color);
    box-shadow: 0 0 15px rgba(255, 107, 53, 0.5);
}

.thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Mobile responsiveness for gallery */
@media (max-width: 768px) {
    .gallery-main {
        flex-direction: column;
        gap: 1rem;
    }
    
    .gallery-slide {
        aspect-ratio: 16/10;
    }
    
    .gallery-nav {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .thumbnail {
        width: 60px;
        height: 60px;
    }
    
    .gallery-thumbnails {
        gap: 0.5rem;
    }
}