
    /*
    Theme Name: RUNG Security
    Theme URI: https://example.com/rung
    Author: Your Name
    Author URI: https://example.com
    Description: A custom WordPress theme for RUNG Security.
    Version: 1.0
    License: GNU General Public License v2 or later
    License URI: https://www.gnu.org/licenses/gpl-2.0.html
    Text Domain: rung-security
    */
    body { font-family: Arial, sans-serif; line-height: 1.6; margin: 0; padding: 0; }
    header { background: #333; color: #fff; padding: 1rem 0; text-align: center; }
    nav ul { list-style: none; padding: 0; }
    nav ul li { display: inline; margin: 0 10px; }
    nav ul li a { color: #fff; text-decoration: none;border-radius: 35px; }
    section { padding: 2rem; }
    footer { background: #f8901c; color: #fff; text-align: center; padding: 1rem 0; }


    html {
        scroll-behavior: smooth; /* Плавная прокрутка */
    }

    @font-face {
        font-family: 'MaCherie';
        src: url('<?php echo get_template_directory_uri(); ?>/fonts/macherie.otf') format('opentype');
        font-weight: normal;
        font-style: normal;
    }

    @font-face {
        font-family: 'Moderustic';
        src: url('<?php echo get_template_directory_uri(); ?>/fonts/Moderustic-Regular.ttf') format('truetype');
        font-weight: normal;
        font-style: normal;
    }

    .default_text {
        font-family: 'Moderustic', sans-serif;
        text-align: center; /* Центрирование текста внутри контейнера */
        font-size: 42px;
    }

    .about_chop {
        font-family: 'MaCherie';
        text-align: center; /* Центрирование текста внутри контейнера */
        font-size: 52px;
    }

    .about_chop .highlight {
        color: #f6fbf6;
        background-color: #457f6a;
        border-radius: 35px;
    }

    .highlight {
        color: #f6fbf6 !important;
        background-color: #457f6a; !important;
        padding: 5px ;
        border-radius: 35px ;
    }

    .card-carousel {
        position: relative;
        width: 80%;
        margin: 0 auto;
        overflow: hidden;
    }

    .cards {
        display: flex;
        transition: transform 0.5s ease;
    }

    .card {
        position: relative;
        flex: 0 0 30%;
        margin: 10px;
        padding: 15px;
        background-color: #f4f4f4;
        border-radius: 30px;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        text-align: center;
        transition: transform 0.3s ease, box-shadow 0.3s ease;
        overflow: hidden; /* Скрываем границы для эффекта */
    }

    /* Эффект перелива */
    .card::before {
        content: "";
        position: absolute;
        top: 0;
        left: -100%; /* Сначала вне видимости */
        width: 100%;
        height: 100%;
        background: linear-gradient(120deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.5) 50%, rgba(255, 255, 255, 0) 100%);
        transform: skewX(-20deg);
        transition: 0.5s;
        z-index: 1;
        pointer-events: none; /* Чтобы эффект не мешал взаимодействию */
    }

    /* Запуск перелива при наведении */
    .card:hover::before {
        left: 100%; /* Перемещаем эффект через карточку */
    }

    /* Содержимое карточки должно быть поверх эффекта */
    .card img,
    .card h3,
    .card p {
        position: relative;
        z-index: 2;
    }

    .card img {
        width: 100%;
        height: auto;
        border-radius: 35px;
        margin-bottom: 10px;
    }

    .card h3 {
        margin: 10px 0;
        font-size: 18px;
        color: #333;
    }

    .card p {
        font-size: 14px;
        color: #666;
    }

    button.prev, button.next {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        background-color: #457f6a;
        color: white;
        border: none;
        border-radius: 50%;
        padding: 10px;
        cursor: pointer;
        z-index: 1000;
    }

    button.prev {
        left: 10px;
    }

    button.next {
        right: 10px;
    }

    button:hover {
        background-color: #355c50;
    }

    .about_chop.card_main {
        font-size: 16px;
    }

    .default_text.main {
        font-size: 20px;
    }

    .reasons {
        display: flex;
        flex-direction: column;
        gap: 20px;
        margin: 20px auto;
        max-width: 1200px;
    }

    .reason-card {
        display: flex;
        align-items: center;
        gap: 20px;
        background-color: #f4f4f4;
        border-radius: 30px;
        padding: 20px;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    }

    .reason-text {
        flex: 1;
    }

    .reason-text h3 {
        font-size: 44px;
        color: #333;
        margin-bottom: 10px;
        font-family: 'MaCherie';
    }

    .reason-text p {
        font-size: 22px;
        color: #666;
        font-family: 'Moderustic', sans-serif;
    }

    .reason-image {
        flex: 1;
        text-align: center;
    }

    .reason-image img {
        max-width: 60%;
        height: auto;
        border-radius: 10px;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    }

    @media (max-width: 768px) {
        .reason-card {
            flex-direction: column;
        }
        .reason-image {
            margin-top: 20px;
        }
    }

    .services {
        max-width: 800px;
        margin: 50px auto;
        padding: 20px;
        background-color: #f4f4f4;
        border-radius: 10px;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
        text-align: center;
    }

    .services h2 {
        font-size: 28px;
        margin-bottom: 20px;
        color: #333;
    }

    .service-list {
        list-style: none;
        padding: 0;
        margin: 0 0 20px;
        text-align: left;
    }

    .service-list li {
        font-size: 18px;
        margin: 15px 0;
        display: flex;
        align-items: center;
        gap: 15px; /* Отступ между иконкой и текстом */
        font-family: 'Moderustic', sans-serif;
    }

    .service-icon {
        width: 30px;
        height: 30px;
        object-fit: contain; /* Убедимся, что изображение не искажается */
    }

    .cta-buttons {
        display: flex;
        justify-content: center;
        gap: 15px;
        margin-bottom: 20px;
    }

    .cta {
        display: inline-block;
        padding: 10px 20px;
        border-radius: 5px;
        text-decoration: none;
        color: #fff;
        font-size: 16px;
        transition: background-color 0.3s ease;
    }

    .cta.whatsapp {
        background-color: #25d366;
        border-radius: 40px;
    }

    .cta.call {
        background-color: #457f6a;
        border-radius: 40px;
    }

    .cta:hover {
        opacity: 0.9;
    }

    .social-links {
        display: flex;
        justify-content: center;
        gap: 15px;
        margin-top: 20px;
    }

    .social-links a {
        text-decoration: none;
        font-size: 16px;
        color: #457f6a;
        transition: color 0.3s ease;
    }

    .social-links a:hover {
        color: #25d366;
    }

    .reviews-section {
        display: flex;
        justify-content: center; /* Центрирует блок горизонтально */
        align-items: center; /* Центрирует блок вертикально (если нужно) */
        margin: 50px auto; /* Отступы сверху и снизу */
        padding: 20px;
        margin-bottom: 160px;
    }

    .reviews-container {
        max-width: 600px; /* Устанавливает максимальную ширину для блока */
        width: 100%;
        text-align: center; /* Центрирует содержимое внутри */
    }

    body {
        background-image: url('/wp-content/themes/rung_theme/image/wallpaperrung.png');
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        background-attachment: fixed;
        margin: 0;
        padding: 0;
    }


    @media (max-width: 768px) {
        .services {
            padding: 30px !important;
        }
        .reviews-section {
            padding: 50px !important;
        }
        footer {
            background: #f8901c00;
            color: #357660;
        }
        img.rung_logo.rung_sekirs {
            display: none;
        }
    }

    /* Начальные состояния элементов (скрытые) */
    .hidden {
        opacity: 0;
        transform: translateY(50px); /* Смещение вниз */
        transition: all 0.8s ease-in-out; /* Плавный переход */
    }

    /* Активное состояние (элемент появляется) */
    .show {
        opacity: 1;
        transform: translateY(0); /* Возвращаем на место */
    }

    .default_text.kursive {
        font-style: italic;
    }

