
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&family=Pacifico&family=Roboto+Mono:ital,wght@0,100..700;1,100..700&display=swap');



/* ===== VARIABLES CSS ===== */
:root {
    --primary-color: #e67e22;
    --secondary-color: #2c3e50;
    --accent-color: #16a085;
    --light-color: #ecf0f1;
    --dark-color: #2c3e50;
    --text-color: #333;
    --text-light: #7f8c8d;
    --white: #fff;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
    --border-radius: 10px;
    --gradient-primary: linear-gradient(135deg, var(--primary-color), #d35400);
    --gradient-secondary: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
}

/* ===== GÉNÉRAL ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--light-color);
    overflow-x: hidden;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}
  /* Améliorations supplémentaires pour le header et navigation */
        .navbar {
            background: rgba(255, 255, 255, 0.98);
            backdrop-filter: blur(20px) saturate(180%);
            -webkit-backdrop-filter: blur(20px) saturate(180%);
            box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
            border-bottom: 1px solid rgba(255, 255, 255, 0.2);
        }

        .navbar.scrolled {
            background: rgba(255, 255, 255, 0.95);
            backdrop-filter: blur(25px) saturate(200%);
            -webkit-backdrop-filter: blur(25px) saturate(200%);
            padding: 5px 0;
        }

        .logo-container {
            display: flex;
            align-items: center;
            text-decoration: none;
            position: relative;
            padding: 8px 0;
            transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
        }

        .logo-container::before {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 0;
            height: 2px;
            background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
            transition: width 0.4s ease;
            border-radius: 2px;
        }

        .logo-container:hover::before {
            width: 100%;
        }

        .logo {
            height: 45px;
            margin-right: 12px;
            transition: all 0.3s ease;
            filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
        }

        .logo-container:hover .logo {
            transform: scale(1.1) rotate(5deg);
            filter: drop-shadow(0 4px 8px rgba(230, 126, 34, 0.3));
        }

        .logo-text {
            font-size: 1.6rem;
            font-weight: 800;
            color: var(--secondary-color);
            letter-spacing: -0.5px;
            background: linear-gradient(135deg, var(--secondary-color), var(--dark-color));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            transition: all 0.3s ease;
        }

        .logo-container:hover .logo-text {
            transform: translateY(-2px);
            text-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
        }

        .nav-links {
            display: flex;
            list-style: none;
            gap: 8px;
            position: relative;
        }

        .nav-links li {
            position: relative;
        }

        .nav-links a {
            text-decoration: none;
            color: var(--secondary-color);
            font-weight: 600;
            font-size: 0.92rem;
            transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
            position: relative;
            padding: 12px 18px;
            border-radius: 25px;
            overflow: hidden;
            background: transparent;
            letter-spacing: 0.3px;
        }

        .nav-links a::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, 
                transparent, 
                rgba(230, 126, 34, 0.15), 
                rgba(22, 160, 133, 0.1),
                transparent);
            transition: left 0.6s ease;
            z-index: -1;
        }

        .nav-links a:hover::before {
            left: 100%;
        }

        .nav-links a::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 50%;
            transform: translateX(-50%);
            width: 0;
            height: 2px;
            background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
            border-radius: 2px;
            transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
        }

        .nav-links a:hover {
            color: var(--primary-color);
            transform: translateY(-2px);
            background: rgba(230, 126, 34, 0.05);
            box-shadow: 0 4px 15px rgba(230, 126, 34, 0.15);
        }

        .nav-links a:hover::after {
            width: 80%;
        }

        .active-nav {
            color: var(--white) !important;
            background: linear-gradient(135deg, var(--primary-color), var(--accent-color)) !important;
            box-shadow: 0 4px 15px rgba(230, 126, 34, 0.3) !important;
            transform: translateY(-2px) !important;
        }

        .active-nav::after {
            width: 0 !important;
        }

        .active-nav:hover {
            background: linear-gradient(135deg, #d35400, #138a6f) !important;
            box-shadow: 0 6px 20px rgba(230, 126, 34, 0.4) !important;
        }

        .menu-toggle {
            display: none;
            position: relative;
            width: 32px;
            height: 32px;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            background: transparent;
            border: none;
            cursor: pointer;
            padding: 0;
            transition: all 0.3s ease;
            z-index: 1001;
        }

        .menu-toggle span {
            display: block;
            height: 3px;
            width: 24px;
            background: linear-gradient(135deg, var(--secondary-color), var(--dark-color));
            border-radius: 3px;
            transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
            position: absolute;
        }

        .menu-toggle span:nth-child(1) {
            transform: translateY(-8px);
            width: 20px;
        }

        .menu-toggle span:nth-child(2) {
            width: 24px;
        }

        .menu-toggle span:nth-child(3) {
            transform: translateY(8px);
            width: 16px;
        }

        .menu-toggle:hover span {
            background: var(--primary-color);
            box-shadow: 0 2px 4px rgba(230, 126, 34, 0.3);
        }

        .menu-toggle:hover span:nth-child(1) {
            width: 24px;
        }

        .menu-toggle:hover span:nth-child(3) {
            width: 24px;
        }

        .menu-toggle.active {
            transform: rotate(180deg);
        }

        .menu-toggle.active span {
            background: var(--primary-color);
        }

        .menu-toggle.active span:nth-child(1) {
            transform: translateY(0) rotate(45deg);
            width: 24px;
        }

        .menu-toggle.active span:nth-child(2) {
            opacity: 0;
            transform: translateX(-10px);
        }

        .menu-toggle.active span:nth-child(3) {
            transform: translateY(0) rotate(-45deg);
            width: 24px;
        }

        /* Améliorations pour le hero */
        .hero {
            position: relative;
            overflow: hidden;
        }

        .hero::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 100%;
            height: 150px;
            background: linear-gradient(transparent, var(--light-color));
            z-index: 1;
        }

        .hero-content {
            position: relative;
            z-index: 2;
        }

        /* Améliorations pour les cartes de circuit */
        .circuit-card {
            position: relative;
            overflow: hidden;
            transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
        }

        .circuit-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(135deg, rgba(230, 126, 34, 0.03), rgba(22, 160, 133, 0.03));
            opacity: 0;
            transition: opacity 0.3s ease;
            z-index: -1;
        }

        .circuit-card:hover::before {
            opacity: 1;
        }

        .circuit-card.active {
            transform: translateY(-5px);
            box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
        }

        .path-icon {
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
            transition: all 0.3s ease;
        }

        .circuit-card:hover .path-icon {
            transform: scale(1.1);
            box-shadow: 0 6px 20px rgba(230, 126, 34, 0.4);
        }

        /* Améliorations pour les galeries */
        .circuit-gallery {
            border-radius: 15px;
            overflow: hidden;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
        }

        .slide {
            transition: transform 0.8s ease, opacity 0.8s ease;
        }

        .slide.active {
            transform: scale(1);
        }

        .carousel-btn {
            background: rgba(255, 255, 255, 0.9);
            backdrop-filter: blur(10px);
            -webkit-backdrop-filter: blur(10px);
            transition: all 0.3s ease;
        }

        .carousel-btn:hover {
            background: var(--white);
            transform: scale(1.2);
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
        }

        /* Améliorations pour la section CTA */
        .cta-section {
            position: relative;
            overflow: hidden;
        }

        .cta-section::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 120" preserveAspectRatio="none"><path d="M321.39,56.44c58-10.79,114.16-30.13,172-41.86,82.39-16.72,168.19-17.73,250.45-.39C823.78,31,906.67,72,985.66,92.83c70.05,18.48,146.53,26.09,214.34,3V0H0V27.35A600.21,600.21,0,0,0,321.39,56.44Z" fill="rgba(255,255,255,0.1)"/></svg>');
            background-size: cover;
            background-position: center;
        }

        /* Améliorations pour le footer */
        footer {
            position: relative;
        }

        footer::before {
            height: 3px;
            background: linear-gradient(90deg, var(--primary-color), var(--accent-color), var(--primary-color));
        }

        /* Animations supplémentaires */
        @keyframes float {
            0%, 100% { transform: translateY(0); }
            50% { transform: translateY(-10px); }
        }

        .floating {
            animation: float 6s ease-in-out infinite;
        }

        /* Responsive amélioré */
        @media (max-width: 768px) {
            .menu-toggle {
                display: flex;
            }
            
            .nav-links {
                position: fixed;
                top: 70px;
                left: 0;
                width: 100%;
                background: rgba(255, 255, 255, 0.98);
                backdrop-filter: blur(20px) saturate(180%);
                -webkit-backdrop-filter: blur(20px) saturate(180%);
                flex-direction: column;
                align-items: center;
                padding: 20px 0;
                box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
                transform: translateY(-100%);
                opacity: 0;
                transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
                border-top: 1px solid rgba(255, 255, 255, 0.3);
            }
            
            .nav-links.active {
                transform: translateY(0);
                opacity: 1;
            }
            
            .nav-links li {
                margin: 8px 0;
                width: 80%;
                text-align: center;
            }
            
            .nav-links a {
                display: block;
                padding: 15px 20px;
                border-radius: 15px;
                background: rgba(255, 255, 255, 0.8);
                box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
                transition: all 0.3s ease;
            }
            
            .nav-links a:hover {
                transform: translateX(10px);
                background: rgba(230, 126, 34, 0.1);
            }
            
            .active-nav {
                transform: translateX(10px) !important;
            }
            
            .navbar.scrolled {
                padding: 8px 0;
            }
        }

/* ===== HERO SECTION ===== */
.hero {
    height: 80vh;
    background: linear-gradient(rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.35)), url('../Img/Ylang.jpg') no-repeat center center/cover;

    display: flex;
    align-items: center;
    text-align: center;
    color: var(--white);
    position: relative;
    margin-top: 70px;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(230, 126, 34, 0.2), rgba(22, 160, 133, 0.2));
    z-index: 1;
}

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

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    animation: fadeInUp 1s ease;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    animation: fadeInUp 1s ease 0.2s forwards;
    opacity: 0;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    background: var(--gradient-primary);
    color: var(--white);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    font-size: 1rem;
    box-shadow: 0 4px 15px rgba(230, 126, 34, 0.3);
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(230, 126, 34, 0.6);
}

.btn-hero {
    animation: fadeInUp 1s ease 0.4s forwards;
    opacity: 0;
}

.btn-secondary {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    box-shadow: none;
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(230, 126, 34, 0.3);
}

.btn-large {
    padding: 15px 40px;
    font-size: 1.1rem;
}

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

/* ===== INDICATEUR DE PROGRESSION ===== */
.circuit-progress {
    position: fixed;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
    z-index: 100;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.progress-step {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--text-light);
    cursor: pointer;
    transition: var(--transition);
    position: relative;
}

.progress-step.active {
    background: var(--primary-color);
    transform: scale(1.3);
    box-shadow: 0 0 10px rgba(230, 126, 34, 0.7);
}

.progress-step.visited {
    background: var(--accent-color);
}

.progress-step:hover::after {
    content: attr(title);
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--secondary-color);
    color: var(--white);
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 0.8rem;
    white-space: nowrap;
    animation: fadeIn 0.3s ease;
}

/* ===== PRODUITS SECTION ===== */
main {
    padding: 80px 0;
}

.circuits-container {
    max-width: 1000px;
    margin: 0 auto;
}

.circuit-card {
    background: var(--white);
    border-radius: var(--border-radius);
    margin-bottom: 30px;
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: var(--transition);
    opacity: 0;
    transform: translateY(30px);
    position: relative;
}

.circuit-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.circuit-card.active {
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    transform: scale(1.01);
}

.path-icon {
    position: absolute;
    top: 20px;
    left: 20px;
    width: 40px;
    height: 40px;
    background: var(--gradient-primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.1rem;
    z-index: 2;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.circuit-header {
    padding: 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    position: relative;
    transition: var(--transition);
}

.circuit-header:hover {
    background: rgba(236, 240, 241, 0.5);
}

.circuit-title h2 {
    font-size: 1.5rem;
    color: var(--secondary-color);
    margin-bottom: 5px;
    display: flex;
    align-items: center;
}

.circuit-title h2 i {
    margin-right: 10px;
    color: var(--primary-color);
}

.circuit-title p {
    color: var(--text-light);
    font-size: 1rem;
}

.circuit-toggle {
    transition: var(--transition);
    color: var(--primary-color);
}

.circuit-card.active .circuit-toggle {
    transform: rotate(180deg);
}

.circuit-details {
    display: none;
    padding: 0 25px 25px;
    animation: slideDown 0.5s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.circuit-card.active .circuit-details {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.circuit-info h3 {
    font-size: 1.3rem;
    color: var(--secondary-color);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.circuit-info h3 i {
    margin-right: 10px;
    color: var(--primary-color);
}

.circuit-info p {
    margin-bottom: 20px;
    line-height: 1.7;
}

.circuit-info ul {
    list-style: none;
    margin-bottom: 25px;
}

.circuit-info li {
    padding: 8px 0;
    border-bottom: 1px solid #eee;
    display: flex;
    align-items: center;
    transition: var(--transition);
}

.circuit-info li:hover {
    background: rgba(236, 240, 241, 0.5);
    padding-left: 10px;
}

.circuit-info li:last-child {
    border-bottom: none;
}

.circuit-info li i {
    color: var(--primary-color);
    margin-right: 10px;
    font-size: 0.9rem;
    width: 20px;
}

.circuit-actions {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.circuit-gallery {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    height: 400px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.slides-container {
    position: relative;
    height: 100%;
    width: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 0.5s ease;
    transform: scale(1.05);
}

.slide.active {
    opacity: 1;
    transform: scale(1);
    transition: transform 0.5s ease, opacity 0.5s ease;
}

.slide-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.7);
    color: var(--white);
    padding: 15px;
    font-size: 0.9rem;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.slide.active .slide-caption {
    transform: translateY(0);
}

.carousel-controls {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
    padding: 0 20px;
    z-index: 10;
}

.carousel-btn {
    background: rgba(255, 255, 255, 0.8);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.carousel-btn:hover {
    background: var(--white);
    transform: scale(1.1);
}

.carousel-dots {
    position: absolute;
    bottom: 60px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

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

.dot.active {
    background: var(--white);
    transform: scale(1.2);
}

.dot:hover {
    background: var(--white);
}

/* ===== CTA SECTION ===== */
.cta-section {
    background: var(--gradient-secondary);
    color: var(--white);
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="none"><path d="M0,0 L100,0 L100,100 Z" fill="rgba(255,255,255,0.05)"/></svg>');
    background-size: cover;
}

.cta-section .container {
    position: relative;
    z-index: 2;
}

.cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

.cta-section p {
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto 40px;
    opacity: 0.9;
}

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

/* ===== FOOTER ===== */
footer {
    background: var(--secondary-color);
    color: var(--white);
    padding: 60px 0 20px;
    position: relative;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--gradient-primary);
}

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

.footer-column h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-column h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--primary-color);
}

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

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

.footer-column ul li a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition);
    display: flex;
    align-items: center;
}

.footer-column ul li a:hover {
    color: var(--primary-color);
    transform: translateX(5px);
}

.footer-column ul li a i {
    margin-right: 10px;
    font-size: 0.9rem;
}

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

.social-icon {
    display: inline-block;
    transition: var(--transition);
    border-radius: 50%;
    overflow: hidden;
}

.social-icon:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.copyright i {
    color: #e74c3c;
    margin: 0 5px;
}

/* ===== ANIMATIONS SUPPLÉMENTAIRES ===== */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Effet de vague sur le hero */
.wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background: url('data:image/svg+xml;utf8,<svg viewBox="0 0 1200 120" preserveAspectRatio="none" xmlns="http://www.w3.org/2000/svg"><path d="M0,0V46.29c47.79,22.2,103.59,32.17,158,28,70.36-5.37,136.33-33.31,206.8-37.5C438.64,32.43,512.34,53.67,583,72.05c69.27,18,138.3,24.88,209.4,13.08,36.15-6,69.85-17.84,104.45-29.34C989.49,25,1113-14.29,1200,52.47V0Z" opacity=".25" fill="%23ffffff"/><path d="M0,0V15.81C13,36.92,27.64,56.86,47.69,72.05,99.41,111.27,165,111,224.58,91.58c31.15-10.15,60.09-26.07,89.67-39.8,40.92-19,84.73-46,130.83-49.67,36.26-2.85,70.9,9.42,98.6,31.56,31.77,25.39,62.32,62,103.63,73,40.44,10.79,81.35-6.69,119.13-24.28s75.16-39,116.92-43.05c59.73-5.85,113.28,22.88,168.9,38.84,30.2,8.66,59,6.17,87.09-7.5,22.43-10.89,48-26.93,60.65-49.24V0Z" opacity=".5" fill="%23ffffff"/><path d="M0,0V5.63C149.93,59,314.09,71.32,475.83,42.57c43-7.64,84.23-20.12,127.61-26.46,59-8.63,112.48,12.24,165.56,35.4C827.93,77.22,886,95.24,951.2,90c86.53-7,172.46-45.71,248.8-84.81V0Z" fill="%23ffffff"/></svg>');
    background-size: 1200px 100px;
    animation: wave 12s linear infinite;
}

.wave:nth-child(2) {
    animation: wave 10s linear infinite;
    opacity: 0.5;
    animation-delay: -5s;
}

.wave:nth-child(3) {
    animation: wave 15s linear infinite;
    opacity: 0.7;
    animation-delay: -2s;
}

@keyframes wave {
    0% {
        background-position-x: 0;
    }
    100% {
        background-position-x: 1200px;
    }
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 992px) {
    .hero h1 {
        font-size: 2.8rem;
    }
    
    .circuit-details {
        flex-direction: column;
    }
    
    .circuit-gallery {
        height: 300px;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }
    
    .nav-links {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        background: var(--white);
        flex-direction: column;
        align-items: center;
        padding: 20px 0;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
        transform: translateY(-100%);
        opacity: 0;
        transition: var(--transition);
    }
    
    .nav-links.active {
        transform: translateY(0);
        opacity: 1;
    }
    
    .nav-links li {
        margin: 10px 0;
    }
    
    .hero {
        height: 60vh;
        margin-top: 60px;
    }
    
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .circuit-progress {
        display: none;
    }
    
    .circuit-header {
        padding: 20px;
    }
    
    .circuit-title h2 {
        font-size: 1.3rem;
    }
    
    .circuit-actions {
        flex-direction: column;
    }
    
    .cta-section h2 {
        font-size: 2rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-column h3::after {
        left: 50%;
        transform: translateX(-50%);
    }
}

@media (max-width: 576px) {
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .circuit-header {
        padding: 15px;
    }
    
    .circuit-title h2 {
        font-size: 1.2rem;
    }
    
    .circuit-gallery {
        height: 250px;
    }
}