/* ============================================================
   Patriotic Citizens Vote — Custom Theme
   Colors: Red #B22234 · White #FFFFFF · Blue #3C3B6E
   ============================================================ */

:root {
    --pcv-red:        #B22234;
    --pcv-blue:       #3C3B6E;
    --pcv-blue-light: #4A4980;
    --pcv-white:      #FFFFFF;
    --pcv-cream:      #F9F7F4;
    --pcv-gold:       #C9A84C;
}

/* --- Global --- */
body {
    font-family: 'Georgia', 'Times New Roman', serif;
    color: #333;
    background: var(--pcv-cream);
}

h1, h2, h3, h4, h5, h6,
.title, .subtitle {
    font-family: 'Georgia', 'Times New Roman', serif;
}

/* --- Navbar --- */
.navbar.is-dark {
    background-color: var(--pcv-blue) !important;
}

.navbar.is-dark .navbar-item,
.navbar.is-dark .navbar-burger span {
    color: var(--pcv-white);
}

.navbar.is-dark .navbar-item:hover,
.navbar.is-dark .navbar-item.is-active {
    background-color: var(--pcv-blue-light) !important;
    color: var(--pcv-white) !important;
}

.pcv-star {
    color: var(--pcv-gold);
    font-size: 1.3em;
    line-height: 1;
}

/* --- Hero Section --- */
.hero.pcv-hero {
    background:
        linear-gradient(135deg,
            rgba(60, 59, 110, 0.92) 0%,
            rgba(60, 59, 110, 0.85) 50%,
            rgba(178, 34, 52, 0.88) 100%
        ),
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 38px,
            rgba(255,255,255,0.04) 38px,
            rgba(255,255,255,0.04) 40px
        ),
        repeating-linear-gradient(
            90deg,
            transparent,
            transparent 58px,
            rgba(255,255,255,0.02) 58px,
            rgba(255,255,255,0.02) 60px
        );
    color: var(--pcv-white);
    position: relative;
    overflow: hidden;
}

.hero.pcv-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 220px;
    height: 200px;
    background: rgba(60, 59, 110, 0.5);
    z-index: 0;
}

.hero.pcv-hero .hero-body {
    position: relative;
    z-index: 1;
}

.hero.pcv-hero .title {
    color: var(--pcv-white);
    font-size: 2.2rem;
    font-weight: 700;
    line-height: 1.3;
    text-shadow: 0 2px 8px rgba(0,0,0,0.25);
}

.hero.pcv-hero .subtitle {
    color: rgba(255,255,255,0.9);
    font-size: 1.4rem;
    font-weight: 400;
    margin-top: 0.5rem;
}

@media screen and (min-width: 769px) {
    .hero.pcv-hero .title {
        font-size: 2.8rem;
    }
    .hero.pcv-hero .subtitle {
        font-size: 1.6rem;
    }
}

/* --- Hero Founder Background Image --- */
.pcv-hero-bg-image {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 50%;
    background: url('/images/doug-roulstone.png') center center / cover no-repeat;
    z-index: 0;
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 40%, black 100%);
    mask-image: linear-gradient(to right, transparent 0%, black 40%, black 100%);
    opacity: 0.55;
}

.pcv-hero-text {
    max-width: 60%;
}

/* Stars decoration in hero */
.hero.pcv-hero::after {
    content: '\2605 \2605 \2605 \2605 \2605';
    position: absolute;
    bottom: 12px;
    right: 20px;
    font-size: 1.1rem;
    color: rgba(255,255,255,0.15);
    letter-spacing: 6px;
    z-index: 0;
}

/* --- Buttons --- */
.button.pcv-btn {
    background-color: var(--pcv-red);
    color: var(--pcv-white);
    border: none;
    font-weight: 600;
    font-size: 1.1rem;
    padding: 0.8em 1.8em;
    border-radius: 4px;
    transition: background-color 0.2s, transform 0.15s;
}

.button.pcv-btn:hover {
    background-color: #9A1D2C;
    color: var(--pcv-white);
    transform: translateY(-1px);
}

.button.pcv-btn:active {
    transform: translateY(0);
}

.button.pcv-btn-outline {
    background: transparent;
    color: var(--pcv-white);
    border: 2px solid var(--pcv-white);
    font-weight: 600;
    font-size: 1.1rem;
    padding: 0.8em 1.8em;
    border-radius: 4px;
    transition: background-color 0.2s, color 0.2s;
}

.button.pcv-btn-outline:hover {
    background: var(--pcv-white);
    color: var(--pcv-blue);
}

/* --- Supporters --- */
.pcv-supporters {
    background: var(--pcv-cream);
}

.pcv-supporters .title {
    color: var(--pcv-blue);
}

.pcv-supporter {
    text-align: center;
    padding: 1.25rem 1rem;
    border-left: 3px solid var(--pcv-gold);
    background: var(--pcv-white);
    border-radius: 4px;
    box-shadow: 0 1px 6px rgba(0,0,0,0.05);
}

.pcv-supporter-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--pcv-blue);
}

.pcv-supporter-title {
    font-size: 0.9rem;
    color: #666;
    margin-top: 0.2rem;
}

/* --- Stat Boxes --- */
.pcv-stat-box {
    background: var(--pcv-white);
    border-top: 4px solid var(--pcv-red);
    border-radius: 6px;
    padding: 2rem 1.5rem;
    text-align: center;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    height: 100%;
}

.pcv-stat-box .pcv-stat-number {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--pcv-blue);
    line-height: 1.2;
    margin-bottom: 0.5rem;
}

.pcv-stat-box .pcv-stat-label {
    font-size: 1rem;
    color: #555;
    line-height: 1.4;
}

.pcv-stat-box:nth-child(3) {
    border-top-color: var(--pcv-blue);
}

/* --- Mission Section --- */
.pcv-mission {
    background: var(--pcv-white);
}

.pcv-mission .title {
    color: var(--pcv-blue);
}

/* --- Quote Section --- */
.pcv-quote-section {
    background: var(--pcv-blue);
    color: var(--pcv-white);
}

.pcv-quote-section blockquote {
    border-left: 4px solid var(--pcv-gold);
    padding-left: 1.5rem;
    font-style: italic;
    font-size: 1.2rem;
    line-height: 1.6;
    color: rgba(255,255,255,0.9);
}

.pcv-quote-section .pcv-quote-attribution {
    margin-top: 1rem;
    font-style: normal;
    font-weight: 600;
    color: var(--pcv-gold);
}

/* --- Footer CTA --- */
.pcv-footer-cta {
    background:
        linear-gradient(135deg,
            var(--pcv-red) 0%,
            #9A1D2C 100%
        );
    color: var(--pcv-white);
}

.pcv-footer-cta .title {
    color: var(--pcv-white);
}

/* --- Footer --- */
.pcv-footer {
    background-color: var(--pcv-blue) !important;
    padding: 2rem 1.5rem;
}

/* --- Voter Registration Callout --- */
.pcv-callout {
    background: var(--pcv-blue);
    color: var(--pcv-white);
    border-left: 5px solid var(--pcv-gold);
    border-radius: 6px;
    padding: 1.5rem 2rem;
    text-align: center;
    box-shadow: 0 2px 12px rgba(0,0,0,0.1);
}

.pcv-callout .pcv-callout-heading {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.3rem;
}

.pcv-callout .button.pcv-btn {
    font-size: 1rem;
}

/* --- Signup Form --- */
.pcv-form-section {
    background: var(--pcv-white);
    border-radius: 8px;
    padding: 2.5rem;
    box-shadow: 0 2px 16px rgba(0,0,0,0.07);
}

.pcv-form-section .label {
    color: var(--pcv-blue);
    font-weight: 600;
}

.pcv-form-section .input:focus,
.pcv-form-section .select select:focus {
    border-color: var(--pcv-blue);
    box-shadow: 0 0 0 2px rgba(60,59,110,0.15);
}

.pcv-privacy {
    font-size: 0.85rem;
    color: #888;
    margin-top: 1rem;
}

/* --- Thank You --- */
.pcv-thankyou {
    text-align: center;
    padding: 3rem 1.5rem;
}

.pcv-thankyou .pcv-check {
    font-size: 4rem;
    color: #48c774;
    margin-bottom: 1rem;
}

/* --- Divider stars --- */
.pcv-divider {
    text-align: center;
    color: var(--pcv-gold);
    font-size: 1.2rem;
    letter-spacing: 8px;
    padding: 0.5rem 0;
}

/* --- Responsive tweaks --- */
@media screen and (max-width: 768px) {
    .pcv-stat-box {
        margin-bottom: 1rem;
    }

    .pcv-form-section {
        padding: 1.5rem;
    }

    .hero.pcv-hero .title {
        font-size: 1.7rem;
    }

    .hero.pcv-hero .subtitle {
        font-size: 1.15rem;
    }

    .pcv-hero-text {
        text-align: center;
        max-width: 100%;
    }

    .pcv-hero-bg-image {
        display: none;
    }
}
