/* Hero Section - BEN-BATI */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding-top: 80px;
}

.hero__image {
    position: absolute;
    inset: 0;
    z-index: -2;
}

.hero__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Fallback pour l'image */
.hero__image::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--color-gray-700) 0%, var(--color-gray-800) 50%, var(--color-gray-900) 100%);
    z-index: -1;
}

.hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(26, 26, 26, 0.85) 0%,
        rgba(26, 26, 26, 0.7) 50%,
        rgba(26, 26, 26, 0.6) 100%
    );
    z-index: -1;
}

.hero__content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 900px;
    padding: var(--space-8) var(--space-4);
    margin: 0 auto;
}

.hero__title {
    font-size: var(--text-4xl);
    font-weight: 600;
    color: var(--color-white);
    margin-bottom: var(--space-6);
    line-height: 1.1;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero__subtitle {
    font-family: var(--font-body);
    font-size: var(--text-lg);
    font-weight: 300;
    color: var(--color-gray-200);
    margin-bottom: var(--space-10);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero__actions {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
    align-items: center;
}

/* Scroll indicator */
.hero__scroll {
    position: absolute;
    bottom: var(--space-8);
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
}

.hero__scroll a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    color: var(--color-white);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transition: all var(--transition-base);
    animation: bounce 2s infinite;
}

.hero__scroll a:hover {
    border-color: var(--color-white);
    background-color: rgba(255, 255, 255, 0.1);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

/* Responsive */
@media (min-width: 640px) {
    .hero__title {
        font-size: var(--text-5xl);
    }
    
    .hero__subtitle {
        font-size: var(--text-xl);
    }
}

@media (min-width: 768px) {
    .hero {
        padding-top: 90px;
    }
    
    .hero__actions {
        flex-direction: row;
        justify-content: center;
        gap: var(--space-6);
    }
}

@media (min-width: 1024px) {
    .hero__title {
        font-size: var(--text-6xl);
    }
}
