/* Color Variables */
:root {
    --red: #B22234;
    --white: #FFFFFF;
    --blue: #002868;
    --light-gray: #F5F5F5;
    --dark-gray: #333333;
}

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

html {
    font-size: 62.5%; /* 1rem = 10px */
}

body {
    font-family: 'Merriweather', serif;
    line-height: 1.6;
    color: var(--dark-gray);
	font-size:1.6rem;
	background-image:url("Lake Mattamuskeet Hyde County.webp");
	background-size:cover;
	background-repeat:no-repeat;
	position:relative;
}

body:after
{
	content:"";
	position:absolute;
	top:0;
	left:0;
	width:100%;
	height:100%;
	
	background: linear-gradient(180deg,rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 1) 80%);
	z-index:-1;
}

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

/* Buttons */

.button
{
	padding: 20px 40px;
	font-size:1.8rem;
	border-radius:10px;
	display:inline;
	text-decoration:none;
	transition:opacity 0.25s;
}

.button:hover
{
	opacity:0.8;
}

.button-primary
{
	color: #fff !important;
	background: var(--red);
}

.button-secondary
{
	color: var(--red);
	background: #fff;
}

/* Header */
header {
    padding: 30px 0;
    top: 0;
    z-index: 100;
}

.logo {
	display:flex;
	flex-direction:column;
	gap:15px;
    text-align: center;	
    background-color: rgba(250,250,250,0.75);
	border-radius:30px;
	padding:30px 0;
}

.logo h1 {
    font-size: 4rem;
    font-weight: 900;
    color: var(--red);
    text-transform: uppercase;
    letter-spacing: 2px;
	line-height:1;
}

.logo .district {
    font-size: 1.9rem;
    color: var(--blue);
    font-weight: 700;
    letter-spacing: 3px;
}

.logo .counties {
	font-size: 1.6rem;
	font-weight: 300;
	letter-spacing: 2px;
}

/* Hero Section */
.hero {
    padding: 60px 0;
}

.hero a {
	color:#fff;
}

.hero-content {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    gap: 50px;
}

.hero-left {
	width: 58%;
	color: var(--white);
	padding: 50px;
	border-radius: 30px;
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	align-content: flex-end;
	gap: 20px;
	align-items: center;
}

.hero-left a {
	text-decoration:none;
}

.hero-left a i {
	text-decoration:none;
	margin-right:5px;
}

.hero-right {
    width:38%;
}



.hero-right img {
    border-radius: 30px;
    width: 100%;
}

.hero h2 {
    font-size: 4rem;
    font-weight: 700;
    letter-spacing: 1px;
	line-height:1;
}

.election-date {
    font-size: 2.1rem;
    font-weight: 400;
}

/* About Section */
.about {
    background-color: var(--white);
    padding: 80px 0;
}

.about-content {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 60px;
}

.about-text {
    flex: 1;
}

.about-text h2 {
    font-size: 3.5rem;
    color: var(--red);
    margin-bottom: 25px;
    font-weight: 700;
}

.mission-statement {
    font-size: 1.9rem;
    line-height: 1.8;
    margin-bottom: 30px;
    color: var(--dark-gray);
    font-style: italic;
}

.tagline {
    background-color: var(--blue);
    color: var(--white);
    padding: 25px;
    border-left: 5px solid var(--red);
}

.tagline h3 {
    font-size: 2.4rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.about-image {
    flex: 0 0 400px;
}

/* Why Vote Section */
.why-vote {
    background-color: var(--light-gray);
    padding: 80px 0;
}

.why-vote h2 {
    text-align: center;
    font-size: 4rem;
    color: var(--blue);
    margin-bottom: 50px;
    font-weight: 700;
}

.reasons-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: space-between;
}

.reason {
    flex: 1 1 calc(50% - 15px);
    min-width: 280px;
    background-color: var(--white);
    padding: 30px;
    border-top: 5px solid var(--red);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
	border-radius:20px;
}

.reason h3 {
    color: var(--blue);
    font-size: 2.1rem;
    margin-bottom: 15px;
    font-weight: 700;
}

.reason p {
    color: var(--dark-gray);
    font-size: 1.6rem;
    line-height: 1.6;
}

/* Footer */
footer {
    color: var(--white);
    padding: 40px 0;
    text-align: center;
}

.disclaimer {
    font-size: 1.4rem;
    margin-bottom: 15px;
    font-style: italic;
}

.credits {
    font-size: 1.4rem;
}

.credits a {
    color: var(--white);
    text-decoration: underline;
    transition: opacity 0.3s ease;
}

.credits a:hover {
    opacity: 0.8;
}

/* Image Placeholders */
.image-placeholder {
    background-color: #E0E0E0;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px dashed #999;
    color: #666;
    font-weight: 700;
    text-align: center;
    padding: 20px;
}

.image-placeholder.landscape {
    width: 100%;
    max-width: 1000px;
    height: 400px;
    margin: 0 auto;
}

.image-placeholder.headshot {
    width: 100%;
    height: 400px;
    border-radius: 5px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .logo h1 {
        font-size: 2.9rem;
    }

    .logo .district {
        font-size: 1.6rem;
    }

    .hero-content {
        flex-direction: column;
    }
	
	.hero {
		padding: 0 0 100px 0;
	}

    .hero-left {
        padding: 30px;
    }

    .hero h2 {
        font-size: 2.9rem;
    }

    .election-date {
        font-size: 1.8rem;
    }

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

    .about-image {
        flex: 1 1 auto;
        width: 100%;
        max-width: 400px;
    }

    .about-text h2 {
        font-size: 2.9rem;
    }

    .mission-statement {
        font-size: 1.8rem;
    }

    .why-vote h2 {
        font-size: 3.2rem;
    }

    .reason {
        flex: 1 1 100%;
    }

    .image-placeholder.landscape {
        height: 300px;
    }

    .image-placeholder.headshot {
        height: 350px;
    }
}

@media (max-width: 480px) {
    .hero-left
	{
		width:100%;
		color:#333;
	}
	
	.hero a
	{
		color:#333;
	}
	
	.hero-right
	{
		width:100%;
	}
	
	.logo h1 {
        font-size: 2.4rem;
    }

    .hero h2 {
        font-size: 2.2rem;
    }

    .about-text h2 {
        font-size: 2.4rem;
    }

    .tagline h3 {
        font-size: 1.9rem;
    }

    .why-vote h2 {
        font-size: 2.6rem;
    }

    .reason h3 {
        font-size: 1.8rem;
    }
}
