/* --- CSS Variables & Global Reset --- */
:root {
    --primary-red: #d11c23;
    --primary-blue: #1c2e63;
    --gold: #fdd100;
    --dark-gray: #333333;
    --light-gray: #f4f4f4;
    --white: #ffffff;
    --heading-font: 'Roboto Slab', serif;
    --body-font: 'Roboto', sans-serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px; /* Offset for sticky header */
}

body {
    font-family: var(--body-font);
    line-height: 1.7;
    color: var(--dark-gray);
    background-color: var(--white);
}

/* --- Utility & Container --- */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 2rem;
}

section {
    padding: 4rem 0;
}

h1, h2, h3 {
    font-family: var(--heading-font);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { font-size: 3rem; color: var(--primary-red); }
h2 { font-size: 2.5rem; color: var(--primary-blue); text-align: center; }
h3 { font-size: 1.75rem; color: var(--primary-red); }
p { margin-bottom: 1rem; }
ul { list-style: none; }
li { margin-bottom: 0.75rem; padding-left: 1.5rem; position: relative; }
li::before {
    content: '✔';
    position: absolute;
    left: 0;
    color: var(--primary-red);
    font-weight: bold;
}
strong { font-weight: 700; }

/* --- Header & Navigation --- */
header {
    background: var(--white);
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.nav-logo {
    font-family: var(--heading-font);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-blue);
    text-decoration: none;
}

.nav-menu {
    display: flex;
    list-style: none;
}

.nav-menu li { padding: 0; margin: 0 1rem; }
.nav-menu li::before { content: ''; }

.nav-link {
    text-decoration: none;
    color: var(--dark-gray);
    font-weight: 700;
    transition: color 0.3s ease, border-bottom-color 0.3s ease;
    padding-bottom: 5px;
    border-bottom: 3px solid transparent;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-red);
    border-bottom-color: var(--primary-red);
}

/* --- Hero Section --- */
.hero {
    background-color: var(--white);
    padding-top: 2rem;
    padding-bottom: 2rem;
    text-align: center;
}

.hero-slogan {
    background: var(--primary-red);
    color: var(--white);
    font-family: var(--heading-font);
    font-size: 3.5rem;
    padding: 0.5rem 2rem;
	padding-bottom: 0rem;
	padding-top: 0rem;
    display: inline-block;
    margin-bottom: 1rem;
}

.hero h2 {
    font-family: var(--body-font);
    font-weight: bold;
    font-size: 1.75rem;
    margin-bottom: 1rem;
    color: var(--primary-blue);
}

/* This is the definitive rule that will make all stars gold */
.star {
    color: var(--gold) !important;
    vertical-align: middle;
}

.cta-button {
    display: inline-block;
    background: var(--primary-blue);
    color: var(--white);
    padding: 1rem 2.5rem;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 700;
    border-radius: 5px;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.cta-button:hover {
    background: #2a438c;
    transform: translateY(-2px);
}

/* --- About Section --- */
#about { background: var(--light-gray); }
.about-container { display: flex; align-items: center; gap: 3rem; }
.about-image { flex: 1; max-width: 350px; }
.about-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}
.about-text { flex: 2; }
.about-text h2 { text-align: left; }

/* --- Priorities Section --- */
.priorities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}
.priority-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 8px;
    border-top: 5px solid var(--primary-blue);
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.priority-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 15px rgba(0,0,0,0.15);
}
.priority-card ul { margin-top: 1rem; }

/* The .action-list will now automatically inherit the default red checkmark style */
.priority-card .action-list {
    margin-top: 0.5rem;
    margin-bottom: 1.5rem;
}
.priority-card p + strong { /* Adds a little space above "Actions:" text */
    display: block;
    margin-top: 1.5rem;
}


/* --- Support Section --- */
#support { background: var(--light-gray); }
.support-container {
    text-align: center;
    max-width: 700px;
}
.election-date {
    font-size: 2rem;
    font-weight: bold;
    color: var(--primary-red);
    margin-bottom: 1rem;
}
.donate-button {
    display: inline-block;
    background: var(--gold);
    color: var(--primary-blue);
    padding: 1rem 2.5rem;
    text-decoration: none;
    font-size: 1.3rem;
    font-family: var(--heading-font);
    border-radius: 5px;
    transition: all 0.3s ease;
    margin-top: 1rem;
    border: 2px solid var(--primary-blue);
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}
.donate-button:hover {
    background: var(--primary-blue);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

/* --- Footer --- */
footer {
    background: var(--primary-blue);
    color: var(--light-gray);
    padding: 3rem 1rem;
}
.footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    align-items: flex-start;
    gap: 2rem;
    text-align: center;
}
.footer-container h3 {
    color: var(--white);
    margin-bottom: 1rem;
}
.footer-container p {
    margin-bottom: 0.5rem;
    line-height: 1.5;
}
.footer-container a {
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s ease;
}
.footer-container a:hover { color: var(--gold); }
.social-link svg {
    color: var(--white);
    transition: transform 0.3s ease, color 0.3s ease;
}
.social-link:hover svg {
    transform: scale(1.1);
    color: var(--gold);
}
.footer-paid-for {
    flex-basis: 100%;
    margin-top: 2rem;
    font-size: 0.8rem;
    opacity: 0.8;
    text-align: center;
}

/* --- Responsive Design --- */
@media (max-width: 768px) {
    h1 { font-size: 3rem; }
    h2 { font-size: 2rem; }
    .nav-menu { flex-wrap: wrap; justify-content: center; gap: 0.5rem; }
    .about-container { flex-direction: column; text-align: center; }
    .about-text h2 { text-align: center; }
    .footer-container { flex-direction: column; align-items: center; }
}