/* ===================================
   MINIMAL RESPONSIVE NAVIGATION
   Only affects navbar - preserves existing styles
   ================================== */

/* Mobile menu toggle button - hidden by default */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 8px;
    transition: background 0.3s ease;
}

.mobile-menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background: #2c5282;
    margin: 5px 0;
    transition: 0.3s;
    border-radius: 2px;
}

.mobile-menu-toggle:hover {
    background: rgba(74, 158, 255, 0.1);
}

/* Animated hamburger menu */
.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

/* Mobile styles - only applied on small screens */
@media (max-width: 767px) {
    /* Show mobile toggle button */
    .mobile-menu-toggle {
        display: block;
    }
    
    /* Mobile menu - hidden by default with smooth transitions */
    .navbar .links {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(15px);
        flex-direction: column;
        padding: 1rem;
        border-radius: 0 0 20px 20px;
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
        z-index: 1000;
        
        /* Hidden by default */
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        transition: all 0.3s ease;
        display: flex;
    }
    
    /* Show navigation when active */
    .navbar .links.active {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
    
    /* Mobile menu close button */
    .mobile-menu-close {
        position: absolute;
        top: 10px;
        right: 15px;
        background: none;
        border: none;
        cursor: pointer;
        padding: 5px;
        border-radius: 50%;
        width: 35px;
        height: 35px;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: background 0.3s ease;
        z-index: 1001;
    }
    
    .mobile-menu-close:hover {
        background: rgba(44, 82, 130, 0.1);
    }
    
    .mobile-menu-close span {
        
        display: none;
    }
    
    /* Style mobile menu links */
    .navbar .links a {
        padding: 0.8rem 1rem;
        width: 90px;
        height: 50px;
        margin: 0.2rem 0;
        border-radius: 40px;
        text-align: center;
        font-size: 1rem;
    }
    
    /* Ensure navbar is relative for absolute positioning */
    .navbar {
        position: relative;
    }
}

/* Tablet and desktop - preserve original layout */
@media (min-width: 768px) {
    .mobile-menu-toggle {
        display: none !important;
        
    }
    
    .navbar .links {
        display: flex !important;
        
    }
}
