/* Dr. Sierk Static Site Styles - Clean & Modern - Sage/Warm Neutral */

:root {
    --primary: #6b7c6e;
    --primary-light: #8a9c8d;
    --primary-dark: #4a564c;
    --primary-bg: #f7f8f6;
    --primary-border: #e2e6e0;
    --accent: #a8b5a0;
    --warm: #c4b5a0;
    --text: #3d3d3b;
    --text-light: #636361;
    --text-muted: #717170;
}

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

/* Skip to content link */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--primary-dark);
    color: white;
    padding: 8px 16px;
    z-index: 1000;
    text-decoration: none;
}

.skip-link:focus {
    top: 0;
}

/* Page load animation */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

main {
    animation: fadeInUp 0.6s ease-out;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-weight: 400;
    line-height: 1.8;
    color: var(--text);
    background-color: #fafafa;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Header */
header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    padding: 32px 0;
    text-align: center;
    box-shadow: 0 2px 10px rgba(107,124,110,0.2);
}

header h1 {
    color: white;
    font-size: 1.9rem;
    font-weight: 300;
    letter-spacing: 2px;
    text-transform: uppercase;
}

header h1 a {
    color: white;
    text-decoration: none;
}

/* Navigation */
nav {
    background: var(--primary-dark);
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

nav ul li {
    margin: 0;
}

nav ul li a {
    display: block;
    color: rgba(255,255,255,0.9);
    text-decoration: none;
    padding: 16px 28px;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

nav ul li a:hover,
nav ul li a.active {
    background: rgba(255,255,255,0.1);
    color: white;
}

/* Main Content */
main {
    background: white;
    padding: 0;
    min-height: 500px;
}

main .container {
    max-width: 900px;
    padding: 50px 24px 60px;
}

/* Homepage Hero Section */
.hero {
    background:
        url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E"),
        linear-gradient(135deg, var(--primary-bg) 0%, #f0ecf4 100%);
    padding: 28px 24px;
    text-align: center;
    border-bottom: 1px solid var(--primary-border);
}

.hero h2 {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 2.4rem;
    font-weight: 400;
    color: var(--primary-dark);
    margin-bottom: 16px;
    border: none;
    padding: 0;
}

.hero .subtitle {
    font-size: 1.15rem;
    color: var(--text-light);
    font-weight: 300;
    margin-bottom: 0;
}

/* Card Grid */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin: 24px 0;
}

.card {
    background: white;
    border-radius: 12px;
    padding: 32px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    border: 1px solid #eee;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-bottom: 24px;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(107,124,110,0.15);
}

.card h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--primary-border);
    margin-top: 0;
}

.card p {
    margin-bottom: 12px;
    font-size: 0.95rem;
}

.card p:last-child {
    margin-bottom: 0;
}

.card .icon {
    font-size: 2rem;
    margin-bottom: 16px;
}

/* Headings */
h2 {
    font-family: Georgia, "Times New Roman", serif;
    color: var(--primary);
    margin-bottom: 24px;
    font-size: 1.8rem;
    font-weight: 500;
    border-bottom: 2px solid var(--primary-border);
    padding-bottom: 12px;
}

h3 {
    color: var(--primary);
    margin: 32px 0 16px;
    font-size: 1.15rem;
    font-weight: 600;
}

p {
    margin-bottom: 16px;
}

a {
    color: var(--primary);
    transition: color 0.2s ease;
}

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

/* Accessibility focus states */
a:focus,
.btn:focus {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

a:focus:not(:focus-visible) {
    outline: none;
}

a:focus-visible,
.btn:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

ul, ol {
    margin: 16px 0 16px 24px;
}

li {
    margin-bottom: 10px;
}

/* Info Box */
.info-box {
    background: var(--primary-bg);
    border-left: 4px solid var(--primary);
    padding: 24px 28px;
    margin: 28px 0;
    border-radius: 0 8px 8px 0;
}

.info-box p {
    margin-bottom: 8px;
}

.info-box p:last-child {
    margin-bottom: 0;
}

.info-box.warning {
    background: #fef9f0;
    border-left-color: #d4a253;
}

.info-box.notice {
    background: #f5f8fc;
    border-left-color: #7a9ec4;
}

.info-box.highlight {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    border-left: none;
    border-radius: 8px;
    color: white;
}

.info-box.highlight strong {
    color: white;
}

.info-box.highlight a {
    color: white;
    text-decoration: underline;
}

/* Contact Info Card */
.contact-card {
    background: white;
    padding: 32px;
    border-radius: 12px;
    margin: 24px 0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    border: 1px solid #eee;
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
}

.contact-card .contact-item {
    flex: 1;
    min-width: 200px;
}

.contact-card h4 {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    margin-bottom: 8px;
    font-weight: 500;
}

.contact-card p {
    font-size: 1.05rem;
    margin-bottom: 4px;
    color: var(--text);
}

.contact-card .phone {
    font-size: 1.4rem;
    font-weight: 500;
    color: var(--primary);
}

/* Legacy contact-info support */
.contact-info {
    background: white;
    padding: 28px;
    border-radius: 12px;
    margin: 24px 0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    border: 1px solid #eee;
}

.contact-info p {
    margin-bottom: 10px;
}

.contact-info strong {
    color: var(--primary);
}

.contact-info h3 {
    margin-top: 24px;
    margin-bottom: 12px;
}

.contact-info h3:first-child {
    margin-top: 0;
}

/* Forms List */
.forms-list {
    list-style: none;
    margin-left: 0;
}

.forms-list li {
    background: white;
    padding: 20px 24px;
    margin-bottom: 12px;
    border-radius: 10px;
    border: 1px solid #eee;
    box-shadow: 0 2px 10px rgba(0,0,0,0.04);
    transition: all 0.3s ease;
}

.forms-list li:hover {
    border-color: var(--primary-border);
    box-shadow: 0 4px 15px rgba(107,124,110,0.12);
}

.forms-list li a {
    font-weight: 600;
    font-size: 1.05rem;
}

.forms-list li p {
    margin-top: 8px;
    margin-bottom: 0;
    font-size: 0.9rem;
    color: var(--text-light);
}

/* Button Style Links */
.btn {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: white;
    padding: 14px 32px;
    text-decoration: none;
    border-radius: 8px;
    margin: 12px 8px 12px 0;
    font-weight: 500;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(107,124,110,0.3);
}

.btn:hover {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(107,124,110,0.4);
}

.btn-secondary {
    background: #6c757d;
    box-shadow: 0 4px 15px rgba(108,117,125,0.3);
}

.btn-secondary:hover {
    background: #5a6268;
    box-shadow: 0 6px 20px rgba(108,117,125,0.4);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
    box-shadow: none;
}

.btn-outline:hover {
    background: var(--primary);
    color: white;
}

/* Hours Display */
.hours-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin: 20px 0;
}

.hours-item {
    display: flex;
    justify-content: space-between;
    padding: 12px 16px;
    background: var(--primary-bg);
    border-radius: 6px;
}

.hours-item .day {
    font-weight: 500;
    color: var(--primary);
}

.hours-item .time {
    color: var(--text-light);
}

/* Hours Table */
.hours-table {
    width: 100%;
    border-collapse: collapse;
    margin: 24px 0;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.04);
}

.hours-table th,
.hours-table td {
    padding: 14px 20px;
    text-align: left;
}

.hours-table th {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: white;
    font-weight: 500;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.hours-table tr {
    border-bottom: 1px solid #eee;
}

.hours-table tr:last-child {
    border-bottom: none;
}

.hours-table tr:nth-child(even) {
    background: #fafafa;
}

.hours-table td {
    font-size: 0.95rem;
}

/* Insurance Badges */
.insurance-list {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin: 16px 0;
}

.insurance-badge {
    background: var(--primary-bg);
    padding: 10px 20px;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--primary);
    border: 1px solid var(--primary-border);
}

/* Wave Divider */
.wave-divider {
    height: 60px;
    background: white;
    position: relative;
    overflow: hidden;
}

.wave-divider::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: var(--primary-dark);
    clip-path: ellipse(70% 100% at 50% 100%);
}

/* Footer */
footer {
    background: var(--primary-dark);
    color: rgba(255,255,255,0.8);
    text-align: center;
    padding: 40px 24px;
    margin-top: 0;
}

footer p {
    margin: 8px 0;
    font-size: 0.9rem;
}

footer a {
    color: #c9bdd4;
}

footer a:hover {
    color: white;
}

/* Click-to-call phone links */
a.phone-link {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.2s ease;
}

a.phone-link:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

.contact-card a.phone-link {
    color: var(--primary);
}

footer a.phone-link {
    color: #c9bdd4;
}

footer a.phone-link:hover {
    color: white;
}

/* Print Stylesheet */
@media print {
    header, nav, .wave-divider, footer {
        display: none !important;
    }

    main {
        animation: none !important;
    }

    body {
        background: white;
    }

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

    .card {
        box-shadow: none;
        border: 1px solid #ddd;
        page-break-inside: avoid;
    }

    .info-box {
        page-break-inside: avoid;
    }

    .btn {
        display: none;
    }

    a {
        text-decoration: none;
        color: var(--text);
    }

    a[href]::after {
        content: " (" attr(href) ")";
        font-size: 0.8em;
        color: #666;
    }

    a[href^="tel:"]::after,
    a[href^="#"]::after,
    a[href^="javascript:"]::after {
        content: none;
    }
}

/* Responsive */
@media (max-width: 768px) {
    header h1 {
        font-size: 1.4rem;
        letter-spacing: 1px;
    }

    nav {
        position: static;
    }

    nav ul {
        flex-direction: column;
    }

    nav ul li a {
        padding: 14px 20px;
        text-align: center;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }

    .hero {
        padding: 40px 20px;
    }

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

    main .container {
        padding: 30px 20px 40px;
    }

    .card-grid {
        grid-template-columns: 1fr;
    }

    .contact-card {
        flex-direction: column;
        gap: 24px;
    }

    .hours-grid {
        grid-template-columns: 1fr;
    }

    .insurance-list {
        flex-direction: column;
    }

    .insurance-badge {
        text-align: center;
    }
}
