/* ========================================
   VARIABLES ET CONFIGURATION GLOBALE
   ======================================== */

:root {
    --color-gold: #d4af37;
    --color-dark-gold: #c9a227;
    --color-white: #ffffff;
    --color-light: #f5f5f5;
    --color-dark: #333333;
    --color-gray: #666666;
    --color-light-gray: #e0e0e0;
    --color-success: #27ae60;
    --color-error: #e74c3c;
    --color-warning: #f39c12;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    font-family: 'Arial', 'Helvetica', sans-serif;
    background-color: var(--color-white);
    color: var(--color-dark);
    line-height: 1.6;
    scroll-behavior: smooth;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

/* ========================================
   RESPONSIVE LAYOUT
   ======================================== */

@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 10px;
    }
}

/* ========================================
   HEADER RESPONSIVE - FLEXBOX MODERN
   ======================================== */

header {
    width: 100%;
    background: var(--color-white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 3px solid var(--color-gold);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background-image: 
        linear-gradient(135deg, rgba(255, 255, 255, 0.50) 0%, rgba(255, 255, 255, 0.45) 100%),
        url('../images/bgimage.png');
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

header.header-scrolled {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 100%;
    padding: 0.8rem 1rem;
    gap: 0.8rem;
}

/* LOGO */
.header-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: var(--color-gold);
    font-weight: 800;
    font-size: 1.1rem;
    white-space: nowrap;
    flex-shrink: 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.header-logo:hover {
    opacity: 0.85;
    transform: scale(1.05);
}

.header-logo i {
    font-size: 1.5rem;
}

.header-logo-text {
    background: linear-gradient(135deg, var(--color-gold) 0%, var(--color-dark-gold) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.5px;
    font-weight: bold;
}

/* NAVIGATION - DESKTOP */
.header-nav {
    display: none;
    list-style: none;
    gap: 0;
    margin: 0;
    padding: 0;
    flex: 1;
    justify-content: center;
    align-items: center;
}

.header-nav li {
    border-right: 1px solid rgba(212, 175, 55, 0.1);
}

.header-nav li:last-child {
    border-right: none;
}

.header-nav a {
    display: block;
    padding: 0.8rem 1.4rem;
    color: var(--color-dark);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.header-nav a:hover {
    color: var(--color-gold);
    background: rgba(212, 175, 55, 0.05);
}

.header-nav a.active {
    color: var(--color-dark-gold);
    background: rgba(212, 175, 55, 0.08);
    border-bottom: 3px solid var(--color-gold);
}

/* CTA BUTTON - DESKTOP */
.header-cta {
    display: none;
    background: linear-gradient(135deg, var(--color-gold) 0%, var(--color-dark-gold) 100%);
    color: var(--color-white);
    padding: 0.65rem 1.4rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.85rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 3px 10px rgba(212, 175, 55, 0.15);
    border: none;
    cursor: pointer;
    white-space: nowrap;
    flex-shrink: 0;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.header-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.25);
}

/* HAMBURGER MENU - MOBILE */
.header-hamburger {
    display: flex;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    gap: 5px;
    flex-shrink: 0;
    z-index: 1002;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.header-hamburger:focus {
    outline: none;
    opacity: 0.7;
}

.header-hamburger span {
    width: 24px;
    height: 3px;
    background: var(--color-gold);
    border-radius: 2px;
    transition: all 0.35s cubic-bezier(0.645, 0.045, 0.355, 1);
    transform-origin: center;
}

.header-hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.header-hamburger.active span:nth-child(2) {
    opacity: 0;
}

.header-hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* MOBILE MENU */
.header-mobile-menu {
    display: none;
    position: fixed;
    top: 56px;
    left: 0;
    right: 0;
    background: var(--color-white);
    flex-direction: column;
    list-style: none;
    padding: 0;
    margin: 0;
    max-height: calc(100vh - 56px);
    overflow-y: auto;
    z-index: 999;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    animation: slideDown 0.3s ease-out;
    border-bottom: 3px solid var(--color-gold);
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.header-mobile-menu.active {
    display: flex;
}

.header-mobile-menu li {
    border-bottom: 1px solid rgba(212, 175, 55, 0.15);
    width: 100%;
}

.header-mobile-menu li:last-child {
    border-bottom: none;
}

.header-mobile-menu a {
    display: block;
    padding: 1rem 1.5rem;
    color: var(--color-dark);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.header-mobile-menu a:active {
    background: rgba(212, 175, 55, 0.08);
    color: var(--color-gold);
}

.header-mobile-menu .header-cta-mobile {
    margin: 0.8rem;
    padding: 0.85rem 1.5rem;
    text-align: center;
    border-radius: 6px;
    background: linear-gradient(135deg, var(--color-gold) 0%, var(--color-dark-gold) 100%);
    color: var(--color-white);
    text-decoration: none;
    font-weight: 600;
    box-shadow: 0 3px 10px rgba(212, 175, 55, 0.15);
    text-transform: uppercase;
    letter-spacing: 0.3px;
    font-size: 0.85rem;
}

/* RESPONSIVE BREAKPOINTS */

/* TABLET (768px and up) */
@media (min-width: 768px) {
    .header-container {
        padding: 0.8rem 2rem;
        gap: 1.5rem;
    }

    .header-logo {
        font-size: 1.2rem;
        gap: 0.7rem;
    }

    .header-logo i {
        font-size: 1.6rem;
    }

    .header-logo-text {
        display: block;
    }

    /* Show desktop navigation */
    .header-nav {
        display: flex;
    }

    .header-nav a {
        padding: 0.8rem 1.5rem;
        font-size: 0.92rem;
    }

    /* Show CTA button */
    .header-cta {
        display: block;
    }

    /* Hide hamburger menu */
    .header-hamburger {
        display: none !important;
    }

    /* Hide mobile menu */
    .header-mobile-menu {
        display: none !important;
    }
}

/* DESKTOP (1024px and up) */
@media (min-width: 1024px) {
    .header-container {
        padding: 0.8rem 3rem;
        max-width: 1400px;
        margin: 0 auto;
        gap: 2rem;
    }

    .header-logo {
        font-size: 1.3rem;
        gap: 0.8rem;
        flex-shrink: 1;
    }

    .header-logo i {
        font-size: 1.7rem;
    }

    .header-nav {
        gap: 0;
    }

    .header-nav a {
        padding: 0.85rem 1.8rem;
        font-size: 0.95rem;
    }

    .header-cta {
        padding: 0.75rem 2rem;
        font-size: 0.88rem;
    }
}

/* ========================================
   NAVIGATION (LEGACY - HIDE)
   ======================================== */

.navbar,
.navbar-content,
.logo,
.nav-menu,
.menu-toggle {
    display: none !important;
}

/* Reste du style.css */

/* ========================================
   HERO SECTION
   ======================================== */

.hero {
    background: linear-gradient(135deg, #1a3a52 0%, #2c5282 50%, #1e5a96 100%);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--color-white);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        linear-gradient(135deg, rgba(26, 58, 82, 0.25) 0%, rgba(44, 82, 130, 0.25) 50%, rgba(30, 90, 150, 0.25) 100%),
        url('../images/bgimage.png');
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    z-index: 1;
    opacity: 0.95;
}

@keyframes float {
    0%, 100% { transform: translate(-50%, -50%); }
    50% { transform: translate(-50%, -60%); }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at center, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.6) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
    animation: fadeInUp 1s ease;
    padding: 0 20px;
}

.hero-title {
    font-size: 48px;
    margin-bottom: 20px;
    text-shadow: 3px 3px 8px rgba(0, 0, 0, 0.5);
    font-weight: 700;
    letter-spacing: 1px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.hero-subtitle {
    font-size: 22px;
    margin-bottom: 40px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    font-weight: 300;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-small {
    background: linear-gradient(135deg, #1a3a52 0%, #2c5282 50%, #1e5a96 100%);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    color: var(--color-white);
    padding: 120px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-small::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        linear-gradient(135deg, rgba(26, 58, 82, 0.30) 0%, rgba(44, 82, 130, 0.30) 50%, rgba(30, 90, 150, 0.30) 100%),
        url('../images/bgimage.png');
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    z-index: 0;
}

.hero-small h1 {
    font-size: 48px;
    margin-bottom: 15px;
    position: relative;
    z-index: 1;
    font-weight: bold;
    letter-spacing: 1px;
}

.hero-small p {
    font-size: 18px;
    position: relative;
    z-index: 1;
    font-weight: 300;
}

/* ========================================
   LOGO SECTION
   ======================================== */

.logo-section {
    padding: 60px 20px;
    background: linear-gradient(180deg, #f8f9fa 0%, #fff 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.logo-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
}

.logo-section::after {
    content: '';
    position: absolute;
    bottom: -50%;
    left: -50%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 102, 204, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
}

.logo-display {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo-image {
    width: 350px;
    height: 350px;
    max-width: 100%;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.15));
    animation: logoEntrance 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
    transition: all 0.3s ease;
}

.logo-image:hover {
    filter: drop-shadow(0 15px 40px rgba(0, 102, 204, 0.25));
    transform: scale(1.05);
}

@keyframes logoEntrance {
    from {
        opacity: 0;
        transform: scale(0.8) rotateY(-20deg);
    }
    to {
        opacity: 1;
        transform: scale(1) rotateY(0);
    }
}

/* ========================================
   SECTIONS
   ======================================== */

.section {
    padding: 80px 20px;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 36px;
    color: var(--color-gold);
    margin-bottom: 10px;
}

.section-header p {
    font-size: 16px;
    color: var(--color-gray);
}

/* ========================================
   GRILLES ET CARTES
   ======================================== */

.intro-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.intro-card {
    background: linear-gradient(135deg, #fff9e6 0%, var(--color-white) 100%);
    padding: 40px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(212, 175, 55, 0.2);
    transition: transform 0.3s, box-shadow 0.3s;
}

.intro-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.3);
}

.intro-icon {
    font-size: 48px;
    color: var(--color-gold);
    margin-bottom: 20px;
}

.intro-card h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: var(--color-dark);
}

.intro-card p {
    color: var(--color-gray);
}

/* ========================================
   ÉVÉNEMENTS
   ======================================== */

.events-section {
    background-color: var(--color-light);
}

.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.event-card {
    background: var(--color-white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.event-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(212, 175, 55, 0.3);
}

.event-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.event-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.event-card:hover .event-image img {
    transform: scale(1.05);
}

.event-category {
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--color-gold);
    color: var(--color-white);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
}

.event-content {
    padding: 20px;
}

.event-content h3 {
    color: var(--color-dark);
    margin-bottom: 10px;
}

.event-info {
    font-size: 13px;
    color: var(--color-gray);
    margin: 10px 0;
}

.event-info i {
    color: var(--color-gold);
    margin-right: 5px;
}

.event-description {
    margin: 15px 0;
    color: var(--color-gray);
    font-size: 14px;
}

.event-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.event-price {
    font-weight: bold;
    color: var(--color-gold);
    font-size: 14px;
}

.event-free {
    color: var(--color-success);
    font-weight: bold;
    font-size: 14px;
}

.events-full-grid {
    display: grid;
    gap: 30px;
}

.event-card-large {
    display: grid;
    grid-template-columns: 300px 1fr;
    background: var(--color-white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s;
}

.event-card-large:hover {
    box-shadow: 0 10px 25px rgba(212, 175, 55, 0.3);
}

.event-image-large {
    position: relative;
    height: 250px;
}

.event-image-large img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.event-card-content {
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.event-card-content h3 {
    color: var(--color-dark);
    font-size: 24px;
    margin-bottom: 15px;
}

.event-info-detailed {
    margin: 15px 0;
}

.event-info-detailed p {
    margin: 10px 0;
    color: var(--color-gray);
    font-size: 14px;
}

.event-info-detailed i {
    color: var(--color-gold);
    margin-right: 8px;
    min-width: 20px;
}

.event-description-full {
    margin: 20px 0;
    color: var(--color-gray);
}

.free-badge {
    background: var(--color-success);
    color: var(--color-white);
    padding: 3px 8px;
    border-radius: 3px;
    font-size: 12px;
}

.filter-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 20px;
    border: 2px solid var(--color-gold);
    background: transparent;
    color: var(--color-gold);
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s;
    text-decoration: none;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--color-gold);
    color: var(--color-white);
}

/* ========================================
   BLOG
   ======================================== */

.blog-section {
    background-color: var(--color-light);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.blog-card {
    background: var(--color-white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.blog-card:hover {
    transform: translateY(-5px);
}

.blog-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.blog-card:hover .blog-image img {
    transform: scale(1.05);
}

.blog-category {
    position: absolute;
    top: 10px;
    left: 10px;
    background: var(--color-gold);
    color: var(--color-white);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
}

.blog-content {
    padding: 20px;
}

.blog-content h3 {
    color: var(--color-dark);
    margin-bottom: 10px;
}

.blog-meta {
    display: flex;
    gap: 20px;
    font-size: 12px;
    color: var(--color-gray);
    margin: 10px 0;
}

.blog-meta i {
    color: var(--color-gold);
    margin-right: 3px;
}

.blog-card p {
    color: var(--color-gray);
    font-size: 14px;
    margin: 15px 0;
}

.blog-posts-grid {
    display: grid;
    gap: 30px;
}

.blog-card-large {
    display: grid;
    grid-template-columns: 300px 1fr;
    background: var(--color-white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.blog-image-large {
    position: relative;
    height: 250px;
}

.blog-image-large img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-card-content {
    padding: 30px;
}

.blog-card-content h3 {
    color: var(--color-dark);
    font-size: 20px;
    margin-bottom: 10px;
}

.blog-meta-detailed {
    display: flex;
    gap: 20px;
    font-size: 13px;
    color: var(--color-gray);
    margin: 10px 0;
}

.blog-excerpt {
    margin: 20px 0;
}

/* ========================================
   FORMULAIRES
   ======================================== */

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.contact-form-section,
.contact-info-section {
    padding: 30px;
    background: var(--color-light);
    border-radius: 10px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--color-dark);
    font-weight: 500;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px;
    border: 2px solid var(--color-light-gray);
    border-radius: 5px;
    font-family: inherit;
    font-size: 14px;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--color-gold);
}

.contact-info-card {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    padding: 20px;
    background: var(--color-white);
    border-radius: 8px;
}

.info-icon {
    font-size: 32px;
    color: var(--color-gold);
    min-width: 50px;
}

.info-content h3 {
    margin-bottom: 10px;
    color: var(--color-dark);
}

.info-content p {
    color: var(--color-gray);
    font-size: 14px;
}

.donation-form {
    display: flex;
    flex-direction: column;
    max-width: 600px;
    margin: 0 auto;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-buttons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

/* ========================================
   BOUTONS
   ======================================== */

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    cursor: pointer;
    border: none;
    transition: all 0.3s;
    text-align: center;
    font-size: 14px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-gold) 0%, var(--color-dark-gold) 100%);
    color: var(--color-white);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(212, 175, 55, 0.4);
}

.btn-secondary {
    background: var(--color-light-gray);
    color: var(--color-dark);
}

.btn-secondary:hover {
    background: var(--color-gold);
    color: var(--color-white);
}

.btn-large {
    padding: 15px 40px;
    font-size: 16px;
}

.btn-small {
    padding: 8px 15px;
    font-size: 12px;
}

.register-btn {
    width: 100%;
}

/* ========================================
   CTA SECTION
   ======================================== */

.cta-section {
    background: linear-gradient(135deg, var(--color-gold) 0%, var(--color-dark-gold) 100%);
    color: var(--color-white);
    text-align: center;
}

.cta-section h2 {
    font-size: 36px;
    margin-bottom: 15px;
}

.cta-section p {
    font-size: 18px;
    margin-bottom: 30px;
}

/* ========================================
   FOOTER
   ======================================== */

.footer {
    background: var(--color-dark);
    color: var(--color-light);
    padding: 60px 20px 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3,
.footer-section h4 {
    color: var(--color-gold);
    margin-bottom: 15px;
}

.footer-section p {
    color: var(--color-light);
    margin-bottom: 10px;
}

.footer-section ul {
    list-style: none;
}

.footer-section a {
    color: var(--color-light);
    text-decoration: none;
    display: block;
    margin-bottom: 8px;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: var(--color-gold);
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--color-gold);
    border-radius: 50%;
    color: var(--color-white);
    transition: transform 0.3s;
}

.social-links a:hover {
    transform: scale(1.1);
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid var(--color-gold);
    padding-top: 20px;
    color: var(--color-light);
    font-size: 14px;
}

/* ========================================
   UTILITAIRES
   ======================================== */

.text-center {
    text-align: center;
}

.alert {
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 20px;
    border-left: 4px solid;
}

.alert-success {
    background: #d4edda;
    color: #155724;
    border-left-color: #28a745;
}

.alert-error {
    background: #f8d7da;
    color: #721c24;
    border-left-color: #dc3545;
}

.no-events,
.no-posts {
    text-align: center;
    padding: 60px 20px;
    color: var(--color-gray);
}

.reasons-grid,
.methods-grid,
.impact-grid,
.team-grid,
.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.reason-card,
.method-card,
.impact-card,
.team-member,
.value-card {
    text-align: center;
    padding: 30px;
    background: var(--color-light);
    border-radius: 10px;
    transition: transform 0.3s;
}

.reason-card:hover,
.method-card:hover,
.impact-card:hover,
.team-member:hover,
.value-card:hover {
    transform: translateY(-5px);
}

.reason-card h3,
.method-card h3,
.impact-card h3,
.team-member h3,
.value-card h3 {
    color: var(--color-gold);
    margin-bottom: 10px;
}

.value-card i {
    font-size: 40px;
    color: var(--color-gold);
    margin-bottom: 15px;
}

.member-image {
    width: 150px;
    height: 150px;
    margin: 0 auto 15px;
    border-radius: 50%;
    overflow: hidden;
}

.member-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.member-bio {
    font-size: 13px !important;
}

.member-bio-detailed {
    font-size: 14px;
    line-height: 1.8;
    color: var(--color-gray);
    text-align: left;
}

.member-bio-detailed p {
    margin-bottom: 15px;
}

.member-bio-detailed p:first-child {
    font-style: italic;
    color: var(--color-dark);
    font-weight: 500;
}

.member-bio-detailed p strong {
    color: var(--color-gold);
    font-weight: 600;
}

.member-bio-detailed ul {
    background: rgba(212, 175, 55, 0.05);
    padding: 12px 30px;
    border-radius: 5px;
    border-left: 3px solid var(--color-gold);
}

.member-bio-detailed ul li {
    margin-bottom: 8px;
    color: var(--color-dark);
}

.stat-card {
    display: flex;
    align-items: center;
    gap: 20px;
    background: var(--color-light);
    padding: 20px;
    border-radius: 10px;
}

.stat-card h3 {
    color: var(--color-gold);
    font-size: 24px;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-text h2 {
    color: var(--color-gold);
    margin-bottom: 20px;
    font-size: 32px;
}

.about-text h3 {
    color: var(--color-dark);
    margin-top: 30px;
    margin-bottom: 15px;
}

.about-text p {
    color: var(--color-gray);
    margin-bottom: 15px;
    line-height: 1.8;
}

.about-stats {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.stat-card h3 {
    font-size: 28px;
}

.stat-card p {
    font-size: 14px;
    color: var(--color-gray);
}

.why-choose-section {
    background-color: var(--color-light);
}

.team-section {
    background-color: var(--color-light);
}

.values-section {
    background-color: var(--color-light);
}

.donation-methods-section {
    background-color: var(--color-light);
}

.impact-section {
    background-color: var(--color-light);
}

.blog-filters {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.blog-filters .filter-btn {
    margin: 0;
}

/* ========================================
   ANIMATIONS
   ======================================== */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========================================
   SERVICES
   ======================================== */

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

.service-card {
    background: var(--color-white);
    border: 2px solid var(--color-light-gray);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(212, 175, 55, 0.2);
    border-color: var(--color-gold);
}

.service-card-icon {
    font-size: 40px;
    color: var(--color-gold);
    margin-bottom: 15px;
    display: inline-block;
}

.service-card h3 {
    color: var(--color-dark);
    font-size: 18px;
    margin-bottom: 12px;
    font-weight: bold;
}

.service-card p {
    color: var(--color-gray);
    font-size: 14px;
    line-height: 1.6;
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .navbar-content {
        padding: 12px 15px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 15px;
    }

    .logo a {
        font-size: 20px;
        gap: 6px;
    }

    .logo-text {
        display: none;
    }

    .nav-menu {
        position: fixed;
        top: 56px;
        left: 0;
        right: 0;
        width: 100%;
        background: linear-gradient(180deg, rgba(0, 0, 0, 0.98) 0%, rgba(20, 20, 20, 0.95) 100%);
        flex-direction: column;
        gap: 0;
        padding: 15px 0;
        display: none !important;
        border-bottom: 3px solid var(--color-gold);
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
        max-height: calc(100vh - 56px);
        overflow-y: auto;
        animation: slideDown 0.3s ease-out;
    }

    @keyframes slideDown {
        from {
            opacity: 0;
            transform: translateY(-10px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .nav-menu.active {
        display: flex !important;
    }

    .nav-menu li {
        border-bottom: 1px solid rgba(212, 175, 55, 0.15);
        padding: 0;
    }

    .nav-menu li:last-child {
        border-bottom: none;
    }

    .nav-menu a {
        display: flex;
        align-items: center;
        gap: 12px;
        padding: 14px 20px;
        font-size: 15px;
        font-weight: 500;
        color: #ffffff;
        transition: all 0.25s ease;
    }

    .nav-menu a:hover {
        background: rgba(212, 175, 55, 0.15);
        padding-left: 25px;
    }

    .nav-menu a i {
        font-size: 16px;
        color: var(--color-gold);
        min-width: 16px;
    }

    .nav-menu a span {
        flex: 1;
    }

    .nav-menu a::after {
        display: none;
    }

    .nav-menu .contact-nav {
        background: rgba(212, 175, 55, 0.1);
        margin: 5px 10px;
        border-radius: 8px;
        border-left: 3px solid var(--color-gold);
    }

    .nav-menu .contact-nav:hover {
        background: rgba(212, 175, 55, 0.2);
    }

    .logo a {
        font-size: 22px;
    }

    .menu-toggle {
        display: flex;
    }

    .hero {
        height: 400px;
    }

    .hero-content {
        padding: 0 15px;
    }

    .hero-title {
        font-size: 36px;
    }

    .hero-subtitle {
        font-size: 18px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .event-card-large,
    .blog-card-large {
        grid-template-columns: 1fr;
    }

    .event-image-large,
    .blog-image-large {
        height: 200px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .about-content {
        grid-template-columns: 1fr;
    }

    .section-header h2 {
        font-size: 28px;
    }

    .intro-grid,
    .events-grid,
    .blog-grid,
    .reasons-grid,
    .methods-grid,
    .impact-grid {
        grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
        gap: 15px;
    }

    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
        gap: 15px;
    }

    .service-card {
        padding: 20px;
    }

    .service-card-icon {
        font-size: 32px;
    }

    .service-card h3 {
        font-size: 16px;
    }

    .service-card p {
        font-size: 13px;
    }

    .intro-card,
    .event-card,
    .blog-card,
    .reason-card {
        padding: 20px;
    }

    .intro-icon {
        font-size: 32px;
    }

    .intro-card h3 {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
   .navbar-content {
        padding: 10px 12px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 10px;
    }

    .logo a {
        font-size: 18px;
        gap: 4px;
    }

    .logo i {
        font-size: 22px;
    }

    .logo-text {
        display: none;
    }

    .nav-menu {
        position: fixed;
        top: 50px;
        left: 0;
        right: 0;
        width: 100%;
        background: linear-gradient(180deg, rgba(0, 0, 0, 0.98) 0%, rgba(20, 20, 20, 0.95) 100%);
        flex-direction: column;
        gap: 0;
        padding: 10px 0;
        display: none !important;
        border-bottom: 3px solid var(--color-gold);
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
        max-height: calc(100vh - 50px);
        overflow-y: auto;
        animation: slideDown 0.3s ease-out;
    }

    .nav-menu.active {
        display: flex !important;
    }

    .nav-menu li {
        border-bottom: 1px solid rgba(212, 175, 55, 0.15);
        padding: 0;
    }

    .nav-menu li:last-child {
        border-bottom: none;
    }

    .nav-menu a {
        display: flex;
        align-items: center;
        gap: 10px;
        padding: 12px 18px;
        font-size: 14px;
        font-weight: 500;
        color: #ffffff;
        transition: all 0.25s ease;
    }

    .nav-menu a:hover {
        background: rgba(212, 175, 55, 0.15);
        padding-left: 22px;
    }

    .nav-menu a i {
        font-size: 15px;
        color: var(--color-gold);
        min-width: 15px;
    }

    .nav-menu a span {
        flex: 1;
    }

    .nav-menu a::after {
        display: none;
    }

    .nav-menu .contact-nav {
        background: rgba(212, 175, 55, 0.1);
        margin: 5px 8px;
        border-radius: 6px;
        border-left: 3px solid var(--color-gold);
    }

    .nav-menu .contact-nav:hover {
        background: rgba(212, 175, 55, 0.2);
    }

    .menu-toggle {
        display: flex;
    }



    .hero-title {
        font-size: 24px;
        letter-spacing: 0.5px;
    }

    .hero {
        height: 350px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .hero-content {
        padding: 0 10px;
    }

    .btn {
        padding: 10px 20px;
        font-size: 12px;
        width: 100%;
    }

    .btn-large {
        padding: 12px 30px;
        font-size: 14px;
        width: 100%;
    }

    .intro-grid,
    .events-grid,
    .blog-grid,
    .reasons-grid,
    .methods-grid,
    .impact-grid,
    .services-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .service-card {
        padding: 15px;
    }

    .service-card-icon {
        font-size: 28px;
    }

    .service-card h3 {
        font-size: 14px;
    }

    .service-card p {
        font-size: 12px;
    }

    .intro-card {
        padding: 15px;
    }

    .intro-icon {
        font-size: 28px;
    }

    .intro-card h3 {
        font-size: 14px;
    }

    .intro-card p {
        font-size: 12px;
    }

    .event-card,
    .blog-card {
        margin-bottom: 15px;
    }

    .reason-card {
        padding: 15px;
    }

    .section-header h2 {
        font-size: 22px;
    }

    .section-header p {
        font-size: 13px;
    }

    .navbar-content {
        flex-direction: column;
        gap: 10px;
    }

    .logo a {
        font-size: 18px;
    }
}

/* ========================================
   SECTION: POURQUOI NOUS REJOINDRE
   ======================================== */

.why-join-section {
    background: linear-gradient(135deg, #f0f4ff 0%, #f8f9fa 50%, #fff5f7 100%);
    padding: 80px 20px;
    position: relative;
    overflow: hidden;
}

.why-join-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
}

.why-join-section::after {
    content: '';
    position: absolute;
    bottom: -50%;
    left: -50%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 102, 204, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
}

.why-join-section .container {
    position: relative;
    z-index: 1;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.benefit-card {
    background: white;
    border-radius: 15px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    border-top: 4px solid transparent;
}

.benefit-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.1), transparent);
    transition: left 0.6s ease;
    z-index: -1;
}

.benefit-card:hover::before {
    left: 100%;
}

.benefit-card:nth-child(1) {
    border-top-color: #d4af37;
}

.benefit-card:nth-child(2) {
    border-top-color: #d4af37;
}

.benefit-card:nth-child(3) {
    border-top-color: #27ae60;
}

.benefit-card:nth-child(4) {
    border-top-color: #e74c3c;
}

.benefit-card:nth-child(5) {
    border-top-color: #f39c12;
}

.benefit-card:nth-child(6) {
    border-top-color: #9b59b6;
}

.benefit-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    border-top-width: 6px;
}

.benefit-card:nth-child(1):hover {
    box-shadow: 0 20px 40px rgba(0, 102, 204, 0.2);
}

.benefit-card:nth-child(2):hover {
    box-shadow: 0 20px 40px rgba(212, 175, 55, 0.2);
}

.benefit-card:nth-child(3):hover {
    box-shadow: 0 20px 40px rgba(39, 174, 96, 0.2);
}

.benefit-card:nth-child(4):hover {
    box-shadow: 0 20px 40px rgba(231, 76, 60, 0.2);
}

.benefit-card:nth-child(5):hover {
    box-shadow: 0 20px 40px rgba(243, 156, 18, 0.2);
}

.benefit-card:nth-child(6):hover {
    box-shadow: 0 20px 40px rgba(155, 89, 182, 0.2);
}

.benefit-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 25px;
    background: linear-gradient(135deg, #f0f4ff 0%, #f8f9fa 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    transition: all 0.4s ease;
    position: relative;
}

.benefit-card:nth-child(1) .benefit-icon {
    color: #d4af37;
    background: linear-gradient(135deg, #f0f4ff 0%, #e6f0ff 100%);
}

.benefit-card:nth-child(2) .benefit-icon {
    color: #d4af37;
    background: linear-gradient(135deg, #fffaf0 0%, #fff5e6 100%);
}

.benefit-card:nth-child(3) .benefit-icon {
    color: #27ae60;
    background: linear-gradient(135deg, #f0fff4 0%, #e6ffe6 100%);
}

.benefit-card:nth-child(4) .benefit-icon {
    color: #e74c3c;
    background: linear-gradient(135deg, #fff0f0 0%, #ffe6e6 100%);
}

.benefit-card:nth-child(5) .benefit-icon {
    color: #f39c12;
    background: linear-gradient(135deg, #fffaf0 0%, #fff5e6 100%);
}

.benefit-card:nth-child(6) .benefit-icon {
    color: #9b59b6;
    background: linear-gradient(135deg, #faf0ff 0%, #f5e6ff 100%);
}

.benefit-card:hover .benefit-icon {
    transform: scale(1.15) rotate(10deg);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.benefit-card h3 {
    font-size: 20px;
    font-weight: 700;
    color: #333;
    margin-bottom: 15px;
    transition: color 0.3s ease;
}

.benefit-card:hover h3 {
    color: var(--color-gold);
}

.benefit-card p {
    font-size: 14px;
    color: #666;
    line-height: 1.7;
    transition: color 0.3s ease;
}

.benefit-card:hover p {
    color: #555;
}

/* Nombre de bénéfice */
.benefit-card::after {
    content: '';
}

/* Animation au chargement */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.benefit-card {
    animation: slideInUp 0.6s ease-out forwards;
}

.benefit-card:nth-child(1) { animation-delay: 0.1s; }
.benefit-card:nth-child(2) { animation-delay: 0.2s; }
.benefit-card:nth-child(3) { animation-delay: 0.3s; }
.benefit-card:nth-child(4) { animation-delay: 0.4s; }
.benefit-card:nth-child(5) { animation-delay: 0.5s; }
.benefit-card:nth-child(6) { animation-delay: 0.6s; }

/* Responsive */
@media (max-width: 768px) {
    .why-join-section {
        padding: 50px 20px;
    }

    .benefits-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 20px;
    }

    .benefit-card {
        padding: 30px 20px;
    }

    .benefit-icon {
        width: 60px;
        height: 60px;
        font-size: 28px;
    }

    .benefit-card h3 {
        font-size: 18px;
    }

    .benefit-card p {
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .why-join-section {
        padding: 40px 15px;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .benefit-card {
        padding: 25px 15px;
    }

    .benefit-icon {
        width: 50px;
        height: 50px;
        font-size: 24px;
        margin-bottom: 15px;
    }

    .benefit-card h3 {
        font-size: 16px;
        margin-bottom: 10px;
    }

    .benefit-card p {
        font-size: 12px;
    }

    .benefit-card:hover {
        transform: translateY(-8px) scale(1.01);
    }
}

/* ========================================
   GALLERY SECTION
   ======================================== */

.gallery-section {
    background-color: var(--color-light);
}

/* Gallery Tabs Navigation */
.gallery-tabs-nav {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin: 50px 0 60px 0;
    flex-wrap: wrap;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.08) 0%, rgba(212, 175, 55, 0.03) 100%);
    padding: 30px;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(212, 175, 55, 0.15);
}

.gallery-tab-btn {
    padding: 14px 40px;
    border: 2px solid var(--color-gold);
    background: transparent;
    color: var(--color-gold);
    border-radius: 30px;
    cursor: pointer;
    font-weight: 700;
    transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
    font-size: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    position: relative;
    overflow: hidden;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.gallery-tab-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--color-gold), #c9a227);
    transition: left 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
    z-index: -1;
}

.gallery-tab-btn:hover {
    transform: translateY(-3px);
    color: var(--color-white);
    box-shadow: 0 12px 30px rgba(212, 175, 55, 0.25);
}

.gallery-tab-btn:hover::before {
    left: 0;
}

.gallery-tab-btn.active {
    background: linear-gradient(135deg, var(--color-gold), #c9a227);
    color: var(--color-white);
    box-shadow: 0 12px 35px rgba(212, 175, 55, 0.4);
    border-color: #c9a227;
    transform: translateY(-3px);
}

.gallery-tab-btn.active::before {
    left: 0;
}

.gallery-tab-btn i {
    font-size: 20px;
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.gallery-tab-btn:hover i {
    transform: scale(1.15) rotate(5deg);
}

.gallery-tab-btn.active i {
    transform: scale(1.15);
}

/* Gallery Tab Content */
.gallery-tab-content {
    display: none;
    animation: fadeIn 0.4s ease;
}

.gallery-tab-content.active {
    display: block;
}

.gallery-section-header {
    margin-bottom: 40px;
    text-align: center;
    padding-bottom: 0;
    border-bottom: none;
}

.gallery-section-header h3 {
    font-size: 28px;
    color: var(--color-dark);
    margin-bottom: 10px;
    font-weight: 700;
}

.gallery-section-header p {
    color: var(--color-gray);
    font-size: 16px;
}

.gallery-filters {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 8px 20px;
    border: 2px solid var(--color-gold);
    background: transparent;
    color: var(--color-gold);
    border-radius: 20px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    font-size: 13px;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--color-gold);
    color: var(--color-white);
    transform: scale(1.05);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 25px;
    margin-bottom: 0;
}

.gallery-item {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
    background: var(--color-white);
}

.gallery-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(212, 175, 55, 0.3);
}

.gallery-item.hidden {
    display: none;
}

.gallery-image-wrapper {
    position: relative;
    width: 100%;
    height: 250px;
    overflow: hidden;
    background: var(--color-light-gray);
}

.gallery-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-image {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 2;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay.video-overlay {
    background: rgba(212, 175, 55, 0.2);
}

.gallery-link {
    width: 60px;
    height: 60px;
    background: var(--color-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--color-white);
    text-decoration: none;
    transition: all 0.3s ease;
}

.gallery-link:hover {
    background: var(--color-dark-gold);
    transform: scale(1.15);
}

.gallery-link.video-play {
    background: var(--color-gold);
    font-size: 28px;
}

.gallery-link.video-play:hover {
    background: var(--color-dark-gold);
}

.video-item .gallery-image {
    filter: brightness(0.85);
}

.gallery-info {
    padding: 20px;
}

.gallery-info h3 {
    color: var(--color-dark);
    font-size: 16px;
    margin-bottom: 8px;
    font-weight: bold;
}

.gallery-info p {
    color: var(--color-gray);
    font-size: 13px;
}

/* Mobile Gallery */
@media (max-width: 1024px) {
    .gallery-tabs-nav {
        margin: 35px 0 45px 0;
        gap: 15px;
        padding: 25px;
    }

    .gallery-tab-btn {
        padding: 12px 32px;
        font-size: 15px;
    }

    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 20px;
    }

    .gallery-image-wrapper {
        height: 220px;
    }
}

@media (max-width: 768px) {
    .gallery-tabs-nav {
        margin: 30px 0 40px 0;
        gap: 12px;
        padding: 20px;
        flex-direction: column;
    }

    .gallery-tab-btn {
        padding: 11px 28px;
        font-size: 14px;
        width: 100%;
        justify-content: center;
    }

    .gallery-section-header h3 {
        font-size: 22px;
    }

    .gallery-section-header p {
        font-size: 14px;
    }

    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
        gap: 15px;
    }

    .gallery-image-wrapper {
        height: 180px;
    }

    .gallery-link {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }

    .filter-btn {
        padding: 7px 16px;
        font-size: 12px;
    }

    .gallery-info {
        padding: 15px;
    }

    .gallery-info h3 {
        font-size: 14px;
    }

    .gallery-info p {
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .gallery-tabs-nav {
        margin: 25px 0 35px 0;
        gap: 10px;
        padding: 15px;
        flex-direction: column;
    }

    .gallery-tab-btn {
        padding: 10px 24px;
        font-size: 13px;
        width: 100%;
        justify-content: center;
    }

    .gallery-tab-btn i {
        font-size: 18px;
    }

    .gallery-section-header h3 {
        font-size: 18px;
    }

    .gallery-section-header p {
        font-size: 12px;
    }

    .gallery-filters {
        gap: 8px;
        margin-bottom: 25px;
    }

    .filter-btn {
        padding: 6px 12px;
        font-size: 11px;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .gallery-image-wrapper {
        height: 150px;
    }

    .gallery-link {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }

    .gallery-info {
        padding: 10px;
    }

    .gallery-info h3 {
        font-size: 12px;
        margin-bottom: 4px;
    }

    .gallery-info p {
        font-size: 10px;
    }

    .gallery-info {
        padding: 15px;
    }

    .gallery-info h3 {
        font-size: 14px;
    }

    .gallery-info p {
        font-size: 12px;
    }
}

/* ========================================
   SYSTÈME D'ONGLETS (TABS)
   ======================================== */

/* Dropdown dans le Hero - HIDDEN */
.hero-dropdown-container {
    margin-top: 40px;
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    width: 0 !important;
    overflow: hidden !important;
    position: absolute !important;
    left: -9999px !important;
    opacity: 0 !important;
    pointer-events: none !important;
    z-index: -999 !important;
    animation: slideUp 0.6s ease-out 0.3s both;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.tab-dropdown-hero {
    display: none !important;
    visibility: hidden !important;
    width: 100%;
    max-width: 450px;
    padding: 14px 18px;
    font-size: 16px;
    font-weight: 500;
    border: 2px solid var(--color-white);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.95);
    color: var(--color-dark);
    cursor: pointer;
    transition: all 0.3s ease;
    appearance: none;
    background-image: url("data:image/svg+xml;utf8,<svg fill='%23333' height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/></svg>");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 24px;
    padding-right: 45px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.tab-dropdown-hero:hover {
    background-color: var(--color-white);
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.25);
}

.tab-dropdown-hero:focus {
    outline: none;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2), 0 0 0 3px rgba(212, 175, 55, 0.3);
}

.tab-dropdown-hero option {
    padding: 12px;
    background: var(--color-white);
    color: var(--color-dark);
    font-weight: 500;
}

/* Boutons d'onglets (tabs nav) */
.tabs-nav {
    display: flex;
    gap: 15px;
    margin-bottom: 40px;
    flex-wrap: wrap;
    justify-content: center;
    padding: 20px;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.05) 0%, rgba(201, 162, 39, 0.02) 100%);
    border-radius: 10px;
}

.tab-btn {
    padding: 14px 32px;
    border: 2px solid var(--color-gold);
    background: transparent;
    color: var(--color-gold);
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    border-radius: 8px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.tab-btn:hover {
    border-color: var(--color-dark-gold);
    color: var(--color-white);
    background: linear-gradient(135deg, #d4af37 0%, #c9a227 100%);
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(212, 175, 55, 0.25);
}

.tab-btn.active {
    background: linear-gradient(135deg, #d4af37 0%, #c9a227 100%);
    color: var(--color-white);
    border-color: var(--color-dark-gold);
    box-shadow: 0 6px 16px rgba(212, 175, 55, 0.3);
}

.tabs-container {
    background: var(--color-white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.tab-content {
    display: none;
    padding: 50px 40px;
    animation: fadeIn 0.3s ease-in-out;
}

.tab-content.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.tab-content h2 {
    color: var(--color-dark-gold);
    font-size: 32px;
    margin-bottom: 35px;
    font-weight: 700;
    border-bottom: 3px solid var(--color-gold);
    padding-bottom: 20px;
    letter-spacing: 0.3px;
}

/* About Content & Stats */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start;
    margin-top: 20px;
}

.about-text h3 {
    color: var(--color-dark-gold);
    font-size: 18px;
    margin-top: 25px;
    margin-bottom: 15px;
    font-weight: 600;
}

.about-text p {
    color: var(--color-gray);
    line-height: 1.8;
    margin-bottom: 15px;
    font-size: 15px;
}

.about-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.stat-card {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.15) 0%, rgba(201, 162, 39, 0.08) 100%);
    padding: 30px 20px;
    border-radius: 8px;
    text-align: center;
    border: 1px solid rgba(212, 175, 55, 0.3);
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(212, 175, 55, 0.2);
}

.stat-card h3 {
    color: var(--color-dark-gold);
    font-size: 28px;
    margin-bottom: 10px;
    font-weight: 700;
}

.stat-card p {
    color: var(--color-gray);
    font-size: 14px;
}

/* Mission & Vision Cards */
.mission-vision-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-top: 20px;
}

.mv-card {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.1) 0%, rgba(201, 162, 39, 0.05) 100%);
    padding: 25px;
    border-radius: 8px;
    border-left: 4px solid var(--color-gold);
    transition: all 0.3s ease;
}

.mv-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(212, 175, 55, 0.2);
}

.mv-card h3 {
    color: var(--color-dark-gold);
    margin-bottom: 15px;
    font-size: 18px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.mv-card i {
    font-size: 20px;
}

.mv-card p {
    color: var(--color-gray);
    line-height: 1.8;
}

/* Values List */
.values-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.value-item {
    background: var(--color-light);
    padding: 20px;
    border-radius: 6px;
    border-top: 3px solid var(--color-gold);
    transition: all 0.3s ease;
}

.value-item:hover {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.1) 0%, rgba(201, 162, 39, 0.05) 100%);
    transform: translateX(5px);
}

.value-item h4 {
    color: var(--color-dark-gold);
    margin-bottom: 10px;
    font-size: 16px;
}

.value-item p {
    color: var(--color-gray);
    font-size: 14px;
    line-height: 1.6;
}

/* Actions Grid */
.actions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.action-card {
    background: var(--color-white);
    border: 1px solid var(--color-light-gray);
    padding: 25px;
    border-radius: 6px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.action-card:hover {
    box-shadow: 0 8px 20px rgba(212, 175, 55, 0.15);
    border-color: var(--color-gold);
    transform: translateY(-5px);
}

.action-card h3 {
    color: var(--color-dark-gold);
    margin-bottom: 12px;
    font-size: 16px;
    font-weight: bold;
}

.action-card p {
    color: var(--color-gray);
    font-size: 14px;
    line-height: 1.7;
}

/* Publications Content */
.publications-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 20px;
}

.pub-item {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.1) 0%, rgba(201, 162, 39, 0.05) 100%);
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    transition: all 0.3s ease;
}

.pub-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.pub-item h3 {
    color: var(--color-dark-gold);
    margin-bottom: 15px;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.pub-item i {
    font-size: 24px;
    color: var(--color-gold);
}

.pub-item p {
    color: var(--color-gray);
    line-height: 1.8;
}

/* Membership Content */
.membership-content {
    margin-top: 20px;
}

.membership-card {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.1) 0%, rgba(201, 162, 39, 0.05) 100%);
    padding: 40px;
    border-radius: 8px;
    border-left: 5px solid var(--color-gold);
}

.membership-card h3 {
    color: var(--color-dark-gold);
    margin-bottom: 20px;
    font-size: 22px;
}

.membership-card p {
    color: var(--color-gray);
    line-height: 1.8;
    margin-bottom: 15px;
    font-size: 15px;
}

.btn-adhesion {
    display: inline-block;
    background: linear-gradient(135deg, #d4af37 0%, #c9a227 100%);
    color: white;
    padding: 14px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    margin-top: 20px;
}

.btn-adhesion:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(212, 175, 55, 0.3);
}

.btn-adhesion i {
    margin-right: 8px;
}

/* Team Grid */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    margin-top: 40px;
    padding: 40px 0;
}

.team-member {
    background: var(--color-white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(212, 175, 55, 0.2);
    position: relative;
}

.team-member::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #d4af37 0%, #c9a227 100%);
}

.team-member:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 50px rgba(212, 175, 55, 0.2);
}

.member-image {
    width: 100%;
    height: 300px;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.15) 0%, rgba(201, 162, 39, 0.08) 100%);
    position: relative;
}

.member-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.2) 100%);
}

.member-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.team-member:hover .member-image img {
    transform: scale(1.08);
}

.team-member h3 {
    color: var(--color-dark);
    font-size: 20px;
    margin: 25px 25px 10px 25px;
    font-weight: 700;
    letter-spacing: -0.3px;
}

.member-role {
    color: var(--color-dark-gold);
    font-size: 12px;
    margin: 0 25px 20px 25px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding-bottom: 15px;
    border-bottom: 2px solid rgba(212, 175, 55, 0.15);
}

.member-bio-detailed {
    padding: 25px;
    font-size: 14px;
    color: var(--color-gray);
    line-height: 1.8;
    max-height: 400px;
    overflow-y: auto;
}

.member-bio-detailed p {
    margin-bottom: 12px;
}

.member-bio-detailed strong {
    color: var(--color-dark-gold);
}

.member-bio-detailed ul {
    margin: 10px 0;
    padding-left: 20px;
}

.member-bio-detailed li {
    margin-bottom: 8px;
    color: var(--color-gray);
}

/* Section About */
.about-section {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.05) 0%, rgba(201, 162, 39, 0.02) 100%);
}

/* Responsive Design for Tabs */
@media (max-width: 1024px) {
    .about-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .about-stats {
        grid-template-columns: 1fr 1fr;
    }

    .hero-dropdown-container {
        display: none !important;
        visibility: hidden !important;
        height: 0 !important;
        width: 0 !important;
        position: absolute !important;
        left: -9999px !important;
        opacity: 0 !important;
        pointer-events: none !important;
        z-index: -999 !important;
    }

    .tab-dropdown-hero {
        display: none !important;
        max-width: 350px;
    }
}

@media (max-width: 768px) {
    .dropdown-container {
        margin-bottom: 30px;
    }

    .tab-dropdown {
        max-width: 100%;
        padding: 12px 15px;
        font-size: 14px;
    }

    .hero-dropdown-container {
        display: none !important;
        visibility: hidden !important;
        height: 0 !important;
        width: 0 !important;
        position: absolute !important;
        left: -9999px !important;
        opacity: 0 !important;
        pointer-events: none !important;
        z-index: -999 !important;
        margin-top: 25px;
        padding: 0 15px;
    }

    .tab-dropdown-hero {
        display: none !important;
        max-width: 100%;
        padding: 12px 15px;
        font-size: 14px;
    }

    .tab-content {
        padding: 30px 20px;
    }

    .tab-content h2 {
        font-size: 24px;
        margin-bottom: 25px;
    }

    .mission-vision-content,
    .values-list,
    .actions-grid,
    .publications-content,
    .team-grid {
        grid-template-columns: 1fr;
    }

    .team-grid {
        gap: 25px;
        margin-top: 25px;
    }

    .member-image {
        height: 280px;
    }

    .team-member h3 {
        font-size: 18px;
        margin: 20px 20px 8px 20px;
    }

    .member-role {
        margin: 0 20px 15px 20px;
        font-size: 11px;
    }

    .member-bio-detailed {
        padding: 20px;
        font-size: 13px;
    }

    .membership-card {
        padding: 20px;
    }

    .about-stats {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero-dropdown-container {
        display: none !important;
        visibility: hidden !important;
        height: 0 !important;
        width: 0 !important;
        position: absolute !important;
        left: -9999px !important;
        opacity: 0 !important;
        pointer-events: none !important;
        z-index: -999 !important;
        margin-top: 20px;
        padding: 0 10px;
    }

    .tab-dropdown-hero {
        max-width: 100%;
        padding: 11px 12px;
        font-size: 13px;
        background-position: right 8px center;
        background-size: 20px;
        padding-right: 40px;
    }

    .tab-content {
        padding: 20px 15px;
    }

    .tab-content h2 {
        font-size: 18px;
        margin-bottom: 15px;
    }

    .mv-card,
    .value-item,
    .action-card,
    .pub-item,
    .team-member {
        padding: 15px;
    }

    .member-image {
        height: 200px;
    }

    .stat-card {
        padding: 20px 15px;
    }

    .stat-card h3 {
        font-size: 22px;
    }

    .tab-dropdown {
        font-size: 13px;
    }
}

