/* ========================================
   NAVBAR.CSS — Barre de navigation sticky
========================================= */

.navbar-custom {
    position: fixed;
    top: 0; left: 0;
    width: 100%;
    z-index: 1030;
    background: transparent;
    transition: background-color 1.3s ease, box-shadow 1.3s ease;

    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
}

.nav-suggestions {
    font-size: 0.8rem;
}

/* Version scrollée */
.navbar-custom.scrolled {
    background: transparent;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.navbar-custom.scrolled h1 {
    color: #3a4e85;
}

.navbar-custom.scrolled input {
    background-color: #f7f7f7;
    box-shadow: none;
}

.navbar-custom h1 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    cursor: pointer;
    margin: 0;
    color: var(--color-primary-dark);
    transition: opacity 0.2s;
}

.navbar-custom h1:hover { opacity: 0.8; }

.navbar-custom form {
    flex-grow: 1;
    max-width: 400px;
    margin-left: auto;
}

.navbar-custom input {
    width: 100%;
    padding: 0.6rem 1.1rem;
    font-size: 1rem;
    border-radius: var(--border-radius-pill);
    border: none;
    outline: none;
    box-shadow: var(--shadow-soft);
    transition: box-shadow 0.3s;
}

.navbar-custom input:focus {
    box-shadow: 0 0 0 3px rgba(30, 58, 138, 0.2);
}
