/* Reset de base pour uniformiser les navigateurs */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', 'Arial', sans-serif; /* Police moderne et professionnelle */
    line-height: 1.6;
    color: #333;
    background-color: #FFFFFF;
}

/* Alternance des fonds pour les sections */
.hero-section, .why-choose-section, .process-section, .about-hero, .strengths-section, .gallery-section, .products-hero, .sportswear-section {
    background-color: #FFFFFF; /* Fond blanc */
    padding: 40px 0 60px 0;
}

.carousel-section, .highlights-section, .cta-section, .history-section, .mission-section, .uniforms-section, .readywear-section {
    background-color: #E6F2FF; /* Bleu clair pour contraste doux */
    padding: 60px 0;
}

/* Container générique pour centrer le contenu */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
}

/* Typographie pour les titres */
h1, h2, h3 {
    margin-bottom: 20px;
    font-weight: 600;
    color: #1A365D; /* Bleu marine pour remplacer le noir */
}

h1 {
    font-size: 2.8rem;
    letter-spacing: 1px;
}

h2 {
    font-size: 2.2rem;
    position: relative;
    margin-bottom: 30px;
}

h2::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background-color: #DAA520; /* Jaune moutarde pour souligner */
    margin: 10px auto 0;
}

h3 {
    font-size: 1.6rem;
    margin-bottom: 15px;
}

p {
    font-size: 1rem;
    color: #555;
    margin-bottom: 20px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Boutons CTA */
.cta-button {
    background-color: #DAA520; /* Jaune moutarde distinctif */
    color: #FFFFFF;
    border: none;
    padding: 12px 24px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    border-radius: 6px;
    transition: background-color 0.3s ease, transform 0.2s ease;
    margin: 10px 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.cta-button:hover {
    background-color: #B8860B; /* Assombrissement au survol */
    transform: translateY(-2px); /* Petit effet de levée */
}

/* Header */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    background: linear-gradient(135deg, #1A365D, #2C5282); /* Dégradé bleu marine */
    color: #FFFFFF;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo {
    display: flex;
    flex-direction: column;
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 25px;
}

.main-nav a {
    color: #FFFFFF;
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: color 0.3s ease;
}

.main-nav a:hover {
    color: #DAA520; /* Jaune moutarde au survol */
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background: #FFFFFF;
    margin: 3px 0;
    transition: all 0.3s ease;
}

/* Section Hero avec image statique */
.hero-section {
    background-color: #FFFFFF;
    padding: 40px 0 60px 0;
    margin-top: 0;
}

.hero-image {
    position: relative;
    width: 100%;
    max-width: 1200px;
    height: 500px;
    overflow: hidden;
    margin: 0 auto 30px auto; /* Centrage et espacement */
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center; /* Centrage de l'image */
    display: block;
}

.hero-caption {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: #FFFFFF;
    background: rgba(26, 54, 93, 0.7); /* Bleu marine transparent */
    padding: 15px 25px;
    text-align: center;
    border-radius: 8px;
    max-width: 80%;
}

.hero-caption h1 {
    font-size: 2.3rem;
    margin-bottom: 8px;
    color: #FFFFFF;
}

.hero-caption p {
    font-size: 1.1rem;
    color: #FFFFFF;
}

.hero-content {
    max-width: 1000px; /* Réduction de la largeur pour harmonie */
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
    font-size: 1.05rem;
    line-height: 1.8;
}

/* Section Carrousel */
.carousel-section {
    position: relative;
    overflow: hidden;
    background-color: #E6F2FF; /* Bleu clair */
    padding: 60px 0;
}

.carousel-container {
    width: 100%;
    position: relative;
    margin: 0 auto;
    max-width: 1200px; /* Limite de largeur pour cohérence */
    height: 500px; /* Hauteur fixe pour visibilité */
}

.carousel-slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1.2s ease-in-out;
}

.carousel-slide.active {
    opacity: 1;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center; /* Centrage de l'image */
    display: block;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.carousel-caption {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: #FFFFFF; /* Texte en blanc */
    background: rgba(26, 54, 93, 0.7); /* Bleu marine transparent */
    padding: 15px 25px;
    text-align: center;
    border-radius: 8px;
    max-width: 80%;
}

.carousel-caption h1 {
    font-size: 2rem;
    margin-bottom: 8px;
    color: #FFFFFF; /* Titre en blanc */
}

.carousel-caption p {
    font-size: 1rem;
    color: #FFFFFF; /* Description en blanc */
}

/* Grilles pour Points Forts */
.highlight-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.highlight-item {
    background-color: #FFFFFF;
    padding: 30px 20px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.highlight-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.highlight-item i {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #DAA520; /* Jaune moutarde pour les icônes */
}

/* Section Processus de Fabrication */
.process-section {
    padding: 60px 0;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.process-item {
    background-color: #FFFFFF;
    padding: 30px 20px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.process-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.process-item i {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #DAA520; /* Jaune moutarde pour les icônes */
}

/* Styles pour les cartes Pourquoi Choisir GAC avec effet de rotation */
.why-choose-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.why-choose-item {
    perspective: 1000px; /* Ajout de la perspective pour l'effet 3D */
    height: 200px; /* Hauteur fixe pour uniformité */
    background-color: transparent; /* Supprime le fond pour éviter les conflits */
    box-shadow: none; /* Supprime l'ombre de base car elle sera sur les faces */
    transition: none; /* Supprime la transition de base */
}

.card-flip {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transform-style: preserve-3d;
    animation: flip 8s infinite; /* Animation automatique toutes les 8 secondes */
}

.card-front, .card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden; /* Cache l'arrière de la carte */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    background-color: #FFFFFF;
}

.card-front {
    z-index: 2;
}

.card-back {
    transform: rotateY(180deg); /* Face arrière tournée de 180 degrés */
    z-index: 1;
    text-align: center;
}

.card-front i {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: #DAA520; /* Jaune moutarde pour les icônes */
}

.card-front h3 {
    font-size: 1.5rem;
    margin-bottom: 0;
    color: #1A365D;
}

.card-back p {
    font-size: 1rem;
    color: #555;
    margin: 0;
    max-width: 90%;
}

/* Animation de rotation automatique */
@keyframes flip {
    0% {
        transform: rotateY(0deg); /* Face avant visible */
    }
    45% {
        transform: rotateY(0deg); /* Face avant visible pendant presque la moitié du temps */
    }
    50% {
        transform: rotateY(180deg); /* Rotation vers la face arrière */
    }
    95% {
        transform: rotateY(180deg); /* Face arrière visible pendant presque la moitié du temps */
    }
    100% {
        transform: rotateY(360deg); /* Retour à la face avant */
    }
}

/* Désactiver l'animation au survol pour permettre la lecture */
.why-choose-item:hover .card-flip {
    animation-play-state: paused; /* Pause l'animation au survol */
}

/* Section CTA */
.cta-section {
    padding: 80px 0;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 30px;
}

/* Footer */
.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 40px;
    padding: 40px 40px; /* Réduction du padding pour réduire la hauteur */
    background: linear-gradient(135deg, #1A365D, #2C5282); /* Même dégradé que l'en-tête */
    color: #FFFFFF;
}

.footer-links, .footer-useful-links, .footer-contact, .footer-cta {
    text-align: left;
}

.footer-links h3, .footer-useful-links h3, .footer-contact h3 {
    font-size: 1.2rem; /* Réduction de la taille de la police */
    color: #FFFFFF;
    margin-bottom: 15px; /* Réduction de la marge */
    position: relative;
}

.footer-links h3::after, .footer-useful-links h3::after, .footer-contact h3::after {
    content: '';
    display: block;
    width: 40px; /* Réduction de la largeur de la barre */
    height: 2px; /* Réduction de l'épaisseur */
    background-color: #DAA520;
    margin-top: 8px; /* Réduction de la marge */
}

.footer-links ul, .footer-useful-links ul {
    list-style: none;
}

.footer-links a, .footer-useful-links a {
    color: #CCCCCC;
    text-decoration: none;
    display: block;
    margin-bottom: 8px; /* Réduction de la marge */
    font-size: 0.85rem; /* Réduction de la taille de la police */
    transition: color 0.3s ease;
}

.footer-links a:hover, .footer-useful-links a:hover {
    color: #DAA520;
}

.footer-contact p {
    margin-bottom: 10px; /* Réduction de la marge */
    font-size: 0.85rem; /* Réduction de la taille de la police */
    color: #CCCCCC;
}

.footer-contact i {
    color: #DAA520;
    margin-right: 8px;
    width: 18px;
    text-align: center;
}

.social-icons {
    display: flex;
    gap: 15px; /* Réduction de l'espacement */
    margin-top: 15px; /* Réduction de la marge */
}

.social-icon {
    color: #CCCCCC;
    font-size: 1.5rem; /* Réduction de la taille des icônes */
    transition: color 0.3s ease, transform 0.2s ease;
}

.social-icon:hover {
    color: #DAA520;
    transform: scale(1.1);
}

.footer-cta {
    display: flex;
    flex-direction: column;
    gap: 10px; /* Réduction de l'espacement */
}

.footer-legal {
    text-align: center;
    padding: 15px; /* Réduction du padding */
    background-color: #1A365D;
    font-size: 0.8rem; /* Réduction de la taille de la police */
    color: #CCCCCC;
    line-height: 1.4; /* Espacement des lignes pour lisibilité */
}

.footer-legal a {
    color: #DAA520;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-legal a:hover {
    color: #FFFFFF;
}

/* Responsivité */
@media (max-width: 1024px) {
    .container {
        max-width: 900px;
    }

    h1 {
        font-size: 2.2rem;
    }

    h2 {
        font-size: 1.8rem;
    }

    .hero-image {
        height: 450px;
    }

    .carousel-container {
        height: 450px;
    }

    .hero-caption h1, .carousel-caption h1 {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    header {
        padding: 15px 20px;
        flex-wrap: wrap;
    }

    .main-nav ul {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background: #1A365D;
        flex-direction: column;
        gap: 15px;
        padding: 20px;
    }

    .main-nav ul.active {
        display: flex;
    }

    .hamburger {
        display: flex;
    }

    .hero-image {
        height: 350px;
    }

    .carousel-container {
        height: 350px;
    }

    .hero-caption, .carousel-caption {
        padding: 10px 15px;
        bottom: 15px;
    }

    .hero-caption h1, .carousel-caption h1 {
        font-size: 1.5rem;
    }

    .hero-caption p, .carousel-caption p {
        font-size: 0.9rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .footer-container {
        padding: 30px 20px; /* Réduction supplémentaire sur mobile */
        gap: 20px; /* Réduction de l'espacement */
    }

    .footer-links h3, .footer-useful-links h3, .footer-contact h3 {
        font-size: 1.1rem;
        margin-bottom: 10px;
    }

    .footer-links a, .footer-useful-links a, .footer-contact p {
        font-size: 0.8rem;
    }

    .social-icons {
        gap: 10px;
        margin-top: 10px;
    }

    .social-icon {
        font-size: 1.3rem;
    }

    .footer-legal {
        padding: 10px;
        font-size: 0.75rem;
    }

    .why-choose-item {
        height: 180px; /* Réduction de la hauteur sur mobile */
    }

    .card-front i {
        font-size: 2rem;
    }

    .card-front h3 {
        font-size: 1.3rem;
    }

    .card-back p {
        font-size: 0.9rem;
    }

    .process-item i {
        font-size: 2rem;
    }

    .process-item h3 {
        font-size: 1.3rem;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 1.8rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    h3 {
        font-size: 1.3rem;
    }

    .hero-image {
        height: 300px;
    }

    .carousel-container {
        height: 300px;
    }

    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 20px 15px; /* Réduction encore plus marquée */
        gap: 15px;
    }

    .footer-links h3::after, .footer-useful-links h3::after, .footer-contact h3::after {
        margin-left: auto;
        margin-right: auto;
    }

    .social-icons {
        justify-content: center;
    }

    .footer-cta {
        align-items: center;
    }
}

.values-list {
    list-style: none;
    margin: 20px 0;
    padding: 0;
}

.values-list li {
    margin-bottom: 15px;
    font-size: 1rem;
    color: #555;
    line-height: 1.6;
    padding-left: 25px;
    position: relative;
}

.values-list li::before {
    content: "\f00c"; /* Icône de coche de FontAwesome */
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: #DAA520; /* Jaune moutarde */
    position: absolute;
    left: 0;
}

/* Grille pour Points Forts dans À propos */
.strength-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.strength-item {
    background-color: #FFFFFF;
    padding: 30px 20px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

.strength-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.strength-item i {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #DAA520; /* Jaune moutarde pour les icônes */
}

/* Galerie pour Photos d'Équipe ou d'Ateliers */
.gallery-section {
    background-color: #FFFFFF;
    padding: 60px 0;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

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

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

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

.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(26, 54, 93, 0.7); /* Bleu marine transparent */
    color: #FFFFFF;
    padding: 15px;
    text-align: center;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-caption {
    transform: translateY(0);
}

.gallery-caption p {
    margin: 0;
    font-size: 0.9rem;
    color: #FFFFFF;
}

/* Sections À propos de GAC */
.about-section {
    padding: 60px 0; /* Suppression de la couleur de fond par défaut pour éviter les conflits */
}

.about-section .container {
    text-align: left; /* Alignement à gauche pour un style narratif */
    max-width: 1000px; /* Réduction de la largeur pour une lecture plus confortable */
}

.about-section h2 {
    text-align: center; /* Centrage des titres pour cohérence */
}

.about-section p {
    margin-bottom: 20px;
    line-height: 1.8;
    max-width: none; /* Permettre au texte de s'étendre sur toute la largeur du conteneur */
}

/* Responsivité pour À propos de GAC */
@media (max-width: 768px) {
    .about-section {
        padding: 40px 0;
    }

    .about-section .container {
        text-align: left;
        padding: 0 15px;
    }

    .strength-grid, .gallery-grid {
        grid-template-columns: 1fr; /* Une seule colonne sur mobile */
        gap: 20px;
    }

    .gallery-item img {
        height: 250px;
    }
}

@media (max-width: 480px) {
    .about-section h2 {
        font-size: 1.5rem;
    }

    .values-list li {
        font-size: 0.9rem;
        padding-left: 20px;
    }
}

/* Styles pour les sections de produits */
.product-section {
    padding: 60px 0;
}

.product-section .container {
    text-align: left;
    max-width: 1100px;
}

.product-section h2 {
    text-align: center;
    margin-bottom: 40px;
}

.product-content {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    align-items: center;
    justify-content: space-between;
}

.product-text {
    flex: 1;
    min-width: 300px;
}

.product-text p {
    margin-bottom: 20px;
    line-height: 1.8;
    max-width: none;
}

.product-gallery {
    flex: 1;
    min-width: 300px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

/* Responsivité pour Nos Produits */
@media (max-width: 768px) {
    .product-content {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }

    .product-gallery {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }

    .gallery-item img {
        height: 200px;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }
}

@media (max-width: 480px) {
    .product-section h2 {
        font-size: 1.5rem;
    }

    .product-text p {
        font-size: 0.9rem;
    }
}

/* Styles pour la page Blog */
.blog-section {
    padding: 40px 0;
    background-color: #E6F2FF; /* Fond bleu clair pour la page blog */
}

.blog-section h2 {
    font-size: 2.2rem;
    color: #1A365D;
    text-align: center;
    margin-bottom: 30px;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.blog-item {
    background-color: #FFFFFF;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

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

.blog-image {
    width: 100%;
    height: 180px; /* Hauteur réduite pour équilibrer avec le texte */
    overflow: hidden;
}

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

.blog-item:hover .blog-image img {
    transform: scale(1.05);
}

.blog-content {
    padding: 20px;
    text-align: left;
    min-height: 150px; /* Hauteur minimale pour le contenu texte */
}

.blog-content h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: #1A365D;
}

.blog-content p {
    font-size: 0.9rem;
    color: #555;
    margin-bottom: 15px;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3; /* Limite à 3 lignes */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.read-more {
    display: inline-block;
    color: #DAA520;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.3s ease;
}

.read-more:hover {
    color: #B8860B;
}

.no-articles {
    text-align: center;
    font-size: 1.1rem;
    color: #777;
    padding: 20px;
}

/* Modal pour l'article complet */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
    background-color: #FFFFFF;
    margin: 10% auto;
    padding: 20px;
    width: 80%;
    max-width: 800px;
    border-radius: 10px;
    position: relative;
    overflow-y: auto;
    max-height: 80vh;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.close-button {
    color: #777;
    font-size: 2rem;
    font-weight: bold;
    position: absolute;
    top: 10px;
    right: 20px;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close-button:hover {
    color: #333;
}

.modal-image {
    width: 100%;
    height: 250px; /* Hauteur réduite pour équilibrer avec le contenu */
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 20px;
}

.modal-article-content {
    margin-top: 20px;
    line-height: 1.8;
    color: #333;
    font-size: 1rem;
    max-height: 400px;
    overflow-y: auto;
    padding-right: 10px;
}

/* Bandeau Newsletter Fixe en Bas */
.newsletter-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(135deg, #1A365D, #2C5282);
    color: #FFFFFF;
    padding: 15px 0;
    z-index: 100;
    box-shadow: 0 -5px 10px rgba(0, 0, 0, 0.1);
}

.banner-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.banner-content h3 {
    font-size: 1.5rem;
    margin: 0 0 10px 0;
}

.banner-content p {
    font-size: 1rem;
    margin: 0 0 15px 0;
}

.newsletter-form {
    display: flex;
    gap: 10px;
    width: 100%;
    max-width: 400px;
}

.newsletter-form input {
    padding: 10px;
    font-size: 1rem;
    border: none;
    border-radius: 6px;
    flex: 1;
    outline: none;
}

/* Pop-up Newsletter */
.popup {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5);
}

.popup-content {
    background-color: #FFFFFF;
    margin: 15% auto;
    padding: 30px;
    width: 80%;
    max-width: 500px;
    border-radius: 10px;
    position: relative;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.close-popup {
    color: #777;
    font-size: 2rem;
    font-weight: bold;
    position: absolute;
    top: 10px;
    right: 20px;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close-popup:hover {
    color: #333;
}

.popup-content h3 {
    font-size: 1.8rem;
    color: #1A365D;
    margin-bottom: 15px;
}

.popup-content p {
    font-size: 1rem;
    color: #555;
    margin-bottom: 20px;
}

.popup-content .newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin: 0 auto;
    max-width: 350px;
}

.popup-content input {
    padding: 12px;
    font-size: 1rem;
    border: 1px solid #CCC;
    border-radius: 6px;
    outline: none;
    width: 100%;
    box-sizing: border-box;
}

/* Pop-up de Notification de Succès */
.success-popup-content {
    background-color: #FFFFFF;
    margin: 20% auto;
    padding: 30px;
    width: 80%;
    max-width: 450px;
    border-radius: 10px;
    position: relative;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.success-popup-content h3 {
    font-size: 1.5rem;
    color: #1A365D;
    margin-bottom: 10px;
}

.success-popup-content p {
    font-size: 1rem;
    color: #555;
    margin-bottom: 20px;
}

.success-popup-content .cta-button {
    background-color: #DAA520;
    color: #FFFFFF;
    border: none;
    padding: 10px 20px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    border-radius: 6px;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.success-popup-content .cta-button:hover {
    background-color: #B8860B;
    transform: translateY(-2px);
}

/* Responsivité pour Blog et Newsletter */
@media (max-width: 768px) {
    .blog-image {
        height: 160px;
    }

    .blog-content h3 {
        font-size: 1.2rem;
    }

    .blog-content p {
        font-size: 0.85rem;
    }

    .modal-image {
        height: 200px;
    }

    .modal-article-content {
        max-height: 350px;
    }

    .banner-content {
        padding: 0 15px;
    }

    .banner-content h3 {
        font-size: 1.3rem;
    }

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

    .newsletter-form {
        flex-direction: column;
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .blog-image {
        height: 140px;
    }

    .modal-image {
        height: 180px;
    }

    .modal-article-content {
        max-height: 300px;
    }

    .popup-content {
        margin: 30% auto;
        width: 90%;
        padding: 20px;
    }

    .success-popup-content {
        margin: 30% auto;
        width: 90%;
        padding: 20px;
    }
}
.quote-form-section {
    background-color: #FFFFFF;
    padding: 60px 0;
}

.form-group {
    margin-bottom: 20px;
    text-align: left;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #1A365D;
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #CCC;
    border-radius: 6px;
    font-size: 1rem;
    outline: none;
    transition: border-color 0.3s ease;
}

.form-group input:focus, .form-group textarea:focus {
    border-color: #DAA520;
}

.form-group textarea {
    min-height: 100px;
    resize: vertical;
}

.product-group {
    margin-bottom: 30px;
    padding: 20px;
    background-color: #F9F9F9;
    border-radius: 10px;
}

.product-group h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: #1A365D;
}
.cookie-popup {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1000;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.cookie-content {
    background: white;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    max-width: 500px;
    margin: auto;
}

.cookie-buttons {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 10px;
}
.chat-container {
    max-width: 800px;
    margin: 30px auto;
    border: 1px solid #E0E0E0;
    border-radius: 10px;
    background-color: #FFFFFF;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    height: 400px;
    display: flex;
    flex-direction: column;
}

.chat-messages {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
    border-bottom: 1px solid #E0E0E0;
}

.message {
    display: flex;
    margin-bottom: 15px;
    align-items: flex-start;
}

.message.assistant {
    justify-content: flex-start;
}

.message.user {
    justify-content: flex-end;
}

.avatar {
    min-width: 40px;
    height: 40px;
    background-color: #DAA520;
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-weight: bold;
    margin-right: 10px;
    font-size: 0.9rem;
}

.message.user .avatar {
    background-color: #1A365D;
    margin-right: 0;
    margin-left: 10px;
}

.message-content {
    background-color: #F1F5F9;
    padding: 10px 15px;
    border-radius: 10px;
    max-width: 70%;
}

.message.user .message-content {
    background-color: #E6F2FF;
}

.message-content p {
    margin: 0;
    font-size: 0.95rem;
    color: #333;
}

.chat-input {
    padding: 15px;
    display: flex;
    gap: 10px;
}

.chat-input input {
    flex: 1;
    padding: 10px;
    border: 1px solid #CCC;
    border-radius: 6px;
    font-size: 1rem;
    outline: none;
    transition: border-color 0.3s ease;
}

.chat-input input:focus {
    border-color: #DAA520;
}

.chat-input button {
    background-color: #DAA520;
    color: #FFFFFF;
    border: none;
    padding: 10px 20px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    border-radius: 6px;
    transition: background-color 0.3s ease;
}

.chat-input button:hover {
    background-color: #B8860B;
}
/* Styles pour la page Admin - Newsletter */
.admin-section {
    background-color: #FFFFFF;
    padding: 60px 0;
    min-height: 100vh;
}

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

.admin-title {
    font-size: 2.5rem;
    font-weight: 600;
    color: #1A365D;
    margin-bottom: 30px;
    text-align: center;
    position: relative;
}

.admin-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background-color: #DAA520;
    margin: 10px auto 0;
}

.stats-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 40px;
    gap: 20px;
}

.stat-box {
    background-color: #FFFFFF;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    padding: 25px;
    text-align: center;
    flex: 1;
    min-width: 300px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.stat-box h3 {
    color: #1A365D;
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.stat-box p {
    color: #DAA520;
    font-size: 2.8rem;
    font-weight: bold;
    margin: 0;
}

.table-container {
    background-color: #FFFFFF;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    padding: 25px;
    margin-top: 30px;
}

.table-title {
    font-size: 1.8rem;
    font-weight: 600;
    color: #1A365D;
    margin-bottom: 20px;
    text-align: center;
    position: relative;
}

.table-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: #DAA520;
    margin: 10px auto 0;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

.admin-table th {
    background-color: #E6F2FF;
    color: #1A365D;
    font-weight: 600;
    padding: 12px;
    text-align: left;
    border-bottom: 2px solid #dee2e6;
}

.admin-table td {
    padding: 12px;
    color: #333;
    border-bottom: 1px solid #dee2e6;
}

.admin-table tbody tr:nth-of-type(odd) {
    background-color: rgba(0, 0, 0, 0.03);
}

.admin-table tbody tr:hover {
    background-color: rgba(218, 165, 32, 0.1); /* Jaune moutarde léger */
}

.no-data-message {
    text-align: center;
    font-size: 1.1rem;
    color: #555;
    padding: 20px;
}

/* Responsivité pour la page Admin */
@media (max-width: 768px) {
    .stats-row {
        flex-direction: column;
        align-items: center;
    }

    .stat-box {
        min-width: 100%;
        margin-bottom: 20px;
    }

    .admin-table th, .admin-table td {
        padding: 8px;
        font-size: 0.9rem;
    }

    .table-container {
        padding: 15px;
    }
}

@media (max-width: 480px) {
    .admin-title {
        font-size: 2rem;
    }

    .table-title {
        font-size: 1.5rem;
    }

    .stat-box h3 {
        font-size: 1.1rem;
    }

    .stat-box p {
        font-size: 2.2rem;
    }
}
/* Réutilisation des styles de base.css pour cohérence */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #E6F2FF; /* Bleu clair de GAC */
    padding: 20px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
}

h1 {
    font-size: 2.5rem;
    font-weight: 600;
    color: #1A365D; /* Bleu marine de GAC */
    margin-bottom: 40px;
    position: relative;
}

h1::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background-color: #DAA520; /* Jaune moutarde de GAC */
    margin: 10px auto 0;
}

.card {
    background: linear-gradient(135deg, #1A365D, #2C5282); /* Dégradé bleu marine comme le header de GAC */
    width: 100%;
    max-width: 350px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin: 0 auto;
}

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

.card-header {
    padding: 20px;
    color: #FFFFFF;
    text-align: center;
    border-bottom: 3px solid #DAA520; /* Ligne jaune moutarde */
}

.card-header h2 {
    font-size: 1.8rem;
    margin-bottom: 5px;
    color: #FFFFFF;
}

.card-header h2 span {
    font-size: 1.2rem;
    font-style: italic;
    display: block;
}

.card-header p {
    font-size: 0.9rem;
    color: #CCCCCC;
}

.card-body {
    background-color: #FFFFFF;
    padding: 25px;
    text-align: center;
}

.profile-pic {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 20px;
    border: 3px solid #DAA520;
    background-color: #E6F2FF;
}

.profile-pic img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-body h3 {
    font-size: 1.5rem;
    color: #1A365D;
    margin-bottom: 5px;
}

.card-body .title {
    font-size: 1.1rem;
    color: #DAA520;
    margin-bottom: 20px;
    font-weight: 500;
}

.contact-info {
    text-align: left;
    font-size: 0.9rem;
    color: #555;
}

.contact-info p {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.contact-info i {
    color: #DAA520;
    margin-right: 10px;
    width: 20px;
    text-align: center;
}

.contact-info a {
    color: #1A365D;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-info a:hover {
    color: #DAA520;
}

.navigation {
    margin-top: 30px;
}

.nav-link {
    display: inline-block;
    padding: 10px 20px;
    background-color: #1A365D;
    color: #FFFFFF;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.nav-link:hover {
    background-color: #DAA520;
}

/* Responsivité */
@media (max-width: 768px) {
    .card {
        max-width: 90%;
    }

    h1 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .card-header {
        padding: 15px;
    }

    .card-body {
        padding: 15px;
    }

    .card-header h2 {
        font-size: 1.5rem;
    }

    .card-header h2 span {
        font-size: 1rem;
    }

    .card-body h3 {
        font-size: 1.3rem;
    }

    .contact-info {
        font-size: 0.85rem;
    }

    .profile-pic {
        width: 100px;
        height: 100px;
    }
}
.poster-container {
    max-width: 900px;
    margin: 30px auto;
    background-color: #FFFFFF;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border: 5px solid #1A365D;
}

.poster-header {
    background: linear-gradient(135deg, #1A365D, #2C5282);
    padding: 40px 20px;
    text-align: center;
    color: #FFFFFF;
}

.logo {
    margin-bottom: 10px;
}

.gac {
    display: inline-block;
    font-style: italic;
    font-size: 3.5rem;
    font-weight: bold;
    letter-spacing: 0.05em;
}

.since {
    color: #FFFFFF;
    font-size: 1.2rem;
    font-family: 'Dancing Script', cursive;
    font-weight: 300;
    display: block;
    margin-top: 0.2rem;
}

.poster-header p {
    font-size: 1.2rem;
    color: #CCCCCC;
}

.poster-body {
    position: relative;
    height: 400px;
    background-color: #E6F2FF;
}

.visual {
    width: 100%;
    height: 100%;
    position: relative;
}

.main-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(26, 54, 93, 0.6); /* Bleu marine semi-transparent */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    text-align: center;
    padding: 20px;
}

.overlay h2 {
    font-size: 2.2rem;
    font-weight: 600;
    border: 3px solid #DAA520;
    padding: 15px;
    margin-bottom: 15px;
    background: rgba(0, 0, 0, 0.3);
}

.event-details {
    font-size: 1.1rem;
    line-height: 1.4;
    background: rgba(0, 0, 0, 0.4);
    padding: 10px 20px;
    border-radius: 5px;
    max-width: 80%;
}

.poster-footer {
    background-color: #E6F2FF;
    padding: 30px 20px;
    text-align: center;
}

.contact {
    margin-bottom: 20px;
    font-size: 1rem;
    color: #1A365D;
}

.contact p {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact i {
    color: #DAA520;
    margin-right: 10px;
    width: 20px;
    text-align: center;
}

.contact a {
    color: #1A365D;
    text-decoration: none;
}

.contact a:hover {
    color: #DAA520;
}

.qr-codes {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.qr-code {
    text-align: center;
}

.qr-code img {
    width: 120px;
    height: 120px;
    border: 2px solid #DAA520;
    border-radius: 5px;
}

.qr-code p {
    margin-top: 10px;
    font-size: 1rem;
    color: #1A365D;
    font-weight: 500;
}

.cta {
    font-size: 1.2rem;
    font-weight: bold;
    color: #1A365D;
    margin-top: 10px;
}

/* Responsivité */
@media (max-width: 768px) {
    .gac {
        font-size: 2.5rem;
    }

    .since {
        font-size: 1rem;
    }

    .poster-header p {
        font-size: 1rem;
    }

    .overlay h2 {
        font-size: 1.5rem;
        padding: 10px;
    }

    .event-details {
        font-size: 0.9rem;
        max-width: 90%;
        padding: 8px 15px;
    }

    .poster-body {
        height: 300px;
    }

    .qr-codes {
        gap: 20px;
    }

    .qr-code img {
        width: 100px;
        height: 100px;
    }
}
/* Style par défaut pour le menu hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 25px;
    height: 21px;
    cursor: pointer;
}

.hamburger span {
    width: 100%;
    height: 3px;
    background-color: #FFFFFF;
    transition: all 0.3s ease;
}

/* Media query pour mobile */
@media screen and (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .main-nav ul {
        display: none; /* Masquer le menu par défaut sur mobile */
        position: absolute;
        top: 60px; /* Ajuster selon la hauteur de votre header */
        left: 0;
        width: 100%;
        background-color: #1A365D; /* Couleur de fond, ajuster selon le brand kit GAC */
        flex-direction: column;
        align-items: center;
        padding: 20px 0;
        transition: all 0.3s ease;
    }

    .main-nav ul.active {
        display: flex; /* Afficher le menu quand la classe active est présente */
    }

    .main-nav ul li {
        margin: 10px 0;
    }

    .main-nav ul li a {
        color: #FFFFFF;
        font-size: 1.2rem;
    }

    /* Animation de l'icône hamburger en croix */
    .hamburger.active span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }
}