/* Минимальные CSS-стили */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #ffffff;
    color: #333;
}
header, footer {
    background-color: #333;
    color: #fff;
    padding: 1em 0;
    text-align: center;
}
.container {
    width: 80%;
    margin: 0 auto;
    padding: 20px;
    background-color: #fff;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}
section {
    margin-bottom: 20px;
    padding: 20px;
    border-bottom: 1px solid #eee;
}
h2 {
    margin-bottom: 10px;
    color: #333;
}
.portfolio-item {
    margin-bottom: 10px;
}
.contact-form input, .contact-form textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
}
.contact-form button {
    background-color: #333;
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}
.social-links a {
    color: #fff;
    text-decoration: none;
    margin: 0 10px;
}
.logo {
    width: 300px; /* Размер логотипа (настройте по своему вкусу) */
    height: auto;
    margin-right: 10px;
    vertical-align: middle;
}
header .container {
    display: flex;
    align-items: center;
    justify-content: center; /* Или "space-between" для выравнивания по краям */
}
header h1 {
    margin: 0;
}
nav a {
    color: #fff;
    text-decoration: none;
    margin: 0 15px;
}
/* Стили для секции "Контакты" */
.contact-form {
    margin-bottom: 20px;
}
.social-links a {
    color: #333; /* Цвет ссылок */
    text-decoration: none;
    margin: 0 15px; /* Отступы между ссылками */
}
.social-links a:hover {
    color: #007bff; /* Цвет ссылок при наведении */
}
.responsive-image {
    width: 300px; /* Размер логотипа (настройте по своему вкусу) */
    height: auto;
    margin-right: 10px;
    vertical-align: left;
}
.responsive-top {
    max-width: 100%; /* Максимальная ширина: 100% от родительского элемента (в данном случае, экрана) */
    height: auto;   /* Высота автоматически подстраивается под ширину */
    display: block;  /*  Убираем небольшие отступы, которые могут быть вокруг изображения */
    margin: 0 auto; /* Центрируем изображение по горизонтали (если его ширина меньше ширины родителя) */
}

.price-list-header,
.price-item {
    display: flex;
    align-items: center; /* Выравниваем элементы по вертикали */
    padding: 10px 0;
    border-bottom: 1px solid #ddd;
}

.price-item:last-child, .price-list-header:last-child {
  border-bottom: none;
}

.price-list-service {
    flex-basis: 30%; /* Ширина колонки "Услуга" */
    font-weight: bold;
    min-width: 150px; /* Минимальная ширина, чтобы текст не сжимался */
}

.price-list-weight {
    flex-basis: 35%; /* Ширина колонки с весом (заголовки) */
    text-align: center; /* Центрируем текст заголовков */
    font-weight: bold;
    min-width: 120px; /* Минимальная ширина */
}

.price-list-price {
    flex-basis: 35%; /* Ширина колонки с ценами */
    text-align: center;
    min-width: 120px; /* Минимальная ширина */
}

/* Адаптация для мобильных устройств */
@media (max-width: 768px) { /* Изменили точку останова */
    .price-list-header,
    .price-item {
        flex-direction: row; /* Возвращаем в строку, но настраиваем ширину */
        align-items: flex-start; /* Выравниваем по верхнему краю */
    }

    .price-list-service {
        flex-basis: 40%; /* Увеличиваем ширину колонки "Услуга" */
        text-align: left; /* Выравниваем по левому краю */
        min-width: auto; /* Убираем минимальную ширину */
    }

    .price-list-weight {
        flex-basis: 30%; /* Ширина колонки с весом */
        text-align: center;
        min-width: auto; /* Убираем минимальную ширину */

    }

    .price-list-price {
        flex-basis: 30%; /* Ширина колонки с ценой */
        text-align: center;
        min-width: auto; /* Убираем минимальную ширину */

    }
}

hr {
    border: none;             /* Убираем стандартные границы */
    border-top: 1px solid #ccc; /* Добавляем линию сверху */
    margin: 10px 0;          /* Добавляем отступы сверху и снизу */
    width: 100%; 
}