:root {
    --primary: #4fc3f7; /* Bleu ciel */
    --secondary: #66bb6a; /* Vert menthe */
    --danger: #ef5350; /* Rouge */
    --white: #ffffff;
    --dark: #212529;
    --light: #f8f9fa;
}

/* Base Styles */
body {
    font-family: 'Poppins', sans-serif;
    color: var(--dark);
    overflow-x: hidden;
    padding-top: 72px;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
}

a {
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn {
    padding: 10px 25px;
    border-radius: 50px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--primary);
    border-color: var(--primary);
}

.btn-primary:hover {
    background-color: #29b6f6;
    border-color: #29b6f6;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(79, 195, 247, 0.3);
}

.btn-lg {
    padding: 12px 30px;
    font-size: 1.1rem;
}

/* Navigation */
.navbar {
    padding: 15px 0;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Bouton toggler rouge */
.navbar-toggler {
    color: #ef5350 !important; /* Rouge */
    border-color: transparent !important;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(239, 83, 80, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

/* Menu déroulant */
@media (max-width: 991.98px) {
    .navbar-collapse {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        padding: 0 1rem;
        background-color: white !important;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
        z-index: 1000;
    }
    
    .navbar-nav {
        padding: 1rem 0;
    }
    
    .nav-item {
        border-bottom: 1px solid #f0f0f0;
    }
    
    .nav-link {
        padding: 0.75rem 0 !important;
    }
}

.navbar.scrolled {
    padding: 10px 0;
    background-color: rgba(255, 255, 255, 0.95) !important;
}

.navbar-brand {
    font-size: 1.8rem;
    font-weight: 700;
}

.nav-link {
    font-weight: 500;
    padding: 8px 15px !important;
    position: relative;
    color: #ef5350;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background: var(--primary);
    bottom: 0;
    left: 15px;
    transition: width 0.3s ease;
    color: #212529;
}

.nav-link:hover::after {
    width: calc(100% - 30px);
    color: #212529;
}

/* Hero Section */
.hero-section {
    height: 90vh;
    min-height: 600px;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('assets/images/1.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
    display: flex;
    align-items: center;
    color: var(--white);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(79, 195, 247, 0.3) 0%, rgba(239, 83, 80, 0.3) 100%);
}

.hero-section h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-section .lead {
    font-size: 1.5rem;
    margin-bottom: 30px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

/* Service Cards */
.service-card {
    border: none;
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.service-card .card-img-top {
    height: 200px;
    object-fit: cover;
}

.service-card .card-body {
    padding: 25px;
}

/* Testimonial Cards */
.testimonial-card {
    background-color: var(--white);
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    color: var(--dark);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

/* Modal */
.modal-content {
    border-radius: 15px;
    overflow: hidden;
}

.modal-header {
    padding: 20px 25px;
}

.modal-body {
    padding: 30px;
}

/* Form Styles */
.form-control, .form-select {
    padding: 12px 15px;
    border-radius: 10px;
    border: 1px solid #ddd;
    transition: all 0.3s ease;
}

.form-control:focus, .form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 0.25rem rgba(79, 195, 247, 0.25);
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

/* Section Padding */
section {
    padding: 80px 0;
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    .hero-section h1 {
        font-size: 2.8rem;
    }
    
    .hero-section .lead {
        font-size: 1.2rem;
    }
    
    section {
        padding: 60px 0;
    }
}

@media (max-width: 768px) {
    body {
        padding-top: 65px;
    }
    
    .hero-section {
        height: 80vh;
        min-height: 500px;
    }
    
    .hero-section h1 {
        font-size: 2.2rem;
    }
    
    .hero-section .lead {
        font-size: 1rem;
    }
    
    .navbar-brand {
        font-size: 1.5rem;
    }
}

@media (max-width: 576px) {
    .hero-section {
        height: 70vh;
        min-height: 400px;
    }
    
    .hero-section h1 {
        font-size: 1.8rem;
    }
    
    section {
        padding: 50px 0;
    }
}