/* =================================== */
/* ==== 1. STYLES DE BASE & LAYOUT === */
/* =================================== */
html,
body {
    margin: 0;
    padding: 0;
    font-family: "Sansation", sans-serif;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.main-content {
    flex-grow: 1;
}

/* =================================== */
/* ======== 2. HEADER (TOP-BAR) ====== */
/* =================================== */
.top-bar {
    position: relative;
    background-color: white;
    color: rgb(0, 0, 0);
    display: flex;
    align-items: center;
    padding-bottom: 15px;
    padding-left: 20px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
    z-index: 100;
}

.top-bar h1 {
    color: rgba(163, 144, 74, 1);
    text-shadow: #000000 3px 3px 3px;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    margin: 0;
    font-size: 3rem;
}

.logo {
    margin-top: 10px;
    margin-left: 20px;
    width: 80px;
}

.logo img {
    width: 80px;
    height: auto;
    display: block;
}

/* =================================== */
/* ====== 3. MENU MOBILE (BURGER) ==== */
/* =================================== */
.burger {
    position: absolute;
    right: 20px;
    cursor: pointer;
    background: none;
    border: none;
    outline: none;
}

.burger img {
    width: 40px;
    height: auto;
    transition: transform 0.4s ease-in-out;
    display: block;
}

.burger:hover img {
    transform: rotate(180deg);
}

.menu {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: 250px;
    background: white;
    box-shadow: -4px 0 8px rgba(0, 0, 0, 0.2);
    padding: 20px;
    z-index: 1001;
    transform: translateX(100%);
    transition: transform 0.3s ease-in-out;
}

.menu.active {
    transform: translateX(0);
}

.menu a {
    display: block;
    padding: 10px;
    text-decoration: none;
    color: black;
    transition: 0.2s;
    border-radius: 5px;
    margin-bottom: 5px;
}

.menu a:hover {
    background: rgba(163, 144, 74, 1);
    color: white;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    z-index: 1000;
}

.overlay.active {
    display: block;
}

/* =================================== */
/* === 4. CONTENU SPÉCIFIQUE PAGE ==== */
/* =================================== */

/* Conteneur blanc central */
.page-container {
    max-width: 1200px;
    margin: 40px auto;
    padding: 30px;
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.07);
}

.page-container h2 {
    text-align: center;
    color: rgba(163, 144, 74, 1);
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.intro-text {
    text-align: center;
    font-size: 1.1rem;
    line-height: 1.6;
    color: #555;
    max-width: 800px;
    margin: 0 auto 50px auto;
}

/* Grille des services (Douche, Carrelage...) */
.services-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
    margin-bottom: 50px;
}

.service-card {
    flex: 1;
    min-width: 300px;
    max-width: 350px;
    background: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    border-bottom: 3px solid rgba(163, 144, 74, 1);
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-card h3 {
    color: #333;
    margin-bottom: 15px;
    font-size: 1.4rem;
}

/* =================================== */
/* ============ CARROUSEL ============ */
/* =================================== */

/* 1. On limite la largeur du bloc carrousel */
#carouselExampleIndicators {
    margin: 0 auto;
    max-width: 800px;
    margin-bottom: 50px;
}

/* 2. ON IMPOSE LA HAUTEUR SUR L'IMAGE (C'est le plus important) */
#carouselExampleIndicators .carousel-item img {
    width: 100%;
    height: 400px !important;  /* <--- Force la hauteur à 400px (changez le chiffre si vous voulez) */
    object-fit: cover;         /* <--- Recadre l'image pour qu'elle remplisse les 400px sans être écrasée */
    object-position: center;
}

/* 3. Adaptation pour mobile (optionnel) */
@media (max-width: 768px) {
    #carouselExampleIndicators .carousel-item img {
        height: 250px !important; /* Moins haut sur téléphone */
    }
}

/* Zone Appel à l'action (Bas de page) */
.cta-section {
    text-align: center;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid #eee;
}

/* Bouton Contact (Doré) */
.contact-btn {
    display: inline-block;
    padding: 12px 25px;
    background-color: rgba(163, 144, 74, 0.1);
    color: rgba(163, 144, 74, 1);
    border: 1px solid rgba(163, 144, 74, 0.4);
    border-radius: 5px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
}

.contact-btn:hover {
    background-color: rgba(163, 144, 74, 1);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* =================================== */
/* ============ 5. FOOTER ============ */
/* =================================== */
.low-bar {
    background-color: rgba(255, 255, 255, 1);
    color: #2F3D30;
    padding: 30px 20px;
    box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.3);
    text-align: left;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
    gap: 30px;
}

.footer-column {
    flex: 1;
    min-width: 250px;
    padding: 0 10px;
}

.footer-column ul {
    list-style-type: none;
    padding-left: 0;
    margin: 0;
}

.footer-logo-text {
    color: #F97316;
    font-size: 1.5rem;
    margin-top: 0;
    margin-bottom: 15px;
}

.footer-column p {
    color: rgba(163, 144, 74, 1);
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 0;
}

.footer-column h4 {
    color: rgba(163, 144, 74, 1);
    font-size: 1.1rem;
    margin-top: 0;
    margin-bottom: 20px;
}

.footer-column ul li a {
    color: rgba(163, 144, 74, 1);
    text-decoration: none;
    display: block;
    padding: 5px 0;
    transition: color 0.2s ease;
}

.footer-column ul li a:hover {
    color: #000000;
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-icons a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(0, 0, 0, 0.1);
    color: rgba(163, 144, 74, 1);
    font-size: 1rem;
    font-weight: bold;
    text-decoration: none;
    transition: background-color 0.2s ease;
}

.social-icons a:hover {
    background-color: rgba(0, 0, 0, 0.2);
}

.social-icons a img {
    width: 20px;
    height: 20px;
}