/**
 * See And Boss Vocens - Mobile Menu Modal Styles
 * vocens.cloud
 */

/* ==================== Mobile Menu Button ==================== */
.sb-mobile-menu-btn {
    position: relative;
    display: inline-flex;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #7c7c7c 0%, #2a2a2a 100%);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    z-index: 9999;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.sb-mobile-menu-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.sb-mobile-menu-btn span {
    width: 25px;
    height: 3px;
    background: white;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.sb-mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
}

.sb-mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.sb-mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* ==================== Modal Menu ==================== */
.sb-modal-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.95);
    z-index: 9998;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}

.sb-modal-menu.active {
    opacity: 1;
    visibility: visible;
}

.sb-modal-content {
    width: 100%;
    max-width: 500px;
    padding: 40px;
    transform: translateY(-50px);
    transition: transform 0.4s ease;
}

.sb-modal-menu.active .sb-modal-content {
    transform: translateY(0);
}

/* Menu Items */
.sb-menu-items {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sb-menu-items li {
    margin-bottom: 5px;
    opacity: 0;
    transform: translateX(-30px);
    animation: slideIn 0.5s ease forwards;
}

.sb-modal-menu.active .sb-menu-items li:nth-child(1) { animation-delay: 0.1s; }
.sb-modal-menu.active .sb-menu-items li:nth-child(2) { animation-delay: 0.2s; }
.sb-modal-menu.active .sb-menu-items li:nth-child(3) { animation-delay: 0.3s; }
.sb-modal-menu.active .sb-menu-items li:nth-child(4) { animation-delay: 0.4s; }
.sb-modal-menu.active .sb-menu-items li:nth-child(5) { animation-delay: 0.5s; }
.sb-modal-menu.active .sb-menu-items li:nth-child(6) { animation-delay: 0.6s; }
.sb-modal-menu.active .sb-menu-items li:nth-child(7) { animation-delay: 0.7s; }
.sb-modal-menu.active .sb-menu-items li:nth-child(8) { animation-delay: 0.8s; }
.sb-modal-menu.active .sb-menu-items li:nth-child(9) { animation-delay: 0.9s; }
.sb-modal-menu.active .sb-menu-items li:nth-child(10) { animation-delay: 1.0s; }

@keyframes slideIn {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.sb-menu-items a {
    display: block;
    color: white;
    text-decoration: none;
    font-size: 28px;
    font-weight: 600;
    padding: 20px 30px;
    border-radius: 15px;
    background: linear-gradient(135deg, rgba(124, 124, 124, 0.1) 0%, rgba(42, 42, 42, 0.1) 100%);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.sb-menu-items a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #7c7c7c 0%, #2a2a2a 100%);
    transition: left 0.3s ease;
    z-index: -1;
}

.sb-menu-items a:hover::before {
    left: 0;
}

.sb-menu-items a:hover {
    transform: translateX(10px);
    box-shadow: 0 5px 20px rgba(124, 124, 124, 0.3);
}

/* Dropdown Menu */
.sb-menu-item {
    position: relative;
}

.sb-dropdown-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.sb-dropdown-arrow {
    transition: transform 0.3s ease;
    font-size: 20px;
}

.sb-menu-item.active .sb-dropdown-arrow {
    transform: rotate(180deg);
}

.sb-submenu {
    list-style: none;
    padding: 0;
    margin: 10px 0 0 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.sb-menu-item.active .sb-submenu {
    max-height: 500px;
}

.sb-submenu li {
    margin-bottom: 0;
    animation: none;
    opacity: 1;
    transform: translateX(0);
}

.sb-submenu a {
    font-size: 20px;
    padding: 12px 30px 12px 45px;
    background: linear-gradient(135deg, rgba(124, 124, 124, 0.05) 0%, rgba(42, 42, 42, 0.05) 100%);
    margin-bottom: 5px;
}

.sb-submenu a:hover {
    transform: translateX(15px);
}

/* Contact Info */
.sb-contact-info {
    margin-top: 40px;
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    opacity: 0;
    transform: translateY(20px);
}

.sb-modal-menu.active .sb-contact-info {
    animation: fadeInUp 0.5s ease 0.8s forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.sb-contact-info p {
    margin: 10px 0;
}

.sb-contact-info a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
}

.sb-contact-info a:hover {
    color: #7c7c7c;
}

/* ==================== Responsive Design ==================== */
@media (max-width: 768px) {
    .sb-modal-content {
        padding: 30px 20px;
    }

    .sb-menu-items a {
        font-size: 24px;
        padding: 15px 20px;
    }
}

@media (max-width: 480px) {
    .sb-mobile-menu-btn {
        width: 50px;
        height: 50px;
    }

    .sb-mobile-menu-btn span {
        width: 20px;
        height: 2.5px;
    }

    .sb-menu-items a {
        font-size: 20px;
        padding: 12px 15px;
    }

    .sb-submenu a {
        font-size: 16px;
        padding: 10px 20px 10px 35px;
    }

    .sb-dropdown-arrow {
        font-size: 16px;
    }
}
