/* Hero Section */
.hero {
    position: relative;
    height: calc(100vh - var(--header-height));
    min-height: 600px;
    color: var(--white);
    overflow: hidden;
}

/* Image de fond */
.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Overlay pour améliorer la lisibilité */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom,
        rgba(0, 0, 0, 0.5),
        rgba(0, 0, 0, 0.4)
    );
}

/* Container du contenu */
.hero .container {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Contenu */
.hero-content {
    text-align: center;
    max-width: 800px;
    padding: var(--spacing-lg);
    animation: fadeIn 1s ease-out;
}

.hero h1 {
    color: var(--white);
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: var(--spacing-md);
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.8s ease-out forwards;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: var(--spacing-lg);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.8s ease-out 0.2s forwards;
    opacity: 0;
}

/* Buttons container */
.hero-buttons {
    display: flex;
    gap: var(--spacing-md);
    justify-content: center;
    animation: slideUp 0.8s ease-out 0.4s forwards;
    opacity: 0;
}

.hero-buttons .btn {
    min-width: 180px;
    padding: var(--spacing-sm) var(--spacing-lg);
}

/* Media Queries */
@media (max-width: 992px) {
    .hero h1 {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    .hero {
        min-height: 500px;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1.1rem;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }

    .hero-buttons .btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }

    .hero-content {
        padding: var(--spacing-md);
    }
}

/* Animations keyframes */
@keyframes slideUp {
    from {
        transform: translateY(30px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Support des préférences de réduction de mouvement */
@media (prefers-reduced-motion: reduce) {
    .hero-content,
    .hero h1,
    .hero p,
    .hero-buttons {
        animation: none;
        opacity: 1;
        transform: none;
    }
}