/* --- GLOBAL & TYPOGRAPHIE --- */
body {
    scroll-behavior: smooth;
    font-family: 'Open Sans', sans-serif;
    color: #333;
}

h1, h2, h3, h4, h5 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
}

a, button, input, textarea {
    transition: all 0.3s ease-in-out !important;
}

/* Personnalisation de la barre de défilement */ 
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: #f1f1f1; }
::-webkit-scrollbar-thumb { background: #888; border-radius: 5px; }
::-webkit-scrollbar-thumb:hover { background: #929292; }

/* --- NAVBAR (Thème Clair et Lumineux) --- */
.navbar {
    transition: all 0.4s ease;
    padding: 15px 0;
    background-color: #ffffff; /* Fond totalement blanc */
    box-shadow: 0 2px 15px rgba(0,0,0,0.05); /* Ombre très douce pour décoller le menu */
}
.navbar.scrolled {
    background-color: #E9F8FF !important; /* Blanc très légèrement transparent au défilement */
    padding: 8px 0;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1); /* L'ombre s'accentue un peu au défilement */
}
.navbar-brand {
    font-size: 1.6rem;
    color: #0056b3 !important; /* Un bleu "hygiène/propreté" pour le nom du site */
}
.nav-link {
    font-weight: 600;
    color: #444 !important; /* Texte gris foncé très lisible */
}
.nav-link:hover {
    color: #006790 !important; /* On garde ton jaune au survol ! */
    transform: translateY(-2px);
}

/* --- HERO --- */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(rgba(0,0,0,0.36), rgba(0,0,0,0.39)),
    url('img/hero.png?auto=format&fit=crop&w=1600&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* Parallaxe */
    color: white;
    text-align: center;
    overflow: hidden;
}
.hero-slide {
    height: 100vh;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
}

.hero-slide::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.5);
}

.hero-slide .container {
    position: relative;
    z-index: 2;
}
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
.hero h1 { animation: fadeInUp 0.4s ease-out 0.2s both; text-shadow: 2px 2px 4px rgba(0,0,0,0.5); }
.hero p { animation: fadeInUp 0.4s ease-out 0.3s both; }
.hero a { animation: fadeInUp 0.4s ease-out 0.3s both; }
.hero a.btn:hover {
    box-shadow: 0 0 15px rgba(255, 193, 7, 0.5);
    transform: scale(1.05);
}

/* --- SECTIONS --- */
section { padding: 80px 0; }

/* --- SERVICES --- */
section#services { background-color: #fcfcfc !important; }
.service-box {
    padding: 30px 25px;
    border-radius: 12px;
    background: white;
    transition: all 0.4s ease;
    border: 1px solid transparent;
    height: 100%;
}
.service-box i {
    font-size: 2.5rem;
    color: #006790;
    margin-bottom: 15px;
    display: inline-block;
}
.service-box:hover {
    transform: translateY(-12px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1) !important;
    border-color: rgba(255, 193, 7, 0.4);
}
.service-box {
    cursor: pointer;
    transition: 0.3s;
}

.service-box:hover {
    transform: translateY(-10px);
    background-color: #fff8e1;
}
.service-list li {
    font-weight: bold;
}

/* --- SEPARATEURS --- */
.separator {
    height: 6px;
    background: linear-gradient(to right, #006790, #ffd700, #006790);
    margin: 0;
    background-size: 200% auto;
    animation: gradientMove 3s linear infinite;
}
@keyframes gradientMove {
    0% { background-position: 0% 50%; }
    100% { background-position: 200% 50%; }
}

.photo-separator {
    height: 350px;
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)),
    url('img/clean.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* Parallaxe */
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
    box-shadow: inset 0 0 100px rgba(0,0,0,0.5);
}
.photo-separator h2 {
    font-size: 2.8rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

/* --- GALERIE --- */
.gallery img {
    width: 100%;
    border-radius: 12px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    border: 3px solid transparent;
}
.gallery img:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2) !important;
    border-color: rgba(255, 193, 7, 0.6);
}

/* --- CONTACT --- */
section#contact { background-color: #fcfcfc !important; }
#contact .form-control {
    border-radius: 8px;
    padding: 12px;
    border: 1px solid #ddd;
}
#contact .form-control:focus {
    border-color: #006790;
    box-shadow: 0 0 10px rgba(255, 193, 7, 0.3);
    outline: none;
}
#contact button.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 193, 7, 0.3);
}

/* --- FOOTER --- */
footer {
    background: #006790;
    color: white;
    padding: 25px;
    text-align: center;
}