/*
Theme Name: MT Campaign
Theme URI: https://vote4michaelnthomas.com
Description: Custom campaign theme for Michael N. Thomas, Weber County Commissioner Seat B 2026.
Version: 1.0.0
Author: Campaign Team
*/

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700;900&family=Source+Sans+3:wght@400;500;600;700&display=swap');

:root {
    --navy:  #1a2744;
    --red:   #b91c1c;
    --gold:  #c8972a;
    --cream: #faf7f2;
    --white: #ffffff;
    --gray:  #f3f4f6;
    --text:  #1f2937;
    --muted: #6b7280;
    --dark:  #0f1a35;
}

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

html { scroll-behavior: smooth; }

body {
    font-family: 'Source Sans 3', sans-serif;
    color: var(--text);
    background: var(--white);
    line-height: 1.6;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--red); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ── SITE WRAPPER ── */
.site { display: flex; flex-direction: column; min-height: 100vh; }
.site-content { flex: 1; }

/* ── NAV ── */
.site-header {
    background: var(--navy);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 16px rgba(0,0,0,0.35);
}
.nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 120px;
}
.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}
.nav-logo img {
    height: 104px;
    width: 104px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--gold);
}
.nav-logo-text { line-height: 1.25; }
.nav-logo-name {
    color: var(--white);
    font-family: 'Playfair Display', serif;
    font-size: 1.05rem;
    font-weight: 700;
}
.nav-logo-sub {
    color: var(--gold);
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}
.nav-links {
    display: flex;
    align-items: center;
    gap: 2px;
    list-style: none;
}
.nav-links a {
    color: rgba(255,255,255,0.82);
    text-decoration: none;
    padding: 8px 15px;
    border-radius: 5px;
    font-size: 0.88rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    transition: all 0.18s;
    display: block;
}
.nav-links a:hover { background: rgba(255,255,255,0.1); color: var(--gold); }
.nav-links .nav-cta a {
    background: var(--red);
    color: var(--white);
    margin-left: 6px;
}
.nav-links .nav-cta a:hover { background: #991b1b; }

/* Mobile nav toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}
.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: all 0.2s;
}

/* ── HERO ── */
.hero {
    background: linear-gradient(135deg, var(--navy) 0%, var(--dark) 55%, #1e2d50 100%);
    min-height: 88vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(200,151,42,0.07) 1px, transparent 1px);
    background-size: 28px 28px;
    pointer-events: none;
}
.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 120px;
    background: linear-gradient(to top, rgba(26,39,68,0.4), transparent);
}
.hero-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 40px;
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 64px;
    align-items: center;
    position: relative;
    z-index: 1;
    width: 100%;
}
.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(200,151,42,0.12);
    border: 1px solid rgba(200,151,42,0.3);
    color: var(--gold);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    padding: 7px 16px;
    border-radius: 100px;
    margin-bottom: 22px;
}
.hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.6rem, 5vw, 4rem);
    color: var(--white);
    line-height: 1.08;
    margin-bottom: 22px;
    font-weight: 900;
}
.hero h1 em { color: var(--gold); font-style: normal; }
.hero-sub {
    color: rgba(255,255,255,0.75);
    font-size: 1.12rem;
    line-height: 1.78;
    margin-bottom: 38px;
    max-width: 520px;
}
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }
.btn {
    display: inline-block;
    padding: 13px 28px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 0.93rem;
    text-decoration: none;
    transition: all 0.18s;
    letter-spacing: 0.02em;
    cursor: pointer;
    border: none;
    font-family: 'Source Sans 3', sans-serif;
}
.btn-red { background: var(--red); color: var(--white); }
.btn-red:hover { background: #991b1b; transform: translateY(-2px); box-shadow: 0 6px 20px rgba(185,28,28,0.4); text-decoration: none; }
.btn-outline { background: transparent; color: var(--white); border: 2px solid rgba(255,255,255,0.35); }
.btn-outline:hover { border-color: var(--gold); color: var(--gold); text-decoration: none; }
.btn-navy { background: var(--navy); color: var(--white); }
.btn-navy:hover { background: var(--dark); transform: translateY(-2px); text-decoration: none; }

.hero-photo { position: relative; }
.hero-photo img {
    width: 100%;
    border-radius: 14px;
    object-fit: cover;
    box-shadow: 0 28px 64px rgba(0,0,0,0.55);
    border: 3px solid rgba(200,151,42,0.22);
}
.hero-badge {
    position: absolute;
    bottom: -18px;
    left: -18px;
    background: var(--red);
    color: var(--white);
    padding: 13px 18px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.82rem;
    text-align: center;
    line-height: 1.5;
    box-shadow: 0 8px 24px rgba(185,28,28,0.45);
}

/* ── SLOGAN STRIP ── */
.slogan-strip {
    background: var(--red);
    color: var(--white);
    text-align: center;
    padding: 16px 40px;
    font-family: 'Playfair Display', serif;
    font-size: 1.08rem;
    font-style: italic;
    letter-spacing: 0.03em;
}

/* ── SECTIONS ── */
.section { padding: 84px 40px; }
.section-inner { max-width: 1100px; margin: 0 auto; }
.section-cream { background: var(--cream); }
.section-gray  { background: var(--gray); }
.section-dark  { background: var(--navy); }
.section-white { background: var(--white); }

.section-label {
    display: inline-block;
    color: var(--red);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    margin-bottom: 10px;
}
.section-dark .section-label { color: var(--gold); }

.section h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.9rem, 3.5vw, 2.6rem);
    line-height: 1.2;
    color: var(--navy);
    margin-bottom: 16px;
}
.section-dark h2 { color: var(--white); }
.section-lead {
    font-size: 1.06rem;
    line-height: 1.78;
    color: var(--muted);
    max-width: 680px;
}
.section-dark .section-lead { color: rgba(255,255,255,0.72); }

/* ── ISSUE CARDS ── */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
    margin-top: 48px;
}
.card {
    background: var(--white);
    border-radius: 10px;
    padding: 30px 26px;
    border-top: 4px solid var(--red);
    box-shadow: 0 2px 16px rgba(0,0,0,0.07);
    transition: transform 0.2s, box-shadow 0.2s;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 10px 32px rgba(0,0,0,0.12); }
.card-icon { font-size: 2rem; margin-bottom: 14px; }
.card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.12rem;
    color: var(--navy);
    margin-bottom: 10px;
}
.card p { font-size: 0.91rem; color: var(--muted); line-height: 1.65; }
.card-link {
    display: inline-block;
    margin-top: 14px;
    color: var(--red);
    font-weight: 600;
    font-size: 0.87rem;
    text-decoration: none;
}
.card-link:hover { text-decoration: underline; }

/* ── PITCH / QUOTE ── */
.pitch-wrap {
    background: linear-gradient(135deg, var(--navy), var(--dark));
    border-radius: 14px;
    padding: 54px 58px;
    position: relative;
    overflow: hidden;
    max-width: 880px;
    margin: 36px auto 0;
}
.pitch-wrap::before {
    content: '\201C';
    position: absolute;
    top: -40px;
    left: 36px;
    font-size: 16rem;
    color: rgba(200,151,42,0.07);
    font-family: 'Playfair Display', serif;
    line-height: 1;
    pointer-events: none;
}
.pitch-wrap blockquote {
    font-size: 1.18rem;
    line-height: 1.85;
    color: rgba(255,255,255,0.88);
    font-style: italic;
    position: relative;
    z-index: 1;
    margin-bottom: 20px;
    border: none;
    padding: 0;
}
.pitch-sig {
    color: var(--gold);
    font-weight: 700;
    font-size: 0.95rem;
    font-style: normal;
}

/* ── VALUES ROW ── */
.values-row {
    display: flex;
    margin-top: 48px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.09);
}
.value-item {
    flex: 1;
    padding: 32px 20px;
    text-align: center;
    background: var(--white);
    border-right: 1px solid #e5e7eb;
}
.value-item:last-child { border-right: none; }
.value-icon { font-size: 2.2rem; margin-bottom: 12px; }
.value-item h4 {
    font-family: 'Playfair Display', serif;
    color: var(--navy);
    font-size: 1rem;
    margin-bottom: 8px;
}
.value-item p { font-size: 0.83rem; color: var(--muted); line-height: 1.55; }

/* ── PAGE BANNER (interior pages) ── */
.page-banner {
    background: linear-gradient(135deg, var(--navy), var(--dark));
    padding: 68px 40px 58px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.page-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(200,151,42,0.06) 1px, transparent 1px);
    background-size: 24px 24px;
}
.page-banner h1 {
    font-family: 'Playfair Display', serif;
    color: var(--white);
    font-size: clamp(2rem, 4vw, 2.8rem);
    margin-bottom: 10px;
    position: relative;
}
.page-banner p {
    color: rgba(255,255,255,0.68);
    font-size: 1.06rem;
    position: relative;
}

/* ── ABOUT PAGE ── */
.about-grid {
    display: grid;
    grid-template-columns: 360px 1fr;
    gap: 60px;
    align-items: start;
}
.about-photo img { border-radius: 12px; box-shadow: 0 8px 32px rgba(0,0,0,0.14); }
.about-logo { margin-top: 20px; border-radius: 10px; }
.about-content h2 { color: var(--navy); margin-bottom: 18px; }
.about-content p { color: var(--muted); line-height: 1.8; margin-bottom: 16px; font-size: 1.02rem; }
.about-facts {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 28px;
}
.fact-item {
    background: var(--cream);
    padding: 14px 16px;
    border-radius: 8px;
    border-left: 3px solid var(--red);
}
.fact-item strong {
    display: block;
    color: var(--navy);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    margin-bottom: 3px;
}
.fact-item span { font-size: 0.93rem; color: var(--text); }

/* ── PLATFORM PAGE ── */
.platform-pillar {
    padding-bottom: 52px;
    margin-bottom: 52px;
    border-bottom: 1px solid #e5e7eb;
}
.platform-pillar:last-child { border-bottom: none; margin-bottom: 0; }
.pillar-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 18px;
}
.pillar-num {
    background: var(--navy);
    color: var(--white);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    font-weight: 900;
    flex-shrink: 0;
}
.pillar-header h2 {
    font-family: 'Playfair Display', serif;
    font-size: 1.7rem;
    color: var(--navy);
    margin: 0;
}
.pillar-lead { color: var(--muted); line-height: 1.78; margin-bottom: 20px; font-size: 1.02rem; }
.pillar-list { list-style: none; padding: 0; }
.pillar-list li {
    padding: 11px 0 11px 28px;
    position: relative;
    border-bottom: 1px solid #f3f4f6;
    font-size: 1rem;
    line-height: 1.65;
    color: var(--text);
}
.pillar-list li:last-child { border-bottom: none; }
.pillar-list li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--red);
    font-size: 0.88rem;
    top: 13px;
}
.pillar-list li strong { color: var(--navy); }

/* ── DATES PAGE ── */
.dates-list { margin-top: 36px; }
.date-item {
    display: flex;
    gap: 22px;
    padding: 20px 0;
    border-bottom: 1px solid #e5e7eb;
    align-items: flex-start;
}
.date-item:last-child { border-bottom: none; }
.date-cal {
    background: var(--navy);
    color: var(--white);
    border-radius: 8px;
    padding: 10px 14px;
    text-align: center;
    min-width: 62px;
    flex-shrink: 0;
}
.date-month {
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--gold);
}
.date-day { font-size: 1.9rem; font-family: 'Playfair Display', serif; line-height: 1.1; }
.date-info h4 { color: var(--navy); font-size: 1.04rem; margin-bottom: 4px; font-weight: 700; }
.date-info p { color: var(--muted); font-size: 0.92rem; line-height: 1.6; margin: 0; }
.date-note {
    margin-top: 32px;
    padding: 18px 22px;
    background: #fffbeb;
    border-left: 4px solid var(--gold);
    border-radius: 4px;
    font-size: 0.94rem;
    color: var(--text);
    line-height: 1.65;
}

/* ── CONTACT PAGE ── */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}
.contact-info h3 {
    font-family: 'Playfair Display', serif;
    color: var(--navy);
    font-size: 1.55rem;
    margin-bottom: 14px;
}
.contact-info p { color: var(--muted); line-height: 1.78; margin-bottom: 24px; }
.contact-item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    margin-bottom: 16px;
}
.contact-item .ci-icon { font-size: 1.3rem; margin-top: 2px; }
.contact-item strong { display: block; color: var(--navy); font-size: 0.88rem; margin-bottom: 2px; }
.contact-item a { color: var(--red); font-weight: 600; text-decoration: none; }
.contact-item a:hover { text-decoration: underline; }
.ways-to-help {
    background: var(--cream);
    border-radius: 8px;
    padding: 20px 22px;
    margin-top: 28px;
}
.ways-to-help strong { display: block; color: var(--navy); margin-bottom: 10px; font-size: 0.95rem; }
.ways-to-help ul { list-style: none; padding: 0; }
.ways-to-help ul li {
    padding: 5px 0 5px 18px;
    position: relative;
    font-size: 0.92rem;
    color: var(--muted);
}
.ways-to-help ul li::before { content: '✓'; position: absolute; left: 0; color: var(--red); font-weight: 700; }

.contact-form-wrap h3 {
    font-family: 'Playfair Display', serif;
    color: var(--navy);
    font-size: 1.5rem;
    margin-bottom: 20px;
}
.mt-form label {
    display: block;
    font-weight: 600;
    font-size: 0.84rem;
    color: var(--navy);
    margin-bottom: 5px;
    letter-spacing: 0.03em;
}
.mt-form input,
.mt-form textarea,
.mt-form select {
    width: 100%;
    padding: 11px 15px;
    border: 2px solid #e5e7eb;
    border-radius: 6px;
    font-family: 'Source Sans 3', sans-serif;
    font-size: 0.94rem;
    margin-bottom: 14px;
    transition: border-color 0.2s;
    color: var(--text);
    background: var(--white);
}
.mt-form input:focus,
.mt-form textarea:focus,
.mt-form select:focus { outline: none; border-color: var(--navy); }
.mt-form textarea { height: 130px; resize: vertical; }
.form-success {
    background: #f0fdf4;
    border: 1px solid #86efac;
    color: #166534;
    padding: 14px 18px;
    border-radius: 6px;
    font-weight: 600;
    margin-bottom: 16px;
    display: none;
}

/* ── CTA SECTION ── */
.cta-section {
    text-align: center;
    padding: 84px 40px;
}
.cta-section h2 { margin-bottom: 16px; }
.cta-section p { max-width: 500px; margin: 0 auto 32px; }

/* ── FOOTER ── */
.site-footer {
    background: var(--dark);
    color: rgba(255,255,255,0.6);
    padding: 52px 40px 32px;
    text-align: center;
}
.footer-name {
    font-family: 'Playfair Display', serif;
    color: var(--white);
    font-size: 1.45rem;
    margin-bottom: 6px;
}
.footer-sub {
    color: var(--gold);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.13em;
    text-transform: uppercase;
    margin-bottom: 22px;
}
.footer-nav {
    display: flex;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
    margin-bottom: 24px;
    list-style: none;
}
.footer-nav a {
    color: rgba(255,255,255,0.55);
    text-decoration: none;
    font-size: 0.87rem;
    transition: color 0.18s;
}
.footer-nav a:hover { color: var(--gold); text-decoration: none; }
.footer-copy {
    font-size: 0.77rem;
    color: rgba(255,255,255,0.28);
    border-top: 1px solid rgba(255,255,255,0.08);
    padding-top: 20px;
    margin-top: 4px;
    line-height: 1.6;
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
    .hero-inner { grid-template-columns: 1fr; }
    .hero-photo { display: block; }
    .cards-grid { grid-template-columns: 1fr 1fr; }
    .about-grid { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
    .values-row { flex-direction: column; }
    .value-item { border-right: none; border-bottom: 1px solid #e5e7eb; }
}
@media (max-width: 600px) {
    .section { padding: 56px 20px; }
    .nav-inner { padding: 0 20px; }
    .nav-toggle { display: flex; }
    .nav-links { display: none; flex-direction: column; position: absolute; top: 72px; left: 0; right: 0; background: var(--navy); padding: 16px 20px; gap: 4px; }
    .nav-links.open { display: flex; }
    .cards-grid { grid-template-columns: 1fr; }
    .hero-inner { padding: 60px 20px; }
    .pitch-wrap { padding: 36px 28px; }
    .about-facts { grid-template-columns: 1fr; }
}

/* ── FONT AWESOME ICONS ── */
.card-icon i, .value-icon i {
    font-size: 1.8rem;
    color: var(--red);
    display: block;
}
.card-icon, .value-icon {
    font-size: inherit;
    margin-bottom: 14px;
}
.value-item .value-icon i {
    font-size: 1.6rem;
}

@media (max-width: 900px) {
    .hero-photo {
        max-width: 320px;
        margin: 0 auto 40px;
    }
    .hero-photo img {
        width: 100%;
    }
    .hero-inner {
        grid-template-columns: 1fr;
    }
    .hero-text {
        order: 2;
    }
    .hero-photo {
        order: 1;
    }
}
@media (max-width: 600px) {
    .hero-photo {
        max-width: 260px;
        margin: 0 auto 32px;
    }
    .hero-badge {
        font-size: 0.75rem;
        padding: 10px 14px;
        bottom: -14px;
        left: -10px;
    }
}
