/*
Theme Name: evacuator
Theme URI: https://example.com
Author: Rusu Oleg
Author URI: https://example.com
Description: tema pentru 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: evacuator
*/

h1{
    font-size: 1.9rem;
    color: #000;
    text-align: center;
    margin-bottom: 25px;
}
h2{
    font-size: 1.7rem;
    color: #000;
    text-align: center;
    margin-bottom: 25px;
}
h3{
    font-size: 1.5rem;
    color: #000;
    text-align: center;
    margin-bottom: 23px;
}
p em{
    font-size: 1.3rem;
    font-weight: 400;
    background-color: #a51c30;
    color: white;
    border-radius: 12px;
    padding: 0px 12px 3px 12px;
}
.top-bar {
    background: #000;
    color: #fff;
    padding: 5px 15px;
    font-size: 0.9rem;
  }
  .logo {
    display: flex;
    align-items: center;
  }
  .logo img {
    height: 80px;
  }
  @media (max-width: 516px) {
    .uslugi-evacuatora {
      margin-top: 20px;
    }
  }
  .uslugi{
    font-size: 1.3rem;
  }
  .phone{
    font-size: 1.3rem;
  }
  .red-border{
    font-size: 1.5rem;
    border: 3px #af0707 solid;
    border-radius:  50% 50%;
    padding: 8px;
  }
  .cruglosutocno {
    font-style: italic; 
    font-size: 1.2rem;
  }
  .btn-callme {
    background-color: #840707;
    color: white;
    border: none;
    border-radius: 1;
    padding: 5px 20px;
    font-weight: 500;
    font-style: italic;
  }

  .btn-callme:hover {
    background-color: #b30000;
  }
  /*Языки*/
  .lang-switch {
    background-color: #e6e6e6;  /* светло-серый фон */
    border: none;
    padding: 4px 10px;
    font-size: 14px;
    font-weight: bold;
    color: #000;
    border-radius: 3px;
    box-shadow: 1px 1px 3px rgba(0,0,0,0.3);
    transition: background-color 0.2s ease;
  }
  @media (max-width: 526px) {
    .language-switcher {
      margin: auto;
    }
  }
  .lang-switch:hover {
    background-color: #d4d4d4;
  }

  .lang-switch.active {
    background-color: #b30000;
    color: #fff;
  }
  /* Общие стили для баннера */
.banner-container {
    background-color: #e6e6e6; /* Серый фон */
    padding: 0;
}

/* Стили для текстовой секции */
.text-section {
    padding: 20px;
    text-align: center;
    color: #333;
}
.hed-title{
    font-size: 2.6rem;
    font-weight: 500;
}
.text-section .subtitle {
    font-size: 2rem;
    font-weight: 500;
    color: #000;
    margin-bottom: 20px;
}
.text-section .subtitle span{
    line-height: 1px!important;
    font-size: 1rem;
}
.text-section .btn-custom {
    background-color: #840707; /* Бордовый цвет кнопки */
    color: white;
    padding: 10px 20px;
    border: none;
    font-size: 1.1rem;
    text-transform: uppercase;
}

.text-section .btn-custom:hover {
    background-color: #b30000; /* Темнее при наведении */
}
.text-footer{
    font-size: 1.5rem;
    font-weight: 500;
}
.footer-text {
    color: #a51c30;
    margin-top: 15px;
}

/* Стили для изображения */
.image-section img {
    max-width: 100%;
    height: auto;
}
.section-image{
    text-align: center;
}
/* Стили для круга с "5T" */
.capacity-circle {
    position: absolute;
    top: 30px;
    right: 80px;
    background-color: #840707;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 500;
}

/* Стили для формы в модальном окне */
.modal-content {
    border-radius: 10px;
}

.modal-header {
    background-color: #fdfdfd;
    color: rgb(255, 253, 253);
}

.modal-title {
    font-weight: bold;
}

.modal-body .form-label {
    font-weight: bold;
    color: #333;
}

.modal-body .form-control {
    border-radius: 5px;
    border: 1px solid #ccc;
}

.modal-body .form-control:focus {
    border-color: #a51c30;
    box-shadow: 0 0 5px rgba(165, 28, 48, 0.3);
}
/* Адаптивность */
@media (max-width: 768px) {
    .text-section .hed-title {
        font-size: 1.8rem;
    }

    .text-section .subtitle {
        font-size: 1rem;
    }

    .capacity-circle {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}
/* Стили для нового блока с флагами */
.services-container {
    background-color: #1c2526; /* Темный фон */
    color: white;
}

.service-item {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
    border-right: 1px solid #444; /* Разделительная линия */
}

.service-item:last-child {
    border-right: none; /* Убираем линию у последнего элемента */
}
.service-item p {
    margin: 0;
    font-size: 1.2rem;
    line-height: 1.5;
}
/**/
.flag-icon {
    width: 100px;
    height: 98px;
    margin-right: 15px;
    border-radius: 50%;
    filter: grayscale(0%); /* Изначально цветной */
    transition: filter 0.3s ease;
}

.flag-icon:hover {
    filter: grayscale(100%); /* При наведении становится чено белым */
}

/* Адаптивность */
@media (max-width: 768px) {
    .text-section h1 {
        font-size: 1.8rem;
    }

    .text-section .subtitle {
        font-size: 1rem;
    }

    .capacity-circle {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .service-item {
        flex-direction: column;
        text-align: center;
        border-right: none;
        border-bottom: 1px solid #444;
        padding: 20px 0;
    }

    .service-item:last-child {
        border-bottom: none;
    }

    .flag-icon {
        margin-right: 0;
        margin-bottom: 10px;
    }

    .service-item p {
        font-size: 0.9rem;
    }
}
/* Стили для блока с карточками */
.pricing-container {
    padding: 40px 0;
    background-color: #f5f5f5; /* Светлый фон */
}

.pricing-card {
    background-color: white;
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    position: relative;
    transition: transform 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Добавляем тень */
}

.pricing-card:hover {
    transform: translateY(-5px); /* Легкий подъем при наведении */
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15); /* Увеличиваем тень при наведении */
}

.price-tag {
    position: absolute;
    top: -10px; /* Выступает за верхний край карточки */
    right: -10px; /* Выступает за правый край карточки */
    background-color: #840707; /* Новый цвет для цен */
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 1rem;
}

.pricing-card img {
    max-width: 100%;
    height: auto;
    margin-bottom: 15px;
}

.pricing-card .title-card {
    font-size: 1.2rem;
    margin-bottom: 15px;
}
.pricing-card .title-card a{
    color: #333;
}
.pricing-card .title-card a:hover{
    text-decoration: none;
}

.pricing-card .btn-custom {
    background-color: #840707; /* Новый цвет для кнопки "Заказать" */
    color: white;
    padding: 3px 20px;
    border: none;
    font-size: 1.1rem;
}

.pricing-card .btn-custom:hover {
    background-color: #6b0505; /* Темнее при наведении */
}

/* Стили для иконок мессенджеров */
.messenger-icons {
    position: absolute;
    bottom: 20px;
    right: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.messenger-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    transition: transform 0.3s ease;
}

.messenger-icon:hover {
    transform: scale(1.1); /* Увеличение при наведении */
}

/* Адаптивность для нового блока */
@media (max-width: 768px) {
    .pricing-card h5 {
        font-size: 1rem;
    }

    .messenger-icons {
        bottom: 10px;
        right: 10px;
    }

    .messenger-icon {
        width: 40px;
        height: 40px;
    }
}
/* Стили для блока "Как работаем" */
.how-we-work-container {
    padding: 40px 0;
    background-color: white; /* Белый фон */
}
.work-step {
    display: flex;
    align-items: flex-start;
}
.work {
    border: 3px solid #ccc;
    padding: 20px 10px;
    padding-bottom: 0;
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: transparent;
    color: #a51c30; /* Цвет цифр */
    font-size: 5.5rem;
    font-weight: 600;
    margin-right: 15px;
    margin-top: -30px;
}
@media (max-width: 768px){
    .step-number{
        display:none;
    }
}
.step-content {
    flex: 1;
}

.step-content .step-title{
    font-size: 1.4rem;
    color: #a51c30;
    margin-bottom: 10px;
    border-bottom: 2px dashed #ccc; /* Пунктирная линия */
    padding-bottom: 5px;
    font-weight: 700;
}

.step-content p {
    font-size: 1.1rem;
    color: #333;
    line-height: 1.5;
}

.step-content a {
    color: #a51c30;
}
ol a{
    color: #a51c30;
}
.step-content a:hover {
    text-decoration: underline;
}

/* Адаптивность */
@media (max-width: 768px) {
    .how-we-work-container h2 {
        font-size: 2rem;
    }

    .step-content h3 {
        font-size: 1.2rem;
    }

    .step-content p {
        font-size: 0.9rem;
    }

    .step-number {
        width: 35px;
        height: 35px;
        font-size: 1.3rem;
    }

    /* На мобильных устройствах возвращаем естественный порядок */
    .col-md-6 {
        order: unset !important;
    }
}
/* Стили для блока "Окажем помощь на дороге" */
.road-assistance-container {
    padding: 40px 0;
    background-color: white; /* Белый фон */
}
.assistance-left, .assistance-right {
    min-height: 200px; /* Устанавливаем минимальную высоту для одинакового размера */
    display: flex;
    flex-direction: column;
    justify-content: center; /* Выравнивание содержимого по центру по вертикали */
}

.assistance-left {
    background-color: #e6e6e6; /* Серый фон */
    padding: 30px;
    border-radius: 10px;
    text-align: center; /* Выравнивание по центру */
    min-height: 215px;
}

.assistance-left .h3 {
    font-size: 1.6rem;
    font-weight: 500;
    color: #a51c30;
}
.assistance-left p {
    font-size: 1.2rem;
    font-weight: 500;
    color: #a51c30; /* Бордовый цвет текста */
}
p span.pretul{
    color: #a51c30;
    font-size: 1.4rem;
    font-style: italic;
}
a[href^="tel:"]{
    color: #a51c30;
    font-size: 1.3rem;
    font-style: italic;
}
.assistance-left .form-control {
    border-radius: 5px;
    border: 1px solid #ccc;
    padding: 10px;
}

.assistance-left .form-control:focus {
    border-color: #a51c30;
    box-shadow: 0 0 5px rgba(165, 28, 48, 0.3);
}

.assistance-left .btn-custom {
    background-color: #a51c30;
    color: white;
    padding: 10px 20px;
    border: none;
    font-size: 1.1rem;
    font-weight: normal; /* Убираем жирность текста на кнопке */
    width: 55%;
}

.assistance-left .btn-custom:hover {
    background-color: #8b1627; /* Темнее при наведении */
}

.assistance-right {
    background-color: #1c2526; /* Темный фон */
    padding: 10px 20px;
    border-radius: 10px;
    color: white;
    min-height: 215px;
}

.assistance-right ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.assistance-right li {
    font-size: 1.4rem;
    line-height: 1.5;
    margin-bottom: 15px;
    position: relative;
    padding-left: 20px;
}

.assistance-right li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: white;
    font-size: 1.2rem;
}

/* Адаптивность */
@media (max-width: 768px) {
    .road-assistance-container h2 {
        font-size: 2rem;
    }

    .assistance-left h3 {
        font-size: 1.3rem;
    }

    .assistance-left p {
        font-size: 0.9rem;
    }

    .assistance-left .form-control {
        font-size: 0.9rem;
        padding: 8px;
        max-width: 150px; /* Еще короче на мобильных */
    }

    .assistance-left .btn-custom {
        font-size: 1rem;
        padding: 8px 15px;
    }

    .assistance-right li {
        font-size: 0.9rem;
    }

    .assistance-left, .assistance-right {
        min-height: auto; /* На мобильных убираем фиксированную высоту */
        margin-bottom: 15px;
    }
}
/* Стили для блока "6 причин заказать эвакуатор нашей компании" */
.reasons-container {
    padding: 40px 0;
    background-color: white; /* Белый фон */
}

.reason-item {
    background-color: #1c2526; /* Темный фон */
    padding: 20px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    color: white;
    min-height: 120px; /* Фиксированная высота для одинакового размера */
}

.reason-icon {
    width: 100px;
    height: auto;
    margin-right: 15px;
}

.reason-item p {
    margin: 0;
    font-size: 1rem;
    line-height: 1.5;
}

/* Адаптивность */
@media (max-width: 768px) {
    .reasons-container h2 {
        font-size: 2rem;
    }

    .reason-item {
        min-height: auto; /* На мобильных убираем фиксированную высоту */
        padding: 15px;
    }

    .reason-icon {
        width: 40px;
        height: 40px;
        margin-right: 10px;
    }

    .reason-item p {
        font-size: 0.9rem;
    }
}
/* Стили для блока "Фото эвакуации автомобилей" */
.gallery-container {
    padding: 40px 0;
    background-color: white; /* Белый фон */
}
.gallery-item {
    overflow: hidden;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.gallery-item img {
    width: 100%;
    height: auto;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: scale(1.05); /* Легкое увеличение при наведении */
}

.gallery-item:hover img {
    transform: scale(1.1); /* Увеличение изображения при наведении */
}

/* Адаптивность */
@media (max-width: 768px) {
    .gallery-container h2 {
        font-size: 2rem;
    }

    .gallery-item {
        border-radius: 8px;
    }
}
/* Стили для футера */
.footer-container {
    background-color: #000; /* Темный фон */
    padding: 20px 0;
    color: white;
}

.footer-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    justify-content: flex-start;
    margin-bottom: 10px;
}

.footer-text1 {
    font-size: 1.2rem;
    margin: 0;
}

.footer-phone {
    font-size: 1.5rem;
    font-weight: bold;
    color: white;
    text-decoration: none;
    display: block;
    margin-bottom: 10px;
}

.footer-phone:hover {
    color: #a51c30;
}

.footer-messengers {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.footer-messengers .messenger-icon {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    transition: transform 0.3s ease;
}

.footer-messengers .messenger-icon:hover {
    transform: scale(1.1);
}

.footer-container .btn-custom {
    background-color: #a51c30;
    color: white;
    padding: 10px 20px;
    border: none;
    font-size: 1.1rem;
    font-weight: normal;
    text-transform: uppercase;
}

.footer-container .btn-custom:hover {
    background-color: #8b1627;
}

/* Адаптивность */
@media (max-width: 768px) {
    .footer-logo-img {
        width: 40px;
        height: 40px;
    }

    .footer-text {
        font-size: 0.9rem;
    }

    .footer-phone {
        font-size: 1.3rem;
    }

    .footer-messengers .messenger-icon {
        width: 25px;
        height: 25px;
    }

    .footer-container .btn-custom {
        font-size: 1rem;
        padding: 8px 15px;
    }
}
/* Стили для меню */
.nav-menu-container {
    padding: 20px 0;
}

.nav-menu-container .nav {
    border-left: 2px solid #ddd; /* Вертикальная линия слева */
    padding-left: 15px;
}

.nav-menu-container .nav-link {
    font-size: 1rem;
    color: #333;
    padding: 10px 0;
    border-bottom: 1px solid #ddd; /* Линия под каждым пунктом */
    transition: color 0.3s ease;
}

.nav-menu-container .nav-link:hover {
    color: #a51c30; /* Бордовый цвет при наведении */
}

/* Убираем нижнюю границу у последнего пункта */
.nav-menu-container .nav-item:last-child .nav-link {
    border-bottom: none;
}

/* Адаптивность */
@media (max-width: 768px) {
    .nav-menu-container .nav-link {
        font-size: 0.9rem;
        padding: 8px 0;
    }

    .nav-menu-container .nav {
        padding-left: 10px;
    }
}
/* Стили для баннера */
.motorcycle-text-section {
    padding: 20px;
    text-align: center;
}

.motorcycle-hed-title{
    font-size: 2.3rem;
    font-weight: 500;
}

.motorcycle-text-section .subtitle {
    font-size: 2rem;
    font-weight: 500;
    color: #333;
    margin-bottom: 10px;
}

.motorcycle-text-section .subtitle.highlight {
    color: #a51c30; /* Бордовый цвет для "Недорого и быстро" */
    font-size: 2rem;
    font-weight: 500;
}

/* Стили для секции с ценой */
.motorcycle-text-section .price-section {
    display: flex;
    justify-content: center; /* Выравниваем по центру */
    margin: 15px 0;
}

/* Стили для блока с ценой */
.motorcycle-text-section .price-circle {
    display: flex;
    align-items: center;
}

.motorcycle-text-section .price-label {
    font-size: 1.5rem;
    font-weight: bold;
    color: #333;
    margin-right: 15px;
}

.motorcycle-text-section .price-circle .price-value {
    display: flex;
    flex-direction: column; /* Располагаем элементы друг под другом */
    align-items: center;
    justify-content: center;
    background-color: #a51c30; /* Бордовый цвет круга */
    color: white;
    border-radius: 50%;
    width: 80px;
    height: 80px;
    font-size: 1.2rem;
}

.motorcycle-text-section .price-circle .price-amount {
    font-size: 1.5rem;
    font-weight: bold;
    line-height: 1;
}

.motorcycle-text-section .price-circle .price-unit {
    font-size: 1.2rem;
    line-height: 1;
}
.image-section {
    display: flex;
    flex-direction: column;
    align-items: center; /* Центрируем содержимое по горизонтали */
    justify-content: center; /* Центрируем содержимое по вертикали */
    text-align: center; /* Для центрирования кнопки под изображением */
}

.image-section img {
    height: 300px;
}

.image-section .btn-custom {
    background-color: #a51c30;
    color: white;
    padding: 10px 20px;
    border: none;
    font-size: 1.1rem;
    text-transform: uppercase;
    margin-top: -5px !important;
}

.image-section .btn-custom:hover {
    background-color: #8b1627; /* Темнее при наведении */
}

/* Адаптивность */
@media (max-width: 768px) {
    .motorcycle-text-section h1 {
        font-size: 1.8rem;
    }

    .motorcycle-text-section .subtitle {
        font-size: 1rem;
    }

    .motorcycle-text-section .price-label {
        font-size: 1.3rem;
    }

    .motorcycle-text-section .price-circle .price-value {
        width: 60px;
        height: 60px;
    }

    .motorcycle-text-section .price-circle .price-amount {
        font-size: 1.2rem;
    }

    .motorcycle-text-section .price-circle .price-unit {
        font-size: 0.9rem;
    }

    .motorcycle-text-section .footer-text {
        font-size: 0.8rem;
    }

    .image-section .btn-custom {
        font-size: 1rem;
        padding: 8px 15px;
    }
}
/* Стили для блока страниц изображением и текстом */
.motorcycle-gallery-section {
    padding: 40px 0;
}

.motorcycle-gallery-image {
    border: 1px solid #ddd; /* Рамка вокруг изображения */
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

.motorcycle-gallery-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.motorcycle-gallery-image .image-caption {
    background-color: rgba(0, 0, 0, 0.5); /* Полупрозрачный фон для подписи */
    color: white;
    text-align: center;
    padding: 5px;
    font-size: 1rem;
    margin: 0;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
}
/* Custom ordered list styling */
ol {
    list-style: none;
    padding-left: 2rem;
    counter-reset: custom-counter;
}

ol li {
    counter-increment: custom-counter;
    position: relative;
    padding-left: 2.6rem;
    margin-bottom: 0.75rem;
    line-height: 1.6;
}

ol li::before {
    content: counter(custom-counter) ".";
    position: absolute;
    left: 0;
    color: #333;
    width: 33px;
    height: 33px;
    font-weight: 600;
    min-width: 1.5em;
    display: inline-block;
    border: 2px #a51c30 solid;
    border-radius: 50%;
    padding: 0px 5px 0px 10px;
}
.suna{
    background-color: #8a0000;
}
.suna:hover{
    background-color: #8a0000;
}