/* GLOBAL */
body {
font-family: Arial, sans-serif;
margin: 0;
background: #f5f7fa;

min-height: 100vh;
display: flex;
flex-direction: column;
}

/* CONTAINER */
.container {
width: 90%;
margin: auto;
}

/* HEADER */
header {
background-color: #0d2b5c;
color: white;
padding: 15px 40px;
}

.nav {
display: flex;
justify-content: space-between;
align-items: center;
}

nav a {
color: white;
margin: 0 10px;
text-decoration: none;
font-weight: bold;
}

nav a:hover {
text-decoration: underline;
}

/* LOGO */
.brand img {
height: 55px;
}

/* HERO */
.hero {
background: url('image/toiture2.JPG') center/cover no-repeat;
color: white;
min-height: 500px;

display: flex;
align-items: center;
justify-content: center;
text-align: center;
}

.hero h1 {
font-size: 40px;
margin-bottom: 20px;
}

/* BOUTON */
.btn {
background: #2b6cb0;
color: white;
padding: 12px 25px;
border-radius: 25px;
text-decoration: none;
}

/* SERVICES (ACCUEIL) */
.services {
text-align: center;
padding: 50px 0;
}

.cards {
display: flex;
gap: 20px;
justify-content: center;
flex-wrap: wrap;
}

.card {
background: white;
padding: 20px;
border-radius: 10px;
width: 250px;
box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.card img {
width: 100%;
height: 200px;
object-fit: cover;
border-radius: 10px;
}

/* SERVICES EN COLONNES (PEINTURE) */
.services-grid {
display: grid;
grid-template-columns: repeat(2, 1fr);
gap: 15px;
margin-top: 20px;
}

.services-grid div {
background: #f1f5f9;
padding: 12px;
border-radius: 10px;
text-align: center;
}

/* GALERIE */
.gallery {
display: flex;
gap: 15px;
flex-wrap: wrap;
justify-content: center;
padding: 40px 0;
}

.gallery img {
width: 300px;
height: 200px;
object-fit: cover;
border-radius: 10px;
}

/* AVIS */
.avis {
text-align: center;
padding: 60px 20px;
background: #0d2b5c;
color: white;
}

.avis-images {
display: flex;
justify-content: center;
gap: 20px;
flex-wrap: wrap;
margin-top: 30px;
}

.avis-images img {
width: 340px;
max-width: 100%;
border-radius: 10px;
box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

/* CONTACT */
.contact {
text-align: center;
padding: 60px 20px;
}

.buttons {
display: flex;
justify-content: center;
gap: 15px;
flex-wrap: wrap;
}

.buttons a {
padding: 10px 20px;
background: #2f6fb2;
color: white;
text-decoration: none;
border-radius: 25px;
}

/* FOOTER */
footer {
text-align: center;
padding: 15px;
background: #0d2b5c;
color: white;
margin-top: auto;
}

/* RESPONSIVE */
@media (max-width: 600px) {

.nav {
flex-direction: column;
gap: 10px;
}

.buttons {
flex-direction: column;
align-items: center;
}

.buttons a {
width: 80%;
text-align: center;
}

.services-grid {
grid-template-columns: 1fr;
}
}
