

/* Menu Button */
.menu-button {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10001;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: relative;
}

.menu-button:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.menu-button span {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--dark-text);
    margin: 3px 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.menu-button.active span:nth-child(1) {
    transform: rotate(45deg) translateY(6px) translateX(6px);
	margin: 5.5px 0px;
}

.menu-button.active span:nth-child(2) {
    opacity: 0;
}

.menu-button.active span:nth-child(3) {
    transform: rotate(-45deg) translateY(-7px) translateX(7px);
}

/* Fullscreen Menu */
.fullscreen-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    min-height: 100vh;
    background: var(--white);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.fullscreen-menu.active {
    opacity: 1;
    visibility: visible;
}

.menu-content {
    text-align: center;
    max-width: 600px;
    width: 100%;
    padding: 20px;
}

.menu-nav {
    list-style: none;
    margin: 0;
    padding: 0;
}

.menu-nav li {
    margin: 10px 0;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease;
}

@media (min-width: 768px) {
    .menu-nav li {
        margin: 15px 0;
    }
}

.fullscreen-menu.active .menu-nav li {
    opacity: 1;
    transform: translateY(0);
}

.fullscreen-menu.active .menu-nav li:nth-child(1) { transition-delay: 0.1s; }
.fullscreen-menu.active .menu-nav li:nth-child(2) { transition-delay: 0.15s; }
.fullscreen-menu.active .menu-nav li:nth-child(3) { transition-delay: 0.2s; }
.fullscreen-menu.active .menu-nav li:nth-child(4) { transition-delay: 0.25s; }
.fullscreen-menu.active .menu-nav li:nth-child(5) { transition-delay: 0.3s; }

.menu-nav a {
    color: var(--dark-text);
    text-decoration: none;
    font-size: clamp(20px, 3vw, 32px);
    font-weight: 600;
    letter-spacing: -0.5px;
    transition: all 0.3s ease;
    display: inline-block;
    position: relative;
    padding: 5px 15px;
}

.menu-nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--primary-blue);
    transition: width 0.3s ease;
}

.menu-nav a:hover {
    color: var(--primary-blue);
}

.menu-nav a:hover::after {
    width: 100%;
}

/* Menu Close Button */
.menu-close {
    position: absolute;
    top: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--light-gray);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
}

.menu-close:hover {
    background: var(--primary-blue);
    transform: rotate(90deg) scale(1.1);
}

.menu-close:hover svg {
    color: white;
}

.menu-close svg {
    width: 24px;
    height: 24px;
    color: var(--dark-text);
    transition: color 0.3s ease;
}

/* Menu Logo */
.menu-logo {
    font-size: 24px;
    font-weight: 600;
    background: linear-gradient(90deg, var(--primary-blue), #0051D5);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 20px;
    opacity: 0;
    animation: fadeInDown 0.6s ease-out 0.1s forwards;
	overflow:hidden;
	width: auto;
	height: 100px;
}

.menu-logo img{
	display: inline-block;
	object-fit: contain;
	height: 100px;
}


/* Menu Contacts */
.menu-contacts {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--light-gray);
    opacity: 0;
    animation: fadeInUp 0.6s ease-out 0.4s forwards;
}

.menu-phone {
    font-size: 18px;
    font-weight: 600;
    color: var(--primary-blue);
    margin-bottom: 12px;
}

.menu-callback-button {
    display: inline-block;
    padding: 8px 20px;
    background: var(--primary-blue);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    margin-bottom: 12px;
}

.menu-work-hours {
    font-size: 13px;
    color: var(--gray-text);
    line-height: 1.4;
}

.menu-callback-button:hover {
    background: #0051D5;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 113, 227, 0.3);
}

.menu-work-hours {
    font-size: 14px;
    color: var(--gray-text);
    line-height: 1.6;
}

.menu-work-hours strong {
    color: var(--dark-text);
    display: block;
    margin-bottom: 4px;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 767px) {
    .menu-close {
        top: 15px;
        right: 15px;
        width: 40px;
        height: 40px;
    }

    .menu-content {
        padding: 15px;
    }

    .menu-logo {
        margin-bottom: 30px;
		height: 40px;
    }

    .menu-logo img {
        height: 40px;
		width: auto;
    }

    .menu-nav li {
        margin: 8px 0;
    }

    .menu-nav a {
        font-size: 18px;
        padding: 4px 10px;
    }

    .menu-contacts {
        margin-top: 15px;
        padding-top: 15px;
    }

    .menu-phone {
        font-size: 16px;
        margin-bottom: 10px;
    }

    .menu-callback-button {
        padding: 6px 16px;
        font-size: 13px;
        margin-bottom: 10px;
    }

    .menu-work-hours {
        font-size: 12px;
    }
}
	
.menu-close {
	display: none;
}
#menuButton { position: relative; z-index: 19999; }