/* debut hero */
.hero {
    background: linear-gradient(
        135deg,
        rgb(200, 16, 46),   /* #C8102E avec 50% d'opacité */
        rgb(10, 110, 49)  /* #0A6E31 avec 50% d'opacité */
    );
    min-height: 500px;
    display: flex;
    align-items: center;
    position: relative;
    color: white;
    padding: 2rem;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /*background-color: #0A6E31;*/
    /*background-color: rgba(10, 110, 49, 0.95);*/
    background-image: url('/images/mainpage_foreground.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.1;

}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    /*max-height: 30vh;*/
}

.hero h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
    font-size: 1.2rem;
    max-width: 600px;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

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

.btn-hero {
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-primary-hero {
    background-color: var(--color-orange);
    border: 2px solid var(--color-orange);
    color: white;
}

.btn-primary-hero:hover {
    background-color: transparent;
    border: 2px solid var(--color-orange);
    color: var(--color-white);
}

.btn-secondary-hero {
    background-color: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary-hero:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--color-white);
}

/* Version responsive */
@media (max-width: 768px) {
    .hero {
        min-height: 400px;
        text-align: center;
    }

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

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-actions {
        flex-direction: column;
    }
}

.hero-content {
    animation: fadeInUp 0.8s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
/* fin hero */
