/* ═══════════════════════════════════════
   L'AMOQ - Unified Navigation CSS
   ═══════════════════════════════════════ */

/* Top Bar */
.top-bar { background: #1a2e4a; padding: 12px 0; position: fixed; top: 0; left: 0; right: 0; z-index: 201; transition: transform 0.3s ease; }
.top-bar.hidden { transform: translateY(-100%); }
.top-bar-inner { max-width: 1300px; margin: 0 auto; padding: 0 24px; display: flex; justify-content: space-between; align-items: center; }
.top-bar-left { display: flex; align-items: center; gap: 28px; }
.top-bar-cat { color: rgba(255,255,255,0.9); font-size: 12px; font-weight: 600; letter-spacing: 0.08em; }
.top-bar-right { display: flex; align-items: center; gap: 20px; }
.top-bar-tagline { color: #85a28d; font-size: 12px; font-weight: 600; font-style: italic; }
.top-bar-socials { display: flex; gap: 12px; }
.top-bar-socials a { color: rgba(255,255,255,0.7); transition: color 0.3s; display: flex; }
.top-bar-socials a:hover { color: #85a28d; }
.top-bar-socials a svg { fill: currentColor; }

/* Header */
header { background: #fff; box-shadow: none; border-bottom: 1px solid #e0e0e0; padding: 0; position: fixed; top: 48px; left: 0; right: 0; z-index: 200; display: flex; justify-content: center; transition: all 0.3s ease; }
header.scrolled { box-shadow: 0 2px 10px rgba(0,0,0,0.06); border-bottom: 1px solid #e0e0e0; top: 0; }

/* Nav Container */
.nav-container { display: flex; align-items: stretch; width: 100%; max-width: 1300px; padding: 0; }

/* Home Icon */
.nav-home { display: flex; align-items: center; color: #85a28d; text-decoration: none; padding: 0 24px; transition: color 0.3s, background 0.3s; }
.nav-home:hover { color: #1a2e4a; background: rgba(133,162,141,0.06); }
.nav-home svg { stroke: currentColor; }

/* Nav Main */
.nav-main { display: flex; align-items: stretch; flex: 1; }
.nav-main > a, .nav-main > .dropdown { display: flex; align-items: center; flex: 1; justify-content: center; }
.nav-main > a, .nav-main > .dropdown > .dropdown-toggle { color: #1a2e4a; text-decoration: none; font-size: 12.5px; font-weight: 700; transition: color 0.3s; position: relative; text-transform: uppercase; letter-spacing: 0.06em; padding: 18px 10px; display: flex; align-items: center; justify-content: center; white-space: nowrap; }
.nav-main > a:hover, .nav-main > .dropdown:hover > .dropdown-toggle { color: #85a28d; }
.nav-sep { display: flex; align-items: center; color: #d0d0d0; font-size: 20px; font-weight: 200; user-select: none; }

/* Dropdown */
.dropdown { position: relative; }
.dropdown-toggle { cursor: pointer; position: relative; padding-right: 18px; gap: 6px; }
.dropdown-toggle::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 10px;
    height: 10px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231a2e4a' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6,9 12,15 18,9'%3E%3C/polyline%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    transition: all 0.3s ease;
}
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.12);
    padding: 12px 0;
    min-width: 220px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    z-index: 300;
}
.dropdown:hover .dropdown-menu { opacity: 1; visibility: visible; }
.dropdown-menu a {
    display: block;
    padding: 10px 24px;
    color: #1a2e4a;
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.2s;
}
.dropdown-menu a:hover { background: rgba(133,162,141,0.08); color: #85a28d; padding-left: 28px; }

/* Mobile */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 12px 20px;
    margin-left: auto;
    color: #1a2e4a;
    align-items: center;
    justify-content: center;
    transition: color 0.3s ease, background 0.3s ease;
}
.mobile-menu-btn:hover { color: #85a28d; background: rgba(133,162,141,0.08); }
.mobile-menu-btn.active { color: #85a28d; }

.mobile-menu { display: none; }

@media (max-width: 768px) {
    .nav-main { display: none; }

    .top-bar {
        display: block;
        padding: 8px 0;
    }

    .top-bar-left { display: none; }

    .top-bar-inner {
        justify-content: center;
        padding: 0 16px;
    }

    .top-bar-right {
        flex-direction: column;
        gap: 6px;
        align-items: center;
    }

    .top-bar-tagline {
        display: block;
        font-size: 10px;
        line-height: 1.35;
        text-align: center;
        max-width: 100%;
        padding: 0 8px;
    }

    header {
        top: 44px !important;
        flex-direction: column;
        align-items: stretch;
        width: 100%;
    }

    header.scrolled { top: 0 !important; }

    .nav-container { width: 100%; }

    .mobile-menu-btn { display: flex; }

    .mobile-menu {
        display: block;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        width: 100%;
        max-height: 0;
        overflow: hidden;
        background: #fff;
        border-bottom: 1px solid transparent;
        box-shadow: none;
        transition: max-height 0.4s ease, box-shadow 0.3s ease, border-color 0.3s ease;
        z-index: 250;
    }

    .mobile-menu.active {
        max-height: min(75vh, 560px);
        overflow-y: auto;
        border-bottom-color: #e0e0e0;
        box-shadow: 0 12px 28px rgba(0, 0, 0, 0.1);
    }

    .mobile-nav-link {
        display: flex;
        align-items: center;
        width: 100%;
        padding: 16px 20px;
        color: #1a2e4a;
        font-size: 12.5px;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.06em;
        text-decoration: none;
        border: none;
        border-bottom: 1px solid #f0f0f0;
        background: #fff;
        cursor: pointer;
        text-align: left;
        font-family: inherit;
        transition: background 0.2s ease, color 0.2s ease;
        box-sizing: border-box;
    }

    .mobile-nav-link:hover {
        background: rgba(133, 162, 141, 0.08);
        color: #85a28d;
    }

    .mobile-dropdown-row {
        display: flex;
        align-items: stretch;
        border-bottom: 1px solid #f0f0f0;
        background: #fff;
    }

    .mobile-dropdown-label {
        flex: 1;
        border-bottom: none !important;
        justify-content: flex-start;
        min-width: 0;
    }

    .mobile-dropdown-chevron {
        flex-shrink: 0;
        width: 52px;
        display: flex;
        align-items: center;
        justify-content: center;
        background: #fff;
        border: none;
        border-left: 1px solid #f0f0f0;
        cursor: pointer;
        color: #1a2e4a;
        padding: 0;
        transition: background 0.2s ease, color 0.2s ease;
    }

    .mobile-dropdown-chevron:hover {
        background: rgba(133, 162, 141, 0.08);
        color: #85a28d;
    }

    .mobile-dropdown-arrow {
        flex-shrink: 0;
        transition: transform 0.3s ease;
    }

    .mobile-dropdown.active .mobile-dropdown-arrow { transform: rotate(180deg); }

    .mobile-dropdown-menu {
        display: none;
        background: #f7f8f6;
        border-bottom: 1px solid #f0f0f0;
    }

    .mobile-dropdown.active .mobile-dropdown-menu { display: block; }

    .mobile-dropdown-menu a {
        display: block;
        padding: 14px 20px 14px 32px;
        color: #1a2e4a;
        text-decoration: none;
        font-size: 13px;
        font-weight: 500;
        border-bottom: 1px solid #ececec;
        transition: background 0.2s ease, color 0.2s ease, padding-left 0.2s ease;
    }

    .mobile-dropdown-menu a:last-child { border-bottom: none; }

    .mobile-dropdown-menu a:hover {
        background: rgba(133, 162, 141, 0.12);
        color: #85a28d;
        padding-left: 38px;
    }
}

@media (max-width: 480px) {
    .top-bar-tagline {
        font-size: 9px;
        letter-spacing: 0.02em;
    }

    .mobile-nav-link,
    .mobile-dropdown-label {
        padding: 14px 16px;
        font-size: 12px;
    }

    .mobile-dropdown-chevron {
        width: 46px;
    }

    .mobile-dropdown-menu a {
        padding: 12px 16px 12px 28px;
        font-size: 12px;
    }
}

/* Hide floating contact bubble globally */
.floating-contact-bubble { display: none !important; }
