@charset "utf-8";
/* CSS Document */
 * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        :root {
            --primary-color: #20978a;
            --secondary-color: #00859d;
            --accent-color: #d92c29;
            --highlight-color: #f2bf0c;
            --border-color: rgba(255, 255, 255, 0.1);
            --service-bg: rgba(32, 151, 138, 0.15);
            --animation-duration: 0.4s;
            --box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
            --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
            --discount-color: #27ae60;
            --text-color: #ffffff;
            --bg-dark: #0a0a14;
            --card-bg: rgba(10, 10, 20, 0.8);
            --ai-color-1: #00ffcc;
            --ai-color-2: #0099ff;
            --ai-color-3: #cc00ff;
            --electric-color-1: #00f0ff;
            --electric-color-2: #ff00c8;
            --electric-color-3: #be00ff;
        }

        body {
            font-family: 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
            margin: 0;
            padding: 0;
            line-height: 1.6;
            background: var(--bg-dark);
            color: var(--text-color);
            min-height: 100vh;
            position: relative;
            overflow-x: hidden;
        }

        /* Электрические круги на фоне - ОБНОВЛЕННАЯ ВЕРСИЯ */
        .electric-circles {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: -2;
            overflow: hidden;
            perspective: 1000px;
        }

        .electric-circle {
            position: absolute;
            border-radius: 50%;
            border: 2px solid;
            animation-timing-function: ease-in-out;
            filter: blur(1px);
            transform-style: preserve-3d;
            opacity: 0.6;
            mix-blend-mode: screen;
        }

        /* ОГРОМНЫЕ круги, уходящие за экран */
        .circle-massive-1 {
            width: 1500px;
            height: 1500px;
            top: -600px;
            left: -400px;
            border-color: var(--electric-color-1);
            box-shadow: 
                0 0 120px var(--electric-color-1),
                inset 0 0 80px var(--electric-color-1);
            animation: massivePulseOne 45s infinite;
        }

        .circle-massive-2 {
            width: 1800px;
            height: 1800px;
            bottom: -800px;
            right: -500px;
            border-color: var(--electric-color-2);
            box-shadow: 
                0 0 150px var(--electric-color-2),
                inset 0 0 100px var(--electric-color-2);
            animation: massivePulseTwo 55s infinite;
            animation-delay: 10s;
        }

        /* Круги среднего размера */
        .circle-large-1 {
            width: 800px;
            height: 800px;
            top: 20%;
            left: 70%;
            border-color: var(--ai-color-1);
            box-shadow: 
                0 0 90px var(--ai-color-1),
                inset 0 0 60px var(--ai-color-1);
            animation: electricPulse 35s infinite;
            animation-delay: 5s;
        }

        .circle-large-2 {
            width: 750px;
            height: 750px;
            bottom: 30%;
            left: 5%;
            border-color: var(--ai-color-3);
            box-shadow: 
                0 0 85px var(--ai-color-3),
                inset 0 0 55px var(--ai-color-3);
            animation: electricPulse 40s infinite;
            animation-delay: 15s;
        }

        /* Меньшие, более быстрые круги */
        .circle-medium-1 {
            width: 400px;
            height: 400px;
            top: 10%;
            left: 15%;
            border-color: var(--highlight-color);
            box-shadow: 
                0 0 60px var(--highlight-color),
                inset 0 0 40px var(--highlight-color);
            animation: electricPulse 25s infinite;
            animation-delay: 7s;
        }

        .circle-medium-2 {
            width: 350px;
            height: 350px;
            bottom: 15%;
            right: 10%;
            border-color: var(--accent-color);
            box-shadow: 
                0 0 50px var(--accent-color),
                inset 0 0 35px var(--accent-color);
            animation: electricPulse 20s infinite;
            animation-delay: 12s;
        }

        .circle-medium-3 {
            width: 300px;
            height: 300px;
            top: 65%;
            left: 80%;
            border-color: var(--secondary-color);
            box-shadow: 
                0 0 45px var(--secondary-color),
                inset 0 0 30px var(--secondary-color);
            animation: electricPulse 30s infinite;
            animation-delay: 18s;
        }

        /* Анимации для огромных кругов */
        @keyframes massivePulseOne {
            0%, 100% {
                transform: translate(0, 0) scale(1) rotate(0deg);
                opacity: 0.4;
            }
            25% {
                transform: translate(-100px, 50px) scale(1.05) rotate(90deg);
                opacity: 0.6;
            }
            50% {
                transform: translate(80px, -100px) scale(1.1) rotate(180deg);
                opacity: 0.8;
            }
            75% {
                transform: translate(70px, 60px) scale(1.05) rotate(270deg);
                opacity: 0.6;
            }
        }

        @keyframes massivePulseTwo {
            0%, 100% {
                transform: translate(0, 0) scale(1) rotate(0deg);
                opacity: 0.3;
            }
            25% {
                transform: translate(120px, -80px) scale(1.08) rotate(-90deg);
                opacity: 0.5;
            }
            50% {
                transform: translate(-90px, 110px) scale(1.15) rotate(-180deg);
                opacity: 0.7;
            }
            75% {
                transform: translate(-70px, -60px) scale(1.08) rotate(-270deg);
                opacity: 0.5;
            }
        }

        @keyframes electricPulse {
            0%, 100% {
                transform: translate(0, 0) scale(1) rotate(0deg);
                opacity: 0.5;
            }
            25% {
                transform: translate(-30px, 20px) scale(1.1) rotate(90deg);
                opacity: 0.7;
            }
            50% {
                transform: translate(20px, -30px) scale(1.2) rotate(180deg);
                opacity: 0.9;
            }
            75% {
                transform: translate(25px, 15px) scale(1.1) rotate(270deg);
                opacity: 0.7;
            }
        }

        /* Электрические эффекты */
        .electric-effect {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            pointer-events: none;
            opacity: 0.4;
        }

        .electric-line {
            position: absolute;
            background: linear-gradient(90deg, 
                transparent,
                rgba(0, 240, 255, 0.9),
                rgba(0, 240, 255, 0.7),
                transparent
            );
            height: 2px;
            animation: electricFlow 3s infinite linear;
            filter: blur(0.5px);
        }

        /* Сетка с неоновым свечением */
        .cyber-grid {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: -1;
            pointer-events: none;
            display: grid;
            grid-template-columns: repeat(20, 1fr);
            grid-template-rows: repeat(20, 1fr);
            opacity: 0.1;
        }

        .grid-line {
            position: absolute;
            background-color: rgba(0, 240, 255, 0.1);
        }

        .grid-line-horizontal {
            width: 100%;
            height: 1px;
            left: 0;
        }

        .grid-line-vertical {
            width: 1px;
            height: 100%;
            top: 0;
        }

        .grid-cell {
            border: 1px solid rgba(0, 240, 255, 0.05);
            animation: gridPulse 8s infinite;
        }

        @keyframes gridPulse {
            0%, 95% {
                box-shadow: none;
            }
            5%, 10% {
                box-shadow: 0 0 5px var(--electric-color-1), 0 0 10px var(--electric-color-1);
            }
        }

        /* Анимации фона */
        @keyframes electricFlow {
            0% {
                left: -100%;
                opacity: 0;
            }
            5% {
                opacity: 1;
            }
            95% {
                opacity: 1;
            }
           100% {
                left: 100%;
                opacity: 0;
            }
        }

        /* Навигационное меню */
        .navbar {
            background: rgba(10, 10, 20, 0.85);
            box-shadow: var(--box-shadow);
            padding: 15px 0;
            position: sticky;
            top: 0;
            z-index: 1000;
            backdrop-filter: blur(10px);
            border-bottom: 1px solid var(--secondary-color);
        }

        .navbar-container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .navbar-brand img {
            height: 50px;
            transition: var(--transition);
            filter: brightness(1.2);
        }

        .navbar-brand img:hover {
            transform: scale(1.05);
        }

        .navbar-menu {
            display: flex;
            list-style: none;
            margin: 0;
            padding: 0;
        }

        .navbar-item {
            position: relative;
            margin-left: 20px;
        }

        .navbar-link {
            color: var(--text-color);
            text-decoration: none;
            font-weight: 500;
            padding: 10px 15px;
            border-radius: 4px;
            transition: var(--transition);
            display: flex;
            align-items: center;
        }

        .navbar-link:hover {
            background-color: rgba(0, 133, 157, 0.3);
            transform: translateY(-2px);
            color: var(--highlight-color);
        }

        .navbar-link i {
            margin-right: 8px;
            color: var(--secondary-color);
        }

        .dropdown-menu {
            position: absolute;
            top: 100%;
            left: 0;
            background-color: rgba(10, 10, 20, 0.95);
            border-radius: 4px;
            box-shadow: var(--box-shadow);
            min-width: 220px;
            opacity: 0;
            visibility: hidden;
            transform: translateY(10px);
            transition: var(--transition);
            z-index: 1000;
            backdrop-filter: blur(10px);
            border: 1px solid var(--secondary-color);
        }

		.dropdown-menu li {
			list-style-type: none;
		}

        .navbar-item:hover .dropdown-menu {
            opacity: 1;
            visibility: visible;
            transform: translateY(0);
        }

        .dropdown-item {
            padding: 10px 15px;
            border-bottom: 1px solid var(--border-color);
        }

        .dropdown-item:last-child {
            border-bottom: none;
        }

        .dropdown-link {
            color: var(--secondary-color);
            text-decoration: none;
            display: block;
            transition: var(--transition);
        }

        .dropdown-link:hover {
            color: var(--highlight-color);
            padding-left: 5px;
        }

        .dropdown-divider {
            height: 1px;
            background-color: var(--border-color);
            margin: 5px 0;
        }

        .dropdown-header {
            padding: 10px 15px;
            font-weight: bold;
            color: var(--primary-color);
            background-color: var(--service-bg);
        }

        .mobile-menu-btn {
            display: none;
            background: none;
            border: none;
            color: var(--text-color);
            font-size: 24px;
            cursor: pointer;
        }

        /* Заголовок страницы */
        .page-header {
            text-align: center;
            padding: 80px 20px 60px;
            position: relative;
        }

        .page-header h1 {
            font-size: 3.5em;
            font-weight: 700;
            margin-bottom: 20px;
            color: var(--ai-color-1);
            text-shadow: 0 2px 15px rgba(0, 255, 204, 0.5);
            position: relative;
            display: inline-block;
        }

        .page-header h1::after {
            content: '';
            position: absolute;
            bottom: -15px;
            left: 50%;
            transform: translateX(-50%);
            width: 100px;
            height: 4px;
            background: linear-gradient(90deg, var(--electric-color-1), var(--electric-color-2));
            border-radius: 2px;
        }

        .page-header p {
            font-size: 1.2em;
            max-width: 800px;
            margin: 0 auto;
            opacity: 0.9;
        }

        /* Галерея */
        .gallery-container {
            max-width: 1400px;
            margin: 0 auto;
            padding: 20px;
            padding-bottom: 100px;
        }

        .gallery-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
            gap: 25px;
        }

        .gallery-item {
            position: relative;
            border-radius: 15px;
            overflow: hidden;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
            transition: var(--transition);
            animation: floatCard 8s ease-in-out infinite;
            background: var(--card-bg);
            backdrop-filter: blur(5px);
            border: 1px solid var(--border-color);
            height: 280px;
            cursor: pointer;
        }

        .gallery-item:nth-child(3n+1) { 
            animation-delay: 0s; 
            border-color: rgba(0, 255, 204, 0.3);
        }
        .gallery-item:nth-child(3n+2) { 
            animation-delay: 2s; 
            border-color: rgba(0, 153, 255, 0.3);
        }
        .gallery-item:nth-child(3n+3) { 
            animation-delay: 4s; 
            border-color: rgba(204, 0, 255, 0.3);
        }

        .gallery-item:hover {
            transform: translateY(-15px) rotate(3deg) scale(1.05);
            box-shadow: 
                0 25px 50px rgba(0, 0, 0, 0.6),
                0 0 30px var(--electric-color-1);
            z-index: 10;
            border-color: var(--electric-color-1);
        }

        .gallery-img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: all 0.5s ease;
        }

        .gallery-item:hover .gallery-img {
            transform: scale(1.1);
            filter: brightness(1.2) contrast(1.1);
        }

        .gallery-overlay {
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            background: linear-gradient(to top, rgba(10, 10, 20, 0.95), transparent);
            padding: 20px;
            transform: translateY(100%);
            transition: transform 0.4s ease;
        }

        .gallery-item:hover .gallery-overlay {
            transform: translateY(0);
        }

        .gallery-title {
            color: var(--text-color);
            font-size: 1.2em;
            margin-bottom: 10px;
            font-weight: 600;
        }

        .gallery-description {
            color: #ccc;
            font-size: 0.95em;
            line-height: 1.5;
        }

        @keyframes floatCard {
            0%, 100% {
                transform: translateY(0) rotate(0deg);
            }
            33% {
                transform: translateY(-10px) rotate(1deg);
            }
            66% {
                transform: translateY(5px) rotate(-1deg);
            }
        }

        /* Модальное окно */
        .modal {
            display: none;
            position: fixed;
            z-index: 2000;
            left: 0;
            top: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.9);
            backdrop-filter: blur(10px);
            opacity: 0;
            transition: opacity 0.3s ease;
        }

        .modal.show {
            display: flex;
            opacity: 1;
            align-items: center;
            justify-content: center;
        }

        .modal-content {
            max-width: 90%;
            max-height: 90%;
            border-radius: 10px;
            box-shadow: 0 0 50px rgba(0, 240, 255, 0.5);
            animation: modalZoom 0.3s;
        }

        @keyframes modalZoom {
            from {
                transform: scale(0.8);
                opacity: 0;
            }
            to {
                transform: scale(1);
                opacity: 1;
            }
        }

        .close-modal {
            position: absolute;
            top: 20px;
            right: 30px;
            color: var(--text-color);
            font-size: 40px;
            font-weight: bold;
            cursor: pointer;
            transition: var(--transition);
            z-index: 2001;
        }

        .close-modal:hover {
            color: var(--accent-color);
            transform: rotate(90deg);
        }

        .modal-caption {
            position: absolute;
            bottom: 20px;
            left: 0;
            right: 0;
            text-align: center;
            color: var(--text-color);
            padding: 10px;
            background: rgba(10, 10, 20, 0.7);
        }

        /* Стрелки навигации */
        .modal-nav {
            position: absolute;
            top: 50%;
            width: 100%;
            display: flex;
            justify-content: space-between;
            padding: 0 20px;
            transform: translateY(-50%);
            z-index: 2001;
        }

        .nav-arrow {
            background: rgba(10, 10, 20, 0.7);
            color: var(--text-color);
            width: 60px;
            height: 60px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 24px;
            cursor: pointer;
            transition: var(--transition);
            border: 2px solid var(--secondary-color);
        }

        .nav-arrow:hover {
            background: var(--secondary-color);
            transform: scale(1.1);
            box-shadow: 0 0 20px var(--electric-color-1);
        }

        /* Футер */
        footer {
            background: linear-gradient(to bottom, rgba(10, 10, 20, 0.95), rgba(5, 5, 15, 0.98));
            padding: 60px 0 30px;
            margin-top: 80px;
            border-top: 1px solid var(--border-color);
            position: relative;
            overflow: hidden;
        }

        footer::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 3px;
            background: linear-gradient(90deg, 
                var(--primary-color), 
                var(--secondary-color), 
                var(--highlight-color),
                var(--accent-color),
                var(--primary-color));
            background-size: 200% 100%;
            animation: gradientFlow 3s linear infinite;
        }

        .footer-content {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 40px;
        }

        .footer-section {
            position: relative;
            z-index: 1;
        }

        .footer-section h3 {
            color: var(--highlight-color);
            margin-bottom: 25px;
            font-size: 1.4em;
            position: relative;
            padding-bottom: 15px;
            display: inline-block;
        }

        .footer-section h3::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 100%;
            height: 2px;
            background: linear-gradient(90deg, var(--primary-color), transparent);
            border-radius: 2px;
        }

        .footer-section address {
            font-style: normal;
            line-height: 1.8;
        }

        .footer-section p {
            margin-bottom: 15px;
            display: flex;
            align-items: center;
            opacity: 0.9;
            transition: var(--transition);
        }

        .footer-section p:hover {
            opacity: 1;
            transform: translateX(5px);
        }

        .footer-section a {
            color: var(--text-color);
            text-decoration: none;
            transition: var(--transition);
            display: block;
            margin-bottom: 12px;
            padding: 8px 0;
            border-bottom: 1px solid rgba(255, 255, 255, 0.05);
            position: relative;
            overflow: hidden;
        }

        .footer-section a::before {
            content: '';
            position: absolute;
            bottom: 0;
            left: -100%;
            width: 100%;
            height: 1px;
            background: linear-gradient(90deg, transparent, var(--highlight-color), transparent);
            transition: var(--transition);
        }

        .footer-section a:hover {
            color: var(--highlight-color);
            padding-left: 10px;
        }

        .footer-section a:hover::before {
            left: 100%;
            transition-delay: 0.1s;
        }

        .footer-section i {
            margin-right: 12px;
            color: var(--primary-color);
            width: 24px;
            text-align: center;
            font-size: 1.1em;
        }

        .footer-bottom {
            text-align: center;
            padding-top: 40px;
            margin-top: 40px;
            border-top: 1px solid var(--border-color);
            font-size: 0.95em;
            opacity: 0.8;
            position: relative;
        }

        .footer-bottom::before {
            content: '';
            position: absolute;
            top: -10px;
            left: 50%;
            transform: translateX(-50%);
            width: 100px;
            height: 2px;
            background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
        }

        .footer-social {
            display: flex;
            justify-content: center;
            gap: 20px;
            margin-top: 25px;
        }

        .footer-social a {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 40px;
            height: 40px;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.1);
            color: var(--text-color);
            transition: var(--transition);
            position: relative;
            overflow: hidden;
        }

        .footer-social a::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
            opacity: 0;
            transition: var(--transition);
            z-index: -1;
        }

        .footer-social a:hover {
            transform: translateY(-5px);
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
            color: white;
        }

        .footer-social a:hover::before {
            opacity: 1;
        }

        .footer-social i {
            font-size: 1.2em;
        }

        /* Анимация градиента */
        @keyframes gradientFlow {
            0% {
                background-position: 0% 50%;
            }
            100% {
                background-position: 200% 50%;
            }
        }

        /* Адаптивность */
        @media (max-width: 992px) {
            .navbar-menu {
                display: none;
                position: absolute;
                top: 100%;
                left: 0;
                right: 0;
                background: rgba(10, 10, 20, 0.98);
                flex-direction: column;
                padding: 20px;
                box-shadow: var(--box-shadow);
                border-top: 1px solid var(--border-color);
                z-index: 1000;
            }

            .navbar-menu.active {
                display: flex;
            }

            .navbar-item {
                margin: 10px 0;
                width: 100%;
            }

            .dropdown-menu {
                position: static;
                opacity: 1;
                visibility: visible;
                transform: none;
                box-shadow: none;
                background: transparent;
                border: none;
                margin-top: 10px;
                margin-left: 20px;
                display: none;
            }

            .navbar-item:hover .dropdown-menu {
                display: block;
            }

            .mobile-menu-btn {
                display: block;
            }

            .page-header h1 {
                font-size: 2.5em;
            }
        }

        @media (max-width: 768px) {
            .gallery-grid {
                grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
            }
            
            .footer-content {
                grid-template-columns: 1fr;
                gap: 30px;
            }
            
            .nav-arrow {
                width: 45px;
                height: 45px;
                font-size: 18px;
            }
            
            /* На мобильных оставляем только 2 средних круга для производительности */
            .circle-massive-1,
            .circle-massive-2,
            .circle-large-1,
            .circle-large-2,
            .circle-medium-3 {
                display: none;
            }
            .circle-medium-1,
            .circle-medium-2 {
                opacity: 0.3;
                filter: blur(2px);
            }
            
            .cyber-grid {
                display: none; /* Скрываем сетку на мобильных для производительности */
            }
        }

        @media (max-width: 480px) {
            .nav-arrow {
                width: 35px;
                height: 35px;
                font-size: 16px;
                padding: 0;
            }
            
            .modal-nav {
                padding: 0 10px;
            }
        }
