/* Mobile Menu Overlay Styles - Added from index.html */
.mobile-nav-overlay {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 9998;
    display: none;
    backdrop-filter: blur(4px);
}

.mobile-nav-overlay.active {
    display: block;
}

.mobile-nav-content {
    position: absolute;
    top: 0;
    right: -300px;
    width: 300px;
    height: 100%;
    background: white;
    padding: 30px;
    display: flex;
    flex-direction: column;
    box-shadow: -5px 0 25px rgba(0, 0, 0, 0.2);
    transition: right 0.4s cubic-bezier(0.77, 0, 0.175, 1);
}

.mobile-nav-overlay.active .mobile-nav-content {
    right: 0;
}

.mobile-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 50px;
    border-bottom: 1px solid #eee;
    padding-bottom: 20px;
}

.close-btn {
    font-size: 1.5rem;
    color: var(--text-dark);
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #f5f5f5;
    transition: var(--transition);
}

.close-btn:hover {
    background: #ffebee;
    color: var(--accent);
}

.mobile-links a {
    display: block;
    padding: 15px 0;
    font-size: 1.2rem;
    font-weight: 500;
    border-bottom: 1px solid #f9f9f9;
    transform: translateX(20px);
    opacity: 0;
    transition: all 0.3s ease;
}

.mobile-nav-overlay.active .mobile-links a {
    transform: translateX(0);
    opacity: 1;
}

.mobile-nav-overlay.active .mobile-links a:nth-child(1) {
    transition-delay: 0.1s;
}

.mobile-nav-overlay.active .mobile-links a:nth-child(2) {
    transition-delay: 0.2s;
}

.mobile-nav-overlay.active .mobile-links a:nth-child(3) {
    transition-delay: 0.3s;
}

.mobile-nav-overlay.active .mobile-links a:nth-child(4) {
    transition-delay: 0.4s;
}

.mobile-nav-overlay.active .mobile-links a:nth-child(5) {
    transition-delay: 0.5s;
}

.mobile-nav-overlay.active .mobile-links a:nth-child(6) {
    transition-delay: 0.6s;
}

.hamburger {
    display: none;
    font-size: 1.6rem;
    color: var(--primary);
    cursor: pointer;
    padding: 5px;
}

@media (max-width: 768px) {
    .hamburger {
        display: block;
    }
}