/* General Body & Font Styles */
body {
    font-family: 'Open Sans', sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    color: #333;
    background-color: #f4f4f4; /* Light gray background */
}

h1, h2, h3 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
}

/* NEW HERO SECTION */
.hero {
    background-color: #1a1a1a; /* Dark background for high contrast */
    color: white;
    padding: 4rem 1rem;
    text-align: center;
}
.hero-content h1 {
    font-size: 2.5rem;
    font-weight: 900; /* Bolder for main title */
    margin: 0 0 0.5rem 0;
}
.hero-content .slogan {
    font-size: 1.25rem;
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    margin-bottom: 2rem;
    color: #eee; /* Slightly off-white */
}

/* Buttons */
.cta-buttons a {
    text-decoration: none;
    color: white;
    padding: 1rem 2rem;
    border-radius: 5px;
    margin: 0.5rem;
    display: inline-block;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    transition: all 0.2s;
}

.btn-primary {
    background-color: #d9232d; /* Red from logo */
    border: 2px solid #d9232d;
}

.btn-secondary {
    background-color: #333; /* Dark Gray for secondary */
    border: 2px solid #555; /* Slightly lighter border */
}

.btn-primary:hover {
    background-color: #b81e25;
    border-color: #b81e25;
    transform: translateY(-3px);
}
.btn-secondary:hover {
    background-color: #555; /* Lighter gray on hover */
    border-color: #555;
    transform: translateY(-3px);
}


/* Navigation Bar */
.main-nav {
    background-color: #333;
    padding: 1rem;
    text-align: center;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.main-nav a {
    color: white;
    text-decoration: none;
    margin: 0 0.7rem; /* Adjusted spacing for more items */
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 0.85rem; /* Slightly smaller */
}

.nav-highlight {
    background-color: #d9232d;
    padding: 0.4rem 0.8rem;
    border-radius: 5px;
}

/* Content Sections */
.content-section {
    max-width: 900px;
    margin: 0 auto;
    padding: 3rem 1rem;
    text-align: center; /* Center align text in sections */
}

.content-section h2 {
    font-size: 2.2rem;
    margin-bottom: 1.5rem; /* Reduced bottom margin */
    color: #1a1a1a;
}
.content-section p {
    margin-bottom: 1.5rem; /* Consistent paragraph spacing */
    max-width: 750px; /* Improve readability for text blocks */
    margin-left: auto;
    margin-right: auto;
}
.podium-photo {
    max-width: 80%; /* Slightly smaller */
    border-radius: 8px;
    margin-top: 2rem;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

/* Light Background for Sections */
.light-background {
    background-color: #ffffff; /* White background for contrast */
}

/* Styles for Graphics */
.full-width-graphic {
    max-width: 100%;
    height: auto;
    display: block; /* Center the image */
    margin: 1rem auto 1.5rem auto; /* Adjusted space around the image */
    border: 1px solid #ddd; /* Optional subtle border */
    box-shadow: 0 2px 4px rgba(0,0,0,0.1); /* Optional subtle shadow */
}

/* NEW: Example style for text-based pillars */
.pillars-grid {
    display: grid;
    grid-template-columns: 1fr 1fr; /* 2x2 grid on desktop */
    gap: 1.5rem;
    text-align: left;
    margin-top: 2rem;
}
.pillar-item {
    background: #f9f9f9;
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid #d9232d;
}
.pillar-item h3 {
    margin-top: 0;
}
/* On mobile, they would stack to 1 column */
@media (max-width: 600px) {
    .pillars-grid {
        grid-template-columns: 1fr;
    }
}


/* Events Section */
.event-item {
    background-color: #fff;
    border-left: 5px solid #d9232d;
    padding: 1.5rem;
    margin-top: 1.5rem;
    border-radius: 5px;
    text-align: left; /* Align event text left */
}
.event-item h4 {
    margin: 0 0 0.5rem 0;
}
.event-item p {
    margin: 0.25rem 0;
}
.election-day {
    border-color: #1a1a1a;
    background-color: #f9f9f9;
    text-align: center;
}
.election-day a {
    font-weight: bold;
    color: #d9232d;
}

/* Contact Section */
.contact-section {
    background-color: #1a1a1a;
    color: white;
    text-align: center;
}
.contact-section h2 {
    color: white;
}
.email-link {
    display: inline-block;
    margin-top: 1rem;
    background-color: #d9232d;
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
}

/* Final CTA Section */
.cta-section {
    text-align: center;
}
.social-links {
    margin-top: 2rem;
}
.social-links p {
    font-weight: 700;
    margin-bottom: 0.5rem;
}
.social-links a {
    text-decoration: none;
    color: #333;
    font-weight: 700;
    margin: 0 0.5rem;
}

/* Footer */
footer {
    background-color: #1a1a1a;
    color: #aaa;
    text-align: center;
    padding: 1.5rem;
    font-size: 0.9rem;
}

/* Responsive Design for Mobile */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2rem;
    }
    .main-nav {
        padding: 0.8rem 0.5rem; /* Adjust padding */
    }
    .main-nav a {
        margin: 0 0.4rem; /* Further adjust spacing */
        font-size: 0.8rem; /* Slightly larger for readability */
    }
    .main-nav .nav-highlight {
        padding: 0.3rem 0.6rem;
        font-size: 0.75rem;
    }
    .content-section h2 {
        font-size: 1.8rem;
    }
    .podium-photo {
        max-width: 95%;
    }
}

/* NEW: Styles for Polling Location Buttons */
.poll-links {
    margin-top: 1rem;
    margin-bottom: 1rem;
}

.btn-poll {
    text-decoration: none;
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 5px;
    margin: 0.5rem;
    display: inline-block;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    transition: all 0.2s;
    background-color: #333; /* Dark Gray */
    border: 2px solid #555;
    font-size: 0.9rem;
}

.btn-poll:hover {
    background-color: #555;
    border-color: #555;
    transform: translateY(-3px);
}