/* Base Styles & Premium Campaign Colors */
:root {
    --bg-dark-blue: #0A1B3F;
    --campaign-red: #E60026;
    --white: #ffffff;
    --text-light: #d1d5db;
    --card-bg: #112652;
}

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

body {
    font-family: 'Open Sans', sans-serif;
    background-color: var(--bg-dark-blue);
    color: var(--white);
    line-height: 1.6;
}

h1, h2, h3, h4, .logo {
    font-family: 'Montserrat', sans-serif;
}

/* Top Bar */
.top-bar {
    background-color: #051026;
    color: var(--text-light);
    font-size: 0.8rem;
    padding: 0.5rem 5%;
    text-align: center;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

/* Navigation */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 5%;
    background-color: transparent;
    position: relative;
    z-index: 10;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--white);
}

.vote-logo {
    font-weight: 800;
}

.check {
    color: var(--campaign-red);
}

.tyler-text {
    margin-left: 5px;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 2rem;
}

.nav-links a {
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--campaign-red);
}

.btn-donate {
    background-color: var(--campaign-red);
    color: var(--white);
    padding: 0.6rem 1.5rem;
    text-decoration: none;
    font-weight: bold;
    border-radius: 4px;
    transition: background-color 0.3s;
}

.btn-donate:hover {
    background-color: #cc0022;
}

/* Hero Section */
.hero {
    position: relative;
    padding: 4rem 5% 0 5%;
    background-color: var(--bg-dark-blue);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('https://static.vecteezy.com/system/resources/previews/041/930/966/non_2x/flat-illustration-of-seychelles-national-flag-seychelles-flag-design-seychelles-wave-flag-free-vector.jpg');
    background-size: cover;
    background-position: center;
    opacity: 0.15; /* Keeps the flag visible without overpowering the text */
    z-index: 1;
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.hero-text {
    flex: 1;
    padding-right: 3rem;
    margin-bottom: 4rem;
}

.hero-text h1 {
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    font-weight: 800;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.5); /* Helps text stand out against the flag */
}

.hero-text p {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 2.5rem;
    max-width: 500px;
    text-shadow: 1px 1px 5px rgba(0,0,0,0.5);
}

.btn-primary {
    display: inline-block;
    background-color: var(--campaign-red);
    color: var(--white);
    padding: 1rem 2.5rem;
    text-decoration: none;
    font-weight: bold;
    border-radius: 4px;
    font-size: 1.1rem;
    transition: transform 0.2s, background-color 0.3s;
}

.btn-primary:hover {
    background-color: #cc0022;
    transform: translateY(-2px);
}

.hero-image {
    flex: 1;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.candidate-photo {
    max-width: 100%;
    height: auto;
    max-height: 650px;
    object-fit: contain;
    display: block;
    image-rendering: -webkit-optimize-contrast;
    filter: contrast(1.05) saturate(1.05) drop-shadow(0px 10px 20px rgba(0,0,0,0.5));
}

/* Principles Section */
.principles-section {
    padding: 5rem 5%;
    background-color: #061129;
    position: relative;
    z-index: 2;
}

.principles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.card {
    background: var(--card-bg);
    padding: 2.5rem 2rem;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    border-top: 4px solid var(--campaign-red); /* Kept a clean accent border since emojis are gone */
}

.card h4 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--white);
}

.card p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* Footer Section */
.site-footer {
    background-color: #030814;
    padding: 4rem 5% 2rem 5%;
    text-align: center;
}

.footer-content {
    max-width: 800px;
    margin: 0 auto 2rem auto;
}

.footer-logo {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
}

.footer-links a {
    color: var(--white);
    text-decoration: none;
    margin: 0 10px;
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: var(--campaign-red);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 1.5rem;
    font-size: 0.8rem;
    color: var(--text-light);
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }

    .hero-content {
        flex-direction: column;
        text-align: center;
    }

    .hero-text {
        padding-right: 0;
    }

    .hero-text h1 {
        font-size: 3rem;
    }

    .hero-text p {
        margin: 0 auto 2rem auto;
    }

    .principles-grid {
        grid-template-columns: 1fr;
    }
}
