/* --- 1. VARIABLES COULEURS & POLICES --- */
:root {
    --bg-main: #050505;
    --bg-darker: #000000;
    --gold: #d4af37;
    --gold-hover: #f1c40f;
    --purple: #6a0dad;
    --pink: #ff007f;
    --text-light: #f4f4f4;
    --font-titles: 'Playfair Display', serif;
    --font-text: 'Poppins', sans-serif;
}

/* --- 2. RESET & BASE --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-main);
    color: var(--text-light);
    font-family: var(--font-text);
    line-height: 1.6;
    overflow-x: hidden;
    padding-top: 80px; /* Espace pour la navbar fixe */
}

h1, h2, h3 {
    font-family: var(--font-titles);
}

span {
    color: var(--gold);
}

p {
    margin-bottom: 20px;
    color: #ccc;
    font-size: 1.05rem;
}

img {
    max-width: 100%;
    height: auto;
}

/* --- 3. NAVBAR --- */
nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(0, 0, 0, 0.9);
    border-bottom: 1px solid rgba(106, 13, 173, 0.4);
    z-index: 1000;
    backdrop-filter: blur(10px);
}

.logo-nav {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--gold);
    font-family: var(--font-titles);
    text-decoration: none;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 25px;
}

.nav-links a {
    color: var(--text-light);
    text-decoration: none;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
    transition: color 0.3s ease;
}

.nav-links a:hover, .nav-links a.active {
    color: var(--gold);
    text-shadow: 0 0 8px rgba(212, 175, 55, 0.5);
}

/* --- 4. SECTIONS GLOBALES --- */
.section {
    min-height: calc(100vh - 80px);
    padding: 80px 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.bg-darker {
    background-color: var(--bg-darker);
}

.container {
    max-width: 1100px;
    width: 100%;
    margin: 0 auto;
}

h2 {
    font-size: 3rem;
    margin-bottom: 25px;
    color: var(--text-light);
}

/* --- 5. BOUTONS --- */
.btn-gold {
    display: inline-block;
    padding: 15px 35px;
    background: transparent;
    color: var(--gold);
    border: 2px solid var(--gold);
    text-decoration: none;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: all 0.3s ease;
    cursor: pointer;
    border-radius: 4px;
}

.btn-gold:hover {
    background: var(--gold);
    color: var(--bg-main);
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.6);
}

/* --- 6. GRILLES & CARTES (ÉQUIPE) --- */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
    margin-top: 40px;
    justify-items: center;
}

.team-card {
    background: linear-gradient(135deg, #111, #1a0b2e);
    border: 2px solid var(--gold);
    border-radius: 12px;
    width: 100%;
    max-width: 300px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.5);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(212, 175, 55, 0.3);
}

.team-img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    border-bottom: 2px solid var(--gold);
}

.team-info {
    padding: 20px;
    text-align: left;
}

.team-info h3 {
    color: var(--gold);
    font-size: 1.3rem;
    margin-bottom: 5px;
}

.team-role {
    color: var(--pink);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.team-desc {
    font-size: 0.85rem;
    color: #bbb;
}

/* --- 7. PARTENAIRES (FORMAT PAYSAGE) --- */
.partners-grid {
    display: flex;
    flex-direction: column;
    gap: 25px;
    max-width: 900px;
    margin: 40px auto 0;
}

.partner-card-landscape {
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #111, #1a0b2e);
    border: 2px solid var(--gold);
    border-radius: 12px;
    overflow: hidden;
    text-align: left;
    box-shadow: 0 5px 15px rgba(0,0,0,0.5);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.partner-card-landscape:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(212, 175, 55, 0.3);
}

.partner-logo-box {
    flex: 0 0 250px;
    background: #000;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-right: 2px solid var(--gold);
    height: 100%;
}

.partner-logo-box img {
    max-width: 100%;
    height: auto;
    object-fit: contain;
}

.partner-content {
    padding: 30px;
    flex: 1;
}

.partner-content h3 {
    color: var(--gold);
    font-size: 1.5rem;
    margin-bottom: 8px;
}

.partner-tag {
    color: var(--pink);
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

/* --- 8. FORMULAIRE DE CONTACT --- */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 650px;
    margin: 30px auto 0;
    background: rgba(15, 15, 15, 0.8);
    padding: 40px;
    border: 1px solid var(--purple);
    border-radius: 10px;
}

input, select, textarea {
    width: 100%;
    padding: 15px;
    background: #111;
    border: 1px solid #333;
    color: white;
    font-family: var(--font-text);
    border-radius: 5px;
}

input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.3);
}

/* --- 9. FOOTER --- */
footer {
    background: var(--bg-darker);
    border-top: 1px solid #222;
    padding: 40px 20px;
    text-align: center;
}

.socials a {
    color: var(--pink);
    text-decoration: none;
    font-weight: bold;
    display: inline-block;
    margin: 10px 0;
    transition: color 0.3s;
}

.socials a:hover {
    color: var(--gold);
}

.mentions {
    font-size: 0.8rem;
    color: #666;
    margin-top: 8px;
}

/* --- 10. EFFET BRILLANT POUR LE LOGO ACCUEIL --- */
.main-logo {
    max-width: 300px;
    margin-bottom: 20px;
    filter: drop-shadow(0 0 20px rgba(212, 175, 55, 0.6));
    animation: logoGlow 3s ease-in-out infinite alternate;
}

@keyframes logoGlow {
    0% {
        filter: drop-shadow(0 0 15px rgba(212, 175, 55, 0.5)) drop-shadow(0 0 5px var(--purple));
        transform: scale(1);
    }
    100% {
        filter: drop-shadow(0 0 35px rgba(212, 175, 55, 1)) drop-shadow(0 0 60px var(--pink));
        transform: scale(1.03);
    }
}

/* --- 11. BADGES & BOÎTES IMMERSIFS POUR LES SOIRÉES --- */
.event-badge {
    display: inline-block;
    padding: 8px 16px;
    border-radius: 50px;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 2px;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.5);
}

/* Thème 1 : FLUO */
body.theme-fluo {
    background: radial-gradient(circle at center, #0a261d 0%, #030a08 70%, #000 100%);
}
body.theme-fluo h2 span { color: #00ffcc; text-shadow: 0 0 15px #00ffcc, 0 0 30px #00ffcc; }
body.theme-fluo .immersive-box {
    background: rgba(0, 255, 204, 0.05);
    border: 2px solid #00ffcc;
    box-shadow: 0 0 25px rgba(0, 255, 204, 0.3);
}
body.theme-fluo .event-badge { background: #00ffcc; color: #000; }

/* Thème 2 : WHITE */
body.theme-white {
    background: radial-gradient(circle at center, #262626 0%, #0d0d0d 70%, #000 100%);
}
body.theme-white h2 span { color: #ffffff; text-shadow: 0 0 20px rgba(255,255,255,0.8); }
body.theme-white .immersive-box {
    background: rgba(255, 255, 255, 0.03);
    border: 2px solid #ffffff;
    box-shadow: 0 0 25px rgba(255, 255, 255, 0.2);
}
body.theme-white .event-badge { background: #ffffff; color: #000; }

/* Thème 3 : VISION TROUBLE */
body.theme-vision {
    background: radial-gradient(circle at center, #2a0845 0%, #12031a 70%, #000 100%);
}
body.theme-vision h2 span { color: #9b59b6; text-shadow: 0 0 15px #9b59b6, 0 0 30px #e74c3c; }
body.theme-vision .immersive-box {
    background: rgba(155, 89, 182, 0.05);
    border: 2px solid #9b59b6;
    box-shadow: 0 0 25px rgba(155, 89, 182, 0.4);
}
body.theme-vision .event-badge { background: #9b59b6; color: #fff; }

/* Thème 4 : IBIZ'AS */
body.theme-ibiza {
    background: radial-gradient(circle at center, #3d1602 0%, #140701 70%, #000 100%);
}
body.theme-ibiza h2 span { color: #ff7700; text-shadow: 0 0 15px #ff7700, 0 0 30px #ff7700; }
body.theme-ibiza .immersive-box {
    background: rgba(255, 119, 0, 0.05);
    border: 2px solid #ff7700;
    box-shadow: 0 0 25px rgba(255, 119, 0, 0.4);
}
body.theme-ibiza .event-badge { background: #ff7700; color: #000; }

/* --- 12. RESPONSIVE DESIGN (SMARTPHONES & TABLETTES) --- */
@media (max-width: 768px) {
    nav {
        padding: 15px 20px;
        flex-direction: column;
        gap: 10px;
    }

    .nav-links {
        gap: 12px;
        font-size: 0.75rem;
        flex-wrap: wrap;
        justify-content: center;
    }

    h1 {
        font-size: 2.3rem !important;
    }

    h2 {
        font-size: 2rem !important;
    }

    .section {
        padding: 60px 15px;
        min-height: auto;
    }

    .cards-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 10px;
    }

    .partner-card-landscape {
        flex-direction: column;
        text-align: center;
    }

    .partner-logo-box {
        width: 100%;
        border-right: none;
        border-bottom: 2px solid var(--gold);
    }

    .contact-form {
        padding: 20px;
        margin: 20px 10px;
    }
}