/* ============================================
   RESPONSIVE NAVBAR LAYOUT - LOGO LEFT, DROPDOWN RIGHT
   ============================================ */

.main-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Ultra Wide (2560px+) */
@media (min-width: 2560px) {
    .main-nav {
        width: 100%;
        max-width: none;
        margin: 0;
        padding: 0.7rem 2%;
        justify-content: space-between;
        gap: 2rem;
    }

    .logo-section {
        display: flex;
        align-items: center;
        flex-shrink: 0;
    }

    .nav-links {
        display: flex;
        margin-left: auto;
        justify-content: flex-end;
        gap: 0.8rem;
    }

    .nav-link {
        white-space: nowrap;
        flex-shrink: 0;
    }
}

/* Extra Large (1920px - 2559px) */
@media (min-width: 1920px) and (max-width: 2559px) {
    .main-nav {
        width: 100%;
        max-width: none;
        margin: 0;
        padding: 0.7rem 2.5%;
        justify-content: space-between;
        gap: 1.8rem;
    }

    .logo-section {
        display: flex;
        align-items: center;
        flex-shrink: 0;
    }

    .nav-links {
        display: flex;
        margin-left: auto;
        justify-content: flex-end;
        gap: 0.7rem;
    }

    .nav-link {
        white-space: nowrap;
        flex-shrink: 0;
    }
}

/* Large (1441px - 1919px) */
@media (min-width: 1441px) and (max-width: 1919px) {
    .main-nav {
        max-width: none;
        margin: 0;
        padding: 0.6rem 3%;
        justify-content: space-between;
        gap: 1.5rem;
    }

    .logo-section {
        display: flex;
        align-items: center;
        flex-shrink: 0;
    }

    .nav-links {
        display: flex;
        margin-left: auto;
        justify-content: flex-end;
        gap: 0.5rem;
    }

    .nav-link {
        white-space: nowrap;
        flex-shrink: 0;
    }
}

/* Desktop (1024px - 1440px) */
@media (min-width: 1024px) and (max-width: 1440px) {
    .main-nav {
        max-width: none;
        margin: 0;
        padding: 0.6rem 4%;
        justify-content: space-between;
        gap: 1rem;
    }

    .logo-section {
        display: flex;
        align-items: center;
        flex-shrink: 0;
    }

    .nav-links {
        display: flex;
        margin-left: auto;
        justify-content: flex-end;
        gap: 0.3rem;
    }

    .nav-link {
        white-space: nowrap;
        flex-shrink: 0;
    }
}

/* Tablet (769px - 1023px) */
@media (min-width: 769px) and (max-width: 1023px) {
    .main-nav {
        justify-content: space-between;
        gap: 1rem;
    }

    .logo-section {
        display: flex;
        align-items: center;
        flex-shrink: 0;
    }

    .nav-links {
        display: flex;
        margin-left: auto;
        justify-content: flex-end;
        gap: 0.2rem;
    }

    .nav-link {
        white-space: nowrap;
        flex-shrink: 0;
    }
}

/* Mobile (≤768px) */
@media (max-width: 768px) {
    .main-nav {
        justify-content: space-between;
        gap: 0.8rem;
    }

    .logo-section {
        display: flex;
        align-items: center;
        flex-shrink: 0;
    }

    .nav-links {
        display: none;
        margin-left: 0;
        flex-direction: column;
        width: 100%;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-link {
        width: 100%;
        flex-shrink: 1;
    }
}
