:root {
    --noir: #121212;
    --gris-fonce: #1e1e1e;
    --gris-metal: #b0b0b0;
    --rouge: #e63946;
    --blanc: #ffffff;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Roboto', sans-serif; background-color: var(--blanc); color: var(--noir); line-height: 1.6; }
.container { max-width: 1200px; margin: 0 auto; padding: 60px 20px; }
.bg-light { background-color: #f4f4f4; }

/* Header & Nav */
header { background: var(--noir); color: white; padding: 15px 0; position: sticky; top: 0; z-index: 1000; border-bottom: 2px solid var(--rouge); }
nav { display: flex; justify-content: space-between; align-items: center; padding: 0 20px !important; }
.logo { font-family: 'Orbitron', sans-serif; font-weight: bold; font-size: 1.5rem; }
.logo span { color: var(--rouge); }
.nav-links { list-style: none; display: flex; }
.nav-links li { margin: 0 15px; }
.nav-links a { color: white; text-decoration: none; font-weight: 400; transition: 0.3s; }
.nav-links a:hover { color: var(--rouge); }
.btn-devis { background: var(--rouge); color: white; padding: 10px 20px; text-decoration: none; font-weight: bold; border-radius: 4px; }

/* Hero Section */
.hero { height: 80vh; background: linear-gradient(rgba(0,0,0,0.8), rgba(0,0,0,0.8)), url('images/fond-accueil.jpg') center/cover; display: flex; align-items: center; justify-content: center; text-align: center; color: white; }
.hero h1 { font-family: 'Orbitron', sans-serif; font-size: 3rem; margin-bottom: 20px; }
.btn-main { background: var(--rouge); color: white; padding: 15px 30px; text-decoration: none; margin: 10px; display: inline-block; font-weight: bold; }
.btn-sub { border: 2px solid white; color: white; padding: 13px 30px; text-decoration: none; margin: 10px; display: inline-block; }

/* Services */
.section-title { text-align: center; font-family: 'Orbitron', sans-serif; margin-bottom: 40px; position: relative; }
.section-title::after { content: ''; width: 50px; height: 4px; background: var(--rouge); position: absolute; bottom: -10px; left: 50%; transform: translateX(-50%); }
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.card { background: white; padding: 40px; border: 1px solid #ddd; transition: 0.3s; border-bottom: 5px solid var(--gris-metal); }
.card:hover { border-bottom: 5px solid var(--rouge); transform: translateY(-5px); box-shadow: 0 10px 20px rgba(0,0,0,0.1); }
.btn-card { display: block; margin-top: 20px; color: var(--rouge); text-decoration: none; font-weight: bold; border: 1px solid var(--rouge); text-align: center; padding: 10px; transition: 0.3s; }
.btn-card:hover { background: var(--rouge); color: white; }

/* Galerie */
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 15px; }
.gallery-grid img { 
    width: 100%; 
    height: auto; /* Laisse la photo prendre sa hauteur naturelle */
    max-height: 400px; /* Empêche les photos d'être trop géantes */
    object-fit: contain; /* Affiche l'image ENTIÈRE sans la couper */
    background-color: #eee; /* Ajoute un fond gris clair si l'image ne remplit pas tout le cadre */
    border-radius: 4px; 
    transition: 0.5s; 
    cursor: pointer;
}

.gallery-grid img:hover { 
    transform: scale(1.02); /* Effet de zoom léger au survol */
}

/* Devis Form */
.quote-box { background: var(--gris-fonce); color: white; padding: 40px; border-radius: 8px; }
.form-group { display: flex; gap: 20px; margin-bottom: 15px; }
input, select, textarea { width: 100%; padding: 12px; background: #2a2a2a; border: 1px solid #444; color: white; margin-bottom: 15px; }
.btn-submit { background: var(--rouge); color: white; border: none; padding: 15px 40px; cursor: pointer; font-weight: bold; width: 100%; }

/* Footer */
footer { background: var(--noir); color: white; padding: 50px 0 20px 0; }
.footer-grid { display: flex; justify-content: space-between; flex-wrap: wrap; }
.footer-bottom { text-align: center; border-top: 1px solid #333; margin-top: 40px; padding-top: 20px; font-size: 0.8rem; color: #777; }

/* Mobile */
@media (max-width: 768px) {
    .nav-links { display: none; }
    .hero h1 { font-size: 1.8rem; }
    .form-group { flex-direction: column; gap: 0; }
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 12px; /* Espace entre le rond et le texte */
}

.logo-img {
    width: 45px;  /* Taille du logo */
    height: 45px;
    border-radius: 50%; /* Rend la photo ronde */
    object-fit: cover; /* Évite de déformer l'image */
    border: 2px solid var(--rouge); /* Un petit contour rouge pour le style */
}