/* This is the final, complete CSS. No changes from the last version, but included for completeness. */
:root {
    --text-color: #f5f5f7;
    --background-color: #000;
    --highlight-color: #2997ff;
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
html { scroll-behavior: smooth; }
body {
    background-color: var(--background-color);
    color: var(--text-color);
    font-family: var(--font-family);
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.logo { font-weight: 600; font-size: 1.2rem; }
.main-nav a, .nav-button {
    color: var(--text-color);
    text-decoration: none;
    margin: 0 1rem;
    font-size: 0.9rem;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}
.main-nav a:hover, .nav-button:hover { opacity: 1; }
.nav-button {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}
.language-selector select {
    background-color: #222;
    color: var(--text-color);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 5px;
    padding: 0.3rem 0.5rem;
    font-family: var(--font-family);
}
.language-selector option { background-color: #222; color: var(--text-color); }
.full-screen {
    height: 100vh;
    width: 100vw;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 2rem;
    box-sizing: border-box;
    position: relative;
}
.hero-section { background: url('../images/cover-main.jpg') no-repeat center center/cover; background-attachment: fixed; }
.hero-content { background-color: rgba(0, 0, 0, 0.5); padding: 2rem; border-radius: 15px; }
.hero-content h1 { font-size: 4rem; font-weight: 700; margin: 0; }
.hero-content h2 { font-size: 1.5rem; font-weight: 300; opacity: 0.9; margin-top: 0.5rem; }
.summary-section { background-color: #000; }
.summary-content { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2rem; max-width: 1000px; }
.summary-content img { max-width: 300px; height: auto; border-radius: 10px; box-shadow: 0 10px 30px rgba(0,0,0,0.5); }
.summary-text { max-width: 500px; }
.summary-text h3 { font-size: 2.5rem; font-weight: 600; }
.summary-text p { font-size: 1.2rem; line-height: 1.6; font-weight: 300; opacity: 0.9; }
.about-section { padding: 6rem 2rem; background-color: #0a0a0a; display: flex; justify-content: center; align-items: center; }
.about-content { display: flex; align-items: center; justify-content: center; gap: 4rem; max-width: 1000px; margin: 0 auto; }
.about-content img { width: 250px; height: 250px; border-radius: 50%; object-fit: cover; border: 3px solid rgba(255, 255, 255, 0.1); }
.about-text { flex: 1; max-width: 600px; text-align: left; }
.about-text h2 { font-size: 2.5rem; font-weight: 600; margin-top: 0; }
.about-text p { font-size: 1.1rem; line-height: 1.7; font-weight: 300; opacity: 0.9; }
.timeline-section { padding: 6rem 2rem; background-color: #000; text-align: center; }
.timeline-section h2 { font-size: 3rem; margin-bottom: 4rem; }
.timeline-container { position: relative; max-width: 800px; margin: 0 auto; }
.timeline-container::after { content: ''; position: absolute; width: 2px; background-color: rgba(255, 255, 255, 0.15); top: 0; bottom: 0; left: 50%; margin-left: -1px; }
.timeline-item { padding: 10px 40px; position: relative; background-color: inherit; width: 50%; box-sizing: border-box; }
.timeline-item:nth-child(odd) { left: 0; text-align: right; padding-right: 60px; }
.timeline-item:nth-child(even) { left: 50%; text-align: left; padding-left: 60px; }
.timeline-item::after { content: ''; position: absolute; width: 16px; height: 16px; background-color: var(--highlight-color); border: 3px solid #000; top: 15px; border-radius: 50%; z-index: 1; }
.timeline-item:nth-child(odd)::after { right: -8px; }
.timeline-item:nth-child(even)::after { left: -8px; }
.timeline-date { font-weight: 600; font-size: 1.2rem; color: var(--highlight-color); }
.timeline-event { font-weight: 300; line-height: 1.6; opacity: 0.9; }
.characters-section { padding: 6rem 2rem; background-color: #111; text-align: center; }
.characters-section h2 { font-size: 3rem; margin-bottom: 3rem; }
.character-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.5rem; max-width: 1200px; margin: 0 auto; text-align: left; }
.character-card { background-color: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.1); padding: 1.5rem; border-radius: 10px; }
.character-card h4 { margin: 0 0 0.5rem 0; font-size: 1.2rem; font-weight: 600; }
.character-card p { margin: 0; font-weight: 300; opacity: 0.8; line-height: 1.6; }
.resources-section { padding: 6rem 2rem; background-color: #0a0a0a; text-align: center; }
.resources-section h2 { font-size: 3rem; margin-bottom: 3rem; }
.resource-columns { display: flex; justify-content: center; gap: 3rem; max-width: 1200px; margin: 0 auto; text-align: left; }
.column { flex: 1; }
.column h3 { font-size: 1.3rem; border-bottom: 1px solid rgba(255, 255, 255, 0.2); padding-bottom: 0.5rem; margin-bottom: 1rem; }
.column ul { list-style: none; padding: 0; margin: 0; }
.column ul li { margin-bottom: 0.8rem; }
.column ul li a { color: var(--highlight-color); text-decoration: none; font-weight: 400; transition: color 0.3s ease; }

.column ul li a,
.legislator-group a {
    color: var(--highlight-color);
    text-decoration: none;
    font-weight: 400;
    transition: color 0.3s ease;
}

.column ul li a:hover,
.legislator-group a:hover {
    color: var(--text-color);
    text-decoration: underline;
}

.column ul li a:hover { color: var(--text-color); text-decoration: underline; }
.copyright-section { padding: 4rem 2rem; background-color: #000; text-align: center; border-top: 1px solid rgba(255, 255, 255, 0.1); }
.copyright-content { max-width: 800px; margin: 0 auto; text-align: left; }
.copyright-content h2 { font-size: 1.5rem; font-weight: 600; margin-bottom: 1.5rem; }
.copyright-content pre { font-family: 'Inter', sans-serif; font-size: 0.8rem; color: var(--text-color); opacity: 0.7; line-height: 1.6; white-space: pre-wrap; word-wrap: break-word; }
.share-modal-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(0, 0, 0, 0.7); backdrop-filter: blur(10px); display: none; justify-content: center; align-items: center; z-index: 2000; }
.share-modal-overlay.is-visible { display: flex; }
.share-modal-content { background-color: #1d1d1f; padding: 2rem; border-radius: 15px; border: 1px solid rgba(255, 255, 255, 0.1); width: 90%; max-width: 400px; text-align: center; position: relative; }
.close-modal-btn { position: absolute; top: 10px; right: 15px; background: none; border: none; color: var(--text-color); font-size: 2rem; cursor: pointer; opacity: 0.7; }
.close-modal-btn:hover { opacity: 1; }
.share-modal-content h3 { margin-top: 0; margin-bottom: 1.5rem; font-weight: 600; }
.share-links { list-style: none; padding: 0; margin: 0; }
.share-links li { margin-bottom: 1rem; }
.share-links a, .share-links button { display: block; width: 100%; padding: 0.8rem; border-radius: 8px; background-color: rgba(255, 255, 255, 0.1); color: var(--text-color); text-decoration: none; font-family: var(--font-family); font-size: 1rem; border: none; cursor: pointer; transition: background-color 0.3s ease; }
.share-links a:hover, .share-links button:hover { background-color: rgba(255, 255, 255, 0.2); }
.animate-on-scroll { opacity: 0; transform: translateY(30px); transition: opacity 0.8s ease-out, transform 0.8s ease-out; }
.animate-on-scroll.is-visible { opacity: 1; transform: translateY(0); }
@media (max-width: 768px) {
    .main-header { flex-direction: column; padding: 0.5rem 1rem; }
    .main-nav { margin: 0.5rem 0; display: flex; flex-wrap: wrap; justify-content: center; }
    .main-nav a, .nav-button { margin: 0.2rem 0.5rem; }
    .hero-content h1 { font-size: 2.5rem; }
    .hero-content h2 { font-size: 1.2rem; }
    .summary-content { flex-direction: column; }
    .about-content { flex-direction: column; text-align: center; gap: 2rem; }
    .about-text { text-align: center; }
    .timeline-container::after { left: 20px; }
    .timeline-item { width: 100%; padding-left: 50px; padding-right: 15px; }
    .timeline-item:nth-child(odd), .timeline-item:nth-child(even) { left: 0; text-align: left; }
    .timeline-item::after { left: 12px; }
    .resource-columns { flex-direction: column; }
}