/* ==========================================================================
   STYLES SPÉCIFIQUES À LA PAGE D'ACCUEIL (index.html)
   ========================================================================== */

/* --- Section Hero --- */
.hero {
    height: 100vh;
    background: 
        linear-gradient(to bottom, 
            rgba(0,0,0,0.7) 0%,
            rgba(0,0,0,0.5) 50%,
            rgba(225,6,0,0.3) 100%
        ),
        url('../img/hero-f1.png') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* Effet de particules/mouvement (optionnel) */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: repeating-linear-gradient(
        90deg,
        transparent,
        transparent 2px,
        rgba(225,6,0,0.03) 2px,
        rgba(225,6,0,0.03) 4px
    );
    animation: scanlines 8s linear infinite;
    pointer-events: none;
}

@keyframes scanlines {
    0% { transform: translateX(0); }
    100% { transform: translateX(50px); }
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-content h1 {
    font-size: 4rem;
    font-family: var(--font-wide);
    font-weight: 400;
    margin-bottom: 1rem;
    background: linear-gradient(45deg, var(--primary-color), var(--primary-light), #fff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 4px 15px rgba(225, 6, 0, 0.5));
    letter-spacing: 3px;
    text-transform: uppercase;
    animation: titleGlow 3s ease-in-out infinite;
}

@keyframes titleGlow {
    0%, 100% { filter: drop-shadow(0 4px 15px rgba(225, 6, 0, 0.5)); }
    50% { filter: drop-shadow(0 4px 25px rgba(225, 6, 0, 0.8)); }
}

.hero-content p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.8);
}

.cta-button {
    display: inline-block;
    background: linear-gradient(45deg, var(--primary-color), var(--primary-light));
    color: white;
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 50px;
    font-family: var(--font-bold);
    font-weight: bold;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 5px 20px rgba(225, 6, 0, 0.3);
}

.cta-button:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 10px 30px rgba(225, 6, 0, 0.6);
    background: linear-gradient(45deg, var(--primary-light), var(--primary-color));
}

/* --- Section Countdown --- */
.countdown {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    padding: 3rem 2rem;
    text-align: center;
    margin: 2rem 0;
}

.countdown h2 {
    font-size: 2.5rem;
    font-family: var(--font-bold);
    margin-bottom: 2rem;
    letter-spacing: 2px;
}

.countdown-timer {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.time-unit {
    background: rgba(0, 0, 0, 0.3);
    padding: 1rem;
    border-radius: 10px;
    min-width: 80px;
    font-family: var(--font-bold);
}

.time-number {
    font-size: 2rem;
    font-weight: bold;
    display: block;
    letter-spacing: 1px;
}

/* --- Section Event Details --- */
.event-details {
    background: rgba(0, 0, 0, 0.8);
    padding: 4rem 2rem;
    margin: 2rem 0;
}

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

.detail-item {
    text-align: center;
    padding: 1.5rem;
    background: rgba(225, 6, 0, 0.1);
    border-radius: 15px;
    border: 1px solid rgba(225, 6, 0, 0.3);
}

.detail-item h4 {
    color: var(--primary-color);
    font-size: 1.2rem;
    font-family: var(--font-bold);
    margin-bottom: 0.5rem;
    letter-spacing: 1px;
}

/* --- Section Info --- */
.info-section {
    padding: 5rem 0;
    max-width: 1200px;
    margin: 0 auto;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 0 2rem;
}

.info-card {
    background: var(--card-background);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 2rem;
    border: 1px solid var(--card-border);
    transition: transform 0.3s, box-shadow 0.3s;
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(225, 6, 0, 0.2);
}

.info-card h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    font-family: var(--font-bold);
    margin-bottom: 1rem;
    letter-spacing: 1px;
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-content h1 { font-size: 2.5rem; }
    .details-grid { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
    .info-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .hero-content h1 { font-size: 2rem; }
    .hero-content p { font-size: 1.2rem; }
    .countdown h2 { font-size: 2rem; }
    .countdown-timer { gap: 1rem; }
    .time-unit { min-width: 60px; padding: 0.5rem; }
}

@media (max-width: 480px) {
    .hero { height: 80vh; }
    .hero-content h1 { font-size: 1.8rem; }
    .countdown-timer { gap: 0.5rem; }
    .time-unit { min-width: 50px; padding: 0.3rem; }
    .time-number { font-size: 1.5rem; }
}