/* ========== RESPONSIVE NAVIGATION STYLES ========== */

/* Mobile Menu Toggle Button */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 25px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.mobile-menu-toggle span {
    width: 100%;
    height: 3px;
    background: #64748B;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Nav Menu Container */
.nav-menu {
    display: flex;
    align-items: center;
    gap: 3rem;
}

/* Button Styling - Reduced Height */
nav .btn {
    padding: 0.5rem 1.2rem;
    border-radius: 0;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 1px solid transparent;
    display: inline-block;
    white-space: nowrap;
}

nav .btn-primary {
    background: var(--primary, #2563EB);
    color: var(--white, #FFFFFF);
}

nav .btn-primary:hover {
    background: #1D4ED8;
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.4);
}

/* ========== MOBILE RESPONSIVE ========== */
@media (max-width: 768px) {
    /* Show hamburger menu */
    .mobile-menu-toggle {
        display: flex;
    }
    
    /* Hide desktop menu by default */
    .nav-menu {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    }
    
    .nav-menu.active {
        max-height: 500px;
        padding: 1rem 0;
    }
    
    /* Navigation Links */
    .nav-links {
        flex-direction: column;
        gap: 0;
        width: 100%;
        padding: 0;
    }
    
    .nav-links li {
        width: 100%;
        border-bottom: 1px solid #E2E8F0;
    }
    
    .nav-links a {
        display: block;
        padding: 1rem 2rem;
        width: 100%;
        transition: background 0.2s ease;
    }
    
    .nav-links a:hover {
        background: #F8FAFC;
    }
    
    /* Navigation Actions */
    .nav-actions {
        padding: 1rem 2rem;
        width: 100%;
    }
    
    .nav-actions .btn {
        width: 100%;
        text-align: center;
        padding: 0.75rem 1rem;
    }
    
    /* Prevent body scroll when menu is open */
    body.menu-open {
        overflow: hidden;
    }
}

/* ========== TABLET RESPONSIVE ========== */
@media (max-width: 1024px) and (min-width: 769px) {
    nav .container {
        padding: 0 1.5rem;
    }
    
    .nav-links {
        gap: 2rem;
    }
    
    .nav-menu {
        gap: 2rem;
    }
}

/* ========== SMALL MOBILE ========== */
@media (max-width: 480px) {
    nav {
        padding: 0.75rem 0;
    }
    
    nav .logo img {
        height: 35px;
    }
    
    .nav-menu {
        top: 64px;
    }
    
    .nav-links a {
        padding: 0.875rem 1.5rem;
        font-size: 0.95rem;
    }
}



