/* Color Palette */
:root {
    --primary-blue: #2d3882;
    --accent-orange: #f99d1b;
    --light-blue: #4a5ba8;
    --dark-blue: #1a2350;
    --cream: #fef7ed;
    --light-gray: #f5f5f5;
    --text-dark: #333333;
    --white: #ffffff;
}

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

body {
    font-family: 'Oswald', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--cream);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Header and Navigation */
header {
    background-color: var(--white);
    padding: 1.5rem 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    position: relative;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
    gap: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: var(--primary-blue);
    transition: all 0.3s ease;
    border-radius: 2px;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

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

.nav-links a {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--primary-blue);
}

.logo {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.logo img {
    height: 80px;
    width: auto;
}

.donate-button {
    margin-left: auto;
}

.btn-donate {
    background-color: var(--primary-blue);
    color: var(--white);
    padding: 0.75rem 2rem;
    text-decoration: none;
    font-weight: bold;
    border-radius: 4px;
    transition: background-color 0.3s ease;
    display: inline-block;
}

.btn-donate:hover {
    background-color: var(--dark-blue);
}

/* Main Content */
main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 2rem;
    flex: 1;
}

/* Hero Section */
.hero {
    background-color: var(--white);
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.hero-content {
    display: flex;
    align-items: center;
    gap: 3rem;
    padding: 3rem;
}

.portrait-container {
    flex-shrink: 0;
}

.portrait {
    width: 350px;
    height: 350px;
    object-fit: cover;
    object-position: top;
    display: block;
    border: 8px solid var(--primary-blue);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.hero-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-text h1 {
    font-size: 2.5rem;
    line-height: 1.3;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.elect-line {
    display: block;
    font-size: 2.5rem;
}

.name-highlight {
    color: var(--primary-blue);
    font-weight: bold;
    display: block;
    font-size: 3rem;
}

.position-line {
    display: block;
    font-size: 2.5rem;
}

.hero-text p {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--text-dark);
    text-align: justify;
    margin-bottom: 1.5rem;
}

.btn-learn-more {
    background-color: var(--primary-blue);
    color: var(--white);
    padding: 0.75rem 2rem;
    text-decoration: none;
    font-weight: bold;
    border-radius: 4px;
    transition: background-color 0.3s ease;
    display: inline-block;
}

.btn-learn-more:hover {
    background-color: var(--dark-blue);
}

/* About Page */
.about-section {
    background-color: var(--white);
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.about-content {
    display: flex;
    gap: 3rem;
    padding: 3rem;
    align-items: flex-start;
}

.about-text {
    flex: 1;
}

.about-text h1 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: var(--text-dark);
}

.about-bio p {
    font-size: 1.5rem;
    line-height: 1.8;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    text-align: justify;
}

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

.about-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    margin-bottom: 1.5rem;
}

.about-quote {
    background-color: var(--cream);
    padding: 1.5rem;
    border-left: 4px solid var(--primary-blue);
    margin: 0;
}

.about-quote p {
    font-size: 1rem;
    line-height: 1.6;
    font-style: italic;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.about-quote cite {
    display: block;
    font-style: normal;
    font-weight: bold;
    color: var(--primary-blue);
    text-align: right;
}

/* Contact Page */
.contact-section {
    background-color: var(--white);
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.contact-content {
    display: flex;
    gap: 3rem;
    padding: 3rem;
    align-items: flex-start;
}

.contact-form-container {
    flex: 1;
}

.contact-form-container h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.contact-subheading {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--text-dark);
    margin-bottom: 2rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.form-group input,
.form-group textarea {
    padding: 0.75rem;
    border: 2px solid #ddd;
    border-radius: 4px;
    font-family: 'Oswald', sans-serif;
    font-size: 1rem;
    background-color: #fafafa;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-blue);
    background-color: var(--white);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.btn-submit {
    background-color: var(--primary-blue);
    color: var(--white);
    padding: 0.75rem 2rem;
    border: none;
    font-weight: bold;
    border-radius: 4px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
    font-family: 'Oswald', sans-serif;
}

.btn-submit:hover {
    background-color: var(--dark-blue);
}

.contact-image {
    flex-shrink: 0;
    width: 500px;
}

.contact-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

/* Footer */
footer {
    background-color: var(--primary-blue);
    color: var(--white);
    text-align: center;
    padding: 2rem;
    margin-top: 3rem;
}

/* Responsive Design */
@media (min-width: 1440px) {
    main {
        max-width: none;
    }

    .portrait {
        width: 700px;
        height: 700px;
    }

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

    .elect-line {
        font-size: 5rem;
    }

    .name-highlight {
        font-size: 6rem;
    }

    .position-line {
        font-size: 5rem;
    }

    .hero-text p {
        font-size: 2.4rem;
    }
}

@media (max-width: 1024px) {
    header {
        padding: 1rem;
    }

    nav {
        flex-wrap: wrap;
        gap: 1rem;
    }

    .logo {
        position: static;
        transform: none;
        order: -1;
        width: 100%;
        text-align: center;
        margin-bottom: 1rem;
    }

    .logo img {
        height: 60px;
    }

    .nav-links {
        gap: 1rem;
        flex: 1;
        justify-content: center;
    }

    .nav-links a {
        font-size: 0.9rem;
    }

    .donate-button {
        margin-left: 0;
    }

    .btn-donate {
        padding: 0.6rem 1.5rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 768px) {
    header {
        padding: 1rem;
    }

    nav {
        flex-direction: row;
        justify-content: center;
        align-items: center;
        gap: 1rem;
    }

    .hamburger {
        display: flex;
        position: relative;
        left: auto;
        top: auto;
        transform: none;
        order: 2;
    }

    .logo {
        position: static;
        transform: none;
        width: auto;
        text-align: center;
        margin-bottom: 0;
        order: 1;
    }

    .logo img {
        height: 50px;
    }

    .nav-links {
        position: fixed;
        top: 0;
        left: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background-color: var(--white);
        flex-direction: column;
        gap: 0;
        align-items: flex-start;
        padding: 5rem 2rem 2rem 2rem;
        box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
        transition: left 0.3s ease;
        z-index: 1000;
    }

    .nav-links.active {
        left: 0;
    }

    .nav-links li {
        width: 100%;
        border-bottom: 1px solid var(--light-gray);
    }

    .nav-links a {
        display: block;
        padding: 1rem 0;
        width: 100%;
        font-size: 1.1rem;
    }

    .donate-button {
        width: 100%;
        text-align: center;
        margin-left: 0;
        order: 3;
    }

    .btn-donate {
        width: 100%;
        max-width: 250px;
    }

    .hero-content {
        flex-direction: column;
        padding: 2rem;
        gap: 2rem;
    }

    .portrait {
        width: 100%;
        max-width: 350px;
        height: auto;
    }

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

    .hero-text p {
        font-size: 1rem;
    }

    .about-content {
        flex-direction: column;
    }

    .about-image {
        width: 100%;
    }

    .about-text h1 {
        font-size: 2rem;
    }

    .about-bio p {
        font-size: 1rem;
    }

    .contact-content {
        flex-direction: column;
    }

    .contact-image {
        width: 100%;
    }

    .contact-form-container h1 {
        font-size: 2rem;
    }
}
