/* Navigation-Styles */
.widget-navigation {
    display: flex;
    align-items: center;
}

.widget-navigation-list {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 15px;
}

.widget-navigation-item {
    margin: 0;
}

.widget-navigation-link {
    color: #333333;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    text-transform: uppercase;
    padding: 10px 20px;
    border-radius: 4px;
    transition: all 0.3s ease;
    letter-spacing: 1px;
}

.widget-navigation-link:hover {
    background-color: #f39324;
    color: #ffffff;
}

.widget-navigation-link.active {
    background-color: #f39324;
    color: #ffffff;
}

/* Hamburger Menu Button */
.hamburger-menu-button {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 24px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
    position: relative;
}

.hamburger-line {
    width: 100%;
    height: 3px;
    background-color: #333333;
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Hamburger Animation when Active */
.hamburger-menu-button.active .hamburger-line:nth-child(1) {
    transform: translateY(10.5px) rotate(45deg);
}

.hamburger-menu-button.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.hamburger-menu-button.active .hamburger-line:nth-child(3) {
    transform: translateY(-10.5px) rotate(-45deg);
}

/* Mobile Navigation */
@media (max-width: 768px) {
    /* Show Hamburger Button */
    .hamburger-menu-button {
        display: flex;
    }
    
    /* Hide Navigation by Default on Mobile */
    .widget-navigation {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background-color: #ffffff;
        box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
        transition: right 0.3s ease;
        z-index: 1000;
        padding: 80px 0 40px 0;
        overflow-y: auto;
    }
    
    /* Show Navigation when Mobile Open */
    .widget-navigation.mobile-open {
        right: 0;
    }
    
    .widget-navigation-list {
        flex-direction: column;
        gap: 0;
        width: 100%;
    }
    
    .widget-navigation-item {
        width: 100%;
        border-bottom: 1px solid #f0f0f0;
    }
    
    .widget-navigation-link {
        display: block;
        width: 100%;
        font-size: 16px;
        padding: 18px 30px;
        border-radius: 0;
        text-align: left;
    }
    
    .widget-navigation-link:hover {
        background-color: #fff5eb;
        color: #f39324;
    }
    
    .widget-navigation-link.active {
        background-color: #fff5eb;
        color: #f39324;
        border-left: 4px solid #f39324;
    }
}

/* Overlay when Mobile Menu is Open */
@media (max-width: 768px) {
    body::after {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.5);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        z-index: 999;
        pointer-events: none;
    }
    
    body.mobile-menu-open::after {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }
}

/* Desktop Navigation (Above 768px) */
@media (min-width: 769px) {
    .hamburger-menu-button {
        display: none !important;
    }
}