/* Общие стили (из предыдущего примера) */
body {
    font-family: play, sans-serif;
    margin: 0; padding: 0;
    background: #fff;
    color: #333;
}
.header {
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-top: 22px;
}

.logo-image {
    color: #000;
    width: 150px;
}

.logo-underline {
    width: 100%;
    height: 2px;
    background-color: #000;
}

.logo-overline {
    width: 100%;
    height: 2px;
    background-color: #000;
}

.header-info {
    text-align: right;
    min-width: 800px;
}

.header-description-phone-container { /* New container */
    display: flex;
    justify-content: space-between; /* or flex-start depending on design */
    align-items: flex-start;           /* Vertical alignment */
    flex-direction: column;  /* Stack description and phone vertically */
}

.header-description-wrapper {  /* Style the wrapper instead of .header-description */
    padding-left: 130px;  /* Apply padding to the wrapper */
}

.header-description {
    font-size: 14px;
    color: #fff;
    line-height: 1.3;
    font-weight: 700;
    padding-top: 20px;
    padding-bottom: 10px;
    max-width: 390px;
    border-bottom: 1px solid #111; /* Add border here */
    padding-right: 20px;

}

.header-phone {
    display: flex;
    justify-content: flex-end;
    font-size: 23px;
    font-weight: 700;
    color: #fff;
    text-decoration: none;
    padding-left: 20px;
    white-space: nowrap;
}

.header-navigation {
    display: flex;
    justify-content: flex-end; /* Move navigation to right */
    gap: 25px;
    text-transform: uppercase;
    font-weight: 700;
    padding-right: 290px;
}



.header-navigation a {
    font-size: 16px; /* Approximate size */
    color: #fff;; /* Blue-grey color */
    text-decoration: none;
}

.header-navigation a:hover {
    text-decoration: underline;
}
main {
    max-width: 960px;
    margin: 20px auto;
    padding: 0 15px;
}
h1 {
    color: #fff;
    font-size: 64px;
}

h2 {
    color: #000000;
    font-size: 55px;
}

h3 {
    color: #29abe2;
    font-size: 35px;
}

h4 {
    color: #fff;
    font-size: 35px;
}

h5 {
    color: #fff;
    font-size: 18px ;
}

h6 {
    color: #29abe2;
    font-size: 18px;
}
 .info_down {
      background-color: rgba(40, 170, 226, 0.9); /* Полупрозрачный цвет */
      display: flex;
      padding: 20px 430px;
      flex-direction: column;
      color: white;
      text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5); /* Необязательно, для лучшей читаемости текста на фоне */
    }
.info_down2 {
      display: flex;
      padding: 60px 230px;
      flex-direction: column;
      color: white;
      text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5); /* Необязательно, для лучшей читаемости текста на фоне */
}

.info_down h2 {
      margin-top: 0;
      font-size: 2em; /* Сделаем заголовок побольше */
      font-weight: bold; /* Выделяем заголовок */
      text-align: center; /* Выравниваем заголовок по центру */
      margin-bottom: 20px;
    }
    .info_down2 ul {
      list-style: none;
      padding: 0;
      margin: 0;
      display: grid;
      flex-wrap: wrap;
      justify-content: space-around; /* Равномерное распределение по ширине */
      grid-template-columns: 1fr 1fr; /* Две колонки одинаковой ширины */
    }

    .info_down2 li {
      width: 45%; /* Немного меньше, чем половина, чтобы был отступ */
      margin-bottom: 15px;
      position: relative;
      padding-left: 30px; /* Для галочки */
      font-size: 24px;
      text-align: left;
    }

    .info_down2 li::before {
      content: '\2713'; /* Юникод галочки */
      color: #29abe2; /* Белый цвет галочки */
      position: absolute;
      left: 0;
      top: 0; /* Выравниваем галочку сверху */
      font-size: 1.5em; /* Немного увеличиваем размер галочки */
    }


/* Переопределяем порядок последних трех элементов списка */
.info_down2 li:nth-child(4) {
    grid-column: 2;       /* Помещаем в правую колонку */
    grid-row: 1;          /* Помещаем в первую строку */
}

.info_down2 li:nth-child(5) {
    grid-column: 2;       /* Помещаем в правую колонку */
    grid-row: 2;          /* Помещаем во вторую строку */
}

.info_down2 li:nth-child(6) {
    grid-column: 2;       /* Помещаем в правую колонку */
    grid-row: 3;          /* Помещаем в третью строку */
}

.intro {
    margin-bottom: 15px;
}
.features {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    flex-direction: column;
    align-content: space-around;
}
.feature {
    flex: 1 1 45%;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    font-size: 25px;
    justify-content: center;
}
.feature i {
    color: #29ABE2;
    font-size: 24px;
    width: 30px;
    text-align: center;
}

.feature2 {
    flex: 1 1 45%;
    display: flex;
    align-items: left;
    gap: 10px;
    margin-bottom: 15px;
    font-size: 25px;
    justify-content: left;
}
.feature2 i {
    color: #29ABE2;
    font-size: 24px;
    width: 30px;
    text-align: left;
}
.btn2 {
    display: inline-block;
    margin-top: 20px;
    padding: 20px 35px;
    background: #29ABE2;
    color: white;
    text-decoration: none;
    transition: background-color 0.3s ease;
    font-size: 30px;
    border: #e1e1e1 solid 6px;
}

.btn {
    display: inline-block;
    margin-top: 20px;
    padding: 20px 35px;
    background: #29ABE2;
    color: white;
    text-decoration: none;
    transition: background-color 0.3s ease;
    font-size: 30px;
}


.btn:hover, .btn:focus {
    background: #1f7cb8;
}
.products {
    margin-top: 40px;
}
.product-list {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: space-between;
    padding-bottom: 10px;
}
.product-item {
    width: 235px;          /* Фиксированная ширина */
    border: 2px solid #e1e1e1;
    border-radius: 8px;
    overflow: hidden;      /* Обрезаем все, что выходит за границы */
    text-align: center;
    transition: border-color 0.3s ease;
    cursor: pointer;
    display: flex;          /* Flex контейнер */
    flex-direction: column; /* Вертикальное расположение элементов */
    justify-content: space-between; /* Равномерное распределение пространства между элементами */
}

.product-item p {
    margin: 10px 10px;       /* Отступы для заголовка */
    font-weight: bold;
    font-size: 21px;       /* Размер шрифта для заголовка */
}

.product-item img {
    width: 100%;
    height: auto;          /* Автоматическая высота */
    object-fit: cover;     /* Обрезаем изображение, если нужно */
    flex-grow: 1;          /* Изображение занимает доступное пространство */
}

.product-item .btn {
    display: block;        /* Кнопка на всю ширину */
    margin-top: auto;       /* Кнопка прижимается к низу */
    margin-bottom: 0;        /* Нет отступа снизу */
    padding: 10px 0;         /* Отступы сверху и снизу для кнопки */
    background: #29ABE2;   /* Цвет фона кнопки */
    color: white;          /* Цвет текста кнопки */
    text-decoration: none;
    border-radius: 0;       /* Без закругления углов */
    transition: background-color 0.3s ease;
}

.product-item .btn:hover,
.product-item .btn:focus {
    background: #1f7cb8;   /* Цвет фона при наведении */
}

/* Footer Styles */
.footer {
    background-color: #222;
    color: #fff;
    padding: 15px 160px;
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin-top: auto;
}

.footer-copyright {
    font-size: 26px;
    color: #fff;
    margin: 0;
}

.footer-button-container {
           display: inline-block; /* Важно: делает контейнер занимающим столько места, сколько нужно */
}

.footer-button {
    color: #fff;
    padding: 8px 15px;
    text-decoration: none;
    border-radius: 3px;
    font-size: 16px;
}

.footer-button-overline {
    width: 100%;
    height: 2px;
    background-color: #fff;
    margin-bottom: 10px;
}

.footer-phone {
    font-size: 23px;
    font-weight: bold;
    color: #21ABD1;;
    margin: 0;
}

.footer-description-wrapper {  /* Style the wrapper instead of .header-description */
    padding-left: 130px;  /* Apply padding to the wrapper */
}

.footer-info {
    text-align: right;
    min-width: 800px;
}


.footer-description {
    font-size: 14px;
    color: #fff;
    line-height: 1.3;
    font-weight: 700;
    padding-top: 20px;
    padding-bottom: 10px;
    max-width: 390px;
    border-bottom: 1px solid #111; /* Add border here */
    padding-right: 20px;

}

/* Responsive */
@media (max-width: 700px) {
    .feature {
        flex: 1 1 100%;
    }
    .product-item {
        width: calc(50% - 10px);
    }
}
@media (max-width: 400px) {
    header {
        flex-direction: column;
        align-items: flex-start;
    }
    nav {
        margin-top: 10px;
    }
    .product-item {
        width: 100%;
    }
}

/* Стили для Hero */
.hero {
    background-image: url('/static/logo/home1.jpg'); /* Замени на URL своего изображения */
    background-size: cover; /* Растянуть изображение на всю область */
    background-position: center; /* Центрировать изображение */
    background-blend-mode: multiply; /* Смешивание фона */
    color: white; /* Белый текст, чтобы был виден на фоне */
    padding: 20px; /* Отступы вокруг контента */
    text-align: center; /* Центрировать текст */
    background-color: #4f4f4f;
}
.hero2 {
    background-image: url('/static/logo/info2.webp'); /* Замени на URL своего изображения */
    background-size: cover; /* Растянуть изображение на всю область */
    background-position: center; /* Центрировать изображение */
    background-blend-mode: multiply; /* Смешивание фона */
    color: white; /* Белый текст, чтобы был виден на фоне */
    padding: 20px; /* Отступы вокруг контента */
    background-color: #4f4f4f;
}
