/* RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Segoe UI", "Roboto", sans-serif;
}

body {
    background: #f9f9f9;
    color: #333;
    line-height: 1.6;
    overflow-x: hidden;
}

/* HEADER */
header {
    background: #111;
    color: #fff;
    text-align: center;
    padding: 3rem 1rem;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

header h1 {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 1rem;
    letter-spacing: 1px;
}

header p {
    font-size: 1.2rem;
    color: #ccc;
}

/* MAIN IMAGE */
.main-image {
    width: 100%;
    max-width: 1000px;
    margin: 2rem auto;
    display: block;
    border-radius: 16px;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
}

.main-image:hover {
    transform: scale(1.01);
}

/* SERVICES */
.services {
    padding: 3rem 1rem;
    background: #fff;
    text-align: center;
}

.services h2 {
    font-size: 2.2rem;
    margin-bottom: 2.5rem;
    color: #111;
}

.service-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.service {
    background: #f0f0f0;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.service:hover {
    transform: translateY(-6px);
    background: #fff;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.12);
}

.service h3 {
    font-size: 1.4rem;
    color: #c0392b;
    margin-bottom: 0.5rem;
}

.service p {
    text-align: left;
    font-size: large;
    font-weight: bold;
    position: relative;
    padding-left: 25px; /* Pour donner de l'espace pour l'icône ou le contenu avant */
}

.service p::before {
    content: "✓"; /* Icône ou texte avant chaque paragraphe */
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%); /* Centrer verticalement */
    font-size: 1.5rem; /* Taille de l'icône ou du symbole */
    color: #c0392b; /* Couleur de l'icône ou texte */
}

/* CONTACT */
.contact {
    padding: 3rem 1rem;
    background-color: #fafafa;
    text-align: center;
}

.contact h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #111;
}

.contact p {
    margin-bottom: 2rem;
    color: #555;
}

/* Bouton commun pour les trois (prend en compte tous les types de boutons) */
.cta-btn, .call-btn, .whatsapp-btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    text-decoration: none;
    color: white;
    transition: background 0.3s ease;
    min-width: 140px;
    text-align: center;
    display: inline-block;
    margin-top: 1.5rem;
}

/* Couleurs spécifiques */
.cta-btn {
    background-color: #e74c3c; /* Rouge */
}

.call-btn {
    background-color: #3498db; /* Bleu */
}

.whatsapp-btn {
    background-color: #25D366; /* Vert */
}

/* Effet au survol */
.cta-btn:hover {
    background-color: #c0392b;
}

.call-btn:hover {
    background-color: #2c80b4;
}

.whatsapp-btn:hover {
    background-color: #1ca654;
}


.map-container {
    max-width: 900px;
    margin: 0 auto;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.1);
}

/* FOOTER */
footer {
    background: #111;
    color: #fff;
    text-align: center;
    padding: 1.5rem;
    margin-top: 3rem;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
}

.hero {
    position: relative;
    background: url('garage.jpg') center/cover no-repeat;
    height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 8px solid #c0392b;
    background-attachment: fixed; /* Parallax léger */
    background-size: cover; /* Assure-toi que l'image couvre toute la zone */
}

.hero-overlay {
    text-align: center;
    padding: 2rem 3rem;
    background: rgba(0, 0, 0, 0.55);
    border-radius: 16px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.4);
}

.hero-overlay h2 {
    text-align: center;
    font-weight: bold;
    color: white;
    background: linear-gradient(45deg, #e74c3c, #3498db); /* Dégradé de couleur */
    -webkit-background-clip: text; /* Permet de "clipper" le dégradé sur le texte */
    background-clip: text;
    font-size: 2.5rem;
}


.cta-btn {
    display: inline-block;
    margin-top: 1.5rem;
    padding: 0.75rem 1.5rem;
    background-color: #e74c3c;
    color: white;
    font-weight: bold;
    border-radius: 8px;
    text-decoration: none;
    font-size: 1rem;
    transition: background 0.3s ease;
}

.cta-btn:hover {
    background-color: #c0392b;
}

.hero h1 {
    color: #fff;
    font-size: 3rem;
    margin-bottom: 1rem;
    letter-spacing: 2px;
}

.hero p {
    color: #ddd;
    font-size: 1.2rem;
    font-weight: 300;
}

/* Scroll smooth behavior */
html {
    scroll-behavior: smooth;
}


@media (max-width: 768px) {
    .service-list {
        grid-template-columns: 1fr;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .cta-btn, .call-btn, .whatsapp-btn {
        width: 100%;
        padding: 1rem;
    }
}
