/* /src/css/public/special-events.css */

/* =========================================
   SPECIAL EVENTS STYLES
   ========================================= */

/* Intégration de tes variables (si elles ne sont pas déjà dans ton :root global) */
:root {
    --dark-bg: #0C0A10; 
    --surface-bg: #1A1625; 
    --text-main: #F4F4F9;
    --text-muted: #A09EAB;
    --accent-kart: #6B4596; 
    --accent-sim: #2A56FF;  
}

.page-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 100px 2rem 4rem 2rem;
    color: var(--text-main);
    background-color: var(--dark-bg); /* Applique ton fond ultra sombre */
    animation: fadeIn 0.3s ease;
    box-sizing: border-box;
}

/* Texte en dégradé mixant Violet et Bleu */
.gradient-text {
    background: linear-gradient(135deg, var(--accent-kart), var(--accent-sim));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

/* --- Hero Section --- */
.special-hero {
    display: flex;
    gap: 4rem;
    align-items: center;
    margin-bottom: 6rem;
    position: relative;
}

/* Halo lumineux subtil en arrière-plan */
.special-hero::before {
    content: '';
    position: absolute;
    top: -50px;
    left: -50px;
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, var(--accent-kart), var(--accent-sim));
    filter: blur(120px);
    opacity: 0.15;
    z-index: -1;
    pointer-events: none;
}

.special-hero-content {
    flex: 1;
}

.special-hero-gallery {
    flex: 1;
    display: flex;
    gap: 1rem;
}

.gallery-img {
    width: 50%;
    border-radius: 8px;
    object-fit: cover;
    aspect-ratio: 3 / 4;
    border: 1px solid rgba(255, 255, 255, 0.05);
    filter: grayscale(20%);
}

.gallery-img:nth-child(2) {
    transform: translateY(2rem); /* Effet d'escalier dynamique */
}

/* --- Events Grid --- */
.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

/* Card Style */
.event-card {
    background: var(--surface-bg);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.2s, border-color 0.2s;
}

.event-card:hover {
    transform: translateY(-4px);
    border-color: rgba(107, 69, 150, 0.4); /* Subtil rappel du violet au survol */
}

.event-poster {
    width: 100%;
    aspect-ratio: 2 / 3; /* Format portrait strict respecté */
    object-fit: cover;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    background-color: #111;
}

.event-info {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.event-date {
    font-size: 0.85rem;
    color: var(--accent-sim); /* Date en bleu */
    font-weight: bold;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.event-title {
    font-size: 1.25rem;
    margin: 0 0 1rem 0;
    color: var(--text-main);
}

.event-location {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

/* Bouton Dégradé */
.btn-gradient {
    margin-top: auto;
    text-align: center;
    display: block;
    padding: 0.8rem;
    border-radius: 4px;
    text-decoration: none;
    color: #fff;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 0.9rem;
    background: linear-gradient(135deg, var(--accent-kart), var(--accent-sim));
    opacity: 0.85;
    transition: opacity 0.2s;
}

.btn-gradient:hover {
    opacity: 1;
}

.empty-state-message {
    text-align: center;
    color: var(--text-muted);
    padding: 4rem 1rem;
    font-size: 1rem;
    background: var(--surface-bg);
    border-radius: 8px;
    border: 1px dashed rgba(255, 255, 255, 0.1);
    margin-top: 2rem;
}

/* ==========================================
   MOBILE RESPONSIVENESS
   ========================================== */
@media (max-width: 768px) {
    .page-wrapper {
        padding-top: 80px;
        margin-top : 3rem;
    }
    
    .special-hero {
        flex-direction: column;
        gap: 2rem;
        margin-bottom: 4rem;
    }

    .special-hero-gallery {
        width: 100%;
        margin-top: 1rem;
    }
    
    .gallery-img:nth-child(2) {
        transform: translateY(1rem);
    }

    .events-grid {
        grid-template-columns: 1fr;
    }
}