/* Color Palette: Inspired by medical environments - soft blues, warm whites, professional deep blue
   Avoiding generic blue gradients and standard medical website colors */
:root {
    --primary: hsl(210, 35%, 35%); /* Deep blue - professional, trustworthy */
    --primary-light: hsl(210, 30%, 45%);
    --secondary: hsl(200, 20%, 65%); /* Soft blue - calming, medical */
    --accent: hsl(15, 60%, 55%); /* Warm terracotta - warmth, care */
    --bg-main: hsl(30, 20%, 98%); /* Warm off-white - not pure white */
    --bg-alt: hsl(210, 15%, 96%);
    --text-primary: hsl(220, 25%, 20%); /* Deep indigo - readable, professional */
    --text-secondary: hsl(220, 15%, 40%);
    --border: hsl(210, 10%, 85%);
    --emergency: hsl(0, 70%, 50%);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Georgia', 'Times New Roman', serif;
    line-height: 1.7;
    color: var(--text-primary);
    background-color: var(--bg-main);
    font-size: 18px;
}

/* Typography Scale: Custom, not default */
h1, h2, h3 {
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: -0.02em;
}

h2 {
    font-size: 2.25rem;
    margin-bottom: 1.5rem;
    color: var(--primary);
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary-light);
}

p {
    margin-bottom: 1rem;
}

a {
    color: var(--primary);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s ease;
}

a:hover {
    border-bottom-color: var(--primary);
}

/* Header - Unique layout, not standard navbar */
header {
    background: var(--bg-alt);
    border-bottom: 3px solid var(--primary);
    padding: 1.5rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 8px hsla(210, 35%, 35%, 0.08);
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.logo {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: 0.1em;
    font-family: 'Arial', sans-serif;
}

nav {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

nav a {
    font-size: 1.1rem;
    color: var(--text-primary);
    font-weight: 500;
    padding: 0.5rem 0;
    border-bottom: 2px solid transparent;
    transition: all 0.2s ease;
}

nav a:hover {
    color: var(--primary);
    border-bottom-color: var(--secondary);
}

/* Hero Section - Asymmetric, not centered */
.hero {
    background: linear-gradient(135deg, var(--bg-alt) 0%, var(--bg-main) 100%);
    padding: 4rem 2rem;
    border-bottom: 1px solid var(--border);
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
}

.hero h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
    max-width: 80%;
    color: var(--primary);
}

.hero-subtitle {
    font-size: 1.4rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    font-style: italic;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.stat {
    display: flex;
    flex-direction: column;
    padding: 1.5rem;
    background: white;
    border-left: 4px solid var(--secondary);
    box-shadow: 2px 2px 0 var(--border), 4px 4px 0 hsl(210, 10%, 90%);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.95rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Services Section */
.services {
    padding: 4rem 2rem;
    background: white;
}

.services h2 {
    text-align: center;
    max-width: 1200px;
    margin: 0 auto 3rem;
}

.services-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.service-card {
    padding: 2rem;
    background: var(--bg-alt);
    border-top: 3px solid var(--secondary);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.service-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px hsla(210, 35%, 35%, 0.15);
}

.service-card h3 {
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

.service-card p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 0.75rem;
}

.service-contact {
    margin-top: 1rem;
    font-weight: 600;
    color: var(--primary);
}

/* About Section */
.about {
    padding: 4rem 2rem;
    background: var(--bg-alt);
}

.about-content {
    max-width: 900px;
    margin: 0 auto;
}

.about-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

/* Hours Section */
.hours {
    padding: 4rem 2rem;
    background: white;
}

.hours h2 {
    text-align: center;
    max-width: 1200px;
    margin: 0 auto 3rem;
}

.hours-content {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.hours-section {
    padding: 2rem;
    background: var(--bg-alt);
    border-left: 4px solid var(--primary);
}

.hours-section.emergency {
    border-left-color: var(--emergency);
    background: hsl(0, 10%, 98%);
}

.hours-section h3 {
    margin-bottom: 1rem;
    color: var(--primary);
}

.hours-section.emergency h3 {
    color: var(--emergency);
}

.hours-section p {
    margin-bottom: 0.75rem;
    line-height: 1.6;
}

.emergency-number {
    font-weight: 600;
    font-size: 1.1rem;
    margin-top: 1rem;
}

/* Contact Section */
.contact {
    padding: 4rem 2rem;
    background: var(--bg-alt);
}

.contact h2 {
    text-align: center;
    max-width: 1200px;
    margin: 0 auto 3rem;
}

.contact-content {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.contact-info {
    padding: 2rem;
    background: white;
    border-top: 3px solid var(--accent);
}

.contact-info h3 {
    margin-bottom: 1rem;
    color: var(--primary);
}

.contact-info p {
    line-height: 1.7;
    margin-bottom: 1rem;
}

.postal-note {
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-style: italic;
}

/* Footer */
footer {
    background: var(--primary);
    color: white;
    text-align: center;
    padding: 2rem;
}

footer p {
    margin-bottom: 0.5rem;
}

footer a {
    color: white;
    border-bottom-color: var(--secondary);
}

footer a:hover {
    border-bottom-color: white;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    body {
        font-size: 16px;
    }

    .header-content {
        flex-direction: column;
        align-items: flex-start;
    }

    nav {
        width: 100%;
        flex-direction: column;
        gap: 0.5rem;
    }

    .hero h2 {
        font-size: 2rem;
        max-width: 100%;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    h2 {
        font-size: 1.75rem;
    }

    .hero-stats {
        grid-template-columns: 1fr;
    }

    .services-grid,
    .hours-content,
    .contact-content {
        grid-template-columns: 1fr;
    }

    .stat-number {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 2rem 1rem;
    }

    .services,
    .about,
    .hours,
    .contact {
        padding: 2rem 1rem;
    }

    .hero h2 {
        font-size: 1.75rem;
    }
}
