/*
Theme Name: TaycanEvgeniiMudrenko
Theme URI: https://example.com/empty-theme
Author: Evgenii Mudrenko
Author URI: https://example.com
Description: Пустой шаблон темы WordPress для дальнейшей разработки
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: empty-theme
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments
*/

/* Основные стили */
body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    color: #333;
    overflow-x: hidden; /* Предотвращает горизонтальную прокрутку при анимациях */
}

/* Стили для анимаций */
.site-title, .site-description, .main-navigation li, .entry-title, .entry-content p, .widget, .site-footer {
    visibility: visible; /* Предотвращаем мигание при загрузке GSAP */
}

.container {
    width: 1170px;
    max-width: 100%;
    margin: 0 auto;
    padding: 0 15px;
}
/* Стили для блока описания компании */
.company-description-section {
    padding: 60px 0;
    background-color: #ffffff;
    position: relative;
    z-index: 1;
    background: linear-gradient(135deg, #ffffff, #f5f8fa, #f0f4f8);
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.05) inset;
}

.company-description-content {
    max-width: 100%;
    margin: 0 auto;
    font-size: 16px;
    line-height: 1.8;
    color: #333;
    text-align: justify;
    white-space: pre-wrap;
}

.company-description-content p {
    margin-bottom: 20px;
}

@media (max-width: 768px) {
    .company-description-section {
        padding: 40px 0;
        background: linear-gradient(135deg, #ffffff, #f5f8fa, #f0f4f8); /* Добавляем фон на мобильных устройствах */
        box-shadow: 0 0 15px rgba(0, 0, 0, 0.03) inset;
    }

    .company-description-content {
        font-size: 14px;
        line-height: 1.6;
    }
}
/* Заголовок */
.site-header {
    padding: 20px 0;
    background-color: #f8f8f8;
}

/* Навигация */
.main-navigation {
    background-color: #333;
}

.main-navigation ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}

.main-navigation li {
    padding: 10px 15px;
}

.main-navigation a {
    color: #fff;
    text-decoration: none;
}

/* Основной контент */
.site-content {
    padding: 40px 0;
}

/* Подвал */
.site-footer {
    background-color: #333;
    color: #fff;
    padding: 20px 0;
    text-align: center;
}

/* Стили для мобильной версии шапки - более специфичные селекторы */
@media (max-width: 768px) {
    /* Скрываем абсолютно все в шапке, кроме логотипа и кнопки бургер-меню */
    .site-header *:not(.site-logo):not(.logo):not(.site-branding):not(.burger-menu-toggle):not(.mobile-menu-toggle),
    .site-header .header-container > *:not(.site-logo):not(.logo):not(.site-branding):not(.burger-menu-toggle):not(.mobile-menu-toggle),
    .site-header nav,
    .site-header .header-buttons,
    .site-header .main-navigation,
    .site-header .menu,
    .site-header .menu-item,
    .site-header .header-right,
    .site-header .header-contacts,
    .site-header .header-contact-info,
    .site-header .header-phone,
    .site-header .header-email,
    .site-header .header-social,
    .site-header .header-search,
    .site-header .header-right-block,
    .site-header button:not(.burger-menu-toggle):not(.mobile-menu-toggle),
    .site-header a:not(.logo-link) {
        display: none !important;
    }

    /* Только эти элементы должны остаться видимыми */
    .site-header,
    .site-header .site-logo,
    .site-header .logo,
    .site-header .site-branding,
    .site-header .burger-menu-toggle,
    .site-header .mobile-menu-toggle,
    .site-header .logo-link,
    .site-header .logo-container {
        display: block !important;
    }

    /* Принудительное выравнивание шапки */
    .site-header {
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        padding: 10px 15px !important;
        flex-wrap: nowrap !important;
    }

    /* Если шапка имеет внутренний контейнер */
    .site-header .header-container,
    .site-header .container {
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        width: 100% !important;
    }

    /* Убираем отступы, которые могли бы помешать */
    .site-header *,
    .site-header .header-container * {
        margin: 0 !important;
        padding: 0 !important;
    }

    /* Фиксированная ширина для логотипа */
    .site-header .site-logo,
    .site-header .logo {
        max-width: 50% !important;
    }

    /* Стили для кнопки бургер-меню */
    .site-header .burger-menu-toggle,
    .site-header .mobile-menu-toggle {
        display: block !important;
        z-index: 1000 !important;
    }
}

/* Стили для мобильной версии шапки */
@media (max-width: 768px) {
    /* Скрываем все элементы в шапке кроме логотипа и кнопки бургер-меню */
    .site-header .main-navigation,
    .site-header .header-buttons,
    .site-header .header-menu,
    .site-header .header-contacts,
    .site-header .header-phone,
    .site-header .header-email,
    .site-header .social-icons,
    .site-header .header-search,
    .site-header .desktop-menu,
    .site-header nav:not(.mobile-menu),
    .site-header .header-right {
        display: none !important;
    }

    /* Показываем только логотип и кнопку бургер-меню */
    .site-header .site-logo,
    .site-header .site-branding,
    .site-header .logo,
    .site-header .burger-menu-toggle,
    .site-header .mobile-menu-toggle {
        display: block !important;
    }

    /* Стили для компактной шапки */
    .site-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 10px 15px;
    }
}
