/* ========================================
   MODULE: section-nav
   Navigation interne sous le Hero
   ======================================== */

.section-nav-container {
    background-color: var(--color-background, #ffffff);
    border-bottom: 1px solid var(--color-border, #E2E8ED);
    padding: 1.5rem 0;
    position: sticky;
    top: 80px;
    /* Header Height (80px) */
    z-index: 90;
    width: 100%;
    transition: opacity 0.4s ease, transform 0.4s ease;
    opacity: 1;
    transform: translateY(0);
}

.section-nav-hidden {
    opacity: 0;
    transform: translateY(-20px);
    /* Slide up slightly */
    pointer-events: none;
    /* Allow clicking things behind it */
}

.section-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.section-nav__item {
    margin: 0;
}

.section-nav__link {
    text-decoration: none;
    color: var(--color-text-secondary, #4A6580);
    font-family: var(--font-heading, 'Montserrat', sans-serif);
    font-weight: 600;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    /* Pill shape on hover */
    transition: all 0.3s ease;
}

.section-nav__link:hover,
.section-nav__link:focus {
    color: var(--color-primary, #45B97C);
    background-color: rgba(69, 185, 124, 0.1);
    /* Light Primary BG */
}

/* Active State (Optional, requires JS to track scroll) */
.section-nav__link.active {
    color: var(--color-primary, #45B97C);
    background-color: rgba(69, 185, 124, 0.1);
}

@media (max-width: 768px) {
    .section-nav-container {
        display: none !important;
    }
}