/* styles.css */
/* Базовые настройки и сброс отступов */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Georgia', serif; /* Стандартный шрифт с засечками */
    line-height: 1.6;
    color: #332115;
    background-color: #f5f0e6;
    min-height: 100vh;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Общие стили для секций */
.section {
    padding: 60px 0;
    border-bottom: 1px solid #d9c9b5;
}

/* Блок 1: Оферта и приглашение */
#offer {
    background: linear-gradient(135deg, #8B4513 0%, #A0522D 100%);
    color: #fff;
    text-align: center;
}

#offer h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

#offer p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 30px;
}

.btn {
    display: inline-block;
    background-color: #6B4423;
    color: #fff;
    padding: 12px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease;
    border: 2px solid #5C3D1F;
}

.btn:hover {
    background-color: #5C3D1F;
}

/* Блоки с контентом (отзывы, продукты, специалисты и т.д.) */
#reviews, #products, #specialists, #training-media, #leave-review {
    background-color: #fff8f0;
}

h2 {
    color: #6B4423;
    font-size: 2rem;
    margin-bottom: 30px;
    text-align: center;
    position: relative;
}

h2::after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background-color: #8B4513;
    margin: 15px auto 0;
}

/* Отзывы */
.review-item {
    background-color: #f0e6d9;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 15px;
    border-left: 5px solid #8B4513;
}

/* Продукты */
.products-list {
    list-style: none;
    margin-bottom: 40px;
}

.products-list li {
    background-color: #e8dccd;
    padding: 15px;
    margin-bottom: 10px;
    border-radius: 8px;
    border: 1px solid #d4c7b7;
}

/* Статья о советах */
article {
    background-color: #f8f4e9;
    padding: 30px;
    border-radius: 12px;
    border: 1px solid #e0d5c4;
}

article h3 {
    color: #7A3E1B;
    margin-bottom: 20px;
}

ol {
    counter-reset: item;
    margin-left: 20px;
}

ol li {
    margin: 15px 0;
    position: relative;
    padding-left: 30px;
}

ol li::before {
    content: counter(item) '.';
    counter-increment: item;
    color: #8B4513;
    font-weight: bold;
    position: absolute;
    left: 0;
    top: 0;
}

/* Форма подписки */
#subscription-form, #leave-review {
    background-color: #e8dccd;
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 5px 15px rgba(139, 69, 19, 0.1);
}

.form-group {
    margin-bottom: 20px;
}

label {
    display: block;
    margin-bottom: 8px;
    color: #6B4423;
    font-weight: bold;
}

input[type="email"],
input[type="text"],
textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #d4c7b7;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

input:focus,
textarea:focus {
    outline: none;
    border-color: #8B4513;
}

/* Специалисты */
.specialist-item {
    background-color: #f0e6d9;
    padding: 25px;
    border-radius: 12px;
    margin-bottom: 20px;
    border: 1px solid #e0d5c4;
    transition: transform 0.3s ease;
}

.specialist-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(139, 69, 19, 0.15);
}

.specialist-item h3 {
    color: #7A3E1B;
    margin-bottom: 10px;
}

/* Адрес и карта */
#address {
    background-color: #8B4513;
    color: #fff;
    text-align: center;
}

#address p {
    font-size: 1.3rem;
    margin-bottom: 20px;
}

.map-container {
    margin-top: 30px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* Футер */
#copyright {
    background-color: #5C3D1F;
    color: #e8dccd;
    text-align: center;
    padding: 25px 0;
}

#copyright p {
    font-size: 0.9rem;
}

.domainName {
    font-weight: bold;
    color: #fff;
}

/* Адаптивные стили */
@media (max-width: 768px) {
    .section {
        padding: 40px 0;
    }

    #offer h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.8rem;
    }

    .container {
        width: 95%;
    }

    #subscription-form,
    #leave-review {
        padding: 30px 20px;
    }

    .btn {
        display: block;
        margin: 20px auto;
        width: 80%;
        text-align: center;
    }
}

@media (max-width: 480px) {
    #offer h1 {
        font-size: 1.7rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    article {
        padding: 20px;
    }

    ol li {
        margin: 10px 0;
        padding-left: 20px;
    }
