/* --- Global Styles --- */
:root {
    /* Color Palette derived from image/political context */
    --primary-color: #004a99; /* Strong Greek Blue */
    --secondary-color: #f1f1f1; /* Light Gray/Off-White */
    --accent-color: #e31b23;    /* Red - Progressive/Action */
    --text-color: #333;
    --text-on-dark: #fff;
    --overlay-color: rgba(0, 0, 0, 0.7);
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Open Sans', sans-serif;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    color: var(--text-color);
    margin: 0;
    line-height: 1.6;
}

.container {
    width: 85%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    margin-bottom: 0.5rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

/* --- Buttons --- */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 4px;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--text-on-dark);
}

.btn-primary:hover {
    background-color: #003366;
}

.btn-secondary {
    background-color: transparent;
    border: 2px solid var(--text-on-dark);
    color: var(--text-on-dark);
}

.btn-secondary:hover {
    background-color: var(--text-on-dark);
    color: var(--primary-color);
}

.btn-full {
    width: 100%;
    background-color: var(--text-color);
    color: var(--text-on-dark);
    margin-top: 30px;
    text-align: center;
}
.btn-full:hover {
    background-color: #555;
}

/* --- Layout Sections --- */
.content-section {
    padding: 80px 0;
}

.section-title {
    margin-bottom: 50px;
}
.section-title span {
    display: block;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--accent-color);
    text-transform: uppercase;
    letter-spacing: 2px;
}
.section-title h3 {
    font-size: 2.5rem;
    color: var(--primary-color);
    border-bottom: 3px solid var(--primary-color);
    display: inline-block;
    padding-bottom: 10px;
}

/* --- Header --- */
header {
    background-color: #fff;
    color: var(--primary-color);
    padding: 20px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 15px; /* Adds space between the logo and the text */
}

.logo-img {
    height: 60px; /* Increased height to make the detail in Option 2 visible */
    width: auto;
    border-radius: 50%; /* Optional: keeps the circular look clean */
    transition: transform 0.3s ease;
}

.logo-img:hover {
    transform: rotate(15deg); /* A small "compass" needle nudge on hover */
}

.site-title {
    font-size: 1.8rem;
    color: var(--primary-color);
    letter-spacing: 1px;
}


nav ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

nav ul li {
    display: inline;
    margin-left: 20px;
}

nav ul li a {
    font-weight: 600;
    font-size: 0.95rem;
}

nav ul li a:hover {
    color: var(--accent-color);
}

/* --- Hero Section (Uses image_0.png) --- */
.hero-section {
    height: 100vh; /* Full viewport height */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    margin-top: 80px; /* Space for the fixed header */
    display: flex;
    align-items: center;
}

.hero-overlay {
    background-color: var(--overlay-color);
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-content {
    color: var(--text-on-dark);
}

.hero-content h2 {
    font-size: 4rem;
    line-height: 1.1;
    font-weight: 700;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons .btn {
    margin: 0 10px;
}

/* --- Vision Section --- */
.vision-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 50px;
    align-items: start;
}

.lead {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--primary-color);
}

.vision-quote blockquote {
    background-color: var(--secondary-color);
    border-left: 5px solid var(--primary-color);
    padding: 30px;
    margin: 0;
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-style: italic;
    color: #444;
}

.quote-author {
    display: block;
    font-size: 1rem;
    font-weight: 700;
    font-style: normal;
    color: var(--primary-color);
    margin-top: 15px;
    text-transform: uppercase;
}

/* --- Manifesto Section --- */
.manifesto-section {
    background-color: var(--secondary-color);
}

.manifesto-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.manifesto-item {
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

.manifesto-item:hover {
    transform: translateY(-5px);
}

.manifesto-item .icon {
    font-size: 2rem;
    color: var(--accent-color);
    margin-bottom: 15px;
}

.manifesto-item h4 {
    color: var(--primary-color);
    font-size: 1.4rem;
}

/* --- Action Section --- */
.action-section {
    background-color: var(--primary-color);
    color: var(--text-on-dark);
    text-align: center;
}

.action-section h3 {
    font-size: 2.5rem;
}

.action-section p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 40px auto;
}

.signup-form {
    display: flex;
    max-width: 600px;
    margin: 0 auto;
    gap: 10px;
}

.signup-form input {
    flex-grow: 1;
    padding: 15px;
    border: none;
    border-radius: 4px;
}

/* --- Footer --- */
footer {
    background-color: #111;
    color: #999;
    padding: 40px 0;
    text-align: center;
    font-size: 0.9rem;
}

.social-links {
    margin-top: 15px;
}

.social-links a {
    margin: 0 5px;
}

/* --- Responsive Adjustments --- */
@media (max-width: 768px) {
    html { font-size: 14px; }
    .container { width: 90%; }
    header .container { flex-direction: column; text-align: center; }
    nav ul li { display: block; margin: 10px 0; }
    .hero-content h2 { font-size: 2.8rem; }
    .hero-section { margin-top: 140px; } /* Adjust for taller header */
    .vision-grid { grid-template-columns: 1fr; }
    .section-title h3 { font-size: 2rem; }
    .signup-form { flex-direction: column; }
}

/* --- Pop-up Styles --- */
#loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85); /* Darkens the background */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999; /* Ensures it sits on top of everything */
    transition: opacity 0.5s ease;
}

.overlay-hidden {
    visibility: hidden;
    opacity: 0;
}

.overlay-visible {
    visibility: visible;
    opacity: 1;
}

.overlay-content {
    text-align: center;
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0,0,0,0.5);
}

.pop-up-img {
    max-width: 300px; /* Adjust based on your pop-up.jpg size */
    height: auto;
    display: block;
    margin-bottom: 20px;
    border-radius: 5px;
}

.overlay-content p {
    font-family: var(--font-heading);
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1.2rem;
}