/* ========== SCROLL SUAVE ========== */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 70px;
}

html, body {
    overscroll-behavior: none;
}

/* ========== PARALLAX SIMPLES ========== */
.hero-section {
    background-attachment: fixed;
    position: relative;
}

.carousel-slide {
    background-attachment: fixed;
}

/* ========== NAVIGATION ARROWS ========== */
.nav-arrow {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    z-index: 20;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.1rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.nav-arrow:hover {
    background: rgba(0, 212, 255, 0.25);
    border-color: var(--primary-color);
    color: #fff;
    transform: translateX(-50%) translateY(-3px);
}

.nav-arrow-down {
    bottom: 25px;
    animation: bounceArrow 2s infinite;
}

.nav-arrow-up {
    top: 25px;
    animation: bounceArrowUp 2s infinite;
}

@keyframes bounceArrow {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(8px); }
}

@keyframes bounceArrowUp {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(-8px); }
}

/* ========== BACK TO TOP ========== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--accent-gradient);
    border: none;
    color: #fff;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 212, 255, 0.3);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 212, 255, 0.4);
}

/* ========== REVEIL AU SCROLL ========== */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* ========== SCROLL ARROW ========== */
.scroll-arrow {
    position: absolute;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 20;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(5px);
    border: 2px solid rgba(255, 255, 255, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    animation: bounceArrow 2s infinite;
}

.scroll-arrow:hover {
    background: rgba(0, 212, 255, 0.25);
    border-color: var(--primary-color);
    transform: translateX(-50%) translateY(-3px);
}

.scroll-arrow.hidden {
    opacity: 0;
    pointer-events: none;
}
