/*!
Theme Name: Skupka
Theme URI: http://underscores.me/
Author: Albert Sadykov
Author URI: http://underscores.me/
Description: Description
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: skupka
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.

Skupka is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Generic
	- Normalize
	- Box sizing
# Base
	- Typography
	- Elements
	- Links
	- Forms
## Layouts
# Components
	- Navigation
	- Posts and pages
	- Comments
	- Widgets
	- Media
	- Captions
	- Galleries
# plugins
	- Jetpack infinite scroll
# Utilities
	- Accessibility
	- Alignments

--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Generic
--------------------------------------------------------------*/

/* Normalize
--------------------------------------------- */

/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */

/* Document
	 ========================================================================== */

 :root {
            --primary-color: #690176; /* Глубокий фиолетовый */
            --primary-dark: #4a0152;
            --accent-color: #FFD61F;  /* Яркий желтый */
            --text-dark: #1a1a1a;
            --text-grey: #444444;
            --bg-light: #f4f6f9;
        }

        body {
            font-family: 'Montserrat', sans-serif;
            color: var(--text-dark);
            line-height: 1.6;
            background-color: #fff;
        }

        /* --- TYPOGRAPHY --- */
        h1, h2, h3, h4 {
            font-weight: 800;
            letter-spacing: -0.5px;
        }
        
        .text-primary-custom { color: var(--primary-color); }
        .text-accent { color: var(--accent-color); }
        
        /* --- BUTTONS --- */
        .btn-accent {
            background-color: var(--accent-color);
            color: var(--text-dark);
            font-weight: 700;
            border: none;
            padding: 14px 30px;
            border-radius: 8px;
            text-transform: uppercase;
            box-shadow: 0 4px 15px rgba(218, 31, 255, 0.4);
            transition: all 0.3s ease;
        }
        .btn-accent:hover {
            background-color: var(--primary-dark);
            transform: translateY(-2px);
            box-shadow: 0 4px 15px rgba(218, 31, 255, 0.6);
            color: #fff;
        }

        .btn-outline-custom {
            border: 2px solid #fff;
            color: #fff;
            font-weight: 600;
            padding: 12px 30px;
            border-radius: 8px;
            transition: all 0.3s;
        }
        .btn-outline-custom:hover {
            background: #fff;
            color: var(--primary-color);
        }

        /* --- HEADER --- */
        .navbar {
            background: #fff;
            border-bottom: 1px solid #eee;
            padding: 15px 0;
        }
        .nav-link {
            color: var(--text-dark) !important;
            font-weight: 600;
            font-size: 15px;
            text-transform: uppercase;
            margin: 0 10px;
        }
        .nav-link:hover { color: var(--primary-color) !important; }

        /* --- HERO --- */
        .hero-section {
            background: linear-gradient(135deg, rgba(0, 0, 0, 0.92) 0%, rgba(0, 0, 0, 0.75) 100%), 
                        url('/wp-content/uploads/2026/01/banner.jpg');
            background-size: cover;
            background-position: center;
            color: white;
            padding: 100px 0 140px; /* Отступ снизу больше для наезда карточек */
            position: relative;
        }
        
        /* --- MAIN DIRECTIONS (GRID) --- */
        .directions-wrapper {
            margin-top: -80px; /* Наезжает на Hero */
            position: relative;
            z-index: 10;
        }
        .direction-card {
            background: white;
            border-radius: 12px;
            padding: 30px 20px;
            text-align: center;
            box-shadow: 0 15px 40px rgba(0,0,0,0.08);
            transition: transform 0.3s ease, box-shadow 0.3s ease;
            height: 100%;
            border: 1px solid #eee;
            text-decoration: none;
            display: block;
            color: var(--text-dark);
        }
        .direction-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 20px 50px rgba(105, 1, 118, 0.15);
            border-color: var(--accent-color);
        }
        .icon-box {
            width: 70px;
            height: 70px;
            background: var(--bg-light);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 20px;
            font-size: 32px;
            color: var(--primary-color);
        }
        
        /* --- CONTENT SECTIONS --- */
        .section-padding { padding: 80px 0; }
        .bg-grey { background-color: var(--bg-light); }
        
        .feature-item {
            display: flex;
            align-items: flex-start;
            margin-bottom: 25px;
        }
        .feature-item i {
            color: var(--primary-color);
            font-size: 24px;
            margin-right: 15px;
            margin-top: 5px;
        }

        .service-row {
            border-bottom: 1px solid #eee;
            padding-bottom: 30px;
            margin-bottom: 30px;
        }
        .service-row:last-child { border-bottom: none; }

       /* --- CTA BLOCK --- */
.cta-block {
    background: var(--primary-color);
    border-radius: 20px;
    padding: 60px 40px;
    color: white;
    position: relative;
    overflow: hidden;
    /* Важно: создаем контекст наложения */
    z-index: 1; 
}

.cta-block::before {
    content: '';
    position: absolute;
    top: 0; 
    right: 0;
    width: 300px; 
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1));
    transform: skewX(-20deg);
    /* Отправляем декор на задний план внутри родителя */
    z-index: -1; 
}

/* На всякий случай гарантируем, что ссылки и кнопки всегда сверху */
.cta-block a, 
.cta-block button, 
.cta-block .row {
    position: relative;
    z-index: 2;
}

        /* --- MOBILE --- */
        @media (max-width: 768px) {
            .hero-section h1 { font-size: 2rem; }
            .directions-wrapper { margin-top: -40px; }
            .direction-card { padding: 20px 10px; }
            .direction-card h4 { font-size: 1rem; }
            .btn-accent { width: 100%; text-align: center; }
        }


        .transition-hover-dark:hover {
            background: rgba(255, 255, 255, 0.05);
            border-color: var(--primary-color) !important;
            transform: translateY(-5px);
            transition: all 0.3s ease;
        }
        .btn-accent {
            background-color: var(--primary-color);
            color: #fff;
            border: none;
        }