/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Campaign Colors */
    --primary-green: #0c8c3b;
    --navy-blue: #243472;
    --red-accent: #c2333e;
    
    /* Neutral Colors */
    --white: #ffffff;
    --light-gray: #f8f9fa;
    --gray: #6c757d;
    --dark-gray: #343a40;
    --black: #000000;
    
    /* Typography */
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    
    /* Spacing */
    --container-padding: 1rem;
    --section-padding: 4rem 0;
    
    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 15px rgba(0,0,0,0.1);
    
    /* Transitions */
    --transition: all 0.3s ease;
}

body {
    font-family: var(--font-family);
    line-height: 1.6;
    color: var(--dark-gray);
    overflow-x: hidden;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { font-size: 3rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.5rem; }

p {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    text-align: center;
    transition: var(--transition);
    border: 2px solid transparent;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background-color: var(--red-accent);
    color: var(--white);
}

.btn-primary:hover {
    background-color: #a82a34;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background-color: transparent;
    color: var(--navy-blue);
    border-color: var(--navy-blue);
}

.btn-secondary:hover {
    background-color: var(--navy-blue);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-outline {
    background-color: transparent;
    color: var(--primary-green);
    border-color: var(--primary-green);
}

.btn-outline:hover {
    background-color: var(--primary-green);
    color: var(--white);
    transform: translateY(-2px);
}

/* Fullscreen Hero/Header Styles */
.hero-fullscreen {
    position: relative;
    width: 100vw;
    min-height: 100vh;
    background-size: cover;
    background-position: 80% center; /* Focus more on the right side */
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: stretch;
    overflow: hidden;
}

/* Remove overlay and form styles */
.hero-overlay { display: none !important; }
.hero-form { display: none !important; }

.hero-inner {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    z-index: 2;
    padding: 0 5vw;
}

.hero-left {
    max-width: 40vw;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
    /* Add text-shadow for readability */
    text-shadow: 0 2px 8px rgba(0,0,0,0.45);
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0;
    line-height: 1.1;
    text-shadow: 0 2px 8px rgba(0,0,0,0.45);
}

.hero-candidate {
    flex: 1;
}

/* Navigation Top Right */
.navbar {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    background: transparent;
    box-shadow: none;
    z-index: 10;
}

.nav-container {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding: 1.5rem 5vw 0 5vw;
    max-width: 100vw;
}

.nav-brand {
    position: absolute;
    left: 5vw;
    top: 1.5rem;
}

.nav-brand a {
    color: #fff;
    font-size: 1.7rem;
    font-weight: 800;
    letter-spacing: 1px;
    text-shadow: 0 2px 8px rgba(0,0,0,0.25);
    text-decoration: none;
    transition: color 0.2s;
}

.nav-brand a:hover {
    color: #243472;
}

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

.nav-link {
    color: #fff;
    font-weight: 500;
    text-decoration: none;
    font-size: 1.1rem;
    transition: color 0.2s;
    padding: 0.5rem 0.75rem;
}

.nav-link:hover {
    color: var(--primary-green);
}

.nav-link.contribute-btn {
    background: var(--red-accent);
    color: #fff;
    border-radius: 4px;
    padding: 0.5rem 1.5rem;
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    transition: background 0.2s;
}

.nav-link.contribute-btn:hover {
    background: #a82a34;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--dark-gray);
    margin: 3px 0;
    transition: var(--transition);
}

/* Issues Preview */
.issues-preview {
    padding: var(--section-padding);
    background-color: var(--white);
}

.section-title {
    text-align: center;
    color: var(--navy-blue);
    margin-bottom: 3rem;
    font-size: 2.5rem;
}

.issues-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.issue-card {
    background-color: var(--light-gray);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    transition: var(--transition);
    border: 2px solid transparent;
}

.issue-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-green);
}

.issue-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.issue-card h3 {
    color: var(--navy-blue);
    margin-bottom: 1rem;
}

.issue-card p {
    color: var(--gray);
    font-size: 1rem;
}

/* About Section */
.about {
    padding: var(--section-padding);
    background-color: var(--light-gray);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text {
    max-width: 500px;
}

.about-lead {
    font-size: 1.3rem;
    color: var(--navy-blue);
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.about-image {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Get Involved Section */
.get-involved {
    padding: var(--section-padding);
    background-color: var(--white);
}

.involvement-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.involvement-card {
    background-color: var(--light-gray);
    padding: 2.5rem;
    border-radius: 12px;
    text-align: center;
    transition: var(--transition);
}

.involvement-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.involvement-card h3 {
    color: var(--navy-blue);
    margin-bottom: 1rem;
}

.involvement-card p {
    color: var(--gray);
    margin-bottom: 1.5rem;
}

/* Footer */
.footer {
    background-color: var(--navy-blue);
    color: var(--white);
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-brand h3 {
    color: var(--primary-green);
    margin-bottom: 0.5rem;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.footer-section h4 {
    color: var(--primary-green);
    margin-bottom: 1rem;
}

.footer-section a {
    display: block;
    color: var(--white);
    text-decoration: none;
    margin-bottom: 0.5rem;
    transition: var(--transition);
}

.footer-section a:hover {
    color: var(--primary-green);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 1rem;
    text-align: center;
    color: rgba(255,255,255,0.7);
    font-size: 0.9rem;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    backdrop-filter: blur(5px);
}

.modal-content {
    background-color: var(--white);
    margin: 5% auto;
    padding: 2rem;
    border-radius: 12px;
    width: 90%;
    max-width: 500px;
    position: relative;
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.close {
    position: absolute;
    right: 1rem;
    top: 1rem;
    font-size: 2rem;
    cursor: pointer;
    color: var(--gray);
}

.close:hover {
    color: var(--dark-gray);
}

.modal-content h2 {
    color: var(--navy-blue);
    margin-bottom: 1rem;
}

.modal-content p {
    color: var(--gray);
    margin-bottom: 2rem;
}

/* Forms */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--dark-gray);
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #e9ecef;
    border-radius: 6px;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-green);
    box-shadow: 0 0 0 3px rgba(12, 140, 59, 0.1);
}

/* Responsive Styles */
@media (max-width: 900px) {
    .hero-inner {
        flex-direction: column;
        align-items: flex-start;
        justify-content: center;
        padding: 0 2vw;
    }
    .hero-left {
        max-width: 90vw;
        margin-bottom: 2rem;
    }
    .hero-title {
        font-size: 2.2rem;
    }
    .nav-container {
        padding: 1rem 2vw 0 2vw;
    }
    .nav-brand {
        left: 2vw;
        top: 1rem;
    }
}

@media (max-width: 600px) {
    .hero-title {
        font-size: 1.4rem;
    }
    .hero-form {
        flex-direction: column;
        gap: 0.5rem;
        padding: 1rem;
    }
    .hero-form input {
        width: 100%;
        margin-right: 0;
    }
    .nav-menu {
        gap: 1rem;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-cta {
        justify-content: center;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .container {
        padding: 0 1rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 250px;
    }
    
    .issues-grid {
        grid-template-columns: 1fr;
    }
    
    .involvement-grid {
        grid-template-columns: 1fr;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus styles for accessibility */
.btn:focus,
.nav-link:focus,
input:focus,
select:focus {
    outline: 2px solid var(--primary-green);
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    :root {
        --primary-green: #006400;
        --navy-blue: #000080;
        --red-accent: #8b0000;
    }
} 