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

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Open Sans', sans-serif;
    line-height: 1.6;
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Block 1: Offer */
#offer {
    min-height: 430px;
    background: linear-gradient(135deg, #ff6200, #ff8c00);
    color: #fff;
    padding: 60px 40px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#offer h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.5em;
    margin-bottom: 20px;
}

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

#offer .btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: #fff;
    color: #ff6200;
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    border-radius: 25px;
    transition: background-color 0.3s, color 0.3s;
}

#offer .btn:hover {
    background-color: #ff6200;
    color: #fff;
}

/* General section styling */
section {
    padding: 50px 40px;
    margin-bottom: 20px;
}

h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 2em;
    margin-bottom: 30px;
    color: #333;
}

/* Block 2: Subscribe Form */
#subscribe {
    background-color: #f5f5f5;
    text-align: center;
}

#subscribe form {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

#subscribe label {
    font-size: 1.1em;
    color: #333;
}

#subscribe input[type="email"] {
    padding: 12px;
    width: 100%;
    max-width: 400px;
    border: 2px solid #ff6200;
    border-radius: 5px;
    font-size: 1em;
}

#subscribe button {
    padding: 12px 30px;
    background-color: #ff6200;
    color: #fff;
    border: none;
    border-radius: 25px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.3s;
}

#subscribe button:hover {
    background-color: #e55a00;
}

/* Block 3: Products and Article */
#products {
    background-color: #fff;
    border-left: 5px solid #ff6200;
}

#products ul {
    list-style: none;
    margin-bottom: 40px;
}

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

#products article {
    background-color: #fff8f0;
    padding: 20px;
    border-radius: 5px;
}

#products article h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.5em;
    color: #ff6200;
    margin-bottom: 15px;
}

#products article p {
    color: #666;
}

/* Block 4: Specialists */
#specialists {
    background-color: #f5f5f5;
}

#specialists div {
    margin-bottom: 20px;
}

#specialists h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.3em;
    color: #333;
}

#specialists p {
    color: #666;
}

/* Block 5: Reviews */
#reviews {
    background-color: #fff;
    border-left: 5px solid #ff8c00;
}

#reviews div {
    margin-bottom: 20px;
}

#reviews p {
    font-style: italic;
    color: #666;
}

/* Block 6: Contact */
#contact {
    background-color: #f5f5f5;
    text-align: center;
}

#contact p {
    margin: 20px 0;
    color: #333;
}

#contact iframe {
    max-width: 100%;
}

/* Block 7: Footer */
#footer {
    background-color: #333;
    color: #fff;
    text-align: center;
    padding: 20px;
}

/* Mobile Version */
@media (max-width: 768px) {
    body {
        padding: 0 10px;
    }

    #offer {
        min-height: 350px;
        padding: 40px 20px;
    }

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

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

    #offer .btn {
        padding: 10px 25px;
    }

    section {
        padding: 30px 20px;
    }

    h2 {
        font-size: 1.5em;
    }

    #subscribe form {
        gap: 15px;
    }

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

    #products ul {
        padding-left: 0;
    }

    #contact iframe {
        height: 300px;
    }
}
