/* Variables globales */
:root {
    --primary-color: #2A6B84;    
    --secondary-color: #1225a0f4;  
    --accent-color: #edc42d;     
    --text-color: #ffffff;       
    --light-bg: #A9BCD0;        
}

/* Reset et styles globaux */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    min-height: 100vh;
    font-family: 'Roboto', sans-serif;
}

/* Styles de base */
h1, h2 {
    color: black;
}

p {
    color: black;
}

a {
    color: white;
}

/* Layout */
section {
    margin: 0;
    padding: 0;
}

section:not(.news-carousel) {
    padding: 4rem 2rem;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

/* Navigation */
.navbar {
    background: #2A6B84;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: start;
    align-items: center;
   
}

.nav-logo {
    display: flex;
    align-items: center;
    margin-left: 1rem;  

}

.logo {
    height: 100px;
    width: auto;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
    margin-left: 10rem; 

}

.nav-links a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: color 0.3s ease;
}
.nav-links a:not(.cta-button) {
    position: relative;
}
.nav-links a:not(.cta-button)::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: #edc42d; 
    transition: width 0.3s ease;
    
}

.nav-links a:hover {
    color: var(--accent-color);
}

.nav-links a:not(.cta-button):hover::after {
    width: 100%;
}
.nav-links .cta-button.cta-primary {
    color: var(--primary-color); 
    background-color: var(--accent-color); 
}
.nav-links .cta-button.cta-primary:hover {
    background-color: #d4ae29; 
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
}

.nav-toggle span {
    width: 25px;
    height: 2px;
    background: var(--text-color);
    transition: all 0.3s ease;
}
.hero-section {
    position: relative;
    height: 700px;
    width: 100%;
    overflow: hidden;
}

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

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(transparent, rgba(0,0,0,0.7));
}

.hero-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.5rem;
    color: white;
    text-align: left;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-left: 15%;
    padding-right: 15%;
}

.hero-content h2 {
    color: white;
    font-size: 2.8rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-content p {
    color: white;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
    max-width: 600px;
}

@media (max-width: 768px) {
    .hero-section {
        height: 500px;
    }

    .hero-content h2 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 1rem;
    }
}

.real{width: 20rem;height: auto;}
/* Navigation du carousel */
.swiper-button-next,
.swiper-button-prev {
    color: white;
    transition: opacity 0.3s;
    z-index: 10;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    opacity: 0.8;
}

.swiper-pagination {
    position: absolute;
    bottom: 10px;
    z-index: 10;
}

.swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    background: white;
    opacity: 0.7;
}

.swiper-pagination-bullet-active {
    background: var(--primary-color);
    opacity: 1;
}
/* Sections principales */
/* Mise à jour Section Présentation */
/* Mise à jour Section Présentation */
.presentation {
    background: white;
    padding: 4rem 2rem;
}

.presentation-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.presentation-text {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.presentation-text h2 {
    margin-bottom: 2rem;
    color: var(--primary-color);
}

.presentation-text p {
    margin-bottom: 2rem;
}

.presentation-image {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}
.presentation-text h2,
.presentation-text p,
.features-grid{
    width: 100%;
    text-align: left;
margin-bottom: 2rem;}

    .feature-item {
        display: flex;
        align-items: center;
        gap: 1rem;
        text-align: left;
        width: fit-content;
    }

    .feature-icon {
        width: 40px;
        height: 40px;
        flex-shrink: 0;
    }

    .feature-item p {
        margin: 0;
        display: flex;
        align-items: center;
        min-height: 40px;
        font-weight: 700;
        color: var(--primary-color);
    }

/* Styles du carousel */
.realisations {
    background: var(--light-bg);
    padding: 4rem 2rem;
    position: relative;
}

.realisations-carousel {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

.realisations-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    padding: 2rem 0;
    margin: 0 auto;
    width: calc(300px * 3 + 4rem); /* Largeur pour 3 cartes + gaps */
    overflow: hidden;
}

.realisations-track {
    display: flex;
    gap: 2rem;
    transition: transform 0.5s ease;
    position: relative;
}

.realisation-card {
    flex: 0 0 300px;
    text-decoration: none;
    display: block;
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.realisation-card.active {
    transform: scale(1.1);
}

.realisation-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.realisation-content {
    padding: 1.5rem;
}

.realisation-content h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.realisation-content p {
    color: #666;
    margin: 0;
}

.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    border: none;
    border-radius: 50%;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: background 0.3s ease;
}

.carousel-arrow:hover {
    background: var(--secondary-color);
}

.carousel-arrow.prev {
    left: 0;
}

.carousel-arrow.next {
    right: 0;
}

.carousel-arrow::before {
    content: '';
    width: 10px;
    height: 10px;
    border-top: 2px solid white;
    border-right: 2px solid white;
    display: block;
}

.carousel-arrow.prev::before {
    transform: rotate(-135deg);
}

.carousel-arrow.next::before {
    transform: rotate(45deg);
}

@media (max-width: 768px) {
    .realisation-card.active {
        flex: 0 0 300px;
        transform: scale(1.05);
    }
    
    .carousel-arrow {
        width: 30px;
        height: 30px;
    }
}

.realisations {
    background: var(--light-bg);
}

.realisations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.realisation-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

/* Section Avis */
.avis {
    background: white;
}

.avis-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.avis-card {
    background: var(--light-bg);
    padding: 1.5rem;
    border-radius: 8px;
}

/* Boutons CTA */
.cta-button {
    display: inline-block;
    padding: 12px 24px;
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 25px;
    transition: all 0.3s ease;
}

.cta-button:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
}

.cta-primary {
    background: var(--accent-color);
    font-weight: 500;
}

/* Portfolio/Réalisations */
.portfolio-filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.5rem 1.5rem;
    border: none;
    background: var(--light-bg);
    color: var(--text-color);
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover {
    background: var(--primary-color);
    color: white;
}

.filter-btn.active {
    background: var(--primary-color);
    color: white;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    padding: 2rem;
}

.portfolio-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.portfolio-item:hover {
    transform: translateY(-5px);
}

.portfolio-item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.portfolio-item-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0,0,0,0.7);
    color: white;
    padding: 1rem;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.portfolio-item:hover .portfolio-item-overlay {
    transform: translateY(0);
}

.portfolio-item.hidden {
    display: none;
}

.section-title {
    text-align: center;
    margin: 3rem 0;
}

.section-description {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 2rem;
    padding: 0 1rem;
}
/* Footer */
.footer {
    background: var(--light-bg);
    padding: 4rem 2rem 1rem;
    margin-top: 2rem;
    color: #2A6B84;
}
.footer a,
.footer h3,
.footer p,
.footer li {
    color: #2A6B84 !important;
}
.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 4rem;
}

/* Nouvelle section pour le logo */
.footer-logo-section {
    text-align: center;
}

.footer-logo {
    width: 120px;
    height: auto;
    margin-bottom: 1rem;
}

/* Section du contenu à droite */
.footer-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.footer-section h3 {
    color: var(--text-color);
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--primary-color);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
    justify-content: flex-start; /* Aligner à gauche plutôt qu'au centre */
}

.social-links a {
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.social-links a:hover {
    transform: translateY(-3px);
}

.social-icon {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.footer-bottom {
    max-width: 1200px;
    margin: 2rem auto 0;
    padding-top: 2rem;
    border-top: 1px solid rgba(0,0,0,0.1);
    text-align: center;
}

@media (max-width: 992px) {
    .footer-container {
        grid-template-columns: 1fr; /* Passe en une seule colonne */
    }

    .footer-content {
        grid-template-columns: repeat(2, 1fr); /* 2 colonnes sur tablette */
    }
}

@media (max-width: 576px) {
    .footer-content {
        grid-template-columns: 1fr; /* 1 colonne sur mobile */
    }
}

/* Page À propos */
.about-hero {
    background: var(--light-bg);
    padding: 4rem 2rem;
    text-align: center;
}

.about-hero h1 {
    margin-bottom: 1.5rem;
    color: var(--text-color);
}

.about-content {
    max-width: 1200px;
    margin: 4rem auto;
    padding: 0 2rem;
}

.about-section {
    margin-bottom: 4rem;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.about-text h2 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.about-text p {
    margin-bottom: 1rem;
    line-height: 1.8;
}
/* Section valeurs */
.values-section {
    background: var(--light-bg);
    padding: 4rem 2rem;
    margin: 4rem 0;
}

.values-grid {
    max-width: 1200px;
    margin: 3rem auto 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.value-card {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.value-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

/* Section équipe */
.team-section {
    padding: 4rem 2rem;
    text-align: center;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 3rem auto 0;
}

.team-member {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.team-member:hover {
    transform: translateY(-5px);
}

.member-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.member-info {
    padding: 1.5rem;
}

.member-info h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.member-role {
    color: var(--text-color);
    font-style: italic;
    margin-bottom: 1rem;
}

/* Section statistiques */
.stats-section {
    background: var(--primary-color);
    color: white;
    padding: 4rem 2rem;
    text-align: center;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.stat-item {
    padding: 2rem;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

/* Media Queries */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        padding: 1rem;
        flex-direction: column;
        align-items: start;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-toggle {
        display: flex;
    }

    .news-carousel {
        height: 300px;
    }

    .slide-content h2 {
        font-size: 1.5rem;
    }

    .slide-content p {
        font-size: 0.9rem;
    }

    .about-grid {
        grid-template-columns: 1fr;
    }

    .about-image {
        height: 300px;
    }
}