/* Import all three menu styles - compiled from SCSS */

/* Common Button Styles */
.btn-hover-dark .elementor-button,
.btn-hover-dark a.elementor-button {
    position: relative;
    overflow: hidden;
    transition: color 0.25s ease;
}

.btn-hover-dark .elementor-button::before,
.btn-hover-dark a.elementor-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.15);
    transition: width 0.25s ease-in-out;
    z-index: 0;
    border-radius: inherit;
}

.btn-hover-dark .elementor-button:hover::before,
.btn-hover-dark a.elementor-button:hover::before {
    width: 100%;
}

.btn-hover-dark .elementor-button span,
.btn-hover-dark a.elementor-button span {
    position: relative;
    z-index: 1;
}

/* Fullscreen Menu Overlay */
.fullscreen-menu-overlay {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.95);
    z-index: 9999;
    transition: right 0.4s cubic-bezier(0.77, 0, 0.175, 1);
    overflow-y: auto;
}

.fullscreen-menu-overlay.active {
    right: 0;
}

.fullscreen-menu-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 80px 20px;
}

.mobile-menu-list {
    list-style: none;
    padding: 0;
    margin: 0 0 40px 0;
    text-align: center;
}

.fullscreen-menu-overlay .menu-item {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.4s ease;
}

.fullscreen-menu-overlay.active .menu-item {
    opacity: 1;
    transform: translateY(0);
}

.fullscreen-menu-overlay.active .menu-item:nth-child(1) { transition-delay: 0.1s; }
.fullscreen-menu-overlay.active .menu-item:nth-child(2) { transition-delay: 0.2s; }
.fullscreen-menu-overlay.active .menu-item:nth-child(3) { transition-delay: 0.3s; }
.fullscreen-menu-overlay.active .menu-item:nth-child(4) { transition-delay: 0.4s; }
.fullscreen-menu-overlay.active .menu-item:nth-child(5) { transition-delay: 0.5s; }
.fullscreen-menu-overlay.active .menu-item:nth-child(6) { transition-delay: 0.6s; }
.fullscreen-menu-overlay.active .menu-item:nth-child(7) { transition-delay: 0.7s; }
.fullscreen-menu-overlay.active .menu-item:nth-child(8) { transition-delay: 0.8s; }
.fullscreen-menu-overlay.active .menu-item:nth-child(9) { transition-delay: 0.9s; }
.fullscreen-menu-overlay.active .menu-item:nth-child(10) { transition-delay: 1.0s; }

.fullscreen-menu-overlay .menu-item a {
    font-size: 2.5rem;
    font-weight: 700;
    color: #ffffff;
    text-decoration: none;
    text-transform: uppercase;
    padding: 15px 0;
    display: block;
    position: relative;
    transition: color 0.3s ease;
}

.fullscreen-menu-overlay .menu-item a:hover {
    color: var(--e-global-color-primary);
}

/* Close Button */
.menu-close-btn {
    position: absolute;
    top: 30px;
    right: 30px;
    width: 40px;
    height: 40px;
    cursor: pointer;
    z-index: 10000;
}

.menu-close-btn span {
    position: absolute;
    width: 100%;
    height: 2px;
    background-color: #ffffff;
    transition: all 0.3s ease;
    top: 50%;
    left: 0;
}

.menu-close-btn span:first-child {
    transform: translateY(-50%) rotate(45deg);
}

.menu-close-btn span:last-child {
    transform: translateY(-50%) rotate(-45deg);
}

.menu-close-btn:hover span {
    background-color: var(--e-global-color-primary);
}

/* Menu Buttons */
.menu-buttons {
    margin-top: 50px;
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

.menu-buttons .elementor-button {
    background-color: var(--e-global-color-primary);
    font-family: "Dosis", Sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none;
    fill: #FFFFFF;
    color: #FFFFFF;
    border-radius: 25px;
    padding: 15px 30px;
    display: inline-block;
}

/* Side Drawer */
.menu-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
    z-index: 9998;
}

.menu-backdrop.active {
    opacity: 1;
    visibility: visible;
}

.side-drawer-menu {
    position: fixed;
    top: 0;
    right: -400px;
    width: 400px;
    max-width: 90%;
    height: 100vh;
    background-color: #ffffff;
    box-shadow: -5px 0 25px rgba(0, 0, 0, 0.3);
    z-index: 9999;
    transition: right 0.4s cubic-bezier(0.77, 0, 0.175, 1);
    overflow-y: auto;
    padding: 80px 40px;
}

.side-drawer-menu.active {
    right: 0;
}

.side-drawer-menu .menu-item {
    margin: 20px 0;
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.4s ease;
}

.side-drawer-menu.active .menu-item {
    opacity: 1;
    transform: translateX(0);
}

.side-drawer-menu.active .menu-item:nth-child(1) { transition-delay: 0.1s; }
.side-drawer-menu.active .menu-item:nth-child(2) { transition-delay: 0.15s; }
.side-drawer-menu.active .menu-item:nth-child(3) { transition-delay: 0.2s; }
.side-drawer-menu.active .menu-item:nth-child(4) { transition-delay: 0.25s; }
.side-drawer-menu.active .menu-item:nth-child(5) { transition-delay: 0.3s; }

.side-drawer-menu .menu-item a {
    font-size: 1.5rem;
    font-weight: 700;
    color: #333333;
    text-decoration: none;
    text-transform: uppercase;
    display: block;
    padding: 10px 0;
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
}

.side-drawer-menu .menu-item a:hover {
    color: var(--e-global-color-primary);
    border-bottom-color: var(--e-global-color-primary);
    transform: translateX(10px);
}

.side-drawer-menu .menu-close-btn span {
    background-color: #333333;
}

/* Circle Menu */
.circle-menu-overlay {
    position: fixed;
    top: 0;
    right: 0;
    width: 50px;
    height: 50px;
    background-color: var(--e-global-color-primary);
    border-radius: 50%;
    transform: scale(0);
    transition: all 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
}

.circle-menu-overlay.active {
    width: 200vmax;
    height: 200vmax;
    border-radius: 0;
    transform: scale(1);
}

.circle-menu-content {
    opacity: 0;
    transition: opacity 0.3s ease 0.3s;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.circle-menu-overlay.active .circle-menu-content {
    opacity: 1;
}

.circle-menu-overlay .menu-item {
    margin: 15px 0;
    opacity: 0;
    transform: scale(0.5) rotate(180deg);
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.circle-menu-overlay.active .menu-item {
    opacity: 1;
    transform: scale(1) rotate(0deg);
}

.circle-menu-overlay.active .menu-item:nth-child(1) { transition-delay: 0.4s; }
.circle-menu-overlay.active .menu-item:nth-child(2) { transition-delay: 0.5s; }
.circle-menu-overlay.active .menu-item:nth-child(3) { transition-delay: 0.6s; }
.circle-menu-overlay.active .menu-item:nth-child(4) { transition-delay: 0.7s; }
.circle-menu-overlay.active .menu-item:nth-child(5) { transition-delay: 0.8s; }

.circle-menu-overlay .menu-item a {
    font-size: 2.5rem;
    font-weight: 700;
    color: #ffffff;
    text-decoration: none;
    text-transform: uppercase;
    padding: 15px 30px;
    display: block;
    position: relative;
    transition: all 0.3s ease;
}

.circle-menu-overlay .menu-item a:hover {
    transform: scale(1.1);
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
}

.circle-menu-overlay .menu-item a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 3px;
    background-color: #ffffff;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.circle-menu-overlay .menu-item a:hover::after {
    width: 100%;
}

/* Responsive */
@media (max-width: 768px) {
    .fullscreen-menu-overlay .menu-item a {
        font-size: 1.8rem;
    }
    
    .circle-menu-overlay .menu-item a {
        font-size: 1.8rem;
    }
    
    .side-drawer-menu .menu-item a {
        font-size: 1.2rem;
    }
}