/* ========================================
   HERO SECTION
   ======================================== */

.hero {
    background: 
        linear-gradient(135deg, rgba(var(--bs-dark-rgb), 0.75) 0%, rgba(var(--bs-primary-rgb), 0.65) 100%),
        url("../../img/arenes-KCfYmof.jpg");
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("../../img/arenes-KCfYmof.jpg");
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    filter: blur(3px);
    z-index: -1;
}

.hero > * {
    position: relative;
    z-index: 1;
}

/* Hero content */
.hero-content {
    text-align: center;
    max-width: 1100px;
    margin: 0 auto;
    padding: 2rem;
}

.hero h1 {
    font-size: clamp(3rem, 8vw, 5.5rem);
    font-weight: 700;
    color: white;
    margin-bottom: 1.5rem;
    letter-spacing: -2px;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: clamp(1.1rem, 3vw, 1.4rem);
    color: rgba(var(--bs-light-rgb), 0.9);
    font-weight: 300;
    margin-bottom: 2rem;
    line-height: 1.6;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-tagline {
    font-size: clamp(1.3rem, 4vw, 2.2rem);
    color: var(--bs-info);
    font-weight: 600;
    margin-bottom: 2.5rem;
    text-shadow: 0 2px 15px rgba(0, 0, 0, 0.4);
    letter-spacing: 0.5px;
}

/* Badges de compétences */
.hero-badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.hero-badge {
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 0;
    color: rgba(var(--bs-light-rgb), 0.9);
    font-weight: 600;
    font-size: 0.9rem;
    white-space: nowrap;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-badge:not(:last-child)::after {
    content: '●';
    margin-left: 1.5rem;
    margin-right: 1.5rem;
    color: rgba(var(--bs-light-rgb), 0.6);
    font-size: 0.8rem;
}

/* Boutons hero */
.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.hero .btn {
    padding: 1rem 2rem;
    font-weight: 600;
    border-radius: 30px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.hero .btn-primary {
    background: linear-gradient(135deg, var(--bs-info), var(--bs-primary));
    border: 2px solid var(--bs-info);
    box-shadow: 0 6px 20px rgba(var(--bs-info-rgb), 0.5);
    color: white;
}

.hero .btn-primary:hover {
    background: linear-gradient(135deg, var(--bs-primary), var(--bs-info));
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(var(--bs-info-rgb), 0.7);
    border-color: var(--bs-primary);
}

.hero .btn-outline-light {
    border: 2px solid rgba(var(--bs-light-rgb), 0.8);
    color: var(--bs-light);
    background: rgba(var(--bs-light-rgb), 0.1);
    backdrop-filter: blur(10px);
}

.hero .btn-outline-light:hover {
    background: rgba(var(--bs-light-rgb), 0.25);
    border-color: var(--bs-light);
    color: var(--bs-dark);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(var(--bs-light-rgb), 0.3);
}

/* Scroll indicator */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(var(--bs-light-rgb), 0.7);
    text-align: center;
    animation: bounce 2s infinite;
}

.scroll-indicator i {
    font-size: 1.5rem;
    display: block;
    margin-bottom: 0.5rem;
}

.scroll-indicator span {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ========================================
   ANIMATIONS
   ======================================== */

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

/* Animation d'apparition */
.hero-content {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease-out 0.3s forwards;
}

.hero-badges {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease-out 0.8s forwards;
}

.hero-buttons {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease-out 1.2s forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========================================
   RESPONSIVE 
   ======================================== */

@media (max-width: 768px) {
    .hero {
        min-height: 100vh;
        padding: 1rem 0;
    }
    
    .hero-content {
        padding: 1rem;
    }
    
    .hero-badges {
        gap: 0.8rem;
        margin-bottom: 2rem;
        flex-direction: column;
        align-items: center;
    }
    
    .hero-badge {
        font-size: 0.8rem;
        width: auto;
        max-width: none;
        position: relative;
        padding-left: 1.2rem;
    }
    
    /* Points devant chaque élément en mobile */
    .hero-badge::before {
        content: '●';
        position: absolute;
        left: 0;
        color: rgba(var(--bs-light-rgb), 0.6);
        font-size: 0.7rem;
    }
    
    /* Supprimer les points de séparation en mobile */
    .hero-badge:not(:last-child)::after {
        display: none;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .hero .btn {
        padding: 0.6rem 1.2rem;
        font-size: 0.8rem;
        width: 220px;
    }
    
    .scroll-indicator {
        display: none;
    }
}

@media (max-width: 576px) {
    .hero-badges {
        flex-direction: column;
        align-items: center;
        gap: 0.8rem;
    }
    
    .hero-badge {
        width: auto;
        text-align: left;
        font-size: 0.75rem;
    }
}