/* ========================================
   FULLSCREEN MOBILE MENU - PREMIUM DESIGN
   With Wheel-Style Services Panel
   ======================================== */

/* Hamburger Toggle Button */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #14b8a6, #0ea5e9);
    border: none;
    border-radius: 12px;
    cursor: pointer;
    padding: 12px;
    gap: 5px;
    z-index: 1001;
    box-shadow: 0 4px 15px rgba(20, 184, 166, 0.3);
    transition: all 0.3s ease;
}

.mobile-menu-toggle:hover {
    transform: scale(1.05);
}

.hamburger-line {
    display: block;
    width: 24px;
    height: 3px;
    background: white;
    border-radius: 3px;
    transition: all 0.3s ease;
}

.mobile-menu-toggle.active .line-1 {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-toggle.active .line-2 {
    opacity: 0;
}

.mobile-menu-toggle.active .line-3 {
    transform: rotate(-45deg) translate(6px, -6px);
}

@media (max-width: 991.98px) {
    .mobile-menu-toggle {
        display: flex;
    }
}

/* ========================================
   MAIN FULLSCREEN MENU PANEL
   ======================================== */
.mobile-menu-fullscreen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transform: translateX(100%);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
}

.mobile-menu-fullscreen.active {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background: white;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    flex-shrink: 0;
}

.mobile-menu-logo img {
    height: 38px;
}

.mobile-menu-close {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, #f1f5f9, #e2e8f0);
    border: none;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: #64748b;
    cursor: pointer;
    transition: all 0.3s ease;
}

.mobile-menu-close:hover {
    background: linear-gradient(135deg, #fee2e2, #fecaca);
    color: #ef4444;
}

.mobile-menu-content {
    flex: 1;
    overflow-y: auto;
    padding: 15px;
}

.mobile-menu-nav {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-menu-item {
    margin-bottom: 8px;
}

.mobile-menu-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 20px;
    font-size: 1.1rem;
    font-weight: 600;
    color: #1e293b;
    text-decoration: none;
    background: white;
    border-radius: 16px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.mobile-menu-link:hover {
    background: linear-gradient(135deg, rgba(20, 184, 166, 0.08), rgba(14, 165, 233, 0.08));
    color: #0ea5e9;
}

.mobile-menu-link i {
    font-size: 0.85rem;
    color: #94a3b8;
    transition: all 0.3s ease;
}

.mobile-menu-item.has-submenu.open .mobile-menu-link {
    background: linear-gradient(135deg, #14b8a6, #0ea5e9);
    color: white;
}

.mobile-menu-item.has-submenu.open .mobile-menu-link i {
    color: white;
    transform: rotate(180deg);
}

/* Simple Submenu */
.mobile-submenu-simple {
    display: none;
    padding: 10px 0 5px 0;
}

.mobile-menu-item.has-submenu.open .mobile-submenu-simple {
    display: block;
    animation: fadeSlideDown 0.3s ease;
}

.simple-submenu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.simple-submenu li {
    margin-bottom: 5px;
}

.simple-submenu a {
    display: flex;
    align-items: center;
    padding: 14px 20px;
    font-size: 1rem;
    font-weight: 500;
    color: #64748b;
    text-decoration: none;
    background: white;
    border-radius: 12px;
    margin-left: 15px;
    transition: all 0.3s ease;
}

.simple-submenu a i {
    margin-right: 10px;
    color: #0ea5e9;
}

.simple-submenu a:hover {
    background: linear-gradient(135deg, rgba(20, 184, 166, 0.1), rgba(14, 165, 233, 0.1));
    color: #0ea5e9;
}

/* ========================================
   SERVICES PANEL - SOFT & CREATIVE DESIGN
   All services visible by default
   ======================================== */
.services-wheel-panel {
    position: fixed;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    background: linear-gradient(160deg, #f8fafc 0%, #e0f2fe 50%, #f0fdf4 100%);
    z-index: 10001;
    transition: left 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.services-wheel-panel.active {
    left: 0;
}

/* Soft Decorative Background */
.wheel-bg-decoration {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    filter: blur(60px);
}

.wheel-bg-decoration.circle-1 {
    width: 350px;
    height: 350px;
    background: linear-gradient(135deg, rgba(20, 184, 166, 0.2), rgba(14, 165, 233, 0.15));
    top: -120px;
    left: -100px;
}

.wheel-bg-decoration.circle-2 {
    width: 280px;
    height: 280px;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.12), rgba(236, 72, 153, 0.1));
    bottom: 20px;
    right: -80px;
}

/* Panel Header */
.wheel-panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.5);
    position: relative;
    z-index: 10;
}

.wheel-panel-title {
    display: flex;
    align-items: center;
    gap: 0;
    color: #0f172a;
    font-size: 1.5rem;
    font-weight: 800;
    margin: 0;
    letter-spacing: -0.02em;
}

.wheel-panel-title i {
    display: none;
}

.wheel-panel-close {
    width: 42px;
    height: 42px;
    background: white;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: #64748b;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.wheel-panel-close:hover {
    background: #fef2f2;
    border-color: #fecaca;
    color: #ef4444;
    transform: scale(1.1);
}

/* Services Container */
.wheel-container {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
    position: relative;
    z-index: 10;
}

.wheel-categories {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

@media (max-width: 400px) {
    .wheel-categories {
        grid-template-columns: 1fr;
    }
}

/* Service Category Card - Always Open */
.wheel-category {
    background: white;
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 24px;
    padding: 20px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04), 0 1px 3px rgba(0, 0, 0, 0.02);
}

.wheel-category::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #14b8a6, #0ea5e9, #8b5cf6);
    border-radius: 24px 24px 0 0;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.wheel-category:hover::before {
    opacity: 1;
}

.wheel-category:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(20, 184, 166, 0.12), 0 4px 12px rgba(0, 0, 0, 0.04);
}

/* Category Header - Simplified */
.wheel-category-header {
    display: flex;
    align-items: center;
    margin-bottom: 16px;
    padding: 0;
    cursor: default;
}

.wheel-category-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #e0f2fe, #ccfbf1);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: #0d9488;
    margin-right: 14px;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.wheel-category:hover .wheel-category-icon {
    background: linear-gradient(135deg, #14b8a6, #0ea5e9);
    color: white;
    transform: scale(1.05) rotate(-5deg);
    box-shadow: 0 6px 20px rgba(20, 184, 166, 0.3);
}

.wheel-category-info {
    flex: 1;
}

.wheel-category-title {
    font-size: 1rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 2px 0;
}

.wheel-category-count {
    font-size: 0.75rem;
    color: #94a3b8;
    font-weight: 500;
}

/* Hide Arrow - Not needed anymore */
.wheel-category-arrow {
    display: none;
}

/* Service Links - Always Visible */
.wheel-category-links {
    display: block !important;
    padding: 0;
    margin: 0;
    border: none;
}

.wheel-category-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.wheel-category-links li {
    margin: 0;
}

.wheel-category-links a {
    display: flex;
    align-items: center;
    padding: 12px 14px;
    background: linear-gradient(135deg, #f8fafc, #f1f5f9);
    border-radius: 12px;
    color: #475569;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.wheel-category-links a::before {
    content: '';
    width: 6px;
    height: 6px;
    background: linear-gradient(135deg, #14b8a6, #0ea5e9);
    border-radius: 50%;
    margin-right: 10px;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.wheel-category-links a:hover {
    background: white;
    border-color: rgba(20, 184, 166, 0.2);
    color: #0d9488;
    transform: translateX(4px);
    box-shadow: 0 4px 12px rgba(20, 184, 166, 0.1);
}

.wheel-category-links a:hover::before {
    transform: scale(1.5);
    box-shadow: 0 0 8px rgba(20, 184, 166, 0.5);
}

/* ========================================
   ANIMATIONS
   ======================================== */
@keyframes fadeSlideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

body.mobile-menu-open {
    overflow: hidden;
}

@media (max-width: 991.98px) {
    .navbar-collapse {
        display: none !important;
    }
}