/* ==========================================================================
   PC NAVBAR (LOCKED)
   ========================================================================== */
.nav-wrapper {
    width: 100%;
    padding-top: 25px;
    display: flex;
    justify-content: center;
    position: relative;
    z-index: 1000;
}

.nav-container {
    width: 75%;
    background: #ffffff;
    border-radius: 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 35px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    box-sizing: border-box;
    position: relative;
}

.brand-group {
    display: flex;
    align-items: center;
}

.header-logo {
    height: 70px;
    width: auto;
    display: block;
    margin-right: 30px;
}

.brand-title {
    font-size: 1.9rem;
    font-weight: 800;
    color: #333;
    white-space: nowrap;
    text-decoration: none;
}

.nav-menu {
    margin-left: auto;
}

.nav-menu ul {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 22px;
}

.nav-menu a {
    text-decoration: none;
    color: #444;
    font-weight: 600;
    font-size: 0.95rem;
    text-transform: uppercase;
}

.nav-menu a.nav-pill {
    background-color: #d2b48c;
    color: #ffffff;
    padding: 10px 22px;
    border-radius: 50px;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
}

.menu-toggle .bar {
    width: 25px;
    height: 3px;
    background: #333;
    border-radius: 2px;
}

/* ==========================================================================
   MOBILE REWRITE (CENTERED BRAND)
   ========================================================================== */
@media (max-width: 1024px) {
    .nav-container {
        width: 92%;
        padding: 10px 20px;
        justify-content: space-between; /* Pushes Logo left, Toggle right */
    }

    /* Logic to center the title while logo stays left */
    .brand-title {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        font-size: 1.25rem;
        margin: 0;
    }

    .header-logo {
        height: 50px;
        margin-right: 0;
    }

    .menu-toggle {
        display: flex;
        z-index: 10;
    }

    /* ACCORDION DROPDOWN */
    .nav-menu {
        position: absolute;
        top: calc(100% + 10px);
        left: 0;
        width: 100%;
        background-color: #fdfaf5; /* Warm Smoke */
        border-radius: 20px;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s ease-in-out, opacity 0.3s ease;
        opacity: 0;
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
        margin-left: 0;
    }

    .nav-menu.active {
        max-height: 500px;
        opacity: 1;
        padding: 20px 0;
    }

    .nav-menu ul {
        flex-direction: column;
        gap: 15px;
        align-items: center;
    }

    .nav-menu a {
        font-size: 1.1rem;
        padding: 10px 0;
        width: 100%;
        text-align: center;
    }

    .nav-menu a.nav-pill {
        display: inline-block;
        width: auto;
        padding: 10px 30px;
    }
}