/* Google Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@400;500;700&family=Roboto:wght@300;400;700&display=swap');

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    max-width: 1200px;
    margin: 0 auto;
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: #333;
}

h1, h2, h3 {
    font-family: 'Oswald', sans-serif;
    color: #e4002b;
}

/* Main Offer Block */
#main {
    min-height: 400px;
    background: url('https://www.transparenttextures.com/patterns/diamond-upholstery.png'), #202020;
    background-blend-mode: overlay;
    color: white;
    padding: 60px 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#main h1 {
    font-size: 3.5em;
    margin-bottom: 20px;
    color: white;
    text-transform: uppercase;
}

#main p {
    font-size: 1.5em;
    margin-bottom: 30px;
}

/* Buttons Styling */
.button, button[type="submit"] {
    background-color: #e4002b;
    color: white;
    padding: 15px 30px;
    border: none;
    border-radius: 5px;
    font-size: 1.2em;
    text-transform: uppercase;
    font-family: 'Oswald', sans-serif;
    cursor: pointer;
    transition: background-color 0.3s;
    text-decoration: none;
}

.button:hover, button[type="submit"]:hover {
    background-color: #c1001f;
}

/* Contact Form */
#contact-form {
    background-color: #f8f8f8;
    padding: 40px 20px;
    text-align: center;
}

form {
    max-width: 500px;
    margin: 0 auto;
}

input[type="email"] {
    width: 100%;
    padding: 15px;
    margin-bottom: 20px;
    border: 2px solid #ddd;
    border-radius: 5px;
    font-size: 1.1em;
}

/* Products Section */
#products {
    padding: 60px 20px;
    background-color: white;
}

.product {
    background-color: #f8f8f8;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

/* Article Styling */
article {
    background-color: #e4002b;
    color: white;
    padding: 40px;
    margin: 40px 0;
    border-radius: 10px;
}

article h3 {
    color: white;
    margin-bottom: 20px;
}

/* Specialists Section */
#specialists {
    background-color: #f8f8f8;
    padding: 60px 20px;
}

.specialist {
    background-color: white;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

/* Reviews Section */
#reviews {
    padding: 60px 20px;
    background-color: white;
}

.review {
    background-color: #f8f8f8;
    padding: 30px;
    margin-bottom: 20px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.review cite {
    color: #e4002b;
    font-style: normal;
    font-weight: bold;
}

/* Contacts Section */
#contacts {
    background-color: #f8f8f8;
    padding: 60px 20px;
}

address {
    margin-bottom: 30px;
    font-style: normal;
    font-size: 1.2em;
}

/* Footer */
footer {
    background-color: #202020;
    color: white;
    padding: 20px;
    text-align: center;
}

/* Section Headers */
section h2 {
    text-align: center;
    font-size: 2.5em;
    margin-bottom: 40px;
    text-transform: uppercase;
}

/* Mobile Responsive Design */
@media (max-width: 768px) {
    #main h1 {
        font-size: 2.5em;
    }

    #main p {
        font-size: 1.2em;
    }

    section h2 {
        font-size: 2em;
    }

    .button, button[type="submit"] {
        padding: 12px 24px;
        font-size: 1em;
    }

    article {
        padding: 20px;
    }

    #main {
        padding: 40px 15px;
    }

    section {
        padding: 40px 15px !important;
    }
}

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

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

    section h2 {
        font-size: 1.8em;
    }

    .product, .specialist, .review {
        padding: 15px;
    }
}
