/* ===== HERO CSS - FIDÈLE À LA V1 ===== */

/* Hero Section - Style v1 */
.hero-section {
    position: relative;
    height: 100vh;
    min-height: 750px;
    background: #3264f5;
    background: -moz-linear-gradient(left, #3264f5 2%, #7004bc 82%);
    background: -webkit-linear-gradient(left, #3264f5 2%, #7004bc 82%);
    background: linear-gradient(to right, #3264f5 2%, #7004bc 82%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}


/* Grandes formes décoratives colorées */
.hero-section::after {
    content: '';
    position: absolute;
    top: -120px;
    left: -180px;
    width: 600px;
    height: 450px;
    background: #03A9F5;
    border-radius: 70px;
    z-index: 0;
    transform: rotate(30deg);
}

.hero-section .hero-bg-shape {
    position: absolute;
    bottom: 50px;
    right: -350px;
    width: 500px;
    height: 500px;
    background: #F02DB5;
    border-radius: 50%;
    z-index: 0;
}

.hero-layout {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    height: 100%;
}

.hero-image-container {
    flex: 0 0 auto;
    margin-right: 60px;
}

.hero-content {
    flex: 1;
    text-align: left;
    color: white;
    max-width: 600px;
}

/* Hero Text - Style v1 */
.hero-text {
    text-align: left;
    margin-bottom: 2rem;
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 1rem;
    font-family: 'Montserrat', sans-serif;
    background: linear-gradient(45deg, #fff, #f0f0f0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    font-family: 'Montserrat', sans-serif;
    color: #ffffff;
}

.hero-description {
    font-size: 1.25rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    font-family: 'Roboto', sans-serif;
    opacity: 0.9;
    color: #ffffff;
}

.hero-actions {
    margin-bottom: 2rem;
}

/* Hero Button - Utilise les classes globales de boutons */
.hero-actions .btn {
    margin-right: 15px;
}

/* Hero Video - Remplace l'image par une vidéo MP4 */
.hero-video {
    width: 400px;
    height: 400px;
    border-radius: 50%;
    object-fit: cover;
    background: #000;
    display: block;
    max-width: 100%;
    height: auto;
}

/* Optimisation pour les navigateurs qui ne supportent pas object-fit */
@supports not (object-fit: cover) {
    .hero-video {
        width: 400px;
        height: 400px;
        background-size: cover;
        background-position: center;
    }
}

/* Fallback image si la vidéo ne peut pas être chargée */
.hero-image-fallback {
    width: 400px;
    height: 400px;
    border-radius: 50%;
    object-fit: cover;
    animation: imageFloat 6s ease-in-out infinite;
}

/* Hero Image - Masques de théâtre v1 (gardé pour compatibilité) */
.hero-image {
    width: 400px;
    height: 400px;
    border-radius: 50%;
    object-fit: cover;
    animation: imageFloat 6s ease-in-out infinite;
}

/* Hero Scroll Indicator - Style v1 */
.hero-scroll {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-size: 1rem;
    cursor: pointer;
    z-index: 2;
    transition: all 0.3s ease;
    font-family: 'Montserrat', sans-serif;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-scroll:hover {
    transform: translateX(-50%) translateY(-5px);
}

.hero-scroll i {
    display: block;
    margin-top: 5px;
    animation: bounce 2s infinite;
}

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

/* Hero Shapes Background - Formes flottantes v1 */
.hero-shapes {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    z-index: 1;
    pointer-events: none;
}

.shape {
    position: absolute;
    z-index: 1;
}

.shape img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    opacity: 0.8;
}

.shape-1 {
    width: 50px;
    height: 14px;
    top: 15%;
    right: 8%;
    animation: slideLoop 2s ease-in-out infinite;
}

.shape-2 {
    width: 60px;
    height: 60px;
    top: 45%;
    right: 20%;
    animation: float 8s ease-in-out infinite;
}

.shape-3 {
    width: 67px;
    height: 69px;
    top: 25%;
    left: 8%;
    animation: rotate 15s linear infinite;
}

.shape-4 {
    width: 68px;
    height: 67px;
    bottom: 25%;
    right: 15%;
    animation: wave 12s ease-in-out infinite;
}

.shape-5 {
    width: 24px;
    height: 87px;
    top: 25%;
    right: 15%;
    animation: pendulum 12s ease-in-out infinite;
}

.shape-6 {
    width: 44px;
    height: 87px;
    bottom: 15%;
    left: 3%;
    animation: slideLoop 5s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
}

@keyframes slideLoop {
    0%, 100% { transform: translateX(0px) translateY(0px); }
    50% { transform: translateX(15px) translateY(0px); }
}

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

@keyframes wave {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-15px) rotate(5deg); }
}

@keyframes pendulum {
    0%, 100% { transform: rotate(-20deg); }
    50% { transform: rotate(20deg); }
}

@keyframes imageFloat {
    0%, 100% { transform: translateX(0px); }
    50% { transform: translateX(10px); }
}

/* Responsive Hero - Style v1 */
@media (max-width: 768px) {
    .hero-layout {
        flex-direction: column;
        text-align: center;
        padding: 0 20px;
    }
    
    .hero-image-container {
        margin-right: 0;
        margin-bottom: 2rem;
    }
    
    .hero-video,
    .hero-image-fallback,
    .hero-image {
        width: 300px;
        height: 300px;
    }
    
    .hero-content {
        text-align: center;
    }
    
    .hero-text {
        text-align: center;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    .hero-subtitle {
        font-size: 1.8rem;
    }
    .hero-description {
        font-size: 1rem;
    }
    .hero-shapes {
        display: none;
    }
}

@media (max-width: 480px) {
    .hero-section {
        height: 80vh;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.5rem;
    }
    
    .hero-description {
        font-size: 0.9rem;
    }
    
    .hero-actions .btn {
        padding: 12px 24px;
        font-size: 1rem;
    }
} 