/* styles.css */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&family=Montserrat:wght@600&display=swap');

/* Общие стили */
body {
    font-family: 'Roboto', sans-serif;
    margin: 0 auto;
    padding: 0;
    max-width: 1180px;
    background-color: #f5f6f5;
    line-height: 1.6;
    color: #333;
}

/* Заголовки */
h1, h2, h3 {
    font-family: 'Montserrat', sans-serif;
    color: #003087; /* Тёмно-синий ЕС */
}

/* Блок 1: Оффер */
#offer {
    min-height: 430px;
    background: linear-gradient(135deg, #003087 0%, #005cbf 100%); /* Градиент синий */
    color: #fff;
    padding: 50px 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#offer h1 {
    font-size: 2.5em;
    margin-bottom: 20px;
}

#offer p {
    font-size: 1.2em;
    max-width: 800px;
    margin-bottom: 30px;
}

#offer .button {
    display: inline-block;
    padding: 15px 30px;
    background-color: #ffce00; /* Жёлтый ЕС */
    color: #003087;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    transition: background-color 0.3s;
}

#offer .button:hover {
    background-color: #ffd740;
}

/* Общие стили для секций */
section {
    padding: 40px 20px;
    margin: 20px 0;
    background-color: #fff;
    border: 1px solid #e0e0e0;
}

/* Блок 2: Форма */
#subscribe {
    background-color: #e8f0fe; /* Светло-синий фон */
    text-align: center;
}

#subscribe h2 {
    margin-bottom: 20px;
}

#subscribe form {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

#subscribe input[type="email"] {
    padding: 12px;
    font-size: 1em;
    border: 2px solid #003087;
    border-radius: 5px;
    width: 250px;
}

#subscribe button {
    padding: 12px 25px;
    background-color: #003087;
    color: #fff;
    border: none;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s;
}

#subscribe button:hover {
    background-color: #005cbf;
}

/* Блок 3: Продукты и статья */
#products {
    background-color: #fff9e6; /* Светло-жёлтый фон */
}

#products ul {
    list-style: none;
    padding: 0;
}

#products li {
    margin: 10px 0;
    font-size: 1.1em;
}

#products article {
    margin-top: 30px;
    padding: 20px;
    background-color: #fff;
    border-left: 5px solid #ffce00; /* Жёлтая выделяющая полоса */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

/* Блок 4: Специалисты */
#specialists {
    background-color: #fff;
}

#specialists div {
    margin: 20px 0;
}

/* Блок 5: Отзывы */
#reviews {
    background-color: #e8f0fe;
}

#reviews div {
    margin: 20px 0;
    font-style: italic;
}

/* Блок 6: Контакты */
#contact {
    background-color: #fff;
    text-align: center;
}

#contact iframe {
    margin-top: 20px;
}

/* Блок 7: Футер */
#footer {
    padding: 20px;
    text-align: center;
    background-color: #003087;
    color: #fff;
    margin-top: 20px;
}

/* Мобильная версия */
@media (max-width: 768px) {
    body {
        max-width: 100%;
        padding: 0 10px;
    }

    #offer {
        min-height: 300px;
        padding: 30px 10px;
    }

    #offer h1 {
        font-size: 1.8em;
    }

    #offer p {
        font-size: 1em;
    }

    #offer .button {
        padding: 10px 20px;
    }

    #subscribe form {
        flex-direction: column;
        align-items: center;
    }

    #subscribe input[type="email"] {
        width: 100%;
        max-width: 300px;
    }

    section {
        padding: 20px 10px;
    }

    h1, h2, h3 {
        font-size: 1.5em;
    }

    #contact iframe {
        height: 300px;
    }
}

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

    #offer p {
        font-size: 0.9em;
    }

    #subscribe input[type="email"] {
        font-size: 0.9em;
    }

    #subscribe button {
        font-size: 0.9em;
    }
}
