/* Shipping Navigation Bar Styles - Geïsoleerd voor gebruik als sectie */

/* Reset voor navbar elementen */
.shipping-navbar * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Navbar container full width */
.shipping-navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: #ffffff;
    border-bottom: 1px solid #e2e8f0;
    z-index: 1000;
    padding: 0 20px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Nav-container over volledige breedte */
.shipping-navbar .nav-container {
    width: 100%;
    margin: 0;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
    box-sizing: border-box;
}

/* Links sectie: logo + hoofdmenu */
.nav-left {
    display: flex;
    align-items: center;
    gap: 35px;
}

/* Rechts sectie: login links + knoppen */
.nav-right {
    display: flex;
    align-items: center;
    gap: 25px;
}

/* Logo Section */
.shipping-navbar .logo-section {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: #1a365d;
    font-weight: 700;
    font-size: 20px;
    transition: all 0.3s ease;
}

.shipping-navbar .logo-section:hover {
    transform: translateY(-1px);
}

.shipping-navbar .logo-image {
    width: 36px;
    height: 36px;
    object-fit: contain;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.shipping-navbar .logo-section:hover .logo-image {
    transform: scale(1.05);
}

/* Algemene nav-links styling */
.nav-main-links,
.nav-login-links {
    list-style: none;
    display: flex;
    gap: 12px;
    margin: 0;
    padding: 0;
}

.nav-main-links li,
.nav-login-links li {
    position: relative;
}

.nav-main-links a {
    text-decoration: none;
    color: #ffffff;
    font-weight: 500;
    font-size: 14px;
    padding: 8px 16px;
    background: #10b981ac;
    border-radius: 20px;
    transition: all 0.3s ease;
    font-family: inherit;
    display: inline-block;
    position: relative;
  
}

.nav-main-links a:hover {
    transform: translateY(-2px);
    box-shadow: 0 2.5px 0 #3b82f6;
}

.nav-login-links a {
    text-decoration: none;
    color: #ffffff;
    font-weight: 500;
    font-size: 13px;
    padding: 8px 16px;
       background: #10b981ac;
    border-radius: 20px;
    transition: all 0.3s ease;
    font-family: inherit;
    display: inline-block;
}

.nav-login-links a:hover {
       transform: translateY(-2px);
    box-shadow: 0 2.5px 0 #3b82f6;
}

/* Action Buttons rechts */

/* Sign-in knop */
.shipping-navbar .btn-signin {
    background: transparent;
    border: none;
    color: #64748b;
    font-weight: 500;
    font-size: 15px;
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.3s ease, color 0.3s ease;
    text-decoration: none;
    font-family: inherit;
    display: inline-flex;
    align-items: center;
}

.shipping-navbar .btn-signin:hover {
    background: rgba(49, 130, 206, 0.08);
    color: #3182ce;
}

/* Primary button */
.shipping-navbar .btn-primary {
    background: linear-gradient(135deg, #3182ce 0%, #2c5aa0 100%);
    color: white;
    border: none;
    font-weight: 600;
    font-size: 14px;
    padding: 12px 24px;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 12px rgba(49, 130, 206, 0.3);
    font-family: inherit;
}

.shipping-navbar .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(49, 130, 206, 0.4);
    background: linear-gradient(135deg, #2c5aa0 0%, #2a4c8b 100%);
}

.shipping-navbar .btn-primary svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

/* Mobile Menu Toggle */
.shipping-navbar .mobile-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    border-radius: 6px;
    transition: background 0.3s ease;
}

.shipping-navbar .mobile-toggle:hover {
    background: rgba(49, 130, 206, 0.08);
}

.shipping-navbar .mobile-toggle svg {
    width: 24px;
    height: 24px;
    fill: #64748b;
}

.droplist-menu-ul{
    /* display: flex; */
    height: 400px;
    flex-direction: column;
    margin-top: 10px;
}
/* Initially, the droplist menu is hidden */
.droplist-menu {
    display: flex;
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transition: opacity 0.3s ease, max-height 0.3s ease;
}

/* When active, show the droplist menu with smooth transition */
.droplist-menu.active {
    display: flex !important;
    opacity: 1;
    max-height: 400px; /* Adjust to your desired max height */
}

.droplist-menu a{
    width: 80vw;
}




/* Mobile Styles */
@media (max-width: 1200px) {
    .shipping-navbar {
        padding: 0 15px;
    }

    .shipping-navbar .nav-container {
        height: 60px;
        flex-wrap: wrap;
        justify-content: space-between;
        width: 100%;
        padding: 0 15px;
        box-sizing: border-box;
    }

    /* Logo iets kleiner */
    .shipping-navbar .logo-section {
        font-size: 18px;
    }

    .shipping-navbar .logo-image {
        width: 32px;
        height: 32px;
    }

    /* Links en rechts secties op mobiel naast elkaar */
    .nav-left,
    .nav-right {
        width: 30%;
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 5px;
    }

    /* Hoofdnav en login links verbergen standaard */
    .nav-main-links,
    .nav-login-links {
        display: none;
        flex-direction: column;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        width: 100%;
        padding: 20px;
        border-top: 1px solid rgba(0, 0, 0, 0.05);
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
        gap: 15px;
        margin-top: 0;
    }

    /* Toon als actief */
    .nav-main-links.active,
    .nav-login-links.active {
        display: flex;
    }

    /* Actieknoppen verbergen, komen in menu */
    .shipping-navbar .btn-signin,
    .shipping-navbar .btn-primary {
        display: none;
    }

    /* Toon mobile toggle */
    .shipping-navbar .mobile-toggle {
        display: block;
    }
}

/* Utility class om ruimte te maken voor de navbar */
.shipping-navbar-spacer {
    height: 70px;
}

@media (max-width: 768px) {
    .shipping-navbar-spacer {
        height: 60px;
    }
}