/* ===== ANIMATED BUTTON ===== */
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: clamp(14px, 3vw, 18px) clamp(30px, 5vw, 40px);
    background: var(--gradient-primary);
    border: none;
    color: white;
    gap: 12px;
    border-radius: 50px;
    cursor: pointer;
    transition: all var(--transition-medium);
    position: relative;
    overflow: hidden;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    box-shadow: 0 10px 30px rgba(255, 107, 107, 0.4);
    font-size: clamp(0.9rem, 2vw, 1rem);
}

.button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.7s;
}

.button:hover::before {
    left: 100%;
}

.button:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 40px rgba(255, 107, 107, 0.6);
    background: var(--gradient-primary);
}

.button:active {
    transform: translateY(-2px) scale(1.02);
}

.text {
    font-size: clamp(0.9rem, 2vw, 1.1em);
    font-weight: 700;
    letter-spacing: 1px;
    position: relative;
    z-index: 2;
}

.svg {
    padding-top: 2px;
    height: 100%;
    width: fit-content;
    position: relative;
    z-index: 2;
}

.svg svg {
    width: clamp(20px, 4vw, 24px);
    height: clamp(20px, 4vw, 24px);
    transition: transform var(--transition-fast);
}

.button:hover .svg svg {
    animation: bounce 0.6s ease infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(4px); }
}

/* ===== STYLES POUR LES PAGES SPÉCIFIQUES ===== */

/* Page Header */
.page-header {
    background: linear-gradient(135deg, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.6) 100%), url('/images/1000051796.png');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 180px 5% 80px;
    text-align: center;
    margin-top: 80px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 60vh; /* Ajustez cette valeur selon vos besoins */
}

.page-header h1 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #ffffff 0%, #ffd700 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.page-header p {
    font-size: clamp(1.1rem, 2.5vw, 1.3rem);
    max-width: 600px;
    margin: 0 auto;
    opacity: 0.9;
}

/* Sections générales */
.about-section,
.mission-section,
.values-section,
.team-section,
.calendar-section,
.upcoming-events,
.contact-section,
.map-section {
    padding: 5rem 5%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-section,
.values-section,
.calendar-section,
.contact-section {
    background: rgba(20, 20, 20, 0.8);
}

.mission-section,
.team-section,
.upcoming-events,
.map-section {
    background: rgba(28, 28, 28, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Titres des sections */
.about-section h2,
.mission-section h2,
.values-section h2,
.team-section h2,
.calendar-section h2,
.upcoming-events h2,
.contact-section h2,
.map-section h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--light-color);
    font-size: clamp(2rem, 4vw, 2.5rem);
    background: linear-gradient(135deg, #ffffff 0%, #ff6b6b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Section À Propos */
.about-content {
    display: flex;
    align-items: center;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.about-text {
    flex: 1;
}

.about-text h2 {
    margin-bottom: 1.5rem;
    color: var(--light-color);
}

.about-text p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
}

.about-image {
    flex: 1;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-strong);
    transition: transform var(--transition-medium);
}

.about-image:hover {
    transform: translateY(-10px);
}

/* Section Mission */
.mission-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.mission-card {
    background: rgba(40, 40, 40, 0.8);
    backdrop-filter: blur(10px);
    padding: 2.5rem 2rem;
    border-radius: 16px;
    text-align: center;
    box-shadow: var(--shadow-medium);
    transition: all var(--transition-medium);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.mission-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-strong);
    border-color: rgba(255, 107, 107, 0.3);
}

.mission-card i {
    font-size: 3rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.5rem;
}

.mission-card h3 {
    margin-bottom: 1rem;
    color: var(--light-color);
    font-size: 1.3rem;
}

.mission-card p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

/* Section Valeurs */
.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.value-item {
    text-align: center;
    padding: 2.5rem 2rem;
    background: rgba(40, 40, 40, 0.8);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    box-shadow: var(--shadow-medium);
    transition: all var(--transition-medium);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.value-item:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 107, 107, 0.3);
}

.value-item h3 {
    margin-bottom: 1rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 1.4rem;
}

.value-item p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

/* Section Équipe */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1300px;
    margin: 0 auto;
}

.team-member {
    background: rgba(40, 40, 40, 0.8);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-medium);
    transition: all var(--transition-medium);
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-align: -webkit-center;
}

.team-member:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-strong);
    border-color: rgba(255, 107, 107, 0.3);
}

.member-image {
    height: 300px;
    overflow: hidden;
}

.member-image img {
    width: 50%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-medium);
}

.team-member:hover .member-image img {
    transform: scale(1.1);
}

.member-info {
    padding: 2rem;
    text-align: center;
}

.member-info h3 {
    margin-bottom: 0.5rem;
    color: var(--light-color);
    font-size: 1.3rem;
}

.member-role {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 600;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.member-info p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

/* Calendrier */
.calendar {
    max-width: 900px;
    margin: 0 auto;
    background: rgba(40, 40, 40, 0.8);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    box-shadow: var(--shadow-strong);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    background: var(--gradient-primary);
    color: white;
}

.calendar-header button {
    background: none;
    border: none;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: background-color var(--transition-fast);
}

.calendar-header button:hover {
    background: rgba(255, 255, 255, 0.2);
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 1px;
    background: rgba(255, 255, 255, 0.1);
}

.calendar-day {
    background: rgba(30, 30, 30, 0.9);
    padding: 1rem;
    min-height: 100px;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: all var(--transition-fast);
}

.calendar-day.empty {
    background: rgba(20, 20, 20, 0.5);
}

.calendar-day.today {
    background: rgba(255, 107, 107, 0.2);
    border: 2px solid var(--accent-color);
}

.calendar-day.has-event {
    cursor: pointer;
    background: rgba(255, 107, 107, 0.1);
}

.calendar-day.has-event:hover {
    background: rgba(255, 107, 107, 0.2);
    transform: scale(1.05);
}

.day-number {
    font-weight: bold;
    margin-bottom: 0.5rem;
    color: var(--light-color);
}

.event-indicator {
    background: var(--gradient-primary);
    color: white;
    padding: 0.3rem 0.6rem;
    border-radius: 20px;
    font-size: 0.8rem;
    margin-top: auto;
    text-align: center;
}

/* Événements à venir */
.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.event-card {
    background: rgba(40, 40, 40, 0.8);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-medium);
    display: flex;
    transition: all var(--transition-medium);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.event-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-strong);
    border-color: rgba(255, 107, 107, 0.3);
}

.event-date {
    background: var(--gradient-primary);
    color: white;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 100px;
}

.event-day {
    font-size: 2rem;
    font-weight: bold;
    line-height: 1;
}

.event-month {
    font-size: 0.9rem;
    text-transform: uppercase;
    font-weight: 600;
}

.event-info {
    padding: 2rem;
    flex: 1;
}

.event-info h3 {
    margin-bottom: 0.5rem;
    color: var(--light-color);
    font-size: 1.3rem;
}

.event-location {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.event-info p {
    margin-bottom: 1.5rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

/* Galerie */
.gallery-filters {
    padding: 2rem 5%;
    background: rgba(20, 20, 20, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
}

.filter-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
}

.filter-btn {
    background: rgba(40, 40, 40, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0.8rem 1.8rem;
    border-radius: 30px;
    cursor: pointer;
    transition: all var(--transition-medium);
    color: rgba(255, 255, 255, 0.8);
    font-weight: 600;
}

.filter-btn.active,
.filter-btn:hover {
    background: var(--gradient-primary);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 107, 107, 0.4);
}

.gallery-section {
    padding: 2rem 5% 5rem;
    background: rgba(28, 28, 28, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.gallery-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-medium);
    cursor: pointer;
    aspect-ratio: 1;
    transition: all var(--transition-medium);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.gallery-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-strong);
    border-color: rgba(255, 107, 107, 0.3);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-medium);
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.9));
    color: white;
    padding: 2rem;
    transform: translateY(100%);
    transition: transform var(--transition-medium);
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

.gallery-overlay h3 {
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.gallery-overlay p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.95);
    z-index: 2000;
    justify-content: center;
    align-items: center;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 80vh;
    display: block;
    margin: 0 auto;
    border-radius: 12px;
    box-shadow: var(--shadow-strong);
}

.close-lightbox {
    position: absolute;
    top: -50px;
    right: 0;
    color: white;
    font-size: 2.5rem;
    cursor: pointer;
    transition: color var(--transition-fast);
}

.close-lightbox:hover {
    color: #ff6b6b;
}

.lightbox-caption {
    color: white;
    text-align: center;
    margin-top: 1.5rem;
}

.lightbox-caption h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.lightbox-caption p {
    color: rgba(255, 255, 255, 0.8);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: none;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-medium);
    backdrop-filter: blur(10px);
}

.lightbox-nav:hover {
    background: var(--gradient-primary);
    transform: translateY(-50%) scale(1.1);
}

.lightbox-nav.prev {
    left: -80px;
}

.lightbox-nav.next {
    right: -80px;
}

/* Contact */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-info h2,
.contact-form h2 {
    margin-bottom: 2rem;
    color: var(--light-color);
    background: linear-gradient(135deg, #ffffff 0%, #ff6b6b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: rgba(40, 40, 40, 0.6);
    border-radius: 12px;
    transition: all var(--transition-fast);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-item:hover {
    background: rgba(40, 40, 40, 0.8);
    border-color: rgba(255, 107, 107, 0.3);
    transform: translateX(10px);
}

.contact-item i {
    font-size: 1.5rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-top: 0.2rem;
    flex-shrink: 0;
}

.contact-item h3 {
    margin-bottom: 0.5rem;
    color: var(--light-color);
}

.contact-item p {
    color: rgba(255, 255, 255, 0.8);
}

.social-contact {
    margin-top: 2rem;
    padding: 1.5rem;
    background: rgba(40, 40, 40, 0.6);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-contact h3 {
    margin-bottom: 1rem;
    color: var(--light-color);
}

.contact-form {
    background: rgba(40, 40, 40, 0.8);
    backdrop-filter: blur(10px);
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: var(--shadow-medium);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--light-color);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    background: rgba(30, 30, 30, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    color: var(--light-color);
    transition: all var(--transition-fast);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #ff6b6b;
    box-shadow: 0 0 0 3px rgba(255, 107, 107, 0.3);
    background: rgba(40, 40, 40, 0.9);
}

/* Map */
.map-section h2 {
    text-align: center;
    margin-bottom: 3rem;
}

.map-container {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-strong);
    max-width: 1200px;
    margin: 0 auto;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* ===== RESPONSIVE DESIGN ===== */

/* Tablettes */
@media (max-width: 1024px) {
    .nav-links {
        gap: 2rem;
    }
    
    .hero-section {
        padding: 160px 5% 80px;
    }
    
    .contact-content {
        gap: 2rem;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    }
}

/* Mobile */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background: rgba(28, 28, 28, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        padding: 100px 2rem 2rem;
        gap: 0;
        transition: right var(--transition-medium);
        box-shadow: -5px 0 30px rgba(0,0,0,0.3);
        border-left: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .nav-links a {
        width: 100%;
        padding: 1rem 0;
        font-size: 1.1rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .nav-links a::before {
        display: none;
    }
    
    .nav-links a:hover {
        transform: translateX(10px);
        color: #ff6b6b;
    }
    
    /* Dropdown mobile */
    .dropdown-content {
        position: static;
        background: transparent;
        box-shadow: none;
        border: none;
        opacity: 1;
        transform: none;
        display: none;
        width: 100%;
        margin-top: 0.5rem;
        padding-left: 1rem;
    }
    
    .dropdown.active .dropdown-content {
        display: block;
    }
    
    .dropdown-content a {
        padding: 0.8rem 0;
        font-size: 1rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }
    
    .hero-section {
        padding: 140px 5% 60px;
    }
    
    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .mission-grid,
    .values-grid,
    .team-grid,
    .events-grid {
        grid-template-columns: 1fr;
    }
    
    .calendar-grid {
        grid-template-columns: repeat(7, 1fr);
    }
    
    .calendar-day {
        min-height: 80px;
        padding: 0.8rem;
    }
    
    .event-card {
        flex-direction: column;
    }
    
    .event-date {
        flex-direction: row;
        justify-content: center;
        gap: 1rem;
        min-width: auto;
        padding: 1rem;
    }
    
    .lightbox-nav.prev {
        left: 10px;
    }
    
    .lightbox-nav.next {
        right: 10px;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 1rem;
    }
}

/* Petit mobile */
@media (max-width: 480px) {
    .header {
        padding: 0.8rem 5%;
    }
    
    .nav-links {
        width: 85%;
        padding: 90px 1.5rem 1.5rem;
    }
    
    .hero-section {
        padding: 120px 4% 50px;
    }
    
    .page-header {
        padding: 140px 4% 60px;
        margin-top: 70px;
    }
    
    .about-section,
    .mission-section,
    .values-section,
    .team-section,
    .calendar-section,
    .upcoming-events,
    .contact-section,
    .map-section {
        padding: 3rem 4%;
    }
    
    .gallery-filters,
    .gallery-section {
        padding: 2rem 4%;
    }
    
    .filter-buttons {
        gap: 0.5rem;
    }
    
    .filter-btn {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-form {
        padding: 1.5rem;
    }
}

/* Très grand écran */
@media (min-width: 1600px) {
    .nav-container {
        max-width: 1500px;
    }
    
    .about-content,
    .mission-grid,
    .values-grid,
    .team-grid,
    .events-grid,
    .contact-content,
    .map-container {
        max-width: 1400px;
    }
}

/* Orientation paysage mobile */
@media (max-height: 600px) and (orientation: landscape) {
    .hero-section {
        padding: 120px 5% 60px;
    }
    
    .nav-links {
        padding-top: 80px;
    }
    
    .nav-links a {
        padding: 0.7rem 0;
    }
    
    .page-header {
        padding: 140px 5% 60px;
    }
}