:root {
    --eco-primary: #2d6a4f;      /* Vert forêt profond */
    --eco-secondary: #40916c;    /* Vert feuillage */
    --eco-accent: #95d5b2;       /* Vert menthe clair */
    --eco-light: #d8f3dc;        /* Fond très clair */
    --eco-vibrant: #74c69d;      /* Vert dynamique */
    --text-main: #1b4332;        /* Texte sombre contrasté */
    --text-muted: #52796f;       /* Texte secondaire */
    --white: #ffffff;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', 'Segoe UI', sans-serif;
    color: var(--text-main);
    background-color: var(--white);
    overflow-x: hidden;
}

/* Navbar moderne */
.navbar {
    transition: all 0.3s ease;
    padding: 1.2rem 0;
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px);
}

.navbar-brand {
    font-weight: 800;
    color: var(--eco-primary) !important;
    font-size: 1.5rem;
}

.nav-link {
    font-weight: 600;
    color: var(--text-main) !important;
    margin: 0 10px;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 0; height: 2px;
    background: var(--eco-secondary);
    transition: width 0.3s;
}

.nav-link:hover::after {
    width: 100%;
}

/* Hero Carousel */
.carousel-item {
    height: 90vh;
    min-height: 600px;
    background-color: #000;
}

.carousel-image {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    opacity: 0.6;
}

.carousel-caption {
    bottom: 30%;
    text-align: left;
    max-width: 800px;
    z-index: 10;
}

.carousel-caption h1 {
    font-size: 4rem;
    font-weight: 900;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.5);
    margin-bottom: 20px;
}

.carousel-caption p {
    font-size: 1.5rem;
    background: rgba(45, 106, 79, 0.7);
    padding: 10px 20px;
    display: inline-block;
    border-radius: 5px;
    margin-bottom: 30px;
}

/* Sections */
section {
    padding: 100px 0;
}

.section-title {
    font-weight: 800;
    font-size: 2.5rem;
    margin-bottom: 60px;
    position: relative;
    color: var(--eco-primary);
}

.section-title::before {
    content: 'RECUP';
    position: absolute;
    top: -40px; left: 0;
    font-size: 5rem;
    opacity: 0.05;
    z-index: -1;
}

/* Cards & Hover Effects */
.card-service {
    border: none;
    border-radius: 20px;
    background: var(--eco-light);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow: hidden;
}

.card-service:hover {
    transform: translateY(-15px);
    background: var(--eco-secondary);
    color: white;
}

.card-service:hover .service-icon {
    color: white;
    transform: scale(1.2);
}

.service-icon {
    font-size: 3.5rem;
    color: var(--eco-primary);
    transition: all 0.3s ease;
}

/* Gallery Glassmorphism */
.gallery-img-container {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    height: 300px;
}

.gallery-img-container img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(45, 106, 79, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-img-container:hover img {
    transform: scale(1.1);
}

.gallery-img-container:hover .gallery-overlay {
    opacity: 1;
}

/* Buttons */
.btn-eco-main {
    background: var(--eco-secondary);
    color: white;
    padding: 15px 40px;
    border-radius: 50px;
    font-weight: 700;
    border: none;
    box-shadow: 0 10px 20px rgba(64, 145, 108, 0.3);
    transition: all 0.3s ease;
}

.btn-eco-main:hover {
    background: var(--eco-primary);
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(64, 145, 108, 0.4);
    color: white;
}

/* Contact Form */
.contact-card {
    border-radius: 25px;
    border: 1px solid var(--eco-accent);
    padding: 40px;
}

.form-control {
    border-radius: 10px;
    padding: 12px;
    border: 1px solid #e0e0e0;
}

.form-control:focus {
    border-color: var(--eco-secondary);
    box-shadow: 0 0 0 0.25rem rgba(64, 145, 108, 0.25);
}

/* Animations custom */
@keyframes fadeInUpCustom {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Carousel Controls Modernization */
.carousel-control-prev,
.carousel-control-next {
    width: 5%;
    z-index: 11;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 50px;
    height: 50px;
    background-color: rgba(45, 106, 79, 0.5);
    background-size: 50% 50%;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.carousel-control-prev:hover .carousel-control-prev-icon,
.carousel-control-next:hover .carousel-control-next-icon {
    background-color: var(--eco-primary);
    transform: scale(1.1);
}

.carousel-indicators [data-bs-target] {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin: 0 8px;
    background-color: var(--eco-accent);
}

.carousel-indicators .active {
    background-color: var(--white);
    transform: scale(1.2);
}
