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

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

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

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

#main h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    font-weight: 700;
}

#main h2 {
    font-size: 1.8rem;
    margin-bottom: 30px;
    font-weight: 500;
}

.button {
    display: inline-block;
    padding: 15px 40px;
    background: linear-gradient(45deg, #fd1d1d, #e1306c);
    color: white;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: transform 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.button:hover {
    transform: translateY(-3px);
}

/* Subscription Form */
#subscribe {
    background-color: white;
    padding: 60px 20px;
    text-align: center;
}

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

input[type="email"] {
    width: 100%;
    padding: 15px;
    margin-bottom: 20px;
    border: 1px solid #dbdbdb;
    border-radius: 8px;
    font-size: 1rem;
}

button[type="submit"] {
    width: 100%;
    padding: 15px;
    background: linear-gradient(45deg, #405DE6, #5851DB);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

button[type="submit"]:hover {
    opacity: 0.9;
}

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

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

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

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

/* Article Styling */
article {
    background: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
    margin: 40px 0;
}

article h3 {
    color: #262626;
    margin-bottom: 20px;
    font-size: 1.5rem;
}

article p {
    margin-bottom: 15px;
    color: #666;
}

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

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

.specialist {
    text-align: center;
    padding: 20px;
}

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

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

.review {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.review cite {
    color: #666;
    font-style: normal;
    display: block;
    margin-top: 15px;
}

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

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

/* Footer */
footer {
    background-color: #fafafa;
    padding: 30px 20px;
    text-align: center;
    color: #666;
}

/* Section Headers */
section h2 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2rem;
    color: #262626;
}

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

    #main h2 {
        font-size: 1.4rem;
    }

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

    section {
        padding: 40px 15px;
    }

    article {
        padding: 25px;
    }

    .button {
        padding: 12px 30px;
    }
}

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

    #main h2 {
        font-size: 1.2rem;
    }

    section h2 {
        font-size: 1.6rem;
    }
}
