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

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

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

h1, h2, h3 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.8rem;
    line-height: 1.2;
}

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

h3 {
    font-size: 1.4rem;
    margin-bottom: 0.8rem;
}

p {
    margin-bottom: 1rem;
}

.container {
    padding: 3rem 2rem;
}

/* Block 1: Hero Section */
#hero {
    background: linear-gradient(135deg, #DC143C 0%, #8B0000 100%);
    color: #ffffff;
    min-height: 430px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

#hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 10px,
        rgba(255, 255, 255, 0.03) 10px,
        rgba(255, 255, 255, 0.03) 20px
    );
}

#hero .container {
    position: relative;
    z-index: 1;
}

#hero h1 {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    margin-bottom: 1.5rem;
}

#hero p {
    font-size: 1.15rem;
    margin-bottom: 1.5rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.cta-button {
    display: inline-block;
    background-color: #ffffff;
    color: #DC143C;
    padding: 1rem 2.5rem;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    margin-top: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.cta-button:hover {
    background-color: #f0f0f0;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

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

#subscribe h2 {
    color: #DC143C;
}

#subscribe p {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 2rem;
}

#subscribe form {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

#subscribe input[type="email"] {
    flex: 1;
    min-width: 250px;
    padding: 1rem 1.5rem;
    border: 2px solid #ddd;
    border-radius: 50px;
    font-size: 1rem;
    font-family: 'Open Sans', sans-serif;
    transition: border-color 0.3s ease;
}

#subscribe input[type="email"]:focus {
    outline: none;
    border-color: #DC143C;
}

.submit-button {
    padding: 1rem 2.5rem;
    background-color: #DC143C;
    color: #ffffff;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Montserrat', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.submit-button:hover {
    background-color: #B8001F;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(220, 20, 60, 0.4);
}

/* Block 3: Products and Prices */
#products {
    background: linear-gradient(to bottom, #f9f9f9 0%, #e8e8e8 100%);
}

#products h2 {
    color: #8B0000;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.product-item {
    background-color: #ffffff;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-top: 4px solid #DC143C;
}

.product-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.product-item h3 {
    color: #DC143C;
    font-size: 1.5rem;
}

.product-item p {
    color: #555;
}

.price {
    font-size: 2rem;
    font-weight: 700;
    color: #8B0000;
    margin-top: 1rem;
    font-family: 'Montserrat', sans-serif;
}

/* Article Styling */
.info-article {
    background-color: #ffffff;
    padding: 2.5rem;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border-left: 6px solid #DC143C;
    margin-top: 2rem;
}

.info-article h3 {
    color: #8B0000;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
}

.info-article p {
    color: #444;
    font-size: 1.05rem;
    line-height: 1.8;
    text-align: justify;
}

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

#specialists h2 {
    color: #ffffff;
}

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

.specialist-item {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 10px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: background-color 0.3s ease;
}

.specialist-item:hover {
    background-color: rgba(255, 255, 255, 0.15);
}

.specialist-item h3 {
    color: #ffffff;
    font-size: 1.5rem;
    border-bottom: 2px solid rgba(255, 255, 255, 0.3);
    padding-bottom: 0.5rem;
    margin-bottom: 1rem;
}

.specialist-item p {
    color: #f0f0f0;
    line-height: 1.7;
}

/* Block 5: Reviews */
#reviews {
    background-color: #ffffff;
}

#reviews h2 {
    color: #8B0000;
}

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

.review-item {
    background: linear-gradient(135deg, #f9f9f9 0%, #e8e8e8 100%);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    position: relative;
    border-left: 4px solid #DC143C;
}

.review-item::before {
    content: '"';
    font-size: 4rem;
    color: #DC143C;
    opacity: 0.2;
    position: absolute;
    top: 10px;
    left: 15px;
    font-family: Georgia, serif;
}

.review-item h3 {
    color: #DC143C;
    font-size: 1.3rem;
    margin-top: 1rem;
}

.review-item p {
    color: #444;
    font-style: italic;
    line-height: 1.7;
}

/* Block 6: Contact */
#contact {
    background: linear-gradient(to bottom, #8B0000 0%, #DC143C 100%);
    color: #ffffff;
}

#contact h2 {
    color: #ffffff;
}

#contact p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

#contact strong {
    color: #ffffff;
    font-weight: 600;
}

.map-container {
    margin-top: 2rem;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.map-container iframe {
    display: block;
}

/* Footer */
footer {
    background-color: #2c2c2c;
    color: #ffffff;
    text-align: center;
    padding: 2rem;
}

footer p {
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

footer .domainName {
    color: #DC143C;
    font-weight: 600;
}

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

    h2 {
        font-size: 1.8rem;
    }

    h3 {
        font-size: 1.2rem;
    }

    .container {
        padding: 2rem 1.5rem;
    }

    #hero {
        min-height: 450px;
    }

    #hero p {
        font-size: 1rem;
    }

    .cta-button {
        padding: 0.9rem 2rem;
        font-size: 1rem;
    }

    #subscribe form {
        flex-direction: column;
        gap: 1rem;
    }

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

    .submit-button {
        width: 100%;
    }

    .products-grid,
    .specialists-grid,
    .reviews-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .price {
        font-size: 1.8rem;
    }

    .info-article {
        padding: 1.5rem;
    }

    .info-article h3 {
        font-size: 1.5rem;
    }

    .info-article p {
        font-size: 1rem;
        text-align: left;
    }

    .map-container iframe {
        height: 300px;
    }
}

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

    h2 {
        font-size: 1.5rem;
    }

    .container {
        padding: 1.5rem 1rem;
    }

    #hero {
        min-height: 400px;
    }

    .cta-button {
        padding: 0.8rem 1.5rem;
        font-size: 0.95rem;
    }

    .product-item,
    .specialist-item,
    .review-item {
        padding: 1.5rem;
    }

    .review-item::before {
        font-size: 3rem;
    }
}
