/* ========================================
   Mobile Navigation Styles
   ======================================== */

/* Mobile Menu Button (Hamburger) */
.mobile-menu-btn {
    display: block;
    background: none;
    border: none;
    color: #374151;
    font-size: 20px;
    cursor: pointer;
    padding: 10px;
    border-radius: 8px;
    transition: all 0.3s ease;
    z-index: 1000;
    min-width: 44px;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-menu-btn:hover {
    color: #eab308;
    background: rgba(254, 240, 138, 0.5);
}

/* Mobile Menu Overlay */
.mobile-menu-overlay,
.mobile-overlay {
    position: fixed;
    inset: 0;
    background: rgba(17, 24, 39, 0.6);
    z-index: 1500;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mobile-menu-overlay.active,
.mobile-overlay.active,
.mobile-menu-overlay.open,
.mobile-overlay.open {
    opacity: 1;
    visibility: visible;
}

/* Mobile Menu Panel */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 320px;
    height: 100vh;
    background: #fff;
    border-left: 1px solid rgba(234, 179, 8, 0.2);
    transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 2000;
    overflow-y: auto;
    box-shadow: -12px 0 30px rgba(17, 24, 39, 0.15);
    display: flex;
    flex-direction: column;
}

.mobile-menu.active,
.mobile-menu.open {
    right: 0;
}

/* Mobile Menu Header */
.mobile-menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px;
    border-bottom: 1px solid #f3f4f6;
    background: #fff;
}

.mobile-menu-header img {
    height: 40px;
    width: auto;
}

/* Mobile Close Button */
.mobile-menu-close,
.mobile-close-btn {
    background: none;
    border: none;
    font-size: 20px;
    color: #6b7280;
    cursor: pointer;
    padding: 10px;
    border-radius: 10px;
    transition: all 0.3s ease;
    min-width: 44px;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-menu-close:hover,
.mobile-close-btn:hover {
    background: rgba(254, 240, 138, 0.5);
    color: #eab308;
}

/* Mobile Navigation Links */
.mobile-nav {
    padding: 24px 0;
    flex-grow: 1;
}

.mobile-nav-item {
    margin-bottom: 4px;
}

.mobile-nav-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 24px;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    color: #374151;
    transition: all 0.2s ease;
    letter-spacing: 0.02em;
    min-height: 48px;
}

.mobile-nav-link:hover {
    color: #eab308;
    background: rgba(254, 240, 138, 0.35);
}

.mobile-nav-link span {
    flex-grow: 1;
}

/* Mobile Dropdown */
.mobile-dropdown {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: #f9fafb;
}

.mobile-dropdown.active,
.mobile-dropdown.open {
    max-height: 500px;
    border-bottom: 1px solid #f3f4f6;
}

.mobile-dropdown-item {
    display: flex;
    align-items: center;
    padding: 14px 24px 14px 48px;
    text-decoration: none;
    font-size: 15px;
    color: #6b7280;
    transition: all 0.2s ease;
    min-height: 48px;
}

.mobile-dropdown-item:hover {
    color: #eab308;
    background: rgba(254, 240, 138, 0.2);
}

/* Dropdown Arrow Animation */
.dropdown-arrow {
    transition: transform 0.3s ease;
    font-size: 12px;
}

/* Mobile Contact Section */
.mobile-contact {
    border-top: 1px solid #f3f4f6;
    padding: 24px 20px;
    background: #fff;
}

.mobile-contact-item {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}

.mobile-contact-item:last-child {
    margin-bottom: 0;
}

.mobile-contact-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 16px;
}

.mobile-contact-icon.yellow,
.mobile-contact-icon.black {
    background: #eab308;
}

.mobile-contact-item p {
    margin: 0;
    line-height: 1.4;
}

/* Responsive visibility */
@media (min-width: 1281px) {
    .mobile-menu-btn {
        display: none;
    }
}

@media (max-width: 1280px) {
    .mobile-menu-btn {
        display: flex;
    }
}

/* Mobile optimizations for small screens */
@media (max-width: 480px) {
    .mobile-menu {
        width: 100%;
        max-width: 100%;
    }
    
    .mobile-nav-link {
        font-size: 16px;
        padding: 16px 20px;
    }
    
    .mobile-dropdown-item {
        font-size: 15px;
        padding: 14px 20px 14px 40px;
    }
    
    .mobile-contact {
        padding: 20px 16px;
    }
    
    .mobile-contact-item {
        min-height: 60px;
    }
    
    .mobile-contact-icon {
        min-width: 44px;
        min-height: 44px;
    }
}
