/* CDN - Site Web Professionnel V4 - Nettoyage */
/* Styles CSS principaux */

:root {
    /* Palette de couleurs - Thème Nettoyage */
    --primary-color: #1976d2; /* Bleu foncé */
    --secondary-color: #2196f3; /* Bleu moyen */
    --accent-color: #64b5f6; /* Bleu clair */
    --light-color: #e3f2fd; /* Bleu très clair */
    --dark-color: #0d47a1; /* Bleu très foncé */
    --text-color: #333333;
    --text-light: #666666;
    --white: #ffffff;
    --black: #000000;
    --gray-light: #f5f5f5;
    --gray: #e0e0e0;
    --gray-dark: #9e9e9e;
    
    /* Typographie */
    --font-primary: 'Montserrat', sans-serif;
    --font-secondary: 'Lato', sans-serif;
    
    /* Espacements */
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    --spacing-xxl: 3rem;
    
    /* Bordures et ombres */
    --border-radius: 0.25rem;
    --box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Reset et base */
body {
    font-family: var(--font-primary);
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--white);
    margin: 0;
    padding: 0;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-primary);
    font-weight: 700;
    margin-top: 0;
    color: var(--dark-color);
}

p {
    margin-bottom: var(--spacing-md);
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--dark-color);
    text-decoration: underline;
}

/* Navbar personnalisée */
.navbar {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.navbar-brand img {
    max-height: 60px;
}

.navbar-light .navbar-nav .nav-link {
    color: var(--text-color);
    font-weight: 500;
    padding: 0.5rem 1rem;
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link:focus {
    color: var(--primary-color);
}

.navbar-light .navbar-nav .active > .nav-link,
.navbar-light .navbar-nav .nav-link.active {
    color: var(--primary-color);
    font-weight: 600;
}

.dropdown-item.active, 
.dropdown-item:active {
    background-color: var(--primary-color);
}

/* Hero section */
.hero-section {
    position: relative;
    overflow: hidden;
}

.hero-slide img {
    width: 100%;
    height: 600px;
    object-fit: cover;
    filter: brightness(0.8);
}

.hero-content {
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-content h1 {
    color: var(--white);
    font-size: 2.5rem;
    font-weight: 700;
}

.hero-content p {
    color: var(--white);
    font-size: 1.25rem;
}

/* Boutons */
.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white);
    font-weight: 500;
    padding: 0.5rem 1.5rem;
    border-radius: var(--border-radius);
    transition: all 0.3s ease;
}

.btn-primary:hover,
.btn-primary:focus {
    background-color: var(--dark-color);
    border-color: var(--dark-color);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.btn-outline-primary {
    border-color: var(--primary-color);
    color: var(--primary-color);
    font-weight: 500;
    padding: 0.5rem 1.5rem;
    border-radius: var(--border-radius);
    transition: all 0.3s ease;
}

.btn-outline-primary:hover,
.btn-outline-primary:focus {
    background-color: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Sections 
section {
   padding: var(--spacing-xxl) 0;
}*/

.section-title {
    text-align: center;
    margin-bottom: var(--spacing-xl);
    position: relative;
}

.section-title:after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background-color: var(--primary-color);
    margin: var(--spacing-sm) auto 0;
}

/* Cards */
.card {
    border: none;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.card-img-top {
    height: 200px;
    object-fit: cover;
}

.card-body {
    padding: var(--spacing-lg);
}

.card-title {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
}

/* Services */
.service-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: var(--spacing-md);
}

/* Testimonials */
.testimonial {
    background-color: var(--light-color);
    padding: var(--spacing-lg);
    border-radius: var(--border-radius);
    margin-bottom: var(--spacing-lg);
}

.testimonial-text {
    font-style: italic;
    margin-bottom: var(--spacing-md);
}

.testimonial-author {
    font-weight: 600;
    color: var(--primary-color);
}

/* Contact form */
.contact-form {
    background-color: var(--gray-light);
    padding: var(--spacing-xl);
    border-radius: var(--border-radius);
}

.form-control {
    border: 1px solid var(--gray);
    padding: 0.75rem;
    border-radius: var(--border-radius);
    margin-bottom: var(--spacing-md);
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(25, 118, 210, 0.25);
}

/* Footer */
footer {
    background-color: var(--dark-color);
    color: var(--white);
    padding: var(--spacing-xl) 0;
}

footer h5 {
    color: var(--white);
    margin-bottom: var(--spacing-md);
    font-weight: 600;
}

footer a {
    color: var(--gray-light);
}

footer a:hover {
    color: var(--white);
}

.footer-bottom {
    background-color: rgba(0, 0, 0, 0.2);
    padding: var(--spacing-md) 0;
    margin-top: var(--spacing-xl);
}

/* Responsive */
@media (max-width: 992px) {
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
}

@media (max-width: 768px) {
    section {
        padding: var(--spacing-xl) 0;
    }
    
    .hero-slide img {
        height: 400px;
    }
    
    .hero-content h1 {
        font-size: 1.75rem;
    }
}

@media (max-width: 576px) {
    .hero-slide img {
        height: 300px;
    }
    
    .hero-content h1 {
        font-size: 1.5rem;
    }
    
    .btn {
        padding: 0.4rem 1rem;
        font-size: 0.9rem;
    }
}

/* Animations */
.fade-in {
    animation: fadeIn 1s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.slide-up {
    animation: slideUp 0.8s ease-in-out;
}

@keyframes slideUp {
    from { transform: translateY(50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

/* Utilities */
.bg-light-blue {
    background-color: var(--light-color);
}

.text-blue {
    color: var(--primary-color);
}

.border-blue {
    border-color: var(--primary-color) !important;
}

.shadow-sm {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1) !important;
}

.shadow-md {
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1) !important;
}

.shadow-lg {
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1) !important;
}