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

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
    color: #333;
    max-width: 1180px;
    margin: 0 auto;
    background-color: #f8fafc;
}

.container {
    padding: 0 20px;
    max-width: 100%;
}

/* Typography */
h1, h2, h3 {
    font-family: 'Roboto', sans-serif;
    font-weight: 600;
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

p {
    margin-bottom: 1rem;
    font-size: 1rem;
    font-weight: 400;
}

/* Block 1: Hero Section */
.hero-section {
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 50%, #60a5fa 100%);
    color: white;
    min-height: 430px;
    display: flex;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

.hero-section h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.hero-section h2 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    font-weight: 400;
    opacity: 0.95;
}

.hero-section p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.9;
}

/* CTA Button */
.cta-button {
    display: inline-block;
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: white;
    padding: 15px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.4);
    border: none;
    cursor: pointer;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.6);
    background: linear-gradient(135deg, #d97706, #b45309);
}

/* Block 2: Contact Form Section */
.contact-form-section {
    background: linear-gradient(135deg, #059669 0%, #10b981 100%);
    color: white;
    padding: 80px 0;
    text-align: center;
}

.contact-form-section h2 {
    color: white;
    margin-bottom: 2rem;
}

.contact-form {
    max-width: 500px;
    margin: 0 auto;
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
}

.contact-form input[type="email"] {
    flex: 1;
    min-width: 250px;
    padding: 15px 20px;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    background: rgba(255, 255, 255, 0.95);
    color: #333;
    outline: none;
    transition: all 0.3s ease;
}

.contact-form input[type="email"]:focus {
    background: white;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.3);
}

.submit-button {
    background: linear-gradient(135deg, #dc2626, #b91c1c);
    color: white;
    padding: 15px 30px;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(220, 38, 38, 0.4);
}

.submit-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(220, 38, 38, 0.6);
    background: linear-gradient(135deg, #b91c1c, #991b1b);
}

/* Block 3: Services Section */
.services-section {
    background: white;
    padding: 80px 0;
}

.services-section h2 {
    text-align: center;
    color: #1f2937;
    margin-bottom: 3rem;
}

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

.service-item {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    padding: 30px;
    border-radius: 20px;
    text-align: center;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
}

.service-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.service-item h3 {
    color: #1e40af;
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

.service-item p {
    color: #64748b;
    margin-bottom: 1.5rem;
}

.price {
    font-size: 1.5rem;
    font-weight: 700;
    color: #059669;
    background: linear-gradient(135deg, #d1fae5, #a7f3d0);
    padding: 10px 20px;
    border-radius: 50px;
    display: inline-block;
}

/* Article Section */
.article-section {
    margin-top: 4rem;
    padding: 40px;
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border-radius: 20px;
    border-left: 6px solid #f59e0b;
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.1);
}

.article-section h3 {
    color: #92400e;
    font-size: 1.6rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

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

/* Block 4: Specialists Section */
.specialists-section {
    background: linear-gradient(135deg, #374151 0%, #4b5563 100%);
    color: white;
    padding: 80px 0;
}

.specialists-section h2 {
    text-align: center;
    color: white;
    margin-bottom: 3rem;
}

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

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

.specialist-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
}

.specialist-item h3 {
    color: #60a5fa;
    margin-bottom: 0.5rem;
}

.specialist-item p:first-of-type {
    color: #d1d5db;
    font-weight: 500;
    margin-bottom: 1rem;
}

.specialist-item p:last-of-type {
    color: #e5e7eb;
}

/* Block 5: Reviews Section */
.reviews-section {
    background: linear-gradient(135deg, #7c3aed 0%, #8b5cf6 100%);
    color: white;
    padding: 80px 0;
}

.reviews-section h2 {
    text-align: center;
    color: white;
    margin-bottom: 3rem;
}

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

.review-item {
    background: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.review-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
}

.review-item h3 {
    color: #e0e7ff;
    margin-bottom: 1rem;
}

.review-item p {
    color: #e5e7eb;
    font-style: italic;
    margin-bottom: 1rem;
}

.rating {
    color: #fbbf24;
    font-size: 1.2rem;
}

/* Block 6: Address Section */
.address-section {
    background: white;
    padding: 80px 0;
}

.address-section h2 {
    text-align: center;
    color: #1f2937;
    margin-bottom: 2rem;
}

.address-info {
    text-align: center;
    margin-bottom: 3rem;
}

.address-info p {
    color: #4b5563;
    font-size: 1.1rem;
}

.address-info p:first-child {
    font-weight: 600;
    color: #1e40af;
    font-size: 1.3rem;
}

.map-container {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.map-container iframe {
    width: 100%;
    height: 400px;
    border: none;
}

/* Block 7: Footer */
.footer {
    background: linear-gradient(135deg, #111827 0%, #1f2937 100%);
    color: white;
    padding: 40px 0;
    text-align: center;
}

.footer p {
    color: #d1d5db;
    margin-bottom: 0.5rem;
}

/* Mobile Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }

    .hero-section {
        min-height: 500px;
        padding: 40px 0;
    }

    .hero-section h1 {
        font-size: 2.2rem;
    }

    .hero-section h2 {
        font-size: 1.3rem;
    }

    .hero-section p {
        font-size: 1rem;
    }

    .contact-form {
        flex-direction: column;
        align-items: center;
    }

    .contact-form input[type="email"] {
        min-width: 100%;
        margin-bottom: 15px;
    }

    .services-grid,
    .specialists-grid,
    .reviews-grid {
        grid-template-columns: 1fr;
    }

    .service-item,
    .specialist-item,
    .review-item {
        padding: 25px;
    }

    .article-section {
        padding: 25px;
        margin-top: 2rem;
    }

    .article-section h3 {
        font-size: 1.4rem;
    }

    .article-section p {
        font-size: 1rem;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.7rem;
    }

    h3 {
        font-size: 1.2rem;
    }

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

@media (max-width: 480px) {
    .hero-section {
        min-height: 450px;
    }

    .hero-section h1 {
        font-size: 1.8rem;
    }

    .hero-section h2 {
        font-size: 1.1rem;
    }

    .cta-button {
        padding: 12px 25px;
        font-size: 1rem;
    }

    .contact-form input[type="email"],
    .submit-button {
        padding: 12px 18px;
    }

    .service-item,
    .specialist-item,
    .review-item {
        padding: 20px;
    }

    .article-section {
        padding: 20px;
    }

    .price {
        font-size: 1.3rem;
        padding: 8px 16px;
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Button focus styles for accessibility */
.cta-button:focus,
.submit-button:focus {
    outline: 2px solid #fff;
    outline-offset: 2px;
}

/* Loading animation for buttons */
.cta-button:active,
.submit-button:active {
    transform: translateY(0);
}

/* Text selection */
::selection {
    background: #3b82f6;
    color: white;
}

::-moz-selection {
    background: #3b82f6;
    color: white;
}
