/*
Theme Name: Ward 8 - Enzo Torrone Campaign
Theme URI: http://ward8torrone.ca
Description: Custom WordPress theme for Enzo Torrone's Ward 8 City Councillor campaign website
Author: Campaign Team
Author URI: http://ward8torrone.ca
Template: twentytwentyfive
Version: 1.0
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: ward8-enzo
Domain Path: /languages
*/

/* Import parent theme styles */
@import url('../twentytwentyfive/style.css');

/* ==================== ROOT CSS VARIABLES ==================== */
:root {
    --brand-red: #df381e;
    --brand-red-hover: #c42e17;
    --brand-red-dark: #bc2d16;
    --brand-navy: #19273e;
    --brand-navy-dark: #111a2e;
    --bg-dark: #0b111e;
    --bg-light: #f5f8fc;
    --text-white: #ffffff;
    --text-dark: #1c283c;
    --text-light: #f4f5f7;
    --font-display: 'Oswald', sans-serif;
    --font-body: 'Montserrat', sans-serif;
    --card-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ==================== GLOBAL STYLES ==================== */
* {
    box-sizing: border-box;
}

html, body {
    font-family: var(--font-body);
    background-color: var(--bg-dark);
    color: var(--text-white);
    overflow-x: hidden;
    line-height: 1.6;
    scroll-behavior: smooth;
}

/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700;800&family=Oswald:wght@500;700&display=swap');

/* FontAwesome is now enqueued in functions.php for better WordPress integration */

/* ==================== UTILITY CLASSES ==================== */
.diagonal-stripes {
    background-image: repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.02) 0px, rgba(255, 255, 255, 0.02) 1px, transparent 1px, transparent 8px);
}

.diagonal-stripes-dark {
    background-image: repeating-linear-gradient(45deg, rgba(0, 0, 0, 0.03) 0px, rgba(0, 0, 0, 0.03) 1px, transparent 1px, transparent 8px);
}

.section-padding {
    padding: 6rem 2rem;
}

.wrap {
    max-width: 1280px;
    margin: 0 auto;
    width: 100%;
}

/* ==================== HEADER & NAVIGATION ==================== */
header {
    background-color: var(--brand-navy-dark);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 2px solid rgba(255, 255, 255, 0.05);
}

/* Desktop-only: make the main menu fixed and push page content down */
@media (min-width: 993px) {
    header {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        width: 100%;
        z-index: 1000;
    }

    /* Ensure main content is not hidden behind the fixed header */
    .campaign-main {
        padding-top: 80px; /* adjust if your header height differs */
    }
}

.nav-container {
    max-width: 1300px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
}

.brand {
    text-decoration: none;
    color: var(--text-white);
    display: flex;
    flex-direction: column;
}

.brand .name {
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: 1px;
}

.brand .sub {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--brand-red);
}

.nav-links {
    display: none;
    align-items: center;
    gap: 1.8rem;
    list-style: none;
}

.nav-links a {
    color: var(--text-white);
    text-decoration: none;
    text-transform: uppercase;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 1px;
    padding-bottom: 4px;
    border-bottom: 2px solid transparent;
    transition: var(--transition);
}

.nav-links a:hover {
    border-color: var(--brand-red);
    color: var(--brand-red);
}

.nav-ctas {
    display: none;
    align-items: center;
    gap: 1rem;
}

.btn-nav-action {
    background-color: #e5eaf3;
    color: var(--brand-navy-dark);
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 1px;
    padding: 0.5rem 1.4rem;
    border-radius: 4px;
    text-decoration: none;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    transition: var(--transition);
}

.btn-nav-action:hover {
    background-color: var(--brand-red);
    color: var(--text-white);
    transform: translateY(-1px);
}

.btn-nav-cta {
    background-color: var(--brand-red);
    color: var(--text-white);
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 1px;
    padding: 0.5rem 1.4rem;
    border-radius: 4px;
    text-decoration: none;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(223, 56, 30, 0.2);
    transition: var(--transition);
}

.btn-nav-cta:hover {
    background-color: var(--brand-red-hover);
    transform: translateY(-1px);
}

.menu-toggle {
    display: block;
    color: var(--text-white);
    font-size: 1.8rem;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    width: 30px;
    height: 30px;
    z-index: 1002;
    background: none;
    border: none;
    padding: 0;
    line-height: 1;
}

/* Fallback hamburger icon if FontAwesome doesn't load */
.menu-toggle::before {
    content: '';
    position: absolute;
    width: 24px;
    height: 2px;
    background-color: var(--text-white);
    top: 8px;
    left: 3px;
    /* box-shadow: 0 8px 0 var(--text-white), 0 16px 0 var(--text-white); */
}

.menu-toggle i {
    position: absolute;
    width: 24px;
    height: 2px;
    /* background-color: var(--text-white); */
    top: 50%;
    left: 3px;
    transform: translateY(-50%);
    display: block;
    /* box-shadow: 0 8px 0 var(--text-white), 0 16px 0 var(--text-white); */
}

/* ==================== HERO SECTION ==================== */
.hero-section {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    background: url('https://enviraorganics.com/banner.png') no-repeat center center / cover;
    padding: 5rem 2rem;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.01) 0px, rgba(255, 255, 255, 0.01) 1px, transparent 1px, transparent 8px);
    pointer-events: none;
    z-index: 1;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 4rem;
    align-items: center;
    z-index: 2;
    position: relative;
    width: 100%;
}

.desktop-only {
    display: block;
}

.mobile-only {
    display: none;
}

.hero-left-spacer {
    pointer-events: none;
}

.hero-combined-panel {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 550px;
    justify-self: end;
}

.hero-text-content {
    display: flex;
    flex-direction: column;
    margin-bottom: 1.5rem;
}

.hero-title {
    font-family: var(--font-display);
    font-size: 5.5rem;
    line-height: 0.9;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #ffffff;
    margin-bottom: 0.5rem;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.7), 0 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
    font-family: var(--font-body);
    font-size: 2.2rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #ffffff;
    margin-bottom: 0.5rem;
    text-shadow: 0 3px 8px rgba(0, 0, 0, 0.7);
}

.hero-subtitle span {
    color: #e24525;
    font-weight: 700;
}

.hero-tagline {
    font-family: var(--font-body);
    font-size: 1.15rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: #ffffff;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.8);
}

/* ==================== FORM STYLES ==================== */
.form-card {
    background-color: #df381e;
    padding: 1.5rem;
    border-radius: 4px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    width: 100%;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}

.full-width {
    grid-column: span 2;
}

.form-input {
    width: 100%;
    padding: 1rem 1.25rem;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--brand-navy-dark);
    background-color: #f4f5f7;
    border: 3px solid #bc2d16;
    border-radius: 8px;
    outline: none;
    transition: all 0.2s ease;
}

.form-input::placeholder {
    color: var(--brand-navy-dark);
    opacity: 0.9;
}

.form-input:focus {
    background-color: #ffffff;
    border-color: var(--brand-navy-dark);
}

.btn-submit {
    width: 100%;
    padding: 1rem;
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #ffffff;
    background-color: #19273e;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.btn-submit:hover {
    background-color: var(--brand-navy-dark);
}

.disclaimer-container {
    margin-top: 1rem;
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.disclaimer-checkbox {
    margin-top: 0.2rem;
    accent-color: #19273e;
    cursor: pointer;
}

.disclaimer-text {
    font-size: 0.7rem;
    line-height: 1.4;
    color: #ffffff;
    opacity: 1;
    font-weight: 500;
}

/* ==================== BUTTONS ==================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 1.1rem 2.2rem;
    border-radius: 6px;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.btn-red {
    background-color: var(--brand-red);
    color: var(--text-white);
    box-shadow: 0 4px 15px rgba(223, 56, 30, 0.35);
}

.btn-red:hover {
    background-color: var(--brand-red-hover);
    transform: translateY(-2px);
}

.btn-ink {
    background-color: var(--brand-navy);
    color: var(--text-white);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.btn-ink:hover {
    background-color: var(--brand-navy-dark);
    transform: translateY(-2px);
}

.btn-white-fill {
    background-color: var(--text-white) !important;
    color: var(--brand-red-dark) !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15) !important;
    border: 2px solid var(--text-white) !important;
}

.btn-white-fill:hover {
    background-color: var(--brand-navy-dark) !important;
    color: var(--text-white) !important;
    border-color: var(--brand-navy-dark) !important;
    transform: translateY(-2px);
}

.btn-white-outline {
    background-color: transparent !important;
    color: var(--text-white) !important;
    border: 2px solid var(--text-white) !important;
}

.btn-white-outline:hover {
    background-color: rgba(255, 255, 255, 0.15) !important;
    transform: translateY(-2px);
}

.btn-full {
    width: 100%;
    padding: 1.1rem;
    font-size: 1.1rem;
}

/* Spinner for submit buttons */
.btn.loading {
    opacity: 0.9;
    cursor: wait;
}
.spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255,255,255,0.35);
    border-top-color: #ffffff;
    border-radius: 50%;
    animation: ward8-spin 0.8s linear infinite;
    vertical-align: text-bottom;
    margin-right: 8px;
}
@keyframes ward8-spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* ==================== SECTIONS ==================== */
.why-running-section {
    background-color: #eaf1f7;
    color: var(--text-dark);
}

.why-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 5rem;
    align-items: center;
}

.why-left h2 {
    font-family: var(--font-display);
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--brand-navy-dark);
    text-transform: uppercase;
}

.why-left p {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    color: #3f4d67;
}

.why-left p.lead-highlight {
    color: var(--brand-red-hover);
    font-weight: 700;
}

.btn-learn {
    background-color: var(--brand-red);
    color: #ffffff;
    padding: 1rem 2rem;
    font-family: var(--font-body);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 6px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 4px 15px rgba(223, 56, 30, 0.35);
    transition: var(--transition);
}

.btn-learn:hover {
    background-color: var(--brand-red-hover);
    transform: translateY(-2px);
}

/* Polaroid Photo Style */
.polaroid-wrapper {
    background: #ffffff;
    padding: 1.2rem 1.2rem 3rem 1.2rem;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    transform: rotate(2deg);
    transition: var(--transition);
    border-radius: 2px;
}

.polaroid-wrapper:hover {
    transform: rotate(0deg) scale(1.02);
}

.polaroid-image {
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background-color: #000;
}

.polaroid-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ==================== DONATION STRIP ==================== */
.donation-strip-section {
    background-color: var(--brand-red);
    padding: 4rem 2rem;
    position: relative;
}

.donation-grid-layout {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    align-items: center;
}

.donate-text-box h3 {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: rgba(255,255,255,0.85);
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.donate-text-box h2 {
    font-family: var(--font-display);
    font-size: 3rem;
    line-height: 1.1;
    text-transform: uppercase;
    color: #ffffff;
    margin-bottom: 1rem;
}

.donate-text-box p {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.9);
}

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

.donation-grid-btn {
    background-color: var(--brand-navy-dark);
    color: #ffffff;
    border: none;
    border-radius: 6px;
    padding: 1.2rem;
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
}

.donation-grid-btn:hover {
    background-color: var(--brand-navy);
    transform: translateY(-2px);
}

.donation-grid-btn.other-btn {
    background-color: transparent;
    border: 2px solid #ffffff;
    font-size: 1.5rem;
}

.donation-grid-btn.other-btn:hover {
    background-color: #ffffff;
    color: var(--brand-red-dark);
}

/* ==================== WARD DASHBOARD ==================== */
.ward-dashboard {
    background-color: var(--brand-navy-dark);
    color: var(--text-white);
}

.sec-head {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem auto;
}

.sec-head h2 {
    font-family: var(--font-display);
    font-size: 3.5rem;
    line-height: 1.1;
    text-transform: uppercase;
    color: var(--text-white);
    margin-bottom: 1rem;
}

.sec-head p {
    font-size: 1.1rem;
    color: #8fa0b5;
}

.stats-widgets {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 4rem;
}

.widget {
    background-color: var(--brand-navy);
    padding: 2.5rem 2rem;
    border-radius: 8px;
    box-shadow: var(--card-shadow);
    border-top: 5px solid var(--brand-red);
    text-align: center;
    transition: var(--transition);
}

.widget:hover {
    transform: translateY(-5px);
}

.widget .w-num {
    font-family: var(--font-display);
    font-size: 4rem;
    font-weight: 700;
    color: var(--text-white);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.widget .w-label {
    font-size: 1rem;
    font-weight: 700;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ==================== FEATURED ISSUE ==================== */
.featured-issue-section {
    position: relative;
    background: linear-gradient(rgba(17, 26, 46, 0.85), rgba(17, 26, 46, 0.85)), url('image_e0ee68.jpg') no-repeat center center / cover;
    padding: 6rem 2rem;
}

.featured-grid {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 4rem;
    align-items: center;
}

.featured-left-card {
    background-color: #f8fafc;
    color: var(--text-dark);
    padding: 3rem;
    border-radius: 8px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.4);
    position: relative;
}

.featured-badge {
    display: inline-block;
    background-color: var(--brand-navy-dark);
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 0.3rem 1rem;
    position: absolute;
    top: -12px;
    left: 3rem;
    border-radius: 4px;
}

.featured-left-card .issue-eyebrow {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--brand-red);
    font-weight: 700;
    margin-bottom: 1rem;
    display: block;
}

.featured-left-card h2 {
    font-family: var(--font-display);
    font-size: 3rem;
    text-transform: uppercase;
    color: var(--brand-navy-dark);
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.featured-left-card p {
    font-size: 1.05rem;
    line-height: 1.6;
    margin-bottom: 1.2rem;
    color: #3f4d67;
}

.featured-left-card p.highlight {
    color: var(--brand-red-hover);
    font-weight: 700;
}

.featured-right-content img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: var(--card-shadow);
}

/* ==================== PRIORITIES SECTION ==================== */
.priorities {
    background-color: var(--bg-dark);
}

.priorities .sec-head h2 {
    color: var(--text-white);
}

.priority {
    background-color: #121a2c;
    border-radius: 8px;
    padding: 3rem;
    margin-bottom: 2.5rem;
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 4rem;
    border-left: 6px solid var(--brand-red);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    transition: var(--transition);
}

.priority:hover {
    transform: scale(1.01);
}

.p-left .p-num {
    font-family: var(--font-display);
    font-size: 3.5rem;
    font-weight: 700;
    color: rgba(223, 56, 30, 0.3);
    line-height: 1;
    margin-bottom: 1rem;
}

.p-left h3 {
    font-family: var(--font-display);
    font-size: 2.2rem;
    text-transform: uppercase;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--text-white);
}

.bigidea-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--brand-red);
    font-weight: 700;
    margin-bottom: 0.4rem;
}

.bigidea {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--text-white);
    line-height: 1.5;
}

.p-right {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.do-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #8fa0b5;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.do-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.do-list li {
    position: relative;
    padding-left: 2rem;
    font-size: 1.05rem;
    color: var(--text-light);
}

.do-list li::before {
    content: "\f00c";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 3px;
    color: var(--brand-red);
    font-size: 0.95rem;
}

/* Icon Fallbacks for FontAwesome if CDN fails */
.fa-chevron-right::before {
    content: " >";
    font-weight: bold;
}

.fa-info-circle::before {
    content: "ℹ";
    margin-right: 0.5rem;
}

.fab.fa-facebook-f::before {
    content: "f";
    font-weight: bold;
}

.fab.fa-instagram::before {
    content: "📷";
}

.fab.fa-x-twitter::before {
    content: "𝕏";
}

/* ==================== COMPARISON SECTION ==================== */
.change {
    background-color: var(--text-white);
    color: var(--text-dark);
}

.change h2 {
    font-family: var(--font-display);
    font-size: 3.5rem;
    text-transform: uppercase;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--brand-navy-dark);
}

.change .intro {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #5a6a82;
    margin-bottom: 3.5rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.compare {
    border: 2px solid #e1e8f2;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
}

.compare-head {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background-color: var(--brand-navy-dark);
    color: var(--text-white);
    font-family: var(--font-display);
    font-size: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.compare-head .ch {
    padding: 1.5rem 2rem;
    font-weight: 700;
}

.compare-head .ch.enzo {
    background-color: var(--brand-red);
}

.compare-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-bottom: 1px solid #e1e8f2;
}

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

.compare-row .cell {
    padding: 1.8rem 2rem;
    font-size: 1.05rem;
    line-height: 1.5;
    color: #3f4d67;
}

.compare-row .cell.enzo {
    background-color: rgba(223, 56, 30, 0.03);
    font-weight: 600;
    color: var(--brand-navy-dark);
    border-left: 4px solid var(--brand-red);
}

/* ==================== PLATFORM SECTION ==================== */
.platform {
    background-color: var(--bg-light);
    color: var(--text-dark);
}

.platform h2 {
    font-family: var(--font-display);
    font-size: 3.5rem;
    text-transform: uppercase;
    line-height: 1.1;
    margin-bottom: 4rem;
    color: var(--brand-navy-dark);
    text-align: center;
}

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

.issue-card {
    background-color: var(--text-white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.issue-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.issue-photo {
    height: 220px;
    overflow: hidden;
    position: relative;
}

.issue-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.issue-card:hover .issue-photo img {
    transform: scale(1.05);
}

.issue-body {
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.issue-no {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--brand-red);
    letter-spacing: 2px;
    margin-bottom: 0.6rem;
}

.issue-body h3 {
    font-family: var(--font-display);
    font-size: 1.8rem;
    text-transform: uppercase;
    color: var(--brand-navy-dark);
    line-height: 1.2;
    margin-bottom: 1rem;
}

.issue-body p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #5c6c84;
}

/* ==================== COMMUNITY VOICE ==================== */
.voice {
    background-color: var(--brand-navy-dark);
    border-radius: 8px;
    padding: 4rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 3rem;
    color: var(--text-white);
    box-shadow: 0 15px 40px rgba(0,0,0,0.3);
}

.voice-text {
    max-width: 700px;
}

.v-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--brand-red);
    font-weight: 700;
    margin-bottom: 0.8rem;
}

.voice-text h3 {
    font-family: var(--font-display);
    font-size: 2.8rem;
    text-transform: uppercase;
    margin-bottom: 1rem;
    line-height: 1.1;
}

.voice-text p {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* ==================== VOLUNTEER SECTION ==================== */
.volunteer {
    background-color: var(--brand-red);
    text-align: center;
    padding: 6rem 2rem;
}

.volunteer h2 {
    font-family: var(--font-display);
    font-size: 3.5rem;
    text-transform: uppercase;
    line-height: 1.1;
    margin-bottom: 1rem;
}

.volunteer p {
    font-size: 1.25rem;
    font-weight: 500;
    max-width: 700px;
    margin: 0 auto 3rem auto;
    opacity: 0.95;
}

.volunteer-ctas {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

/* ==================== FOOTER ==================== */
footer {
    background-color: var(--brand-navy-dark);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 5rem 2rem 0 2rem;
}

.footer-top {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.f-brand .name {
    font-family: var(--font-display);
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--text-white);
    letter-spacing: 1px;
    line-height: 1.1;
}

.f-brand .ward {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--brand-red);
    letter-spacing: 2px;
    margin-bottom: 1.5rem;
}

.f-brand .tag {
    font-size: 1rem;
    color: var(--text-light);
    opacity: 0.85;
    margin-bottom: 2rem;
}

.social {
    display: flex;
    gap: 1rem;
}

.social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--text-white);
    border-radius: 50px;
    text-decoration: none;
    transition: var(--transition);
}

.social a:hover {
    background-color: var(--brand-red);
    transform: translateY(-3px);
}

.f-col h4 {
    font-family: var(--font-display);
    font-size: 1.3rem;
    text-transform: uppercase;
    color: var(--text-white);
    letter-spacing: 1px;
    margin-bottom: 1.8rem;
    border-bottom: 2px solid rgba(255,255,255,0.1);
    padding-bottom: 0.5rem;
}

.f-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.f-col a, .f-col button {
    color: var(--text-light);
    text-decoration: none;
    font-size: 0.95rem;
    opacity: 0.8;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    font-family: var(--font-body);
    transition: var(--transition);
}

.f-col a:hover, .f-col button:hover {
    opacity: 1;
    color: var(--brand-red);
    padding-left: 3px;
}

.f-contact p {
    font-size: 1rem;
    color: var(--text-light);
    opacity: 0.9;
    margin-bottom: 1rem;
}

.f-contact .btn {
    width: 100%;
    margin-top: 1rem;
    padding: 0.8rem 1.5rem;
    font-size: 0.85rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 2.5rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #ffffff;
    font-size: 0.85rem;
}

.footer-bottom small {
    max-width: 750px;
    line-height: 1.5;
    color: #ffffff;
}

.footer-bottom .site {
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 1px;
}

/* ==================== MODAL STYLES ==================== */
dialog {
    border: none;
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
    background: transparent;
    max-width: 580px;
    width: 90%;
    margin: auto;
    overflow: visible;
}

dialog::backdrop {
    background-color: rgba(11, 17, 30, 0.85);
    backdrop-filter: blur(5px);
}

.modal-card {
    background-color: var(--brand-navy-dark);
    border-radius: 8px;
    border: 2px solid rgba(255,255,255,0.05);
    padding: 3rem;
    color: var(--text-white);
    position: relative;
    max-height: 90vh;
    overflow-y: auto;
}

.modal-close-btn {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    font-size: 2rem;
    line-height: 1;
    color: var(--text-white);
    background: none;
    border: none;
    cursor: pointer;
    opacity: 0.7;
    transition: var(--transition);
}

.modal-close-btn:hover {
    opacity: 1;
    color: var(--brand-red);
}

.modal-header {
    margin-bottom: 2rem;
    text-align: center;
}

.modal-header h3 {
    font-family: var(--font-display);
    font-size: 2.2rem;
    text-transform: uppercase;
    color: var(--text-white);
    margin-bottom: 0.5rem;
}

.modal-header p {
    font-size: 0.95rem;
    color: var(--text-light);
    opacity: 0.85;
}

.modal-form {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #8fa0b5;
}

.form-group input, .form-group select, .form-group textarea {
    width: 100%;
    padding: 0.9rem 1.2rem;
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--text-white);
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    outline: none;
    transition: var(--transition);
}

.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    border-color: var(--brand-red);
    background-color: rgba(255, 255, 255, 0.08);
}

.checkbox-group {
    flex-direction: row;
    align-items: flex-start;
    gap: 0.8rem;
    margin: 0.5rem 0;
}

.checkbox-group input {
    width: auto;
    margin-top: 0.25rem;
    accent-color: var(--brand-red);
}

.checkbox-group label {
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: none;
    letter-spacing: 0;
    line-height: 1.4;
    color: var(--text-white);
    opacity: 1;
}

/* ==================== DONATION OPTIONS ==================== */
.donation-options {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 0.75rem !important;
    margin-bottom: 1rem !important;
}

.donate-preset {
    background-color: var(--brand-navy) !important;
    border: 2px solid transparent !important;
    color: var(--text-white) !important;
    font-family: var(--font-display) !important;
    font-size: 1.5rem !important;
    font-weight: 700 !important;
    padding: 0.75rem 0 !important;
    border-radius: 6px !important;
    cursor: pointer !important;
    transition: var(--transition) !important;
    text-align: center !important;
    display: block !important;
    width: 100% !important;
}

.donate-preset:hover {
    background-color: var(--brand-navy-dark) !important;
    border-color: var(--brand-red) !important;
}

.donate-preset.active {
    background-color: var(--brand-red) !important;
    border-color: var(--text-white) !important;
}

.custom-amount-wrapper {
    grid-column: 1 / -1 !important;
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
}

.currency-symbol {
    position: absolute;
    left: 1.2rem;
    font-weight: 700;
    font-size: 1.1rem;
    color: #8fa0b5;
    z-index: 10;
}

.custom-amount-wrapper input {
    width: 100% !important;
    padding: 0.9rem 1.2rem 0.9rem 2.4rem !important;
    font-family: var(--font-body) !important;
    font-weight: 700 !important;
    font-size: 1rem !important;
    color: var(--text-white) !important;
    background-color: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 4px !important;
    outline: none !important;
    transition: var(--transition) !important;
}

.custom-amount-wrapper input:focus {
    border-color: var(--brand-red) !important;
    background-color: rgba(255, 255, 255, 0.08) !important;
}

.custom-amount-wrapper input::placeholder {
    color: #8fa0b5 !important;
    opacity: 0.8 !important;
}

.donation-impact-box {
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
    padding: 0.8rem 1.2rem;
    font-size: 0.85rem;
    color: #ffffff;
    text-align: center;
    margin-bottom: 1rem;
}

/* ==================== MODAL SUCCESS STATE ==================== */
.modal-success-state {
    text-align: center;
    padding: 2rem 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    animation: fadeIn 0.4s ease;
}

.success-icon {
    width: 70px;
    height: 70px;
    fill: var(--brand-red);
    margin-bottom: 1.5rem;
}

.modal-success-state h4 {
    font-family: var(--font-display);
    font-size: 2rem;
    text-transform: uppercase;
    margin-bottom: 0.8rem;
}

.modal-success-state p {
    font-size: 1rem;
    color: var(--text-light);
    opacity: 0.9;
    margin-bottom: 2rem;
    max-width: 400px;
}

.hide {
    display: none !important;
}

.sign-preview-box {
    background-color: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 6px;
    padding: 2rem;
    display: flex;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.sign-mockup {
    background-color: var(--brand-navy-dark);
    border: 4px solid var(--brand-red);
    padding: 1.5rem 2.5rem;
    border-radius: 4px;
    text-align: center;
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 320px;
}

.sign-mockup .sign-title {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-white);
    letter-spacing: 1px;
    line-height: 1.1;
}

.sign-mockup .sign-subtitle {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--brand-red);
    letter-spacing: 2px;
    margin-top: 0.3rem;
}

/* ==================== MOBILE MENU ==================== */
.mobile-overlay {
    position: fixed;
    top: 0;
    left: -100%;
    width: 100%;
    max-width: 500px;
    height: 100vh;
    background-color: var(--brand-navy-dark);
    z-index: 1001;
    transition: left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 3rem 2rem;
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    overflow-y: auto;
}

.mobile-overlay.active {
    left: 0;
}

.close-mobile {
    align-self: flex-end;
    font-size: 2.5rem;
    cursor: pointer;
    color: var(--text-white);
    line-height: 1;
}

.mobile-menu-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.8rem;
}

.mobile-menu-links a {
    color: var(--text-white);
    text-decoration: none;
    font-size: 1.8rem;
    font-family: var(--font-display);
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
}

.mobile-menu-links a:hover {
    color: var(--brand-red);
}

.mobile-ctas {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: auto;
}

.mobile-ctas button {
    width: 100%;
    padding: 1rem;
}

/* ==================== RESPONSIVE DESIGN ==================== */
@media (max-width: 1100px) {
    .hero-title {
        font-size: 4.5rem;
    }
    .why-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .polaroid-wrapper {
        max-width: 500px;
        margin: 0 auto;
    }
    .issues-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .nav-links, .nav-ctas {
        display: none;
    }
    .hero-section {
        background: var(--brand-navy-dark) !important;
        padding: 0;
        min-height: auto;
    }
    .hero-section::before {
        display: none;
    }
    .hero-container {
        grid-template-columns: 1fr;
        gap: 0;
        text-align: center;
        padding: 0;
    }
    .hero-left-spacer {
        display: none;
    }
    .desktop-only {
        display: none !important;
    }
    .mobile-only {
        display: block !important;
    }
    .mobile-hero-header {
        padding: 3rem 1.5rem 2rem 1.5rem;
        background-color: var(--brand-navy-dark);
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }
    .mobile-hero-header .hero-title {
        font-size: 4.5rem;
        margin-bottom: 0.2rem;
        text-shadow: none;
        line-height: 1;
    }
    .mobile-hero-header .hero-subtitle {
        font-size: 1.8rem;
        margin-bottom: 0;
        text-shadow: none;
        letter-spacing: 1px;
    }
    .mobile-candidate-frame {
        width: 100%;
        height: 480px;
        background: url('https://enviraorganics.com/banner.png') no-repeat;
        background-size: cover;
        background-position: 12% center;
        display: block !important;
        box-shadow: inset 0 -15px 30px rgba(11, 17, 30, 0.4);
    }
    .hero-combined-panel {
        margin: 0 auto;
        background-color: var(--brand-navy-dark) !important;
        padding: 2.5rem 1.5rem;
        width: 100%;
        max-width: 100%;
        border-radius: 0;
        border: none;
        box-shadow: none;
    }
    .hero-combined-panel .hero-tagline {
        font-size: 1.15rem;
        letter-spacing: 2px;
        margin-bottom: 2rem;
        text-align: center;
        text-shadow: none;
        font-weight: 700;
        color: #ffffff;
    }
    .form-card {
        max-width: 480px;
        margin: 0 auto;
        border-radius: 8px;
    }
    .donation-grid-layout {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    .featured-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .stats-widgets {
        grid-template-columns: 1fr;
        max-width: 450px;
        margin-left: auto;
        margin-right: auto;
    }
    .compare-head {
        display: none;
    }
    .compare-row {
        grid-template-columns: 1fr;
        border-bottom: 2px solid #e1e8f2;
        padding: 1.5rem 0;
    }
    .compare-row .cell.enzo {
        border-left: none;
        border-top: 3px solid var(--brand-red);
        margin-top: 0.5rem;
        background-color: rgba(223, 56, 30, 0.05);
    }
    .voice {
        flex-direction: column;
        text-align: center;
        padding: 3rem 2rem;
        gap: 2rem;
    }
    .footer-top {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    .social {
        justify-content: center;
    }
}

@media (max-width: 600px) {
    .mobile-hero-header .hero-title {
        font-size: 3.5rem;
    }
    .mobile-hero-header .hero-subtitle {
        font-size: 1.5rem;
    }
    .hero-title {
        font-size: 3.2rem;
    }
    .hero-subtitle {
        font-size: 1.5rem;
    }
    .mobile-candidate-frame {
        height: 380px;
    }
    .why-left h2, .featured-left-card h2, .change h2, .platform h2, .volunteer h2, .sec-head h2 {
        font-size: 2.3rem;
    }
    .change .intro {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-bottom: 2rem;
    }
    .issues-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
    }
    .form-grid {
        grid-template-columns: 1fr;
    }
    .full-width {
        grid-column: span 1;
    }
    .donation-button-grid {
        grid-template-columns: 1fr;
    }
    .donation-options {
        grid-template-columns: repeat(2, 1fr) !important;
    }
    /* Mobile Priorities Section */
    .priority {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 2rem;
    }
    .p-left .p-num {
        font-size: 2.5rem;
    }
    .p-left h3 {
        font-size: 1.5rem;
    }
    .do-list li {
        font-size: 1rem;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Ward 8 Community Section */
.ward-community-section {
    background-color: #f5f5f5;
    color: var(--text-dark);
}

.community-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.community-left h2 {
    font-family: var(--font-display);
    font-size: 2.5rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--brand-navy-dark);
}

.community-left p {
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    color: #555;
}

.community-map-frame {
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.community-map-frame img {
    width: 100%;
    height: auto;
    display: block;
}

@media (max-width: 768px) {
    .community-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .community-left h2 {
        font-size: 2rem;
    }
    
    .community-left p {
        font-size: 0.95rem;
    }
}
