/* Variables CSS pour les couleurs du logo */
:root {
    --primary-blue: #1e3a8a;      /* Bleu foncé du logo */
    --secondary-blue: #3b82f6;    /* Bleu moyen */
    --accent-cyan: #06b6d4;       /* Cyan du logo */
    --light-cyan: #67e8f9;        /* Cyan clair */
    --white: #ffffff;
    --light-gray: #f8fafc;
    --text-dark: #1e293b;
    --text-gray: #64748b;
    --border-color: #e2e8f0;
}

/* Reset et base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Open Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
}

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

/* Navigation */
.navbar {
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.3s ease;
}

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

.nav-logo .logo {
    height: 50px;
    width: auto;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: var(--primary-blue);
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background: var(--accent-cyan);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

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

.hamburger .bar {
    width: 25px;
    height: 3px;
    background-color: var(--text-dark);
    margin: 3px 0;
    transition: 0.3s;
}

/* Section Hero */
.hero {
    padding: 120px 20px 80px;
    background: linear-gradient(135deg, var(--light-gray) 0%, #e0f2fe 100%);
    display: flex;
    align-items: center;
    min-height: 80vh;
    max-width: 1200px;
    margin: 0 auto;
    gap: 3rem;
}

.hero-content {
    flex: 1;
    max-width: 600px;
}

.hero h1 {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--accent-cyan);
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.hero-description {
    margin-bottom: 2rem;
}

.hero-description p {
    font-size: 1.1rem;
    color: var(--text-gray);
    margin-bottom: 1rem;
}

.cta-button {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-blue), var(--accent-cyan));
    color: var(--white);
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(6, 182, 212, 0.3);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(6, 182, 212, 0.4);
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-placeholder {
    width: 400px;
    height: 300px;
    background: linear-gradient(135deg, var(--accent-cyan), var(--light-cyan));
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 600;
    text-align: center;
    box-shadow: 0 10px 30px rgba(6, 182, 212, 0.2);
}

/* Style pour la vraie photo hero */
.hero-image-photo {
    width: 100%;
    max-width: 400px;
    height: 300px;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(6, 182, 212, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero-image-photo:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(6, 182, 212, 0.3);
}

/* Section Événements */
.events {
    padding: 80px 20px;
    background: var(--white);
}

.events h2 {
    text-align: center;
    font-size: 2.5rem;
    color: var(--primary-blue);
    margin-bottom: 3rem;
    font-weight: 700;
}

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

/* Event cards */
.event-card {
    background: var(--white);
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

/* Event header with logo */
.event-header {
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
    color: var(--white);
    padding: 1.5rem;
}

.event-header-content {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.event-logo {
    flex-shrink: 0;
}

.event-logo-img {
    width: 50px;
    height: 50px;
    object-fit: contain;
    border-radius: 8px;
    background: var(--white);
    padding: 5px;
}

.event-title-section {
    flex: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.event-title-section h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
}

.event-status {
    background: var(--accent-cyan);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    white-space: nowrap;
}

.event-content {
    padding: 1.5rem;
}

.event-content p {
    color: var(--text-gray);
    margin-bottom: 1rem;
    font-size: 1.05rem;
}

.event-details {
    list-style: none;
    margin-bottom: 1rem;
}

.event-details li {
    padding: 0.4rem 0;
    color: var(--text-gray);
    position: relative;
    padding-left: 1.5rem;
}

.event-details li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-cyan);
    font-weight: bold;
}

.event-footer {
    padding: 0 1.5rem 1.5rem;
    border-top: 1px solid var(--border-color);
    margin-top: 1rem;
    padding-top: 1rem;
}

.event-date {
    font-weight: 600;
    color: var(--primary-blue);
    text-align: center;
}

/* Section Contact */
.contact {
    padding: 80px 20px;
    background: var(--light-gray);
}

.contact h2 {
    text-align: center;
    font-size: 2.5rem;
    color: var(--primary-blue);
    margin-bottom: 3rem;
    font-weight: 700;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 3rem;
    max-width: 1100px;
    margin: 0 auto;
}

.contact-info h3 {
    color: var(--primary-blue);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.contact-info p {
    color: var(--text-gray);
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
}

.contact-details p {
    margin-bottom: 0.75rem;
    color: var(--text-dark);
}

.contact-details a {
    color: var(--accent-cyan);
    text-decoration: none;
}

.contact-details a:hover {
    text-decoration: underline;
}

/* Formulaire */
.contact-form {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.contact-form h4 {
    color: var(--primary-blue);
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
    font-weight: 600;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-cyan);
}

.checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.checkbox-group label {
    display: flex;
    align-items: center;
    font-weight: normal;
    cursor: pointer;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
    margin-right: 0.5rem;
}

.submit-button {
    background: linear-gradient(135deg, var(--primary-blue), var(--accent-cyan));
    color: var(--white);
    padding: 15px 30px;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    box-shadow: 0 4px 15px rgba(6, 182, 212, 0.3);
}

.submit-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(6, 182, 212, 0.4);
}

.form-note {
    margin-top: 1rem;
    font-size: 0.9rem;
    color: var(--text-gray);
    text-align: center;
}

/* Liens sociaux dans les événements */
.event-social {
    padding: 1rem 1.5rem;
    background: var(--light-gray);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.social-label {
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
}

.social-links {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.social-link.facebook {
    background: #1877f2;
    color: white;
}

.social-link.facebook:hover {
    background: #166fe5;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(24, 119, 242, 0.3);
}

.social-link.instagram {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: white;
}

.social-link.instagram:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(225, 48, 108, 0.3);
}

.social-link i {
    font-size: 1rem;
}

/* Liens sociaux dans le footer */
.footer-social {
    text-align: center;
}

.footer-social-label {
    color: var(--white);
    font-weight: 600;
    margin-bottom: 1rem;
    opacity: 0.9;
}

.footer-social-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.footer-social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: var(--white);
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.footer-social-link:hover {
    transform: translateY(-3px);
    border-color: rgba(255, 255, 255, 0.8);
}

.footer-social-link.facebook:hover {
    background: #1877f2;
    border-color: #1877f2;
}

.footer-social-link.instagram:hover {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    border-color: #e6683c;
}

.footer-social-link.email:hover {
    background: var(--accent-cyan);
    border-color: var(--accent-cyan);
}

.footer-social-link i {
    font-size: 1.2rem;
}

/* Section Galerie */
.gallery {
    padding: 80px 20px;
    background: var(--white);
}

.gallery h2 {
    text-align: center;
    font-size: 2.5rem;
    color: var(--primary-blue);
    margin-bottom: 1rem;
    font-weight: 700;
}

.gallery-subtitle {
    text-align: center;
    color: var(--text-gray);
    font-size: 1.1rem;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Filtres galerie */
.gallery-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 3rem;
}

.filter-btn {
    background: var(--white);
    color: var(--text-dark);
    border: 2px solid var(--border-color);
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.filter-btn:hover {
    border-color: var(--accent-cyan);
    color: var(--accent-cyan);
}

.filter-btn.active {
    background: linear-gradient(135deg, var(--primary-blue), var(--accent-cyan));
    color: var(--white);
    border-color: transparent;
}

/* Grille galerie */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.gallery-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease;
    aspect-ratio: 4/3;
}

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

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

/* Overlay galerie */
.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: var(--white);
    padding: 2rem 1.5rem 1.5rem;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

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

.gallery-overlay h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.gallery-overlay p {
    font-size: 0.9rem;
    opacity: 0.9;
    margin: 0;
}

/* Note galerie */
.gallery-note {
    text-align: center;
    margin-top: 2rem;
}

.gallery-note p {
    color: var(--text-gray);
    font-size: 0.9rem;
    font-style: italic;
}

/* Footer */
footer {
    background: var(--primary-blue);
    color: var(--white);
    padding: 2rem 0;
}

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

.footer-logo {
    flex-shrink: 0;
}

.footer-info {
    flex: 1;
    min-width: 250px;
}

.footer-social {
    flex-shrink: 0;
}

.footer-links {
    flex-shrink: 0;
}

.footer-logo-img {
    height: 30px;
    width: auto;
    filter: brightness(0) invert(1);
}

.footer-info p {
    margin-bottom: 0.25rem;
    opacity: 0.9;
}

.footer-links {
    display: flex;
    gap: 1.5rem;
}

.footer-links a {
    color: var(--white);
    text-decoration: none;
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.footer-links a:hover {
    opacity: 1;
}

/* Responsive */
@media screen and (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--white);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .hero {
        flex-direction: column;
        text-align: center;
        padding: 100px 20px 60px;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero-image {
        order: -1;
    }
    
    .hero-placeholder {
        width: 300px;
        height: 200px;
    }
    
    .hero-image-photo {
        max-width: 300px;
        height: 200px;
    }
    
    .events-grid {
        grid-template-columns: 1fr;
    }
    
    .event-header-content {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .event-title-section {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
    
    .gallery-filters {
        gap: 0.5rem;
        margin-bottom: 2rem;
    }
    
    .filter-btn {
        font-size: 0.8rem;
        padding: 0.6rem 1rem;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1rem;
    }
    
    .gallery h2 {
        font-size: 2rem;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }
    
    .footer-social-links {
        justify-content: center;
    }
}

@media screen and (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .events h2,
    .contact h2 {
        font-size: 2rem;
    }
    
    .event-header {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }
}
