/* hero.css - Styles pour la section hero et le slideshow */

/* Hero Section - Slideshow */
.hero {
    height: 100vh;
    position: relative;
    overflow: hidden;
    min-height: 100vh;
}

/* Loader */
.hero-loader {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--color-dark-secondary);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 5;
    transition: opacity var(--transition-medium);
}

.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    border-top: 4px solid var(--color-gold);
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Slideshow */
.slideshow {
    width: 100%;
    height: 100%;
    position: relative;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1s ease-in-out, visibility 0s 1s;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.slide.active {
    opacity: 1;
    visibility: visible;
    transition: opacity 1.2s ease-in-out, visibility 0s;
}

.slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    filter: brightness(0.6);
    z-index: -1;
}

.slide-content {
    z-index: 1;
    max-width: 800px;
    padding: 0 20px;
}

.slide-logo {
    margin-bottom: 20px;
}

.slide-logo img {
    max-width: 350px;
}

.slide p {
    font-size: 20px;
    font-weight: 400;
    line-height: 1.8;
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    letter-spacing: 0.05em;
}

/* Slideshow Controls */
.slideshow-controls {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.slideshow-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background-color var(--transition-fast);
}

.slideshow-indicator.active {
    background-color: var(--color-light);
}

.slideshow-indicator:hover {
    background-color: rgba(255, 255, 255, 0.8);
}