/* ========================================
   theme.css — Non-critical styles for Greet Health
   Loaded asynchronously on all pages
   ======================================== */

/* --- Shared content styles --- */

.section {
    margin-bottom: 3rem;
}

.section h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.section p {
    font-size: 1.05rem;
    color: #333;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.section ul {
    margin: 1rem 0 1rem 1.5rem;
    color: #333;
}

.section li {
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 0.5rem;
}

.info-card {
    padding: 2rem;
    border-radius: 16px;
    background: #f8f8f8;
    margin-bottom: 2rem;
}

.info-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
}

.info-card p {
    font-size: 1rem;
    color: #444;
    line-height: 1.7;
}

.info-card ul {
    margin: 0.75rem 0 0 1.5rem;
    color: #444;
}

.info-card li {
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 0.35rem;
}

.info-card .read-more {
    display: inline-block;
    margin-top: 0.75rem;
    font-size: 0.95rem;
    color: #000;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s ease;
}

.info-card .read-more:hover {
    color: #555;
}

/* --- Anxiety page: image row --- */

.image-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 1.5rem;
}

.image-col {
    flex: 1;
    max-width: 42%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.image-col img {
    width: 100%;
    height: auto;
    border-radius: 12px;
}

.image-label {
    font-size: 1rem;
    margin: 0;
}

.image-row .vs-text {
    font-weight: 700;
    font-style: italic;
    font-size: 1.5rem;
    color: #333;
    flex-shrink: 0;
}

/* --- Educate yourself page: topic cards --- */

.topic-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.topic-card {
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid #e5e5e5;
    margin-bottom: 1.5rem;
    transition: box-shadow 0.3s ease;
}

.topic-card:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.topic-card h2 {
    font-size: 1.35rem;
    margin-bottom: 0.75rem;
}

.topic-card p {
    font-size: 1rem;
    color: #444;
    line-height: 1.7;
}

/* --- GAD page: stat cards --- */

.stat-row {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.stat-card {
    flex: 1;
    min-width: 200px;
    padding: 1.5rem;
    border-radius: 16px;
    background: #f8f8f8;
    text-align: center;
}

.stat-card .stat-number {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.stat-card .stat-label {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.4;
}

/* --- GAD page: callout --- */

.callout {
    padding: 1.5rem 2rem;
    border-left: 4px solid #000;
    background: #f8f8f8;
    border-radius: 0 12px 12px 0;
    margin-bottom: 2rem;
}

.callout p {
    font-size: 1rem;
    color: #333;
    line-height: 1.7;
    margin-bottom: 0;
}

/* --- Home page: steps section --- */

.steps {
    min-height: 100vh;
    display: flex;
    align-items: center;
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem;
}

.step-card-link {
    flex: 1;
    text-decoration: none;
    color: inherit;
}

.step-card {
    flex: 1;
    text-align: center;
    padding: 2rem 1.5rem;
    border-radius: 16px;
    border: 1px solid #e5e5e5;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.step-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background: #000;
    color: white;
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.step-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.step-card p {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.5;
}

/* --- Treatment menu CTA --- */

.menu-cta {
    display: block;
    text-decoration: none;
    background: #000;
    border-radius: 16px;
    padding: 1.25rem 2rem;
    margin-bottom: 3rem;
    transition: background 0.2s ease;
}

.menu-cta:hover {
    background: #222;
}

.menu-cta-bottom {
    margin-bottom: 0;
}

.menu-cta-depression {
    background: #170b8a;
}

.menu-cta-depression:hover {
    background: #2318b0;
}

.menu-cta-anxiety {
    background: #ff7300;
}

.menu-cta-anxiety:hover {
    background: #e06500;
}

.menu-cta-label {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.65);
    margin-bottom: 0.2rem;
}

.menu-cta-action {
    display: block;
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
}

/* --- Footer (shared) --- */

footer {
    padding: 2rem 4rem;
    text-align: center;
    color: #666;
    font-size: 0.9rem;
}

footer a {
    color: #666;
    text-decoration: none;
}

footer a:hover {
    color: #000;
    text-decoration: underline;
}

/* --- Responsive overrides --- */

@media (max-width: 768px) {
    header, footer {
        padding: 1.5rem 2rem;
    }

    .page-title {
        font-size: 2rem;
    }

    .page-subtitle {
        font-size: 1rem;
    }

    .tagline {
        font-size: 2rem;
    }

    .description {
        font-size: 1rem;
    }

    .steps {
        flex-direction: column;
        gap: 1.5rem;
    }

    .stat-row {
        flex-direction: column;
    }
}
