<!DOCTYPE html>
<html lang="fr">
<head>
    <meta charset="UTF-8">
    <title>Bel-Perf'auto - Garage Professionnel</title>
    <meta name="description" content="Garagiste professionnel depuis plus de 10ans situé à Belfort. Entretien, réparation et expertise automobile.">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <link rel="preconnect" href="https://fonts.googleapis.com">
    <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
    <link href="https://fonts.googleapis.com/css2?family=Anton&family=Roboto:wght@300;400;700;900&family=Open+Sans:wght@400;600;700&display=swap" rel="stylesheet">
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
    <!-- Carrousel CSS -->
    <link rel="stylesheet" href="./carrousel.css">
    <style>
        :root {
            --garage-red: #D32F2F;
            --garage-dark: #1a1a1a;
            --garage-metal: #2c3e50;
            --garage-yellow: #FFC107;
            --garage-orange: #FF5722;
            --garage-light: #ecf0f1;
            --garage-grey: #7f8c8d;
            --text-on-dark: #ffffff;
            --text-on-light: #2c3e50;
        }

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

        body {
            font-family: 'Roboto', sans-serif;
            line-height: 1.6;
            color: var(--text-on-light);
            overflow-x: hidden;
            background: var(--garage-dark);
        }

        /* Texture métal pour les backgrounds */
        .metal-bg {
            background: 
                linear-gradient(45deg, transparent 24%, rgba(255,255,255,.05) 25%, rgba(255,255,255,.05) 26%, transparent 27%, transparent 74%, rgba(255,255,255,.05) 75%, rgba(255,255,255,.05) 76%, transparent 77%, transparent),
                linear-gradient(-45deg, transparent 24%, rgba(255,255,255,.05) 25%, rgba(255,255,255,.05) 26%, transparent 27%, transparent 74%, rgba(255,255,255,.05) 75%, rgba(255,255,255,.05) 76%, transparent 77%, transparent),
                var(--garage-metal);
            background-size: 30px 30px;
        }

        /* Header industriel mobile-first */
        .header {
            background: var(--garage-dark);
            padding: 1rem 0;
            position: fixed;
            top: 0;
            width: 100%;
            z-index: 1000;
            border-bottom: 3px solid var(--garage-red);
            box-shadow: 0 2px 10px rgba(0,0,0,0.8);
        }

        .header-container {
            max-width: 1200px;
            margin: 0 auto;
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 0 1rem;
        }

        .logo {
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }

        .logo i {
            font-size: 2rem;
            color: var(--garage-red);
            text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
        }

        .logo h1 {
            font-family: 'Anton', sans-serif;
            font-size: 1.5rem;
            color: var(--text-on-dark);
            text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
            letter-spacing: 1px;
            font-weight: 400;
        }

        /* Navigation Mobile */
        .mobile-menu-toggle {
            display: none;
            background: none;
            border: none;
            color: var(--text-on-dark);
            font-size: 1.5rem;
            cursor: pointer;
            z-index: 1001;
        }

        .nav-links {
            display: flex;
            align-items: center;
            gap: 1.5rem;
            transition: all 0.3s ease;
        }

        .nav-link {
            color: var(--garage-light);
            text-decoration: none;
            font-weight: 700;
            font-size: 1rem;
            padding: 0.6rem 1rem;
            border: 2px solid transparent;
            transition: all 0.3s ease;
            text-transform: uppercase;
            letter-spacing: 1px;
        }

        .nav-link:hover {
            border-color: var(--garage-red);
            background: rgba(211, 47, 47, 0.1);
            color: var(--garage-red);
        }

        .cta-button {
            background: var(--garage-red);
            color: var(--text-on-dark);
            padding: 0.8rem 1.5rem;
            text-decoration: none;
            font-weight: 700;
            font-size: 0.9rem;
            text-transform: uppercase;
            letter-spacing: 1px;
            border: 3px solid var(--garage-red);
            transition: all 0.3s ease;
            position: relative;
            overflow: hidden;
        }

        .cta-button::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: var(--garage-dark);
            transition: left 0.3s ease;
            z-index: -1;
        }

        .cta-button:hover::before {
            left: 0;
        }

        .cta-button:hover {
            color: var(--garage-red);
            border-color: var(--garage-red);
        }

        /* Hero Section garage avec carrousel mobile-optimisé */
        .hero {
            height: 100vh;
            min-height: 600px;
            position: relative;
            display: flex;
            align-items: center;
            justify-content: center;
            overflow: hidden;
        }

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

        .hero .carousel-slide::before {
            background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.5));
        }

        .hero-content {
            text-align: center;
            color: var(--text-on-dark);
            max-width: 90%;
            padding: 1rem;
            position: relative;
            z-index: 2;
        }

        .hero-title {
            font-family: 'Anton', sans-serif;
            font-size: clamp(2.5rem, 8vw, 4rem);
            font-weight: 400;
            margin-bottom: 1rem;
            color: var(--garage-red);
            text-shadow: 3px 3px 6px rgba(0,0,0,0.8);
            letter-spacing: 2px;
        }

        .hero-subtitle {
            font-family: 'Roboto', sans-serif;
            font-size: clamp(1rem, 4vw, 1.6rem);
            margin-bottom: 2rem;
            font-weight: 400;
            text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
            letter-spacing: 1px;
        }

        .hero-cta {
            display: inline-flex;
            align-items: center;
            gap: 0.8rem;
            background: var(--garage-red);
            color: var(--text-on-dark);
            padding: 1rem 2rem;
            text-decoration: none;
            font-weight: 700;
            font-size: clamp(0.9rem, 3vw, 1.3rem);
            text-transform: uppercase;
            letter-spacing: 2px;
            border: 3px solid var(--garage-red);
            transition: all 0.3s ease;
            box-shadow: 0 5px 15px rgba(0,0,0,0.5);
        }

        .hero-cta:hover {
            background: transparent;
            color: var(--garage-red);
            transform: translateY(-2px);
            box-shadow: 0 8px 25px rgba(0,0,0,0.7);
        }

        .hero .carousel-dots {
            bottom: 2rem;
        }

        .hero .dot {
            background: rgba(255, 255, 255, 0.3);
            border: 2px solid var(--garage-red);
            width: 12px;
            height: 12px;
        }

        .hero .dot.active {
            background: var(--garage-red);
            transform: scale(1.2);
        }

        /* Sections avec espacement mobile optimisé */
        .section {
            padding: clamp(3rem, 8vw, 6rem) 0;
        }

        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 1rem;
            position: relative;
            z-index: 1;
        }

        /* Section À Propos style atelier */
        .about-section {
            padding: clamp(3rem, 8vw, 6rem) 0;
            background: var(--garage-light);
            position: relative;
        }

        .about-section::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: 
                repeating-linear-gradient(
                    45deg,
                    transparent,
                    transparent 10px,
                    rgba(44, 62, 80, 0.03) 10px,
                    rgba(44, 62, 80, 0.03) 20px
                );
        }

        .about-content {
            display: grid;
            grid-template-columns: 1fr;
            gap: 2rem;
            align-items: center;
        }

        .about-image {
            position: relative;
            order: -1;
            text-align: center;
        }

        .about-image img {
            width: 100%;
            max-width: 400px;
            border: 5px solid var(--garage-metal);
            box-shadow: 
                10px 10px 0 var(--garage-red),
                10px 10px 20px rgba(0,0,0,0.3);
            transition: transform 0.3s ease;
        }

        .about-image:hover img {
            transform: scale(1.02);
        }

        .about-text h2 {
            font-family: 'Anton', sans-serif;
            font-size: clamp(2rem, 6vw, 2.5rem);
            color: var(--garage-dark);
            margin-bottom: 1.5rem;
            letter-spacing: 1px;
            position: relative;
            font-weight: 400;
            text-align: center;
        }

        .about-text h2::after {
            content: '';
            position: absolute;
            bottom: -10px;
            left: 50%;
            transform: translateX(-50%);
            width: 100px;
            height: 5px;
            background: var(--garage-red);
        }

        .about-text p {
            font-size: clamp(1rem, 3vw, 1.2rem);
            line-height: 1.8;
            margin-bottom: 1.5rem;
            color: var(--text-on-light);
            font-weight: 400;
            text-align: center;
        }

        .features {
            display: grid;
            grid-template-columns: 1fr;
            gap: 1rem;
            margin-top: 2rem;
        }

        .feature-item {
            display: flex;
            align-items: center;
            gap: 1rem;
            padding: 1.5rem;
            background: var(--garage-dark);
            color: var(--text-on-dark);
            border-left: 5px solid var(--garage-red);
            box-shadow: 5px 5px 15px rgba(0,0,0,0.2);
            transition: transform 0.3s ease;
        }

        .feature-item:hover {
            transform: translateX(10px);
        }

        .feature-icon {
            width: 50px;
            height: 50px;
            background: var(--garage-red);
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-size: 1.2rem;
            flex-shrink: 0;
        }

        .feature-item h4 {
            font-family: 'Open Sans', sans-serif;
            font-size: 1rem;
            font-weight: 700;
            text-transform: uppercase;
            color: var(--garage-red);
            margin-bottom: 0.5rem;
        }

        .feature-item p {
            font-size: 0.9rem;
            line-height: 1.4;
        }

        /* Section Services garage */
        .services-section {
            padding: clamp(3rem, 8vw, 6rem) 0;
            background: var(--garage-dark);
            color: var(--text-on-dark);
            position: relative;
        }

        .services-section::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: 
                radial-gradient(circle at 25% 25%, rgba(211, 47, 47, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 75% 75%, rgba(255, 193, 7, 0.1) 0%, transparent 50%);
        }

        .section-title {
            text-align: center;
            font-family: 'Anton', sans-serif;
            font-size: clamp(2rem, 6vw, 3rem);
            margin-bottom: 3rem;
            color: var(--text-on-dark);
            letter-spacing: 2px;
            text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
            position: relative;
            z-index: 1;
            font-weight: 400;
        }

        .section-title::after {
            content: '';
            position: absolute;
            bottom: -15px;
            left: 50%;
            transform: translateX(-50%);
            width: 150px;
            height: 5px;
            background: var(--garage-red);
        }

        .services-grid {
            display: grid;
            grid-template-columns: 1fr;
            gap: 1.5rem;
            margin-top: 4rem;
            position: relative;
            z-index: 1;
        }

        .service-card {
            background: var(--garage-metal);
            border: 3px solid var(--garage-grey);
            padding: 1.5rem;
            text-align: center;
            transition: all 0.3s ease;
            position: relative;
            overflow: hidden;
        }

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

        .service-card:hover::before {
            left: 100%;
        }

        .service-card:hover {
            transform: translateY(-5px);
            border-color: var(--garage-red);
            box-shadow: 0 10px 30px rgba(211, 47, 47, 0.3);
        }

        .service-icon {
            width: 60px;
            height: 60px;
            background: var(--garage-red);
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 1rem;
            font-size: 1.5rem;
            color: white;
            border: 3px solid var(--garage-dark);
        }

        .service-card h3 {
            font-family: 'Open Sans', sans-serif;
            font-size: 1.2rem;
            font-weight: 700;
            margin-bottom: 1rem;
            text-transform: uppercase;
            color: var(--garage-yellow);
        }

        .service-card p {
            font-size: 0.95rem;
            line-height: 1.6;
            color: var(--garage-light);
        }

        /* Section Maps */
        .maps-section {
            padding: clamp(3rem, 8vw, 6rem) 0;
            background: var(--garage-light);
        }

        .maps-content {
            text-align: center;
        }

        .maps-title {
            font-family: 'Anton', sans-serif;
            font-size: clamp(2rem, 6vw, 2.5rem);
            color: var(--garage-dark);
            margin-bottom: 1rem;
            letter-spacing: 1px;
            font-weight: 400;
        }

        .maps-subtitle {
            font-size: clamp(1rem, 3vw, 1.3rem);
            color: var(--garage-grey);
            margin-bottom: 3rem;
            font-weight: 400;
        }

        .map-container {
            width: 100%;
            height: clamp(300px, 50vw, 500px);
            border: 5px solid var(--garage-metal);
            overflow: hidden;
            box-shadow: 
                inset 0 0 20px rgba(0,0,0,0.3),
                10px 10px 0 var(--garage-red);
            background: var(--garage-grey);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1rem;
            color: var(--text-on-dark);
            font-weight: 700;
        }

        /* Section Contact industrielle */
        .contact-section {
            padding: clamp(3rem, 8vw, 6rem) 0;
            background: var(--garage-dark);
            color: var(--text-on-dark);
        }

        .contact-content {
            display: grid;
            grid-template-columns: 1fr;
            gap: 3rem;
            align-items: start;
        }

        .contact-info h2 {
            font-family: 'Anton', sans-serif;
            font-size: clamp(2rem, 6vw, 2.5rem);
            margin-bottom: 2rem;
            letter-spacing: 1px;
            color: var(--garage-red);
            font-weight: 400;
            text-align: center;
        }

        .contact-item {
            display: flex;
            align-items: center;
            gap: 1.5rem;
            margin-bottom: 1.5rem;
            padding: 1.5rem;
            background: var(--garage-metal);
            border-left: 5px solid var(--garage-red);
        }

        .contact-item i {
            width: 50px;
            height: 50px;
            background: var(--garage-red);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.2rem;
            color: white;
            flex-shrink: 0;
        }

        .contact-item h4 {
            font-family: 'Open Sans', sans-serif;
            font-size: 1rem;
            font-weight: 700;
            text-transform: uppercase;
            color: var(--garage-yellow);
            margin-bottom: 0.5rem;
        }

        .contact-item p {
            font-size: 0.9rem;
            line-height: 1.4;
        }

        .contact-form {
            background: var(--garage-metal);
            padding: 2rem;
            border: 3px solid var(--garage-grey);
            box-shadow: inset 0 0 20px rgba(0,0,0,0.3);
        }

        .form-group {
            margin-bottom: 1.5rem;
        }

        .form-group label {
            display: block;
            margin-bottom: 0.5rem;
            font-weight: 700;
            font-size: 0.9rem;
            text-transform: uppercase;
            color: var(--garage-yellow);
        }

        .form-group input,
        .form-group textarea {
            width: 100%;
            padding: 1rem;
            border: 2px solid var(--garage-grey);
            background: var(--garage-dark);
            color: var(--text-on-dark);
            font-size: 1rem;
            transition: all 0.3s ease;
            -webkit-appearance: none;
            appearance: none;
        }

        .form-group input:focus,
        .form-group textarea:focus {
            outline: none;
            border-color: var(--garage-red);
            box-shadow: 0 0 10px rgba(211, 47, 47, 0.3);
            transform: scale(1.02);
        }

        .submit-btn {
            width: 100%;
            padding: 1.5rem 2rem;
            background: var(--garage-red);
            color: white;
            border: 3px solid var(--garage-red);
            font-size: 1.1rem;
            font-weight: 700;
            cursor: pointer;
            transition: all 0.3s ease;
            text-transform: uppercase;
            letter-spacing: 2px;
            -webkit-appearance: none;
            appearance: none;
        }

        .submit-btn:hover,
        .submit-btn:active {
            background: transparent;
            color: var(--garage-red);
        }

        /* Footer garage */
        .footer {
            background: var(--garage-dark);
            color: var(--text-on-dark);
            padding: 3rem 0 1rem;
            border-top: 5px solid var(--garage-red);
        }

        .footer-content {
            display: grid;
            grid-template-columns: 1fr;
            gap: 2rem;
            margin-bottom: 2rem;
            text-align: center;
        }

        .footer-section h3 {
            font-family: 'Open Sans', sans-serif;
            font-size: 1.2rem;
            font-weight: 700;
            margin-bottom: 1rem;
            color: var(--garage-red);
            text-transform: uppercase;
        }

        .footer-section p {
            font-size: 0.9rem;
            line-height: 1.6;
            margin-bottom: 0.5rem;
        }

        .social-links {
            display: flex;
            gap: 1rem;
            list-style: none;
            justify-content: center;
        }

        .social-links a {
            width: 45px;
            height: 45px;
            background: var(--garage-metal);
            border: 2px solid var(--garage-red);
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--garage-red);
            text-decoration: none;
            transition: all 0.3s ease;
            font-size: 1.1rem;
        }

        .social-links a:hover {
            background: var(--garage-red);
            color: white;
        }

        .footer-bottom {
            text-align: center;
            padding-top: 2rem;
            border-top: 2px solid var(--garage-metal);
            font-size: 0.8rem;
        }

        /* Responsive Design Mobile-First */
        @media (min-width: 480px) {
            .logo h1 {
                font-size: 1.8rem;
            }
            
            .logo i {
                font-size: 2.2rem;
            }
            
            .services-grid {
                grid-template-columns: repeat(2, 1fr);
            }
            
            .features {
                grid-template-columns: repeat(2, 1fr);
            }
            
            .footer-content {
                grid-template-columns: repeat(2, 1fr);
                text-align: left;
            }
            
            .hero .dot {
                width: 15px;
                height: 15px;
            }
        }

        @media (min-width: 768px) {
            .header-container {
                padding: 0 2rem;
            }
            
            .container {
                padding: 0 2rem;
            }
            
            .about-content {
                grid-template-columns: 1fr 1fr;
                gap: 4rem;
            }
            
            .about-image {
                order: 0;
            }
            
            .about-text h2 {
                text-align: left;
            }
            
            .about-text h2::after {
                left: 0;
                transform: none;
            }
            
            .about-text p {
                text-align: left;
            }
            
            .services-grid {
                grid-template-columns: repeat(3, 1fr);
            }
            
            .contact-content {
                grid-template-columns: 1fr 1fr;
                gap: 4rem;
            }
            
            .contact-info h2 {
                text-align: left;
            }
            
            .footer-content {
                grid-template-columns: repeat(4, 1fr);
            }
        }

        @media (min-width: 1024px) {
            .logo h1 {
                font-size: 2rem;
            }
            
            .logo i {
                font-size: 2.5rem;
            }
            
            .nav-links {
                gap: 2rem;
            }
            
            .nav-link {
                font-size: 1.1rem;
                padding: 0.8rem 1.5rem;
            }
            
            .cta-button {
                padding: 1rem 2rem;
                font-size: 1.1rem;
            }
            
            .service-icon {
                width: 80px;
                height: 80px;
                font-size: 2rem;
            }
            
            .feature-icon {
                width: 60px;
                height: 60px;
                font-size: 1.5rem;
            }
        }

        /* Navigation Mobile */
        @media (max-width: 767px) {
            .mobile-menu-toggle {
                display: block;
            }
            
            .nav-links {
                position: fixed;
                top: 0;
                right: -100%;
                width: 85%;
                height: 100vh;
                background: var(--garage-dark);
                flex-direction: column;
                justify-content: center;
                align-items: center;
                gap: 2rem;
                transition: right 0.3s ease;
                z-index: 999;
                border-left: 3px solid var(--garage-red);
            }
            
            .nav-links.active {
                right: 0;
            }
            
            .nav-link {
                font-size: 1.2rem;
                padding: 1rem 2rem;
                width: 80%;
                text-align: center;
                border: 2px solid var(--garage-red);
            }
            
            .cta-button {
                width: 80%;
                text-align: center;
                padding: 1rem 2rem;
            }
            
            .nav-overlay {
                display: none;
                position: fixed;
                top: 0;
                left: 0;
                width: 100%;
                height: 100%;
                background: rgba(0,0,0,0.7);
                z-index: 998;
            }
            
            .nav-overlay.active {
                display: block;
            }
        }

        /* Optimisations tactiles */
        @media (hover: none) and (pointer: coarse) {
            .nav-link:hover {
                border-color: transparent;
                background: transparent;
                color: var(--garage-light);
            }
            
            .nav-link:active {
                border-color: var(--garage-red);
                background: rgba(211, 47, 47, 0.1);
                color: var(--garage-red);
            }
            
            .service-card:hover {
                transform: none;
                border-color: var(--garage-grey);
                box-shadow: none;
            }
            
            .service-card:active {
                transform: translateY(-3px);
                border-color: var(--garage-red);
                box-shadow: 0 5px 15px rgba(211, 47, 47, 0.2);
            }
            
            .feature-item:hover {
                transform: none;
            }
            
            .feature-item:active {
                transform: translateX(5px);
            }
        }

        /* Animations de base */
        @keyframes slideIn {
            from {
                opacity: 0;
                transform: translateY(50px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .fade-in {
            animation: slideIn 0.8s ease;
        }

        /* Optimisations performances mobile */
        @media (max-width: 768px) {
            .services-section::before {
                display: none; /* Supprimer les effets complexes sur mobile */
            }
            
            .about-section::before {
                opacity: 0.3; /* Réduire l'opacité des effets de fond */
            }
        }
    </style>
</head>
<body>
    <!-- Navigation Overlay -->
    <div class="nav-overlay" id="nav-overlay"></div>

    <!-- Header -->
    <header class="header" id="header">
        <div class="header-container">
            <div class="logo">
                <i class="fas fa-wrench"></i>
                <h1>Bel-Perf'Auto</h1>
            </div>
            <button class="mobile-menu-toggle" id="mobile-menu-toggle">
                <i class="fas fa-bars"></i>
            </button>
            <nav class="nav-links" id="nav-links">
                <a href="#about" class="nav-link">À Propos</a>
                <a href="#services" class="nav-link">Services</a>
                <a href="#maps" class="nav-link">Nous Trouver</a>
                <a href="#contact" class="cta-button">
                    <i class="fas fa-phone"></i>
                    Contact
                </a>
            </nav>
        </div>
    </header>

    <!-- Hero Section avec Carrousel -->
    <section class="hero" id="home">
        <div class="carousel-container" id="garage-carousel">
            <!-- Les slides seront créées automatiquement par le carrousel.js -->
        </div>
        <div class="hero-content">
            <h1 class="hero-title">Bel-Perf'Auto</h1>
            <p class="hero-subtitle">Garage Automobile Professionnel - Belfort</p>
            <a href="#contact" class="hero-cta">
                <i class="fas fa-tools"></i>
                Prendre RDV
            </a>
        </div>
    </section>

    <!-- Section À Propos -->
    <section class="about-section" id="about">
        <div class="container">
            <div class="about-content">
                <div class="about-image">
                    <img src="data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 300'><rect fill='%232c3e50' width='100%' height='100%'/><rect fill='%2334495e' x='50' y='50' width='300' height='200'/><circle fill='%23e74c3c' cx='200' cy='150' r='30'/><text x='200' y='260' text-anchor='middle' fill='%23ecf0f1' font-size='14' font-family='Arial'>GARAGISTE PRO</text></svg>" alt="Garagiste professionnel">
                </div>
                <div class="about-text">
                    <h2>Qui sommes-nous ?</h2>
                    <p><strong>Plus de 10 ans d'expérience</strong> dans la mécanique automobile. Notre garage familial met son savoir-faire au service de votre véhicule avec passion et professionnalisme.</p>
                    <p>Spécialisés dans <strong>l'entretien</strong>, la <strong>réparation</strong> et le <strong>diagnostic</strong> de tous types de véhicules. Nous travaillons sur toutes marques avec un équipement moderne et des pièces de qualité.</p>
                    
                    <div class="features">
                        <div class="feature-item">
                            <div class="feature-icon">
                                <i class="fas fa-wrench"></i>
                            </div>
                            <div>
                                <h4>Expertise Mécanique</h4>
                                <p>Mécaniciens qualifiés et expérimentés</p>
                            </div>
                        </div>
                        <div class="feature-item">
                            <div class="feature-icon">
                                <i class="fas fa-clock"></i>
                            </div>
                            <div>
                                <h4>Intervention Rapide</h4>
                                <p>Diagnostic et réparation dans les meilleurs délais</p>
                            </div>
                        </div>
                        <div class="feature-item">
                            <div class="feature-icon">
                                <i class="fas fa-certificate"></i>
                            </div>
                            <div>
                                <h4>Pièces Garanties</h4>
                                <p>Utilisation de pièces d'origine constructeur</p>
                            </div>
                        </div>
                        <div class="feature-item">
                            <div class="feature-icon">
                                <i class="fas fa-euro-sign"></i>
                            </div>
                            <div>
                                <h4>Tarifs Honnêtes</h4>
                                <p>Devis gratuit et prix transparent</p>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </section>

    <!-- Section Services -->
    <section class="services-section" id="services">
        <div class="container">
            <h2 class="section-title">Nos Services</h2>
            <div class="services-grid">
                <div class="service-card">
                    <div class="service-icon">
                        <i class="fas fa-oil-can"></i>
                    </div>
                    <h3>Entretien & Vidange</h3>
                    <p>Vidange moteur, changement filtres, révisions périodiques selon constructeur</p>
                </div>
                <div class="service-card">
                    <div class="service-icon">
                        <i class="fas fa-car-crash"></i>
                    </div>
                    <h3>Réparation Mécanique</h3>
                    <p>Moteur, transmission, embrayage, freinage, suspension - toutes réparations</p>
                </div>
                <div class="service-card">
                    <div class="service-icon">
                        <i class="fas fa-tire"></i>
                    </div>
                    <h3>Pneumatiques</h3>
                    <p>Montage, équilibrage, géométrie, vente pneus été/hiver</p>
                </div>
                <div class="service-card">
                    <div class="service-icon">
                        <i class="fas fa-car-battery"></i>
                    </div>
                    <h3>Électricité Auto</h3>
                    <p>Diagnostic électronique, alternateur, démarreur, batterie</p>
                </div>
                <div class="service-card">
                    <div class="service-icon">
                        <i class="fas fa-search"></i>
                    </div>
                    <h3>Contrôle Technique</h3>
                    <p>Préparation CT, contre-visite, remise en conformité</p>
                </div>
                <div class="service-card">
                    <div class="service-icon">
                        <i class="fas fa-paint-brush"></i>
                    </div>
                    <h3>Carrosserie</h3>
                    <p>Réparation carrosserie, peinture, débosselage</p>
                </div>
            </div>
        </div>
    </section>

    <!-- Section Maps -->
    <section class="maps-section" id="maps">
        <div class="container">
            <div class="maps-content">
                <h2 class="maps-title">Où nous trouver</h2>
                <p class="maps-subtitle">Venez nous rendre visite au garage</p>
                <div class="map-container" id="map-container">
                    <div>
                        <i class="fas fa-map-marker-alt" style="font-size: 2.5rem; color: var(--garage-red); margin-bottom: 1rem;"></i>
                        <p><strong>1 Rue Molière, 90000 Belfort</strong></p>
                        <p><strong>Lundi - Vendredi : 8h - 18h</strong></p>
                        <p><strong>📞 06.27.21.49.18</strong></p>
                    </div>
                </div>
            </div>
        </div>
    </section>

    <!-- Section Contact -->
    <section class="contact-section" id="contact">
        <div class="container">
            <div class="contact-content">
                <div class="contact-info">
                    <h2>Nous Contacter</h2>
                    <div class="contact-item">
                        <i class="fas fa-map-marker-alt"></i>
                        <div>
                            <h4>Adresse</h4>
                            <p>1 Rue Molière<br>90000 Belfort</p>
                        </div>
                    </div>
                    <div class="contact-item">
                        <i class="fas fa-phone"></i>
                        <div>
                            <h4>Téléphone</h4>
                            <p>06.27.21.49.18</p>
                        </div>
                    </div>
                    <div class="contact-item">
                        <i class="fas fa-envelope"></i>
                        <div>
                            <h4>Email</h4>
                            <p>garage@belperfouto.fr</p>
                        </div>
                    </div>
                    <div class="contact-item">
                        <i class="fas fa-clock"></i>
                        <div>
                            <h4>Horaires</h4>
                            <p>Lun-Ven : 8h-18h<br>Sam : Sur RDV</p>
                        </div>
                    </div>
                </div>
                <form class="contact-form" action="https://formspree.io/f/xgveewkj" method="POST">
                    <div class="form-group">
                        <label for="nom">Nom *</label>
                        <input type="text" id="nom" name="nom" required>
                    </div>
                    <div class="form-group">
                        <label for="prenom">Prénom *</label>
                        <input type="text" id="prenom" name="prenom" required>
                    </div>
                    <div class="form-group">
                        <label for="email">Email</label>
                        <input type="email" id="email" name="email">
                    </div>
                    <div class="form-group">
                        <label for="voiture">Votre véhicule</label>
                        <input type="text" id="voiture" name="voiture" placeholder="Marque, modèle, année">
                    </div>
                    <div class="form-group">
                        <label for="description">Votre demande *</label>
                        <textarea id="description" name="description" rows="4" required placeholder="Décrivez le problème ou l'intervention souhaitée..."></textarea>
                    </div>
                    <button type="submit" class="submit-btn">
                        <i class="fas fa-paper-plane"></i>
                        Envoyer
                    </button>
                </form>
            </div>
        </div>
    </section>

    <!-- Footer -->
    <footer class="footer">
        <div class="container">
            <div class="footer-content">
                <div class="footer-section">
                    <h3>Bel-Perf'Auto</h3>
                    <p>Garage automobile familial depuis plus de 10 ans à Belfort. Spécialiste entretien et réparation tous véhicules.</p>
                    <p><strong>Siret :</strong> 123 456 789 00012</p>
                </div>
                <div class="footer-section">
                    <h3>Nous Suivre</h3>
                    <ul class="social-links">
                        <li><a href="https://www.facebook.com/profile.php?id=100079064884054" target="_blank"><i class="fab fa-facebook-f"></i></a></li>
                        <li><a href="https://www.instagram.com/christophe.de.murcia/" target="_blank"><i class="fab fa-instagram"></i></a></li>
                        <li><a href="tel:+33627214918"><i class="fas fa-phone"></i></a></li>
                        <li><a href="mailto:garage@belperfouto.fr"><i class="fas fa-envelope"></i></a></li>
                    </ul>
                </div>
                <div class="footer-section">
                    <h3>Horaires</h3>
                    <p><strong>Lundi - Vendredi :</strong><br>8h00 - 18h00</p>
                    <p><strong>Samedi :</strong><br>Sur rendez-vous</p>
                    <p><strong>Dimanche :</strong><br>Fermé</p>
                </div>
                <div class="footer-section">
                    <h3>Services</h3>
                    <p>• Diagnostic gratuit</p>
                    <p>• Devis en 24h</p>
                    <p>• Pièces garanties</p>
                    <p>• Dépannage possible</p>
                </div>
            </div>
            <div class="footer-bottom">
                <p>&copy; 2024 Bel-Perf'Auto - Garage Automobile Belfort. Tous droits réservés.</p>
                <p>Site créé par <a href="https://davydrexler.github.io/portfolio/" target="_blank" style="color: var(--garage-red);">Drexler Davy</a></p>
            </div>
        </div>
    </footer>

    <!-- Carrousel JavaScript -->
    <script src="./carrousel.js"></script>
    <script>
        // Navigation mobile
        const mobileMenuToggle = document.getElementById('mobile-menu-toggle');
        const navLinks = document.getElementById('nav-links');
        const navOverlay = document.getElementById('nav-overlay');
        const menuIcon = mobileMenuToggle.querySelector('i');

        function toggleMobileMenu() {
            navLinks.classList.toggle('active');
            navOverlay.classList.toggle('active');
            
            // Changer l'icône
            if (navLinks.classList.contains('active')) {
                menuIcon.className = 'fas fa-times';
                document.body.style.overflow = 'hidden'; // Empêcher le scroll
            } else {
                menuIcon.className = 'fas fa-bars';
                document.body.style.overflow = ''; // Restaurer le scroll
            }
        }

        mobileMenuToggle.addEventListener('click', toggleMobileMenu);
        navOverlay.addEventListener('click', toggleMobileMenu);

        // Fermer le menu quand on clique sur un lien
        document.querySelectorAll('.nav-link, .cta-button').forEach(link => {
            link.addEventListener('click', () => {
                if (navLinks.classList.contains('active')) {
                    toggleMobileMenu();
                }
            });
        });

        // Configuration des slides pour le carrousel garage (SIMPLIFIÉ - TITRE SEULEMENT)
        const garageSlides = [
            {
                image: "./assets/slideshow/key.PNG",
                title: "Reproduction de Clés Auto"
            },
            {
                image: "./assets/slideshow/capture.PNG",
                title: "Formation Mécanique"
            }
        ];

        // Initialisation du carrousel garage
        let garageCarousel = null;

        function initGarageCarousel() {
            garageCarousel = new GarageCarousel({
                container: '#garage-carousel',
                slides: garageSlides,
                autoPlay: true,
                autoPlayDelay: 10000,
                showDots: true,
                fadeEffect: true,
                pauseOnHover: true
            });

            document.getElementById('garage-carousel').addEventListener('slideChange', (e) => {
                console.log('Garage carousel slide changed:', e.detail);
            });
        }

        document.addEventListener('DOMContentLoaded', initGarageCarousel);

        // Navigation fluide
        document.querySelectorAll('a[href^="#"]').forEach(anchor => {
            anchor.addEventListener('click', function (e) {
                e.preventDefault();
                const target = document.querySelector(this.getAttribute('href'));
                if (target) {
                    const offsetTop = target.offsetTop - 80; // Compensation header fixe
                    window.scrollTo({
                        top: offsetTop,
                        behavior: 'smooth'
                    });
                }
            });
        });

        // Animation des éléments au scroll
        const observerOptions = {
            threshold: 0.1,
            rootMargin: '0px 0px -50px 0px'
        };

        const observer = new IntersectionObserver((entries) => {
            entries.forEach(entry => {
                if (entry.isIntersecting) {
                    entry.target.classList.add('fade-in');
                }
            });
        }, observerOptions);

        document.querySelectorAll('.service-card, .feature-item, .contact-item').forEach(el => {
            observer.observe(el);
        });

        // Animation du formulaire optimisée mobile
        const formInputs = document.querySelectorAll('.contact-form input, .contact-form textarea');
        formInputs.forEach(input => {
            input.addEventListener('focus', function() {
                this.parentElement.style.transform = 'scale(1.02)';
            });
            
            input.addEventListener('blur', function() {
                this.parentElement.style.transform = 'scale(1)';
            });

            // Empêcher le zoom sur iOS
            input.addEventListener('touchstart', function(e) {
                if (this.style.fontSize !== '16px') {
                    this.style.fontSize = '16px';
                }
            });
        });

        // Gestion de la soumission du formulaire
        const contactForm = document.querySelector('.contact-form');
        contactForm.addEventListener('submit', function(e) {
            const submitBtn = this.querySelector('.submit-btn');
            const originalText = submitBtn.innerHTML;
            
            submitBtn.innerHTML = '<i class="fas fa-spinner fa-spin"></i> Envoi...';
            submitBtn.disabled = true;
            
            setTimeout(() => {
                submitBtn.innerHTML = originalText;
                submitBtn.disabled = false;
            }, 3000);
        });

        // Optimisation des performances pour mobile
        let ticking = false;

        function updateOnScroll() {
            if (!ticking) {
                requestAnimationFrame(() => {
                    ticking = false;
                });
                ticking = true;
            }
        }

        // Gérer les événements tactiles
        let touchStartY = 0;
        let touchEndY = 0;

        document.addEventListener('touchstart', (e) => {
            touchStartY = e.changedTouches[0].screenY;
        });

        document.addEventListener('touchend', (e) => {
            touchEndY = e.changedTouches[0].screenY;
            handleSwipe();
        });

        function handleSwipe() {
            const swipeDistance = touchStartY - touchEndY;
            
            // Logique de swipe personnalisée si nécessaire
            if (Math.abs(swipeDistance) > 50) {
                // Swipe détecté
            }
        }

        // Fermer le menu mobile si on redimensionne vers desktop
        window.addEventListener('resize', () => {
            if (window.innerWidth > 767 && navLinks.classList.contains('active')) {
                toggleMobileMenu();
            }
        });
    </script>
</body>
</html>