/* Navigation Menu Styles */
.nav-menu {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1.5rem;
    background: white;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    position: relative;
    z-index: 1000;
    width: 100%;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: bold;
    font-size: 1.25rem;
    color: #333;
    text-decoration: none;
}

.nav-brand img {
    width: 32px;
    height: 32px;
}

.nav-items {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex: 1;
    justify-content: center;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.dropdown {
    position: relative;
}

.dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.5rem 0.75rem;
    cursor: pointer;
    color: #333;
    font-weight: 500;
    background: none;
    border: none;
    border-radius: 6px;
    transition: background-color 0.2s;
    text-decoration: none;
    white-space: nowrap;
}

.dropdown-toggle:hover {
    background-color: #f8f9fa;
    color: #333;
    text-decoration: none;
}

.w-icon-dropdown-toggle {
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 4px solid #666;
    transition: transform 0.2s;
    margin-left: 0.25rem;
}

.dropdown:hover .w-icon-dropdown-toggle {
    transform: rotate(180deg);
}

.dropdown-list {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    min-width: 800px;
    background: white;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    border-radius: 12px;
    opacity: 0;
    visibility: hidden;
    transform: translateX(-50%) translateY(10px);
    transition: all 0.3s ease;
    z-index: 1000;
    border: 1px solid #e9ecef;
}

.dropdown:hover .dropdown-list {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.dropdown-list-full-width {
    padding: 2rem;
}

.navigation-drop-wrapper {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.navigation-drop-wrapper._3-rows {
    grid-template-columns: repeat(3, 1fr);
}

.navigation-column {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.navigation-link-block {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    border-radius: 8px;
    transition: all 0.2s;
    text-decoration: none;
    color: inherit;
    border: 1px solid transparent;
}

.navigation-link-block:hover {
    background-color: #f8f9fa;
    border-color: #e9ecef;
    text-decoration: none;
    color: inherit;
}

.navigation-link-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.navigation-link-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.nav-content-wrap {
    flex: 1;
}

.nav-title {
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: #333;
    font-size: 0.95rem;
}

.navlink-detail {
    font-size: 0.8rem;
    color: #666;
    line-height: 1.4;
}

.w-nav-link {
    color: #333;
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 0.75rem;
    border-radius: 6px;
    transition: all 0.2s;
    white-space: nowrap;
}

.w-nav-link:hover {
    color: #007bff;
    background-color: #f8f9fa;
    text-decoration: none;
}

.button.nav-mobile {
    background-color: #007bff;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    transition: background-color 0.2s;
    border: none;
    white-space: nowrap;
}

.button.nav-mobile:hover {
    background-color: #0056b3;
    color: white;
    text-decoration: none;
}

.nav-sign-in {
    color: #333;
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 0.75rem;
    border-radius: 6px;
    transition: all 0.2s;
    white-space: nowrap;
}

.nav-sign-in:hover {
    color: #007bff;
    background-color: #f8f9fa;
    text-decoration: none;
}

/* Remove any conflicting text-block styles */
.text-block.dropdown.dropdown-toggle {
    padding: 0.5rem 0.75rem;
    border-radius: 6px;
    white-space: nowrap;
}

/* Ensure proper layering */
.dropdown-list::before {
    content: '';
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 20px;
    background: white;
    border: 1px solid #e9ecef;
    border-bottom: none;
    border-right: none;
    transform: translateX(-50%) rotate(45deg);
}

/* Responsive Styles */
@media (max-width: 1200px) {
    .nav-menu {
        padding: 0.75rem 1rem;
    }
    
    .nav-items {
        gap: 0.25rem;
    }
    
    .dropdown-toggle, .w-nav-link, .nav-sign-in {
        padding: 0.5rem;
        font-size: 0.9rem;
    }
    
    .dropdown-list {
        min-width: 600px;
    }
    
    .navigation-drop-wrapper {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-menu {
        flex-direction: column;
        padding: 1rem;
        gap: 1rem;
    }
    
    .nav-items {
        flex-direction: column;
        gap: 1rem;
        width: 100%;
    }
    
    .nav-actions {
        width: 100%;
        justify-content: center;
    }

    .dropdown-list {
        position: static;
        width: 100%;
        min-width: auto;
        box-shadow: none;
        border: none;
        border-radius: 0;
        transform: none;
        opacity: 1;
        visibility: visible;
        margin-top: 1rem;
    }
    
    .dropdown-list::before {
        display: none;
    }

    .dropdown-list-full-width {
        padding: 1rem;
    }

    .navigation-drop-wrapper {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .dropdown-toggle {
        justify-content: center;
        width: 100%;
    }
} 