body {
    background-color: #f5e6d3;
}

.navbar {
    background-color: #1c3f1e !important;
}

.hero-section {
    background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)),
                url('../images/hero/hero-banner.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    height: 80vh; /* 80% de la hauteur de l'écran */
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-logo {
    max-width: 500px;
    width: 90%;
    margin: 0 auto 2rem;
}

.hero-section .lead {
    font-size: 1.8rem;
    margin-bottom: 2rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-logo {
        max-width: 300px;
    }
    
    .hero-section {
        padding: 4rem 0;
    }
}
.map-section {
    background-color: #f5e6d3;
    padding: 4rem 0;
}

.map-container {
    background-color: transparent;
    padding: 20px;
}

.programme-box {
    background-color: transparent;
    padding: 20px;
}

.programme-title {
    color: #8B4513;
    font-size: 1.8rem;
    margin-bottom: 2rem;
}

.programme-list {
    list-style: none;
    padding: 0;
}

.programme-list li {
    color: #8B4513;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    line-height: 1.4;
}

.info-button {
    position: relative;
    text-align: center;
    margin-top: 2rem;
}

.info-button img {
    max-width: 200px;
}

.info-button::before,
.info-button::after {
    content: '';
    display: inline-block;
    width: 50px;
    height: 1px;
    background: #8B4513;
    margin: 0 10px;
    vertical-align: middle;
}
.photo-gallery {
    position: relative;
    padding: 3rem 0;
    background-color: rgba(0, 0, 0, 0.1);
}

.gallery-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.gallery-image-container {
    position: relative;
    width: 100%;
    max-width: 500px;
}

.gallery-image {
    background: white;
    padding: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.gallery-image img {
    width: 100%;
    height: auto;
    display: block;
}
.profile-card {
    background-color: #1d4526;
    border-radius: 15px;
    padding: 35px 25px;
    position: relative;
    width: 100%;
    max-width: 350px;
    min-height: 400px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.profile-card .social-handle {
    color: #fff;
    font-size: 0.9rem;
    position: absolute;
    top: 15px;
    left: 15px;
    margin: 0;
    font-family: Arial, sans-serif;
    opacity: 0.9;
}

.profile-card .profile-image {
    position: absolute;
    top: -30px;
    right: -30px;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    overflow: hidden;
    border: 5px solid white;
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
}

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

.profile-card p {
    color: #fff;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-top: 160px; /* Espace pour l'image de profil */
    text-align: justify;
    opacity: 0.95;
    font-family: 'Arial', sans-serif;
    letter-spacing: 0.2px;
}

/* Ajout d'un effet de transition au survol */
.profile-card {
    transition: transform 0.3s ease;
}

.profile-card:hover {
    transform: translateY(-5px);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .profile-card {
        max-width: 100%;
        margin: 40px auto 0;
        padding: 25px 20px;
    }

    .profile-card .profile-image {
        width: 150px;
        height: 150px;
        top: -25px;
        right: -25px;
    }

    .profile-card p {
        margin-top: 140px;
        font-size: 0.9rem;
    }
}

.profile-image {
    position: absolute;
    top: -30px;
    right: -30px;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    overflow: hidden;
    border: 5px solid white;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

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

.social-handle {
    color: #fff;
    font-size: 0.9rem;
    position: absolute;
    top: 15px;
    left: 15px;
    margin: 0;
    font-family: Arial, sans-serif;
}
.gallery-image-container {
    position: relative;
    width: 100%;
    max-width: 500px;
}

.gallery-image {
    background: white;
    padding: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    position: relative;
}

.gallery-image img {
    width: 100%;
    height: auto;
    display: block;
}

.gallery-controls {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    z-index: 2;
    display: flex;
    justify-content: space-between;
    padding: 0 10px;
}

.gallery-controls button {
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s;
}

.gallery-controls button:hover {
    background: rgba(255, 255, 255, 1);
}

.gallery-image-slider {
    position: relative;
    overflow: hidden;
}

.gallery-image-slider img {
    display: none;
}

.gallery-image-slider img.active {
    display: block;
}
.social-handle {
    color: white;
    margin-bottom: 10px;
    font-style: italic;
}

@media (max-width: 768px) {
    .gallery-container {
        flex-direction: column;
    }
    
    .profile-card {
        margin-top: 40px;
    }
}
.footer {
    background-color: #343a40;
    color: white;
    padding: 2rem 0;
    margin-top: 2rem;
}

/* Styles pour la page Association */
.page-title {
    color: #800000;
    font-family: serif;
    margin-bottom: 2rem;
}

.team-section {
    background-color: #fff8f0;
    padding: 3rem 0;
    position: relative;
}

.team-dots {
    position: absolute;
    left: 2rem;
    top: 50%;
    transform: translateY(-50%);
}

.dot {
    width: 15px;
    height: 15px;
    background-color: #800000;
    border-radius: 50%;
    margin: 10px 0;
}

.logo-circle {
    width: 200px;
    height: 200px;
    margin: 2rem auto;
    position: relative;
}

.logo-circle img {
    max-width: 100%;
    height: auto;
}

@media (max-width: 768px) {
    .team-dots {
        display: none;
    }
    .logo-circle {
        width: 150px;
        height: 150px;
    }
}

/* Pour réduire la taille du logo */
.programme-box img {
    max-width: 150px;
    height: auto;
    display: block;
    margin: 20px auto;
}

/* Pour centrer le bouton */
.programme-box .btn-container {
    text-align: center;
}

/* Pour la section galerie avec fond */
.photo-gallery {
    background: url('../images/gallery/background.jpg') no-repeat center center;
    background-size: cover;
    padding: 4rem 0;
    position: relative;
}

.photo-gallery::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.photo-gallery .container {
    position: relative;
    z-index: 2;
}

.photo-gallery img {
    border: 8px solid #fff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.gallery-controls {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    z-index: 3;
}

.gallery-controls button {
    background: rgba(255, 255, 255, 0.8);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-size: 20px;
    cursor: pointer;
}

.gallery-controls .prev {
    float: left;
    margin-left: 15px;
}

.gallery-controls .next {
    float: right;
    margin-right: 15px;
}
.intro-text {
    background-color: rgba(164, 124, 108, 0.7);
    padding: 1.5rem 0;
    margin-bottom: 2rem;
}

.intro-text p {
    color: #800000; /* Couleur bordeaux */
    font-size: 1.5rem;
    text-align: center;
    margin: 0;
    line-height: 1.4;
}

/* Pour le premier paragraphe - titre */
.intro-text p:first-child {
    font-weight: bold;
}

@media (max-width: 768px) {
    .intro-text p {
        font-size: 1.2rem;
        padding: 0 15px;
    }
}

.team-member {
    text-align: center;
    margin-bottom: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.team-member-img {
    width: 180px;
    height: 180px;
    position: relative;
    margin-bottom: 1.5rem;
}

.team-member-img::before {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    border-radius: 50%;
    background: linear-gradient(to right, #daa520, #ffd700);
    z-index: 1;
}

.team-member-img img {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    z-index: 2;
    border: 4px solid white;
}

.team-member h3 {
    color: #333;
    font-size: 1.2rem;
    margin: 0.5rem 0;
    font-weight: 600;
}

.team-member p {
    color: #666;
    font-size: 1rem;
    margin: 0;
}

.poles-row {
    display: flex;
    justify-content: space-between;
    margin-top: 4rem;
    gap: 2rem;
}

.pole-half {
    width: 48%;
}

.pole-section h2 {
    font-size: 1.8rem;
    margin-bottom: 3rem;
    text-transform: uppercase;
    font-weight: bold;
}

/* Ajustements responsifs */
@media (max-width: 768px) {
    .poles-row {
        flex-direction: column;
    }
    
    .pole-half {
        width: 100%;
    }
    
    .team-member-img {
        width: 150px;
        height: 150px;
    }
}

.main-content {
    text-align: justify;
}

.main-content p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
}


@media screen and (max-width: 1400px) {
    /* Force la mise en page mobile */
    .col-md-6 {
        width: 100% !important;
        margin-bottom: 2rem;
    }

    .row.my-5 {
        margin: 1rem 0 !important;
    }

    /* Ajustements pour la section équipe */
    .team-poles .pole-section {
        margin-bottom: 2rem;
    }

    .poles-row {
        flex-direction: column !important;
        gap: 2rem;
    }

    .pole-half {
        width: 100% !important;
    }

    /* Ajustements pour le texte */
    .team-section {
        padding: 1rem;
    }

    .col-md-10.mx-auto {
        width: 100%;
        padding: 0 15px;
    }

    /* Ajustements pour les images de l'équipe */
    .team-member-img {
        width: 150px;
        height: 150px;
        margin: 0 auto;
    }

    .team-member {
        margin-bottom: 2rem;
    }

    /* Ajustements pour le logo */
    .logo-circle {
        width: 150px;
        height: auto;
        margin: 2rem auto;
    }

      .main-content
    /* Amélioration de la lisibilité */
    .main-content p {
        font-size: 1rem;
        line-height: 1.6;
    }

    h1.page-title {
        font-size: 2rem !important;
        margin-bottom: 1.5rem;
    }

    h2 {
        font-size: 1.5rem !important;
    }
}