/* --- 1. TITRES ET MISE EN PAGE GLOBALE --- */
.page-title, .sub-title {
    text-align: center;
    color: #1a1a1a;
    margin-top: 40px; /* Un peu d'espace sous le header */
}

.page-title { font-size: 2.5rem; }
.sub-title { font-size: 2rem; margin-bottom: 10px; }

.page-title span, .sub-title span { color: #e74c3c; }

.red-line-center {
    width: 80px;
    height: 4px;
    background: #e74c3c;
    margin: 15px auto 40px;
}

/* --- 2. SECTION RÉALISATIONS (GALERIE) --- */
.realisations-section { margin-bottom: 80px; }

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    height: 250px;
    box-shadow: 0 6px 15px rgba(0,0,0,0.15);
    background-color: #333;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img { transform: scale(1.1); }

.overlay {
    position: absolute;
    inset: 0;
    background: rgba(231, 76, 60, 0.85);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.overlay span {
    color: white;
    font-weight: bold;
    text-transform: uppercase;
    border: 2px solid white;
    padding: 12px 25px;
    letter-spacing: 1px;
}

.gallery-item:hover .overlay { opacity: 1; }

/* --- 3. GRILLE D'INFORMATIONS DU GARAGE --- */
.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 25px;
    margin-bottom: 80px;
}

.info-box {
    background: #222; /* Style sombre Garage */
    color: white;
    padding: 40px 20px;
    text-align: center;
    border-radius: 12px;
    border-bottom: 5px solid #e74c3c;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.info-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.info-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
    display: block;
}

.info-box h3 {
    color: #e74c3c;
    margin-bottom: 15px;
    text-transform: uppercase;
    font-size: 1.2rem;
}

.info-box p {
    font-size: 1rem;
    line-height: 1.6;
    opacity: 0.9;
}

/* --- 4. RESPONSIVE --- */
@media (max-width: 768px) {
    .gallery-grid { grid-template-columns: repeat(2, 1fr); }
    .page-title { font-size: 2rem; }
}

@media (max-width: 480px) {
    .gallery-grid { grid-template-columns: 1fr; }
    .contact-info-grid { grid-template-columns: 1fr; }
    .info-box { padding: 30px 15px; }
}