/*
Theme Name: Carband WP
Theme URI: http://carband.ru/
Author: @donimai
Author URI: http://example.com
Description: WordPress theme based on provided Carband HTML. Elementor-friendly, includes templates for Articles and Services (custom post type).
Version: 1.0
License: GNU General Public License v2 or later
Text Domain: carband-wp
*/
    /* Глобальные улучшения */
    body {
        font-family: 'Manrope', sans-serif;
        background-color: #111111;
        color: #F9FAFB;
        overflow-x: hidden;
    }
    
    /* Плавная прокрутка */
    html {
        scroll-behavior: smooth;
    }
    
    /* Улучшенный градиентный текст */
    .gradient-text {
        background: linear-gradient(90deg, #9FF45B 0%, #3B82F6 50%, #9FF45B 100%);
        -webkit-background-clip: text;
        background-clip: text;
        color: transparent;
        background-size: 200% auto;
        animation: gradient-shift 3s ease infinite;
    }
    
    @keyframes gradient-shift {
        0% { background-position: 0% center; }
        50% { background-position: 100% center; }
        100% { background-position: 0% center; }
    }
    
    /* Улучшенные карточки */
    .card-hover {
        transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
        position: relative;
        overflow: hidden;
    }
    
    .card-hover:before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
        transition: all 0.6s;
    }
    
    .card-hover:hover {
        transform: translateY(-8px);
        box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
    }
    
    .card-hover:hover:before {
        left: 100%;
    }
    
    /* Улучшенные кнопки */
    .btn-primary {
        transition: all 0.4s ease;
        position: relative;
        overflow: hidden;
        z-index: 1;
    }
    
    .btn-primary:before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 0%;
        height: 100%;
        background: linear-gradient(90deg, #7ed056 0%, #9FF45B 100%);
        transition: all 0.4s ease;
        z-index: -1;
    }
    
    .btn-primary:hover {
        transform: translateY(-3px);
        box-shadow: 0 10px 25px rgba(159, 244, 91, 0.4);
    }
    
    .btn-primary:hover:before {
        width: 100%;
    }
    
    .btn-secondary {
        transition: all 0.4s ease;
        position: relative;
        overflow: hidden;
        z-index: 1;
    }
    
    .btn-secondary:before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 0%;
        height: 100%;
        background: linear-gradient(90deg, #2563EB 0%, #3B82F6 100%);
        transition: all 0.4s ease;
        z-index: -1;
    }
    
    .btn-secondary:hover {
        transform: translateY(-3px);
        box-shadow: 0 10px 25px rgba(59, 130, 246, 0.4);
        border-color: transparent;
    }
    
    .btn-secondary:hover:before {
        width: 100%;
    }
    
    /* Улучшенная навигация */
    .nav-link {
        position: relative;
        padding: 0.5rem 1rem;
    }
    
    .nav-link:after {
        content: '';
        position: absolute;
        width: 0;
        height: 2px;
        bottom: 0;
        left: 0;
        background: linear-gradient(90deg, #9FF45B 0%, #3B82F6 100%);
        transition: width 0.4s ease;
    }
    
    .nav-link:hover:after {
        width: 100%;
    }
    
    /* Анимация появления элементов при скролле */
    .fade-in {
        opacity: 0;
        transform: translateY(20px);
        transition: opacity 0.8s ease, transform 0.8s ease;
    }
    
    .fade-in.visible {
        opacity: 1;
        transform: translateY(0);
    }
    
    /* Улучшенные blob-эффекты */
    @keyframes blob {
        0% {
            transform: translate(0px, 0px) scale(1);
        }
        33% {
            transform: translate(30px, -50px) scale(1.1);
        }
        66% {
            transform: translate(-20px, 20px) scale(0.9);
        }
        100% {
            transform: translate(0px, 0px) scale(1);
        }
    }
    
    .animate-blob {
        animation: blob 7s infinite;
    }
    
    .animation-delay-2000 {
        animation-delay: 2s;
    }
    
    .animation-delay-4000 {
        animation-delay: 4s;
    }
    
    /* Улучшенный раздел услуг */
    .service-icon {
        transition: all 0.4s ease;
    }
    
    .card-hover:hover .service-icon {
        transform: scale(1.1) rotate(5deg);
    }
    
    /* Улучшенный CTA раздел */
    .cta-section {
        position: relative;
        overflow: hidden;
    }
    
    .cta-section:before {
        content: '';
        position: absolute;
        top: -50%;
        left: -50%;
        width: 200%;
        height: 200%;
        background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
        transform: rotate(30deg);
        animation: cta-shine 8s infinite linear;
    }
    
    @keyframes cta-shine {
        from {
            transform: rotate(30deg) translateX(-100%);
        }
        to {
            transform: rotate(30deg) translateX(100%);
        }
    }
    
    /* Улучшенный футер */
    footer {
        position: relative;
    }
    
    footer:before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 1px;
        background: linear-gradient(90deg, transparent, #9FF45B, #3B82F6, transparent);
    }
    
    /* Кастомный скроллбар */
    ::-webkit-scrollbar {
        width: 8px;
    }
    
    ::-webkit-scrollbar-track {
        background: #1a1a1a;
    }
    
    ::-webkit-scrollbar-thumb {
        background: linear-gradient(to bottom, #9FF45B, #3B82F6);
        border-radius: 10px;
    }
    
    ::-webkit-scrollbar-thumb:hover {
        background: linear-gradient(to bottom, #8ae34e, #2563EB);
    }
    
    /* Адаптивные улучшения */
    @media (max-width: 768px) {
        .card-hover:hover {
            transform: translateY(-5px);
        }
        
        .btn-primary:hover, .btn-secondary:hover {
            transform: translateY(-2px);
        }
    }
