/* Main Frontend Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--body-font, 'Open Sans', sans-serif);
    color: var(--text-color, #333);
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
.site-header {
    background: var(--header-bg, #ffffff);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.site-header.centered {
    padding: 0;
}

.site-header.left {
    padding: 15px 0;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0;
}

.header-logo-section {
    text-align: center;
    margin: 0;
    padding: 10px 0 15px 0;
}

.header-logo {
    max-height: 80px;
    width: auto;
}

.site-title {
    font-size: 2.5rem;
    color: var(--primary-color, #981E20);
    margin: 0;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Navigation */
.nav-bar-section {
    width: 100vw;
    margin: 0;
    padding: 0;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    box-sizing: border-box;
}

.nav-bar-section .main-nav {
    background: var(--nav-bg, var(--nav-color, #981E20));
}

.main-nav {
    font-family: var(--nav-font, 'Roboto', sans-serif);
    color: var(--nav-font-color, #FFFFFF);
    margin: 0;
    padding: 10px 0;
    background: none;
}

.nav-menu {
    list-style: none;
    display: flex;
    gap: 30px;
    justify-content: center;
}

.nav-item {
    position: relative;
    margin: 5px 0;
}

.nav-link {
    color: var(--nav-font-color, #FFFFFF);
    text-decoration: none;
    font-weight: 500;
    padding: 10px 0;
    transition: color 0.3s;
    position: relative;
    text-transform: uppercase;
}

.nav-link:hover,
.nav-link.active {
    color: var(--nav-hover-color, #F15622);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--secondary-color, #F15622);
    transition: width 0.3s;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* Main Content */
.site-main {
    min-height: calc(100vh - 200px);
}

.page-content {
    width: 100%;
}

/* Campaign Slogan Section */
.campaign-slogan {
    padding: 20px 0;
    text-align: center;
}

.campaign-slogan .container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.slogan-text {
    font-size: 2rem;
    font-weight: bold;
    margin: 0;
    text-align: center;
    max-width: 800px;
    line-height: 1.2;
}

@media (max-width: 768px) {
    .slogan-text {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .slogan-text {
        font-size: 1.5rem;
    }
}

/* About Page Image */
.about-page-image {
    padding: 40px 0;
    text-align: center;
    background: #ffffff;
}

.about-page-image img {
    max-height: 300px;
    width: auto;
    max-width: 100%;
    object-fit: cover;
    border-radius: 8px;
    border: 3px solid var(--primary-color, #981E20);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* About Section */
.about-section {
    padding: 60px 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-image {
    text-align: center;
}

.about-image img {
    max-height: 400px;
    width: auto;
    max-width: 100%;
    object-fit: cover;
    border-radius: 8px;
}

.about-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.about-content h2 {
    font-size: 2.5rem;
    margin: 0;
    color: var(--primary-color, #981E20);
}

.about-content p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin: 0;
}

.about-content .btn {
    align-self: flex-start;
    padding: 12px 24px;
    font-size: 1.1rem;
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.3s;
    display: inline-block;
}

.about-content .btn-primary {
    background-color: var(--primary-color, #981E20);
    color: white;
}

.about-content .btn-primary:hover {
    background-color: var(--secondary-color, #F15622);
    transform: translateY(-2px);
}

/* About section alignment options */
.about-content.text-left {
    text-align: left;
    align-items: flex-start;
}

.about-content.text-center {
    text-align: center;
    align-items: center;
}

.about-content.text-right {
    text-align: right;
    align-items: flex-end;
}

.about-content.text-center .btn {
    align-self: center;
}

.about-content.text-right .btn {
    align-self: flex-end;
}

/* Responsive design for about section */
@media (max-width: 768px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .about-content h2 {
        font-size: 2rem;
    }
    
    .about-content p {
        font-size: 1rem;
    }
    .about-content,
    .about-content.text-left,
    .about-content.text-right {
        text-align: center !important;
        align-items: center !important;
    }
    .about-content .btn {
        align-self: center !important;
    }
}

@media (max-width: 480px) {
    .about-section {
        padding: 40px 0;
    }
    
    .about-grid {
        gap: 30px;
    }
    
    .about-content h2 {
        font-size: 1.8rem;
    }
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--primary-color, #981E20) 0%, var(--secondary-color, #F15622) 100%);
    color: white;
    padding: 80px 0;
    text-align: center;
    min-height: var(--hero-height, 400px);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
}

.hero-overlay {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.4);
}

.hero-overlay h1 {
    font-size: 3.5rem;
    margin: 0;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    color: white;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-tagline {
    font-size: 1.5rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

/* Page Headers */
.page-header {
    background: var(--primary-color, #981E20);
    color: white;
    padding: 60px 0;
    text-align: center;
}

.page-header h1 {
    font-size: 2.5rem;
    margin: 0;
}

/* Main Content */
.main-content {
    padding: 0 0 60px 0;
}

/* Ensure empty main-content sections take up no space */
.main-content:empty {
    padding: 0;
    margin: 0;
    display: none;
}

.main-content h1,
.main-content h2,
.main-content h3,
.main-content h4,
.main-content h5 {
    margin-bottom: 20px;
    color: var(--primary-color, #981E20);
}

.main-content h1 {
    font-size: 2.5rem;
}

.main-content h2 {
    font-size: 2rem;
}

.main-content h3 {
    font-size: 1.5rem;
}

.main-content h4 {
    font-size: 1.25rem;
}

.main-content h5 {
    font-size: 1.1rem;
}

.main-content p {
    margin-bottom: 0;
    font-size: 1.1rem;
}

.main-content ul,
.main-content ol {
    margin-bottom: 20px;
    padding-left: 30px;
}

.main-content li {
    margin-bottom: 10px;
}

.main-content a {
    color: var(--secondary-color, #F15622);
    text-decoration: none;
    transition: color 0.3s;
}

.main-content a:hover {
    color: var(--primary-color, #981E20);
    text-decoration: underline;
}

.main-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 20px 0;
}

.main-content blockquote {
    border-left: 4px solid var(--primary-color, #981E20);
    padding-left: 20px;
    margin: 20px 0;
    font-style: italic;
    background: #f8f9fa;
    padding: 20px;
    border-radius: 0 8px 8px 0;
}

/* Footer */
.site-footer {
    background: var(--footer-bg, #333);
    color: white;
    padding: 40px 0 20px;
    text-align: center;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.social-icons {
    margin-bottom: 30px;
}

.social-icon {
    display: inline-block;
    color: var(--footer-social-icon-color, #FFFFFF);
    margin: 0 10px;
    transition: all 0.3s;
    text-decoration: none;
    font-size: 2rem;
}

.social-icon:hover {
    color: var(--footer-social-icon-hover-color, #2F9B67);
    transform: translateY(-2px);
}

.footer-logo {
    margin-bottom: 30px;
}

.footer-logo img {
    max-height: 60px;
    width: auto;
}

.footer-disclaimer {
    border-top: 1px solid #555;
    padding-top: 20px;
    font-size: 0.9rem;
    line-height: 1.5;
}

.committee-name {
    margin-bottom: 10px;
    color: #fff;
}

.disclaimer-text {
    color: #ccc;
    max-width: 800px;
    margin: 0 auto;
}

.footer-links {
    margin-top: 15px;
    text-align: center;
}

.footer-link {
    color: #ccc;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: #fff;
    text-decoration: underline;
}

.footer-link-separator {
    color: #ccc;
    margin: 0 10px;
    font-size: 0.9rem;
}

.page-description-section {
    padding: 40px 0;
    background-color: #f8f9fa;
}

.page-description {
    padding-top: 40px;
    margin-bottom: 1.5em;
    text-align: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    font-size: 1.1rem;
    line-height: 1.6;
    color: #666;
}

.volunteer-form-content {
    margin-top: 30px;
}

.volunteer-form-content iframe {
    border: none;
    width: 100%;
    max-width: 100%;
}

.volunteer-form-content script {
    display: block;
}

/* Responsive Design */
@media (max-width: 768px) {
    /* Centered header mobile nav */
    .site-header.centered .header-logo-section {
        width: 100%;
        text-align: center;
        margin-bottom: 0;
        padding: 10px 0 0 0;
    }
    .site-header.centered .nav-bar-section {
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: center;
        width: 100%;
        min-height: 56px;
        height: auto;
        position: relative;
        background: var(--nav-bg, #130F55);
        margin: 0;
        padding: 0;
    }
    .site-header.centered .nav-bar-section .nav-menu {
        display: none;
    }
    .site-header.centered .mobile-menu-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        background: none;
        border: none;
        font-size: 2rem;
        color: var(--nav-font-color, #FFFFFF);
        height: 56px;
        width: 56px;
        margin: 0 auto;
        position: static;
        z-index: 1201;
        cursor: pointer;
    }
    /* Left header mobile nav (duplicate of centered) */
    .site-header.left .header-content {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
        min-height: unset;
        height: auto;
        position: relative;
        margin: 0;
        padding: 0;
    }
    .site-header.left .header-logo {
        margin: 0 auto 0 auto;
        display: block;
    }
    .site-header.left .header-content .nav-menu {
        display: none;
    }
    .site-header.left .mobile-menu-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        background: none;
        border: none;
        font-size: 2rem;
        color: var(--nav-bg, #130F55) !important;
        height: 56px;
        width: 56px;
        margin: 0 auto;
        position: static;
        z-index: 1201;
        cursor: pointer;
    }
    .site-header.left .mobile-offcanvas-menu {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background: var(--nav-bg, #130F55);
        z-index: 2000;
        transition: transform 0.3s ease;
    }
    .site-header.left .mobile-offcanvas-menu:not(.active) {
        display: none;
    }
    .site-header.left .mobile-offcanvas-menu .nav-menu {
        flex-direction: column;
        gap: 2rem;
        align-items: center;
        justify-content: center;
    }
    .site-header.left .mobile-menu-close {
        background: none;
        border: none;
        color: var(--nav-font-color, #FFFFFF);
        font-size: 2rem;
        position: absolute;
        top: 20px;
        right: 30px;
        z-index: 2200;
        cursor: pointer;
    }
    /* Hide hamburger on desktop for both headers */
    .site-header.centered .mobile-menu-toggle,
    .site-header.left .mobile-menu-toggle {
        display: flex;
    }
    .hero-content h1 {
        font-size: 2.5rem;
    }
    .hero-tagline {
        font-size: 1.2rem;
    }
    .page-header h1 {
        font-size: 2rem;
    }
    .main-content h1 {
        font-size: 2rem;
    }
    .main-content h2 {
        font-size: 1.5rem;
    }
    .social-icon {
        margin: 0 5px;
        font-size: 1.5rem;
    }
    .site-header.centered .mobile-offcanvas-menu .nav-link,
    .site-header.left .mobile-offcanvas-menu .nav-link {
        font-size: 2rem !important;
    }
}
/* Hide hamburger on desktop for both headers */
@media (min-width: 769px) {
    .site-header.centered .mobile-menu-toggle,
    .site-header.left .mobile-menu-toggle {
        display: none !important;
    }
    .site-header.centered .mobile-offcanvas-menu,
    .site-header.left .mobile-offcanvas-menu {
        display: none !important;
    }
}
@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-tagline {
        font-size: 1rem;
    }
    
    .page-header {
        padding: 40px 0;
    }
    
    .main-content {
        padding: 40px 0;
    }
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

.mb-20 {
    margin-bottom: 20px;
}

.mb-30 {
    margin-bottom: 30px;
}

.mt-20 {
    margin-top: 20px;
}

.mt-30 {
    margin-top: 30px;
}

.p-20 {
    padding: 20px;
}

.p-30 {
    padding: 30px;
}

.bg-primary {
    background: var(--primary-color, #981E20);
    color: white;
}

.bg-secondary {
    background: var(--secondary-color, #F15622);
    color: white;
}

.bg-light {
    background: #f8f9fa;
}

.rounded {
    border-radius: 8px;
}

.shadow {
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

/* Hamburger and Off-Canvas Mobile Menu for Centered Header */
.site-header.centered .mobile-menu-toggle {
    display: none;
}
.site-header.centered .mobile-offcanvas-menu {
    display: none;
}
@media (max-width: 768px) {
    .site-header.centered .nav-bar-section {
        display: flex;
        justify-content: center;
        align-items: center;
        height: 56px;
        position: relative;
    }
    .site-header.centered .nav-bar-section .nav-menu {
        display: none;
    }
    .site-header.centered .mobile-menu-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        background: none;
        border: none;
        font-size: 2rem;
        color: var(--nav-font-color, #FFFFFF);
        height: 100%;
        width: 56px;
        margin: 0;
        position: static;
        z-index: 1201;
        cursor: pointer;
    }
    .site-header.centered .mobile-offcanvas-menu {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background: var(--nav-bg, #130F55);
        z-index: 2000;
        transition: transform 0.3s ease;
    }
    .site-header.centered .mobile-offcanvas-menu:not(.active) {
        display: none;
    }
    .site-header.centered .mobile-offcanvas-menu .nav-menu {
        flex-direction: column;
        gap: 2rem;
        align-items: center;
        justify-content: center;
    }
    .site-header.centered .mobile-menu-close {
        background: none;
        border: none;
        color: var(--nav-font-color, #FFFFFF);
        font-size: 2rem;
        position: absolute;
        top: 20px;
        right: 30px;
        z-index: 2200;
        cursor: pointer;
    }
}

.opt-out-content {
    font-size: 10px;
    text-align: center;
    font-style: italic;
}

/* 404 Error Page Styles */
.error-page .error-code {
    font-size: 6rem;
    font-weight: bold;
    color: var(--primary-color, #981E20);
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
}

.error-page .error-actions {
    margin-top: 2rem;
}

.error-page .btn {
    display: inline-block;
    padding: 12px 24px;
    font-size: 1.1rem;
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.3s ease;
    margin: 0 0.5rem 0.5rem 0;
    border: none;
    cursor: pointer;
}

.error-page .btn-primary {
    background-color: var(--primary-color, #981E20);
    color: white;
}

.error-page .btn-primary:hover {
    background-color: var(--secondary-color, #F15622);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.error-page .btn-secondary {
    background-color: #6c757d;
    color: white;
}

.error-page .btn-secondary:hover {
    background-color: #5a6268;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.error-page .btn-outline-primary {
    background-color: transparent;
    color: var(--primary-color, #981E20);
    border: 2px solid var(--primary-color, #981E20);
}

.error-page .btn-outline-primary:hover {
    background-color: var(--primary-color, #981E20);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.error-page .error-help {
    margin-top: 3rem;
    padding: 2rem;
    background: #f8f9fa;
    border-radius: 8px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    border: 1px solid #e9ecef;
}

@media (max-width: 768px) {
    .error-page .error-code {
        font-size: 4rem;
    }
    
    .error-page .btn {
        display: block;
        width: 100%;
        margin: 0.5rem 0;
        text-align: center;
    }
}

/* Privacy Policy Page Styles */
.privacy-policy-page .privacy-policy-content {
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
    padding-top: 40px;
}

.privacy-policy-page .privacy-policy-content h2 {
    color: var(--primary-color, #981E20);
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-size: 1.5rem;
    border-bottom: 2px solid var(--primary-color, #981E20);
    padding-bottom: 0.5rem;
}

.privacy-policy-page .privacy-policy-content h2:first-child {
    margin-top: 0;
}

.privacy-policy-page .privacy-policy-content p {
    margin-bottom: 1rem;
    text-align: justify;
}

.privacy-policy-page .privacy-policy-content ul {
    margin-bottom: 1rem;
    padding-left: 2rem;
}

.privacy-policy-page .privacy-policy-content li {
    margin-bottom: 0.5rem;
}

.privacy-policy-page .privacy-policy-content p:last-child {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid var(--primary-color, #981E20);
    margin-top: 2rem;
}

@media (max-width: 768px) {
    .privacy-policy-page .privacy-policy-content {
        padding: 0 1rem;
    }
    
    .privacy-policy-page .privacy-policy-content h2 {
        font-size: 1.3rem;
    }
    
    .privacy-policy-page .privacy-policy-content ul {
        padding-left: 1.5rem;
    }
} 