/* Menu Modal Styles */
.menu-modal {
    position: fixed;
    top: 30px;
    right: 30px;
    width: 350px;
    height: auto;
    background-color: #fff;
    color: #000;
    z-index: 9999999;
    opacity: 0;
    visibility: hidden;
    display: none;
    transition: all 0.3s ease;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    pointer-events: auto;
    cursor: default;
}

.menu-modal.active {
    opacity: 1;
    visibility: visible;
    display: block;
    pointer-events: auto;
}

.menu-modal-content {
    padding: 30px;
    display: flex;
    flex-direction: column;
    pointer-events: auto;
}

.menu-modal-header {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 20px;
    pointer-events: auto;
}

.menu-modal-header .logo {
    display: none;
}

.close-modal {
    cursor: pointer;
    font-size: 1rem;
    color: #000;
    width: 15px;
    height: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid #eee;
    transition: all 0.3s ease;
    line-height: 0;
}

.close-modal:hover {
    background-color: #f8f8f8;
}

.close-modal i {
    font-weight: 300;
}

.menu-modal-body {
    display: flex;
    flex-direction: column;
}

.menu-links {
    list-style: none;
    padding: 0;
    margin: 0 0 30px 0;
}

.menu-links li {
    margin-bottom: 15px;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

.menu-links li a {
    font-size: 1.5rem;
    font-weight: 500;
    color: #000;
    text-decoration: none;
    transition: color 0.3s ease, transform 0.3s ease, opacity 0.3s ease;
    opacity: 0.9;
}

.menu-links li a:hover {
    color: var(--accent-color);
    opacity: 1;
}

.menu-social {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin: 20px 0;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

.menu-social .social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid #ddd;
    color: #000;
    transition: all 0.3s ease;
}

.menu-social .social-icon:hover {
    background-color: #fff;
    border-color: #000;
    color: #000;
}

.menu-email {
    text-align: center;
    margin-top: 10px;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

.menu-email a {
    color: #000;
    font-size: 1rem;
    text-decoration: none;
    transition: color 0.3s ease;
}

.menu-email a:hover {
    color: var(--accent-color);
}

/* Menu button and icon styles */
.nav-right .menu-text {
    margin-right: 0.5rem;
    font-weight: 500;
    cursor: pointer;
}

.nav-right .menu-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #fff;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.nav-right .menu-icon:hover {
    transform: scale(1.05);
}

.nav-right .menu-dots {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 4px;
    width: 14px;
    height: 14px;
    transition: transform 0.4s ease;
}

.nav-right .menu-icon:hover .menu-dots {
    animation: rotateClockwise 0.6s ease forwards;
}

@keyframes rotateClockwise {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.nav-right .dot {
    width: 5px;
    height: 5px;
    background-color: #000;
    border-radius: 50%;
}

/* Responsive styles */
@media (max-width: 768px) {
    .menu-modal {
        width: 90%;
        right: 5%;
        top: 70px;
    }
}
