:root {
    --bg-color: #ffffff;
    --text-color: #171717;
    --secondary-text: #666666;
    --font-main: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-color);
    color: var(--text-color);
    margin: 0;
    -webkit-font-smoothing: antialiased;
}

header {
    padding: 1.5rem 2rem;
    border-bottom: 1px solid #eaeaea;
    position: relative;
}

nav {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-weight: 700;
    font-size: 1.25rem;
    text-decoration: none;
    color: var(--text-color);
}

.nav-links a {
    margin-left: 2rem;
    text-decoration: none;
    color: var(--secondary-text);
    text-transform: uppercase; /* Apply uppercase here */
    font-weight: 500;
    font-size: 0.95rem;
}

main {
    max-width: 1100px;
    margin: 4rem auto;
    padding: 0 2rem;
    text-align: center;
}

h1 {
    font-size: 4.5rem;
    font-weight: 800;
    letter-spacing: -0.05em;
    margin: 0 0 1rem 0;
}

.subtitle {
    font-size: 1.5rem;
    color: var(--secondary-text);
    font-weight: 400;
}

/* Content Section Styling */
.content-section {
    display: none; /* Hidden by default */
    margin-top: 1rem; 
    padding: 2rem;
    background-color: #ffffff; 
    border-radius: 8px;
    text-align: left; 
}

.content-section.is-visible {
    display: block; 
}

#about h2, .content-section h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.content-section p {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--secondary-text);
}

.blog-post {
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #eaeaea;
}

.blog-post:last-child {
    border-bottom: none;
}

.blog-post h3 {
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.blog-date {
    display: block;
    font-size: 0.85rem;
    color: var(--secondary-text);
    margin-bottom: 1.5rem;
}

#menu-toggle {
    display: none;
}

.hamburger {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 6px;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 2px;
    background-color: var(--text-color);
    transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
        z-index: 10;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--bg-color);
        flex-direction: column;
        padding: 1.5rem 2rem;
        border-bottom: 1px solid #eaeaea;
        text-align: left;
        z-index: 5;
    }

    .nav-links a {
        margin: 1rem 0;
        margin-left: 0;
        font-size: 1.1rem;
    }

    #menu-toggle:checked ~ .nav-links {
        display: flex;
    }

    #menu-toggle:checked ~ .hamburger span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    #menu-toggle:checked ~ .hamburger span:nth-child(2) {
        opacity: 0;
    }

    #menu-toggle:checked ~ .hamburger span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    h1 {
        font-size: 3rem;
    }
}

/* Styling for Congress.gov API content */
.congress-item {
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px dashed #eee;
}

.congress-item:last-child {
    border-bottom: none;
}
.congress-item h3 {
    font-size: 1.2rem;
}