/* =============================================
   Ross Metler for HD23 — ross4co.com
   Theme: Front Range / Jefferson County
   ============================================= */

:root {
    /* Mountain indigo — primary brand color, leans purple (subtle unaffiliated nod) */
    --mountain:        #2B3A6B;
    --mountain-mid:    #3D5491;
    --mountain-light:  #6B8BAD;

    /* Sandstone terracotta — Red Rocks / Front Range geology */
    --sandstone:       #C4703A;
    --sandstone-light: #D4885A;

    /* Sage — Colorado high-country vegetation */
    --sage:            #4A7C59;

    /* Neutrals */
    --sky:             #EBF2FA;
    --cream:           #F8F5F0;
    --ink:             #1A1C2E;
    --muted:           #5A6478;
    --white:           #FFFFFF;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--ink);
    background: var(--white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* ---- NAV ---- */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 1.25rem 2rem;
    transition: background 0.3s ease, box-shadow 0.3s ease, padding 0.3s ease;
}

.nav.scrolled {
    background: rgba(27, 37, 69, 0.97);
    box-shadow: 0 2px 24px rgba(0, 0, 0, 0.25);
    padding: 0.875rem 2rem;
    backdrop-filter: blur(8px);
}

.nav-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-name {
    font-family: 'Bitter', Georgia, serif;
    font-weight: 700;
    font-size: 1.1rem;
    color: white;
    letter-spacing: 0.02em;
    text-decoration: none;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: white;
}

.btn-nav {
    background: var(--sandstone) !important;
    color: white !important;
    padding: 0.5rem 1.25rem;
    border-radius: 4px;
}

.btn-nav:hover {
    background: var(--sandstone-light) !important;
}

/* ---- HERO ---- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    /* Big Colorado sky gradient */
    background: linear-gradient(
        180deg,
        #141E3C 0%,
        #1E2E5A 25%,
        #2B3A6B 55%,
        #4A6A96 80%,
        #7A9BBF 100%
    );
    overflow: hidden;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 2rem 2rem 8rem;
    padding-top: 6rem;
}

.hero-district {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 1rem;
}

.hero-name {
    font-family: 'Bitter', Georgia, serif;
    font-weight: 800;
    font-size: clamp(3.25rem, 9vw, 7rem);
    color: white;
    line-height: 0.95;
    letter-spacing: -0.025em;
    margin-bottom: 1.25rem;
    text-shadow: 0 2px 40px rgba(0, 0, 0, 0.3);
}

.hero-tagline {
    font-family: 'Bitter', Georgia, serif;
    font-style: italic;
    font-size: clamp(1.1rem, 2.5vw, 1.5rem);
    color: rgba(255, 255, 255, 0.8);
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 2.75rem;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ---- BUTTONS ---- */
.btn {
    display: inline-block;
    padding: 0.875rem 2.25rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    transition: all 0.2s ease;
}

.btn-primary {
    background: var(--sandstone);
    color: white;
    box-shadow: 0 4px 16px rgba(196, 112, 58, 0.35);
}

.btn-primary:hover {
    background: var(--sandstone-light);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(196, 112, 58, 0.45);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.45);
}

.btn-secondary:hover {
    border-color: rgba(255, 255, 255, 0.85);
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-2px);
}

/* ---- MOUNTAIN SVG ---- */
.hero-mountain {
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    z-index: 1;
    line-height: 0;
}

.hero-mountain svg {
    width: 100%;
    height: auto;
    display: block;
}

/* ---- SECTIONS ---- */
.section {
    padding: 5.5rem 2rem;
}

.section-alt {
    background: var(--cream);
}

.section-dark {
    background: var(--mountain);
    color: white;
}

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

.container-center {
    text-align: center;
}

/* ---- LABELS ---- */
.label {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--sandstone);
    margin-bottom: 0.75rem;
}

.label-light {
    color: rgba(212, 136, 90, 0.9);
}

/* ---- HEADINGS ---- */
h2 {
    font-family: 'Bitter', Georgia, serif;
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 1.75rem;
    color: var(--ink);
}

.section-dark h2 {
    color: white;
}

h3 {
    font-family: 'Bitter', Georgia, serif;
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.6rem;
}

/* ---- ABOUT ---- */
.about-grid {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 5rem;
    align-items: start;
}

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

.about-aside {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    padding-top: 0.5rem;
}

.about-card {
    background: var(--sky);
    border-left: 4px solid var(--sandstone);
    padding: 1.25rem 1.5rem;
    border-radius: 0 4px 4px 0;
}

.about-stat {
    font-family: 'Bitter', Georgia, serif;
    font-size: 2rem;
    font-weight: 800;
    color: var(--mountain);
    line-height: 1.1;
}

.about-stat-label {
    font-size: 0.8rem;
    color: var(--muted);
    margin-top: 0.2rem;
    font-weight: 500;
}

/* ---- PRIORITIES ---- */
.priorities-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem;
    margin-top: 2.5rem;
}

.priority-card {
    background: white;
    padding: 2rem 1.75rem;
    border-radius: 6px;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.06);
    border-top: 3px solid var(--sandstone);
    transition: transform 0.2s, box-shadow 0.2s;
}

.priority-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.10);
}

.priority-icon {
    color: var(--sandstone);
    font-size: 1rem;
    margin-bottom: 1rem;
    opacity: 0.8;
}

.priority-card h3 {
    color: var(--mountain);
}

.priority-card p {
    color: var(--muted);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* ---- GET INVOLVED ---- */
.lead {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.75);
    max-width: 580px;
    margin: 0 auto 3rem;
    line-height: 1.75;
}

.cta-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    max-width: 880px;
    margin: 0 auto;
}

.cta-card {
    display: block;
    padding: 2rem 1.75rem;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 6px;
    text-decoration: none;
    color: white;
    text-align: left;
    transition: background 0.2s, transform 0.2s;
}

.cta-card:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: translateY(-3px);
}

.cta-card-accent {
    background: var(--sandstone);
    border-color: transparent;
    box-shadow: 0 4px 20px rgba(196, 112, 58, 0.4);
}

.cta-card-accent:hover {
    background: var(--sandstone-light);
}

.cta-title {
    font-family: 'Bitter', Georgia, serif;
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.6rem;
}

.cta-desc {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.65;
}

.cta-card-accent .cta-desc {
    color: rgba(255, 255, 255, 0.88);
}

/* ---- FOOTER ---- */
.footer {
    background: #0F1525;
    padding: 2rem;
}

.footer-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.footer-brand strong {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.9rem;
}

.footer-brand span {
    color: rgba(255, 255, 255, 0.35);
    font-size: 0.72rem;
}

.footer-links {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    font-size: 0.82rem;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: rgba(255, 255, 255, 0.9);
}

/* ---- RESPONSIVE ---- */
@media (max-width: 768px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

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

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

    .nav-links a:not(.btn-nav) {
        display: none;
    }

    .footer-inner {
        flex-direction: column;
        text-align: center;
    }

    .footer-links {
        justify-content: center;
    }

    .hero-content {
        padding-bottom: 10rem;
    }
}

@media (max-width: 480px) {
    .hero-content {
        padding-bottom: 12rem;
    }
}

/* ---- PAGE HERO (interior pages) ---- */
.page-hero {
    position: relative;
    min-height: 40vh;
    display: flex;
    align-items: flex-end;
    background: linear-gradient(
        180deg,
        #141E3C 0%,
        #1E2E5A 25%,
        #2B3A6B 55%,
        #4A6A96 80%,
        #7A9BBF 100%
    );
    overflow: hidden;
}

.page-hero-content {
    position: relative;
    z-index: 2;
    padding: 6rem 2rem 4.5rem;
    max-width: 1100px;
    margin: 0 auto;
    width: 100%;
}

.page-hero-title {
    font-family: 'Bitter', Georgia, serif;
    font-size: clamp(2rem, 5vw, 3.75rem);
    font-weight: 800;
    color: white;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-top: 0.5rem;
}

/* ---- SECTION LEAD ---- */
.section-lead {
    font-size: 1.05rem;
    color: var(--muted);
    max-width: 640px;
    line-height: 1.8;
    margin-bottom: 2.5rem;
}

/* ---- INLINE ARROW LINK ---- */
.link-arrow {
    display: inline-block;
    color: var(--sandstone);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    margin-top: 1.25rem;
}

.link-arrow:hover {
    text-decoration: underline;
}

/* ---- ISSUE BLOCKS ---- */
.issue-block {
    padding: 3rem 0;
    border-bottom: 1px solid #E4E8F0;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 2.5rem;
    align-items: start;
}

.issue-block:last-child {
    border-bottom: none;
}

.issue-number {
    font-family: 'Bitter', Georgia, serif;
    font-size: 4rem;
    font-weight: 800;
    color: #D6DDE9;
    line-height: 1;
    min-width: 3.5rem;
    text-align: right;
}

.issue-body h3 {
    font-size: 1.45rem;
    color: var(--mountain);
    margin-bottom: 0.75rem;
}

.issue-body p {
    color: var(--muted);
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 0.75rem;
}

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

/* ---- VOLUNTEER WAYS ---- */
.ways-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
    margin-bottom: 4.5rem;
}

.way-card {
    background: var(--sky);
    border-radius: 6px;
    padding: 1.5rem 1.75rem;
    border-left: 4px solid var(--mountain);
}

.way-card h3 {
    color: var(--mountain);
    font-size: 1.05rem;
    margin-bottom: 0.4rem;
}

.way-card p {
    color: var(--muted);
    font-size: 0.9rem;
    line-height: 1.65;
}

/* ---- FORM ---- */
.form-group {
    margin-bottom: 1.35rem;
}

.form-label {
    display: block;
    font-size: 0.84rem;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 0.4rem;
}

.form-control {
    width: 100%;
    padding: 0.7rem 1rem;
    border: 1.5px solid #CDD2DF;
    border-radius: 4px;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    color: var(--ink);
    background: white;
    transition: border-color 0.2s, box-shadow 0.2s;
    -webkit-appearance: none;
    appearance: none;
}

.form-control:focus {
    outline: none;
    border-color: var(--mountain-mid);
    box-shadow: 0 0 0 3px rgba(61, 84, 145, 0.12);
}

textarea.form-control {
    min-height: 140px;
    resize: vertical;
}

.form-note {
    font-size: 0.78rem;
    color: var(--muted);
    margin-top: 0.3rem;
}

.form-max {
    max-width: 620px;
}

.checkboxes {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 0.25rem;
}

.checkboxes label {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.9rem;
    color: var(--ink);
    cursor: pointer;
}

.checkboxes input[type="checkbox"] {
    width: 1rem;
    height: 1rem;
    accent-color: var(--mountain);
    cursor: pointer;
    flex-shrink: 0;
}

.btn-submit {
    display: inline-block;
    background: var(--mountain);
    color: white;
    padding: 0.875rem 2.5rem;
    border: none;
    border-radius: 4px;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
}

.btn-submit:hover {
    background: var(--mountain-mid);
    transform: translateY(-1px);
}

/* ---- TWO-COL LAYOUT ---- */
.two-col {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 4.5rem;
    align-items: start;
}

/* ---- CONTACT SIDEBAR ---- */
.contact-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    padding-top: 2rem;
}

.contact-item {
    background: var(--sky);
    border-radius: 6px;
    padding: 1.1rem 1.4rem;
}

.contact-item-label {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--sandstone);
    margin-bottom: 0.3rem;
}

.contact-item-value {
    font-size: 0.92rem;
    color: var(--ink);
    font-weight: 500;
}

.contact-item-value a {
    color: var(--mountain-mid);
    text-decoration: none;
}

.contact-item-value a:hover {
    text-decoration: underline;
}

/* ---- DONATE ---- */
.donate-center {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
    padding: 1rem 0 3rem;
}

.donate-center p {
    color: var(--muted);
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 2.5rem;
}

.btn-donate {
    display: inline-block;
    background: var(--sandstone);
    color: white;
    padding: 1rem 3rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.05rem;
    letter-spacing: 0.04em;
    box-shadow: 0 4px 20px rgba(196, 112, 58, 0.4);
    transition: all 0.2s ease;
}

.btn-donate:hover {
    background: var(--sandstone-light);
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(196, 112, 58, 0.5);
}

.impact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2.5rem;
}

.impact-card {
    background: white;
    border-radius: 6px;
    padding: 2rem 1.5rem;
    text-align: center;
    box-shadow: 0 2px 12px rgba(0,0,0,0.05);
}

.impact-amount {
    font-family: 'Bitter', Georgia, serif;
    font-size: 2rem;
    font-weight: 800;
    color: var(--mountain);
    line-height: 1.1;
    margin-bottom: 0.5rem;
}

.impact-desc {
    font-size: 0.88rem;
    color: var(--muted);
    line-height: 1.6;
}

.disclosure-box {
    background: var(--cream);
    border: 1px solid #E0DAD4;
    border-radius: 6px;
    padding: 1.5rem 2rem;
    font-size: 0.82rem;
    color: var(--muted);
    line-height: 1.75;
    max-width: 700px;
    margin: 2rem auto 0;
}

/* ---- DISTRICT TAGS ---- */
.community-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-top: 1.25rem;
}

.community-tag {
    background: var(--sky);
    border-radius: 4px;
    padding: 0.4rem 0.85rem;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--mountain);
}

/* ---- ELECTION DATES CARD ---- */
.dates-card {
    background: var(--mountain);
    color: white;
    border-radius: 6px;
    padding: 1.5rem 1.75rem;
    margin-top: 2rem;
}

.dates-card h3 {
    color: rgba(255,255,255,0.7);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.date-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.date-row:last-child {
    border-bottom: none;
}

.date-label {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.65);
}

.date-value {
    font-family: 'Bitter', Georgia, serif;
    font-weight: 700;
    font-size: 0.95rem;
    color: white;
}

/* ---- RESPONSIVE (new components) ---- */
@media (max-width: 768px) {
    .page-hero-content {
        padding-bottom: 4rem;
    }

    .issue-block {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }

    .issue-number {
        font-size: 2.5rem;
        text-align: left;
        min-width: unset;
    }

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

    .two-col {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

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