@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Rajdhani:wght@300;400;500;600;700&family=Roboto:ital,wght@0,100..900;1,100..900&family=Space+Grotesk:wght@300..700&family=Tangerine:wght@400;700&display=swap');
  :root {
            --primary: #964415;
            --secondary: #c56e2d;
            --dark: #2c1a0d;
            --light: #f8f2ec;
            --accent: #e9b268;
            --book-cover: #8a6d3b;
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            background: linear-gradient(rgba(44, 26, 13, 0.9), rgba(44, 26, 13, 0.9)), url('cmt/Print/Pantherhome7.png');
            background-size: cover;
            background-attachment: fixed;
            color: #fff;
            line-height: 1.6;
            overflow-x: hidden;
        }

        /* Barre de navigation */
        .navbar {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 15px 5%;
            background-color: var(--dark);
            position: sticky;
            top: 0;
            z-index: 100;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
        }

        .logo-container {
            display: flex;
            align-items: center;
            gap: 15px;
        }

        .logo {
            height: 50px;
            border-radius: 50%;
            border: 2px solid var(--accent);
        }

        .logo-container span {
            font-size: 2rem;
            font-weight: 700;
            color: var(--accent);
            text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
        }

        .nav-links {
            display: flex;
            gap: 20px;
        }

        .nav-links a {
            color: white;
            text-decoration: none;
            font-weight: 500;
            font-size: 1.1rem;
            padding: 8px 15px;
            border-radius: 30px;
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .nav-links a:hover {
            background: rgba(255, 255, 255, 0.15);
            transform: translateY(-2px);
        }

        .nav-links a.active {
            background: var(--primary);
            color: white;
        }

        .social-icons {
            display: flex;
            gap: 15px;
        }

        .social-icons a {
            color: var(--accent);
            font-size: 1.3rem;
            transition: transform 0.3s ease;
        }

        .social-icons a:hover {
            transform: translateY(-3px) scale(1.1);
        }

        /* En-tête */
        .hero {
            text-align: center;
            padding: 80px 5% 40px;
        }

        .hero h1 {
            font-size: 3.5rem;
            margin-bottom: 20px;
            color: var(--accent);
            text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
            position: relative;
            display: inline-block;
        }

        .hero h1::after {
            content: '';
            position: absolute;
            bottom: -15px;
            left: 50%;
            transform: translateX(-50%);
            width: 100px;
            height: 4px;
            background: var(--secondary);
            border-radius: 2px;
        }

        .hero p {
            font-size: 1.2rem;
            max-width: 800px;
            margin: 30px auto;
            color: #e0e0e0;
        }

        /* Nouvelle présentation des circuits */
        .circuits-container {
            max-width: 1200px;
            margin: 40px auto;
            padding: 0 20px;
        }

        .circuit-card {
            background: rgba(255, 255, 255, 0.1);
            border-radius: 15px;
            overflow: hidden;
            margin-bottom: 50px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
            transition: transform 0.3s ease;
        }

        .circuit-card:hover {
            transform: translateY(-10px);
        }

        .circuit-header {
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            padding: 20px;
            background: rgba(150, 68, 21, 0.7);
            cursor: pointer;
        }

        .circuit-header h2 {
            flex: 1;
            min-width: 300px;
            font-size: 2rem;
            color: var(--accent);
            margin-bottom: 10px;
        }

        .circuit-header p {
            flex: 2;
            min-width: 300px;
            font-size: 1.1rem;
            color: var(--light);
        }

        .circuit-toggle {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            background: var(--accent);
            color: var(--dark);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.5rem;
            transition: transform 0.3s ease;
        }

        .circuit-card.active .circuit-toggle {
            transform: rotate(180deg);
        }

        .circuit-details {
            display: none;
            padding: 30px;
            background: rgba(40, 23, 12, 0.8);
        }

        .circuit-card.active .circuit-details {
            display: flex;
            flex-wrap: wrap;
        }

        .circuit-info {
            flex: 1;
            min-width: 300px;
            padding: 20px;
        }

        .circuit-info h3 {
            font-size: 1.8rem;
            color: var(--accent);
            margin-bottom: 20px;
            padding-bottom: 10px;
            border-bottom: 2px solid var(--secondary);
        }

        .circuit-info p {
            font-size: 1.1rem;
            line-height: 1.8;
            margin-bottom: 25px;
            color: #ddd;
        }

        .circuit-info ul {
            list-style: none;
            padding-left: 20px;
        }

        .circuit-info ul li {
            position: relative;
            padding-left: 25px;
            margin-bottom: 12px;
            font-size: 1.1rem;
            color: #ddd;
            line-height: 1.6;
        }

        .circuit-info ul li::before {
            content: '✓';
            position: absolute;
            left: 0;
            color: var(--accent);
            font-weight: bold;
        }

        /* Carrousel d'images */
        .circuit-gallery {
            flex: 1;
            min-width: 300px;
            position: relative;
            overflow: hidden;
            border-radius: 10px;
            height: 350px;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
        }

        .slides-container {
            position: relative;
            width: 100%;
            height: 100%;
        }

        .slide {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            opacity: 0;
            transition: opacity 1s ease-in-out;
            background-size: cover;
            background-position: center;
        }

        .slide.active {
            opacity: 1;
        }

        .slide img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .slide-caption {
            position: absolute;
            bottom: 0;
            left: 0;
            width: 100%;
            background: rgba(0, 0, 0, 0.7);
            color: white;
            padding: 10px 15px;
            font-size: 0.9rem;
        }

        .carousel-controls {
            position: absolute;
            top: 50%;
            width: 100%;
            display: flex;
            justify-content: space-between;
            transform: translateY(-50%);
            padding: 0 15px;
        }

        .carousel-btn {
            background: rgba(255, 255, 255, 0.3);
            color: white;
            border: none;
            width: 40px;
            height: 40px;
            border-radius: 50%;
            font-size: 1.2rem;
            cursor: pointer;
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .carousel-btn:hover {
            background: var(--accent);
            color: var(--dark);
        }

        .carousel-dots {
            position: absolute;
            bottom: 15px;
            left: 50%;
            transform: translateX(-50%);
            display: flex;
            gap: 10px;
        }

        .dot {
            width: 12px;
            height: 12px;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.5);
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .dot.active {
            background: var(--accent);
            transform: scale(1.2);
        }

        /* Pied de page */
        footer {
            background: var(--dark);
            color: white;
            padding: 60px 5% 30px;
            margin-top: 80px;
        }

        .footer-content {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 40px;
            max-width: 1200px;
            margin: 0 auto 40px;
        }

        .footer-section {
            padding: 20px;
        }

        .footer-section h3 {
            font-size: 1.5rem;
            margin-bottom: 25px;
            color: var(--accent);
            position: relative;
            padding-bottom: 10px;
        }

        .footer-section h3::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 50px;
            height: 3px;
            background: var(--accent);
        }

        .footer-section p, .footer-section a {
            color: #ddd;
            margin-bottom: 15px;
            display: block;
            text-decoration: none;
            transition: color 0.3s ease;
        }

        .footer-section a:hover {
            color: var(--accent);
        }

        .footer-section i {
            margin-right: 10px;
            width: 20px;
            color: var(--accent);
        }

        .partner-logos {
            display: flex;
            justify-content: center;
            gap: 20px;
            flex-wrap: wrap;
            padding: 10px 0;
        }

        .partner-logos img {
            width: 80px;
            height: 80px;
            object-fit: cover;
            border-radius: 50%;
            border: 2px solid #ccc;
            transition: transform 0.3s, border-color 0.3s;
        }

        .partner-logos img:hover {
            transform: scale(1.1);
            border-color: #007BFF;
        }


        .social-icons-footer {
            display: flex;
            gap: 15px;
            margin-top: 20px;
        }

        .social-icons-footer a {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 45px;
            height: 45px;
            background: rgba(255, 255, 255, 0.1);
            border-radius: 50%;
            transition: all 0.3s ease;
        }

        .social-icons-footer a:hover {
            background: var(--primary);
            transform: translateY(-5px);
        }

        .social-icons-footer {
            display: flex;
            gap: 15px;
            justify-content: center;
            padding: 10px 0;
        }

        .social-icons-footer .icon-img {
            width: 32px;
            height: 32px;
            transition: transform 0.3s;
        }

        .social-icons-footer .icon-img:hover {
            transform: scale(1.1);
        }


        .footer-bottom {
            text-align: center;
            padding-top: 30px;
            border-top: 1px solid rgba(255, 255, 255, 0.1);
            font-size: 0.9rem;
            color: #aaa;
        }

        /* Responsive */
        @media (max-width: 992px) {
            .hero h1 {
                font-size: 2.5rem;
            }
            
            .circuit-header {
                flex-direction: column;
                align-items: flex-start;
            }
            
            .circuit-toggle {
                position: absolute;
                top: 20px;
                right: 20px;
            }
        }

        @media (max-width: 768px) {
            .navbar {
                flex-direction: column;
                gap: 20px;
                padding: 15px;
            }
            
            .hero h1 {
                font-size: 2.2rem;
            }
            
            .circuit-info h3 {
                font-size: 1.5rem;
            }
        }

        @media (max-width: 480px) {
            .nav-links {
                flex-wrap: wrap;
                justify-content: center;
            }
            
            .hero h1 {
                font-size: 2rem;
            }
            
            .circuit-gallery {
                height: 250px;
            }
            
            .footer-section {
                text-align: center;
            }
            
            .partner-logos {
                justify-content: center;
            }
            
            .social-icons-footer {
                justify-content: center;
            }
        }