/*
Theme Name: Teri Moody Portfolio
Theme URI: https://terimoody.com
Author: Teri Moody
Description: Personal portfolio & resume site for Teri Moody — operations, automation, and WordPress specialist.
Version: 1.0.0
*/

:root {
    --tm-navy: #1f2d3d;
    --tm-teal: #2f8f8f;
    --tm-teal-dark: #226e6e;
    --tm-light: #f4f8f8;
    --tm-cream: #fbfaf7;
    --tm-text: #2b2f33;
    --tm-muted: #5c6670;
    --tm-border: #e2e8e8;
    --tm-font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; }

html, body {
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
}

body {
    font-family: var(--tm-font);
    color: var(--tm-text);
    line-height: 1.65;
    background: var(--tm-cream);
}

a { color: var(--tm-teal-dark); }
a:hover { color: var(--tm-navy); }

h1, h2, h3, h4 {
    font-family: var(--tm-font);
    color: var(--tm-navy);
    line-height: 1.25;
    margin-top: 0;
}

.tm-wrap {
    max-width: 1040px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ---------- Header / Tab Nav ---------- */

.tm-header {
    position: sticky;
    top: 0;
    z-index: 999;
    background: #ffffff;
    border-bottom: 1px solid var(--tm-border);
}

.tm-header-inner {
    max-width: 1040px;
    margin: 0 auto;
    padding: 16px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.tm-logo {
    font-size: 20px;
    font-weight: 700;
    color: var(--tm-navy);
    text-decoration: none;
    white-space: nowrap;
}

.tm-logo span { color: var(--tm-teal); }

.tm-tabs {
    display: flex;
    gap: 4px;
    flex-wrap: wrap;
    list-style: none;
    margin: 0;
    padding: 0;
}

.tm-tab-btn {
    background: none;
    border: none;
    font-family: var(--tm-font);
    font-size: 15px;
    font-weight: 600;
    color: var(--tm-muted);
    padding: 8px 14px;
    border-radius: 20px;
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease;
}

.tm-tab-btn:hover {
    background: var(--tm-light);
    color: var(--tm-navy);
}

.tm-tab-btn.is-active {
    background: var(--tm-teal);
    color: #ffffff;
}

/* ---------- Sections ---------- */

.tm-section {
    display: none;
    padding: 64px 0 80px;
}

.tm-section.is-active {
    display: block;
}

.tm-hero {
    text-align: left;
    padding-bottom: 8px;
}

.tm-hero-flex {
    display: flex;
    align-items: center;
    gap: 28px;
    flex-wrap: wrap;
}

.tm-avatar {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    border: 4px solid #ffffff;
    box-shadow: 0 2px 14px rgba(31, 45, 61, 0.15);
}

@media (max-width: 480px) {
    .tm-avatar {
        width: 110px;
        height: 110px;
    }
}

.tm-hero h1 {
    font-size: 42px;
    margin-bottom: 6px;
}

.tm-hero .tm-tagline {
    font-size: 19px;
    color: var(--tm-teal-dark);
    font-weight: 600;
    margin-bottom: 28px;
}

.tm-intro {
    font-size: 17px;
    color: var(--tm-text);
    max-width: 700px;
    margin-bottom: 32px;
}

.tm-availability {
    background: var(--tm-light);
    border: 1px solid var(--tm-border);
    border-radius: 12px;
    padding: 20px 24px;
    max-width: 560px;
    margin-bottom: 40px;
}

.tm-availability strong { color: var(--tm-navy); }

.tm-skill-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    margin-bottom: 16px;
}

.tm-skill-card {
    background: #ffffff;
    border: 1px solid var(--tm-border);
    border-radius: 12px;
    padding: 18px 20px;
}

.tm-skill-card h4 {
    font-size: 15px;
    margin-bottom: 6px;
}

.tm-skill-card p {
    font-size: 14px;
    color: var(--tm-muted);
    margin: 0;
}

.tm-cta-btn {
    display: inline-block;
    background: var(--tm-teal);
    color: #ffffff;
    font-weight: 600;
    padding: 12px 26px;
    border-radius: 30px;
    text-decoration: none;
    margin-top: 8px;
    transition: background 0.15s ease;
}

.tm-cta-btn:hover {
    background: var(--tm-teal-dark);
    color: #ffffff;
}

/* ---------- Category page layout ---------- */

.tm-section h2.tm-section-title {
    font-size: 30px;
    margin-bottom: 4px;
}

.tm-section-sub {
    color: var(--tm-muted);
    font-size: 16px;
    margin-bottom: 36px;
}

.tm-block {
    margin-bottom: 36px;
}

.tm-block h3 {
    font-size: 20px;
    margin-bottom: 8px;
    border-left: 4px solid var(--tm-teal);
    padding-left: 12px;
}

.tm-block ul {
    margin: 0;
    padding-left: 20px;
}

.tm-block li {
    margin-bottom: 6px;
}

.tm-highlight {
    background: var(--tm-light);
    border-radius: 12px;
    padding: 20px 24px;
    margin-top: 12px;
    font-size: 15px;
}

.tm-timeline-item {
    border-left: 3px solid var(--tm-border);
    padding: 0 0 28px 24px;
    position: relative;
}

.tm-timeline-item::before {
    content: "";
    position: absolute;
    left: -7px;
    top: 4px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--tm-teal);
}

.tm-project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
    margin: 20px 0 48px;
}

.tm-project-card {
    background: #ffffff;
    border: 1px solid var(--tm-border);
    border-radius: 12px;
    padding: 22px;
}

.tm-project-amount {
    display: inline-block;
    background: var(--tm-light);
    color: var(--tm-teal-dark);
    font-weight: 700;
    font-size: 13px;
    padding: 3px 10px;
    border-radius: 20px;
    margin-bottom: 10px;
}

.tm-project-card h4 {
    font-size: 16px;
    margin: 0 0 4px;
}

.tm-project-card .tm-project-meta {
    font-size: 13px;
    color: var(--tm-muted);
    font-weight: 600;
    margin-bottom: 10px;
}

.tm-project-card p {
    font-size: 14px;
    color: var(--tm-text);
    margin: 0;
}

.tm-cert-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 8px 40px;
    margin-top: 16px;
}

.tm-cert-grid ul {
    margin: 0;
    padding-left: 20px;
}

.tm-cert-grid li {
    margin-bottom: 10px;
    font-size: 15px;
    color: var(--tm-text);
}

.tm-timeline-item .tm-dates {
    font-size: 13px;
    font-weight: 700;
    color: var(--tm-teal-dark);
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.tm-timeline-item h3 {
    border: none;
    padding: 0;
    margin: 4px 0 6px;
}

.tm-placeholder {
    background: #fff7ed;
    border: 1px dashed #e8b979;
    color: #92652a;
    border-radius: 8px;
    padding: 3px 8px;
    font-size: 13px;
    font-weight: 600;
}

/* ---------- Contact ---------- */

.tm-contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    max-width: 700px;
}

.tm-contact-card {
    background: #ffffff;
    border: 1px solid var(--tm-border);
    border-radius: 12px;
    padding: 20px;
}

.tm-contact-card h4 {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: var(--tm-muted);
    margin-bottom: 8px;
}

.tm-contact-card a, .tm-contact-card p {
    font-size: 16px;
    margin: 0;
}

/* ---------- Footer ---------- */

.tm-footer {
    border-top: 1px solid var(--tm-border);
    padding: 28px 0;
    text-align: center;
    color: var(--tm-muted);
    font-size: 13px;
}

/* ---------- Mobile ---------- */

@media (max-width: 640px) {
    .tm-header-inner { flex-direction: column; align-items: flex-start; }
    .tm-hero h1 { font-size: 32px; }
}
