/* Hamburger Menu Styles */
.hamburger-menu {
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 1000;
}

.hamburger-btn {
    background: #002d5c;
    color: white;
    border: none;
    border-radius: 0;
    width: 50px;
    height: 50px;
    font-size: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: none;
    transition: all 0.3s ease;
}

.hamburger-btn:hover {
    background: #001a3d;
    transform: scale(1.05);
}

.menu-overlay.active .hamburger-btn {
    z-index: -1;
}

.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 12000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.menu-content {
    position: fixed;
    top: 0;
    left: -300px;
    width: 280px;
    height: 100%;
    background: white;
    padding: 20px;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
    transition: left 0.3s ease;
    overflow-y: auto;
    z-index: 12000;
}

.menu-overlay.active .menu-content {
    left: 0;
}

.menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.menu-header h3 {
    margin: 0;
    color: #002d5c;
}

.close-btn {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #666;
    padding: 5px;
}

.close-btn:hover {
    color: #333;
}

.menu-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.menu-links li {
    margin-bottom: 10px;
}

.menu-links a {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    color: #333;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.menu-links a i {
    margin-right: 10px;
    width: 20px;
    text-align: center;
}

.menu-links a:hover,
.menu-links a.active {
    background: #f0f7fa;
    color: #1a5f7a;
}

.menu-links a.active {
    font-weight: 600;
}

/* Responsive adjustments */
@media (max-width: 480px) {
    .hamburger-menu {
        top: 10px;
        left: 10px;
    }
    
    .hamburger-btn {
        width: 44px;
        height: 44px;
        font-size: 20px;
    }
    
    .menu-content {
        width: 85%;
    }
}

/* Adjust zoom control position to avoid overlapping hamburger menu on smaller screens */
@media (max-width: 768px) {
    .leaflet-control-zoom {
        top: 80px !important;
    }
}
