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

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

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

/* Typography */
h1, h2, h3 {
    font-family: 'Poppins', sans-serif;
    color: #DA291C;
}

h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    text-align: center;
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

/* Main Offer Block */
#main-offer {
    min-height: 400px;
    background-image: url('https://www.transparenttextures.com/patterns/cubes.png');
    background-color: #FFC72C;
    padding: 4rem 2rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #27251F;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Button Styles */
.btn, button {
    background-color: #DA291C;
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 25px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
    text-decoration: none;
    display: inline-block;
    margin-top: 1rem;
}

.btn:hover, button:hover {
    background-color: #B71C1C;
}

/* Subscribe Form */
#subscribe {
    background-color: white;
    padding: 3rem 2rem;
    text-align: center;
}

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

input[type="email"] {
    width: 100%;
    padding: 1rem;
    margin-bottom: 1rem;
    border: 2px solid #FFC72C;
    border-radius: 25px;
    font-size: 1rem;
}

/* Products Section */
#products {
    background-color: #f8f8f8;
    padding: 4rem 2rem;
}

.product-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.product {
    background-color: white;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.product:hover {
    transform: translateY(-5px);
}

.price {
    color: #DA291C;
    font-size: 1.25rem;
    font-weight: bold;
    margin-top: 1rem;
}

/* Health Article */
.health-article {
    background-color: white;
    padding: 3rem;
    border-radius: 10px;
    margin: 2rem auto;
    max-width: 800px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border-left: 5px solid #DA291C;
}

/* Specialists Section */
#specialists {
    background-color: white;
    padding: 4rem 2rem;
}

.specialist-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.specialist {
    text-align: center;
    padding: 1.5rem;
    background-color: #f8f8f8;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.specialist:hover {
    transform: translateY(-5px);
}

/* Reviews Section */
#reviews {
    background-color: #FFC72C;
    padding: 4rem 2rem;
}

.review-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.review {
    background-color: white;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

cite {
    display: block;
    margin-top: 1rem;
    font-weight: bold;
    color: #DA291C;
}

/* Contacts Section */
#contacts {
    background-color: white;
    padding: 4rem 2rem;
}

address {
    text-align: center;
    margin-bottom: 2rem;
    font-style: normal;
}

.map {
    margin-top: 2rem;
}

/* Footer */
footer {
    background-color: #27251F;
    color: white;
    text-align: center;
    padding: 2rem;
    margin-top: 2rem;
}

/* Mobile Responsive Design */
@media screen and (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.8rem;
    }

    #main-offer {
        padding: 2rem 1rem;
    }

    .product-list,
    .specialist-list,
    .review-list {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .health-article {
        padding: 1.5rem;
        margin: 1rem;
    }

    .btn, button {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }

    form {
        padding: 0 1rem;
    }
}

/* Hover Effects and Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

section {
    animation: fadeIn 0.8s ease-out;
}

/* Additional Contrast and Spacing */
section {
    margin-bottom: 2rem;
}

section:nth-child(even) {
    background-color: #f8f8f8;
}

/* Accessibility Improvements */
:focus {
    outline: 3px solid #FFC72C;
    outline-offset: 2px;
}
