/* ============================================
   Vaughn for the Valley — Campaign Site Styles
   ============================================ */

:root {
    --color-navy: #1a2744;
    --color-navy-light: #2a3d5e;
    --color-blue: #3d5a80;
    --color-blue-light: #5b7ea8;
    --color-gold: #c8a435;
    --color-gold-light: #e6c84a;
    --color-cream: #faf8f2;
    --color-cream-dark: #f0ede4;
    --color-green: #4a7c59;
    --color-green-light: #6b9e7a;
    --color-text: #2c2c2c;
    --color-text-light: #5a5a5a;
    --color-white: #ffffff;

    --font-display: 'Playfair Display', Georgia, serif;
    --font-body: 'Source Sans 3', -apple-system, BlinkMacSystemFont, sans-serif;

    --max-width: 1100px;
    --section-pad: 6rem;
    --transition: 0.3s ease;
}

/* Reset & Base */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    color: var(--color-text);
    line-height: 1.7;
    background: var(--color-cream);
    overflow-x: hidden;
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 2rem;
}

/* Navigation */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1.25rem 0;
    transition: all var(--transition);
}

.nav.scrolled {
    background: rgba(26, 39, 68, 0.97);
    padding: 0.75rem 0;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(10px);
}

.nav-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-brand {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-white);
    text-decoration: none;
    letter-spacing: 0.01em;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 0.25rem;
}

.nav-links a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 600;
    padding: 0.5rem 0.75rem;
    border-radius: 4px;
    transition: all var(--transition);
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.nav-links a:hover {
    color: var(--color-white);
    background: rgba(255, 255, 255, 0.1);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--color-white);
    border-radius: 2px;
    transition: all var(--transition);
}

.nav-toggle.open span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.open span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.open span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Hero */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(135deg, var(--color-navy) 0%, var(--color-blue) 50%, var(--color-green) 100%);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 80%, rgba(74, 124, 89, 0.3) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(61, 90, 128, 0.3) 0%, transparent 50%);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero-content {
    position: relative;
    z-index: 1;
    padding: 2rem;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(3rem, 8vw, 5.5rem);
    font-weight: 900;
    color: var(--color-white);
    line-height: 1.1;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.hero-tagline {
    font-family: var(--font-display);
    font-size: clamp(1.25rem, 3vw, 1.75rem);
    color: var(--color-gold-light);
    font-weight: 400;
    font-style: italic;
    margin-bottom: 1.5rem;
    letter-spacing: 0.05em;
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: rgba(255, 255, 255, 0.8);
    font-weight: 300;
    margin-bottom: 2.5rem;
    letter-spacing: 0.03em;
}

.hero-cta {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: transparent;
    color: var(--color-white);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 3px;
    transition: all var(--transition);
}

.hero-cta:hover {
    background: var(--color-white);
    color: var(--color-navy);
    border-color: var(--color-white);
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

/* Intro */
.intro {
    padding: var(--section-pad) 0;
    background: var(--color-white);
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.intro.visible {
    opacity: 1;
    transform: translateY(0);
}

.intro-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.intro-lead {
    font-size: 1.3rem;
    color: var(--color-navy);
    line-height: 1.8;
    margin-bottom: 2rem;
    font-weight: 400;
}

.intro-content p {
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
    color: var(--color-text-light);
}

.intro-highlight {
    font-family: var(--font-display);
    font-size: 1.4rem !important;
    color: var(--color-navy) !important;
    font-weight: 700;
    margin-top: 2.5rem !important;
}

/* Pillars Grid */
.pillars {
    padding: 4rem 0 var(--section-pad);
    background: var(--color-white);
}

.pillar-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.pillar-card {
    text-align: center;
    padding: 3rem 2rem;
    border-radius: 8px;
    background: var(--color-cream);
    border: 1px solid rgba(26, 39, 68, 0.08);
    text-decoration: none;
    color: var(--color-text);
    transition: all var(--transition);
}

.pillar-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(26, 39, 68, 0.12);
    border-color: var(--color-gold);
}

.pillar-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1.5rem;
    color: var(--color-blue);
    transition: color var(--transition);
}

.pillar-card:hover .pillar-icon {
    color: var(--color-gold);
}

.pillar-card h3 {
    font-family: var(--font-display);
    font-size: 1.75rem;
    color: var(--color-navy);
    margin-bottom: 0.75rem;
}

.pillar-card p {
    font-size: 0.95rem;
    color: var(--color-text-light);
    line-height: 1.6;
}

/* Platform Sections */
.platform-section {
    padding: var(--section-pad) 0;
    background: var(--color-white);
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.platform-section.visible {
    opacity: 1;
    transform: translateY(0);
}

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

.platform-section.highlight {
    background: var(--color-navy);
    color: var(--color-white);
}

.platform-section.highlight .section-header h2 {
    color: var(--color-white);
}

.platform-section.highlight .section-lead {
    color: rgba(255, 255, 255, 0.9);
}

.platform-section.highlight .section-body p {
    color: rgba(255, 255, 255, 0.8);
}

.platform-section.highlight .section-closing {
    color: var(--color-gold-light);
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-label {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-gold);
    margin-bottom: 0.75rem;
}

.section-header h2 {
    font-family: var(--font-display);
    font-size: clamp(2.25rem, 5vw, 3rem);
    color: var(--color-navy);
    margin-bottom: 0.75rem;
    font-weight: 700;
}

.section-subtitle {
    font-size: 1.15rem;
    color: var(--color-text-light);
    font-style: italic;
}

.platform-section.highlight .section-subtitle {
    color: rgba(255, 255, 255, 0.7);
}

.section-body {
    max-width: 780px;
    margin: 0 auto;
}

.section-lead {
    font-size: 1.15rem;
    color: var(--color-navy);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.section-body p {
    margin-bottom: 1.25rem;
    color: var(--color-text-light);
    font-size: 1.05rem;
}

.section-body h3 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    color: var(--color-navy);
    margin: 2rem 0 1rem;
}

.platform-section.highlight .section-body h3 {
    color: var(--color-gold-light);
}

.platform-list {
    list-style: none;
    margin: 1.5rem 0;
}

.platform-list li {
    position: relative;
    padding: 0.75rem 0 0.75rem 2rem;
    font-size: 1.05rem;
    color: var(--color-text);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.platform-section.highlight .platform-list li {
    color: rgba(255, 255, 255, 0.9);
    border-bottom-color: rgba(255, 255, 255, 0.1);
}

.platform-list li:last-child {
    border-bottom: none;
}

.platform-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 1.15rem;
    width: 8px;
    height: 8px;
    background: var(--color-gold);
    border-radius: 50%;
}

.section-closing {
    margin-top: 2.5rem !important;
    font-family: var(--font-display);
    font-size: 1.2rem !important;
    color: var(--color-navy) !important;
    font-style: italic;
    text-align: center;
    font-weight: 400;
}

/* Commitment */
.commitment {
    padding: var(--section-pad) 0;
    background: linear-gradient(135deg, var(--color-cream) 0%, var(--color-cream-dark) 100%);
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.commitment.visible {
    opacity: 1;
    transform: translateY(0);
}

.commitment-content {
    max-width: 780px;
    margin: 0 auto;
    text-align: center;
}

.commitment-content h2 {
    font-family: var(--font-display);
    font-size: clamp(2.25rem, 5vw, 3rem);
    color: var(--color-navy);
    margin-bottom: 2rem;
}

.commitment-content p {
    font-size: 1.1rem;
    color: var(--color-text-light);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.commitment-pledge {
    font-size: 1.2rem !important;
    color: var(--color-navy) !important;
    padding: 2rem;
    background: var(--color-white);
    border-left: 4px solid var(--color-gold);
    border-radius: 4px;
    text-align: left;
    margin: 2.5rem 0 !important;
}

.commitment-signature {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(26, 39, 68, 0.1);
}

.signature-name {
    font-family: var(--font-display);
    font-size: 1.5rem !important;
    color: var(--color-navy) !important;
    font-weight: 700;
    margin-bottom: 0.5rem !important;
}

.signature-title {
    font-size: 0.95rem !important;
    color: var(--color-text-light) !important;
    line-height: 1.6 !important;
}

/* Footer */
.footer {
    background: var(--color-navy);
    padding: 3rem 0;
    text-align: center;
}

.footer-tagline {
    font-family: var(--font-display);
    font-size: 1.25rem;
    color: var(--color-gold-light);
    font-style: italic;
    margin-bottom: 1rem;
}

.footer-legal {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
}

/* Responsive */
@media (max-width: 768px) {
    :root {
        --section-pad: 4rem;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        background: rgba(26, 39, 68, 0.98);
        padding: 1rem;
        gap: 0;
        opacity: 0;
        pointer-events: none;
        transform: translateY(-10px);
        transition: all var(--transition);
    }

    .nav-links.open {
        opacity: 1;
        pointer-events: all;
        transform: translateY(0);
    }

    .nav-links a {
        display: block;
        padding: 0.75rem 1rem;
    }

    .pillar-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .pillar-card {
        padding: 2rem 1.5rem;
    }

    .commitment-pledge {
        padding: 1.5rem;
    }

    .section-body {
        padding: 0 0.5rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-tagline {
        font-size: 1.1rem;
    }

    .container {
        padding: 0 1.25rem;
    }
}

/* Print Styles */
@media print {
    .nav, .hero-cta {
        display: none;
    }

    .hero {
        min-height: auto;
        padding: 3rem 0;
    }

    .platform-section, .commitment, .intro {
        opacity: 1;
        transform: none;
    }

    body {
        font-size: 12pt;
        color: #000;
    }
}
