

/* ============================================
   NAVBAR
   ============================================ */
.navbar {
    background: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 10px 0;
    min-height: 80px;
    display: flex;
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
}

.logo-saporina {
    width: 220px;
    height: 65px;
}

.nav-drawer {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-menu {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 30px;
    margin: 0;
    padding: 0;
}

.nav-link {
    color: #333;
    font-weight: 600;
    font-size: var(--fs-sm);
    padding: 10px 0;
    position: relative;
    transition: color 0.3s;
    background: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
    display: flex;
    align-items: center;
    gap: 5px;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--accent-yellow);
    transition: width 0.3s;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-blue);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-item-dropdown {
    position: relative;
}

.products-toggle {
    display: flex;
    align-items: center;
    gap: 5px;
    text-align: center;
}

.products-arrow {
    width: 14px;
    height: 14px;
    transition: transform 0.3s ease;
}

.nav-item-dropdown.active .products-arrow {
    transform: rotate(180deg);
}

.products-dropdown {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(-10px);
    margin-top: 15px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    padding: 20px;
    min-width: 1000px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease-in-out;
    z-index: 1001;
}

.nav-item-dropdown.active .products-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.products-grid-menu {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.product-menu-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 12px;
    border-radius: 8px;
    transition: all 0.3s ease;
    color: var(--text-dark);
    text-decoration: none;
}

.product-menu-item:hover {
    background: var(--bg-grey);
    transform: translateY(-3px);
}

.product-menu-item img {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 10px;
}

.product-menu-item span {
    font-size: var(--fs-xs);
    font-weight: 600;
    color: var(--primary-blue);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    z-index: 1002;
}

.hamburger {
    width: 25px;
    height: 3px;
    background: #211d52;
    border-radius: 3px;
    transition: all 0.3s;
}

.nav-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 998;
}

.nav-overlay.active {
    display: block;
}

/* ============================================
   LANGUAGE DROPDOWN
   ============================================ */
.lang-dropdown {
    position: relative;
}

.lang-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    background: white;
    border: 1px solid #ddd;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    color: #333;
    font-size: var(--fs-sm);
    transition: all 0.3s;
}

.lang-toggle:hover {
    border-color: #211d52;
    color: #211d52;
}

.lang-toggle .icon {
    width: 20px;
    height: 20px;
}

.lang-arrow {
    width: 16px;
    height: 16px;
    transition: transform 0.3s;
}

.lang-dropdown.active .lang-arrow {
    transform: rotate(180deg);
}

.lang-menu {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 8px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.15);
    list-style: none;
    padding: 8px;
    min-width: 180px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s;
    z-index: 1001;
}

.lang-dropdown.active .lang-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border-radius: 8px;
    color: #333;
    font-size: var(--fs-sm);
}

.lang-link:hover {
    background: #f5f5f5;
}

.lang-link.active {
    background: #211d52;
    color: white;
}

.lang-flag {
    font-size: 20px;
}

/* End NAvbar */



/* Start Navbar Responsive */


/* ============================================
   RESPONSIVE - MOBILE
   ============================================ */
@media (max-width: 991px) {
    .menu-toggle {
        display: flex;
    }

    .nav-drawer {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        max-width: 490px;
        height: 100vh;
        background: white;
        flex-direction: column;
        padding: 80px 25px 25px;
        gap: 0;
        transition: right 0.3s ease;
        z-index: 999;
        box-shadow: -5px 0 20px rgba(0, 0, 0, 0.1);
        overflow-y: scroll;
    }

    .nav-drawer.active {
        right: 0;
    }

    .nav-menu {
        flex-direction: column;
        width: 100%;
        gap: 0;
    }

    .nav-menu li {
        border-bottom: 1px solid #eee;
    }

    .nav-link {
        display: block;
        padding: 20px 0;
        font-size: var(--fs-base);
        width: 100%;
        text-align: center;
    }

    .nav-link::after {
        bottom: 10px;
        height: 2px;
    }

    .menu-toggle.active .hamburger:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .menu-toggle.active .hamburger:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.active .hamburger:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }

    .products-dropdown {
        top: 0px;
        position: relative;
        transform: none;
        margin-top: 10px;
        box-shadow: none;
        border: 1px solid #eee;
        min-width: auto;
        width: 100%;
        max-height: 0;
        padding: 0;
        overflow: hidden;
    }

    .nav-item-dropdown.active .products-dropdown {
        max-height: 500px;
        padding: 15px;
        overflow-y: auto;
    }

    .products-grid-menu {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .product-menu-item img {
        width: 135px;
        height: 120px;
    }

    .lang-dropdown {
        width: 100%;
        /* margin-top: 15px; */
    }

    .lang-toggle {
        width: 100%;
        justify-content: center;
    }

    .lang-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: 1px solid #eee;
        margin: 10px 0;
        display: none;
    }

    .lang-dropdown.active .lang-menu {
        display: block;
    }

    .lang-arrow {
        margin-left: auto;
    }

    .content-retail>svg {
        top: -45px;
    }
}

@media (min-width: 992px) {
    .nav-container {
        justify-content: flex-start;
        gap: 30px;
    }

    .nav-drawer {
        margin-left: auto;
        gap: 30px;
    }
}

@media (max-width: 480px) {
    .logo-saporina {
        width: 140px;
        height: auto;
    }

    .products-grid-menu {
        grid-template-columns: 1fr;
    }

    .nav-drawer {
        max-width: 320px;
    }

    .packaging-grid {
        grid-template-columns: repeat(1, 1fr);
    }
}


/* End Navbar Resbonsive */