/* Fullscreen Menu Styles */

.fullscreen-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    overflow: hidden;
}

.fullscreen-menu.active {
    opacity: 1;
    visibility: visible;
}

.menu-content {
    text-align: center;
    width: 100%;
    opacity: 0;
}

.fullscreen-menu.active .menu-content {
    animation: slideInMenu 0.6s ease-out forwards;
}

@keyframes slideInMenu {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Menu List */
.menu-list {
    list-style: none;
    margin-bottom: 60px;
    padding: 0;
}

.menu-list li {
    margin: 30px 0;
    opacity: 0;
    list-style: none;
}

.fullscreen-menu.active .menu-list li {
    animation: slideInMenuItem 0.5s ease-out forwards;
}

.fullscreen-menu.active .menu-list li:nth-child(1) { animation-delay: 0.2s; }
.fullscreen-menu.active .menu-list li:nth-child(2) { animation-delay: 0.3s; }
.fullscreen-menu.active .menu-list li:nth-child(3) { animation-delay: 0.4s; }
.fullscreen-menu.active .menu-list li:nth-child(4) { animation-delay: 0.5s; }
.fullscreen-menu.active .menu-list li:nth-child(5) { animation-delay: 0.6s; }
.fullscreen-menu.active .menu-list li:nth-child(6) { animation-delay: 0.7s; }

@keyframes slideInMenuItem {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.menu-link {
    font-size: 48px;
    font-weight: 700;
    color: white !important;
    text-decoration: none !important;
    display: inline-block;
    position: relative;
    transition: all 0.3s ease;
    letter-spacing: -1px;
}

.menu-link::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, #d5dfbd, #7C1E8F);
    transition: width 0.3s ease;
}

.menu-link:hover {
    color: #d5dfbd;
}

.menu-link:hover::after {
    width: 100%;
}

/* Menu Footer */
.menu-footer {
    opacity: 0;
    margin-top: 40px;
}

.fullscreen-menu.active .menu-footer {
    animation: slideInMenuItem 0.5s ease-out 0.7s forwards;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 40px;
}

.social-link {
    color: #d5dfbd;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    position: relative;
    transition: all 0.3s ease;
    letter-spacing: 1px;
}

.social-link::before {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 0;
    height: 2px;
    background: #d5dfbd;
    transition: width 0.3s ease;
}

.social-link:hover {
    color: white;
}

.social-link:hover::before {
    width: 100%;
}

/* Menu Button Animation */
.menu_btn {
    position: relative;
    z-index: 1000;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.menu_lines {
    display: flex;
    flex-direction: column;
    gap: 5px;
    position: relative;
    width: 24px;
    height: 16px;
}

.line_one,
.line_two {
    width: 24px;
    height: 2px;
    background: #000;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    display: block;
    position: absolute;
    left: 0;
}

.line_one {
    top: 0;
}

.line_two {
    top: 8px;
}

.menu_btn.active .line_one {
    transform: rotate(45deg) translate(-6px, 8px);
    background: white;
    top: 50%;
    margin-top: -1px;
}

.menu_btn.active .line_two {
    transform: rotate(-45deg) translate(-8px, -7px);
    background: white;
    top: 50%;
    margin-top: -1px;
}

/* Menu Close Button */
.menu-close {
    position: absolute;
    top: 30px;
    right: 40px;
    background: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 1001;
    padding: 0;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.menu-close::before,
.menu-close::after {
    content: '';
    position: absolute;
    width: 28px;
    height: 3px;
    background: white;
    transition: all 0.3s ease;
}

.menu-close::before {
    transform: rotate(45deg);
}

.menu-close::after {
    transform: rotate(-45deg);
}

.menu-close:hover::before,
.menu-close:hover::after {
    background: #d5dfbd;
    width: 32px;
}

/* Responsive */
@media (max-width: 768px) {
    .menu-link {
        font-size: 32px;
    }

    .social-links {
        gap: 20px;
    }

    .social-link {
        font-size: 12px;
    }

    .menu-close {
        top: 20px;
        right: 20px;
        font-size: 35px;
    }

    .menu-list li {
        margin: 15px 0;
    }
}

@media (max-width: 480px) {
    .menu-link {
        font-size: 24px;
    }

    .menu-list li {
        margin: 12px 0;
    }

    .menu-close {
        top: 15px;
        right: 15px;
        font-size: 28px;
    }
}
