/*
    Peace Alliance - Core Styles
    Colors: 
    - Midnight Blue: #051c33 (Highest contrast for brand blue)
    - Action Blue: #1059b8 (Used for buttons/accents)
    - Emergency Red: #a81111 (Highest contrast brand red)
    - Action Yellow: #ffda4a (Contrast for dark backgrounds)
    - Black: #111111 (Pure professional text)
    - Off-White (Bg): #f8fafd
*/

:root {
    --color-primary: #051c33;
    --color-action-blue: #1059b8;
    --color-accent: #a81111;
    --color-yellow: #ffda4a;
    --color-text: #111111;
    --color-text-muted: #3d4349;
    --color-bg: #ffffff;
    --color-bg-alt: #f0f4f8;
    --color-border: #d0d7de;
    
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    
    --header-height: 80px;
    --utility-height: 45px;
}

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

body {
    font-family: var(--font-body);
    color: var(--color-text);
    background-color: var(--color-bg);
    line-height: 1.6;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 800;
    line-height: 1.2;
    color: var(--color-text);
    margin-bottom: 1rem;
}

a {
    transition: all var(--transition-fast);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Layout */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section-padding {
    padding: 100px 0;
}

.bg-light {
    background-color: var(--color-bg-alt);
}

.grid-12 {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 40px;
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 32px;
    font-family: var(--font-heading);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    border-radius: 4px;
    cursor: pointer;
    text-align: center;
    border: none;
    transition: all var(--transition-fast);
    text-decoration: none;
    font-size: 0.95rem;
}

.btn-primary {
    background-color: var(--color-accent);
    color: white;
}

.btn-primary:hover {
    background-color: #8c0d0d;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(168, 17, 17, 0.2);
}

.btn-secondary {
    background-color: var(--color-primary);
    color: white;
}

.btn-secondary:hover {
    background-color: #000000;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(5, 28, 51, 0.2);
}

.btn-vote {
    background-color: var(--color-yellow);
    color: var(--color-primary);
}

.btn-vote:hover {
    background-color: #ffd11a;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 218, 74, 0.3);
}

/* Utility Bar */
.utility-bar {
    background-color: var(--color-primary);
    color: white;
    height: var(--utility-height);
    display: flex;
    align-items: center;
    font-size: 0.9rem;
    font-weight: 700;
}

.utility-content {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    height: 100%;
}

.utility-link {
    color: white;
    margin-right: 30px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    text-decoration: none;
}

.utility-link:hover {
    color: var(--color-yellow);
}

.vote-top-btn {
    background-color: var(--color-yellow);
    color: var(--color-primary);
    height: 100%;
    display: flex;
    align-items: center;
    padding: 0 24px;
    text-transform: uppercase;
    font-weight: 900;
    text-decoration: none;
}

.vote-top-btn:hover {
    background-color: white;
    color: var(--color-primary);
}

/* Header */
.global-header {
    background-color: white;
    height: var(--header-height);
    border-bottom: 2px solid var(--color-border);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 1.6rem;
    color: var(--color-text);
}

.brand-icon {
    color: var(--color-accent);
    margin-right: 12px;
}

.logo span {
    color: var(--color-primary);
    margin-left: 6px;
}

.main-nav .nav-list {
    display: flex;
    list-style: none;
}

.main-nav .nav-list li {
    margin-left: 35px;
}

.main-nav .nav-list a {
    color: var(--color-text);
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.9rem;
}

.main-nav .nav-list a:hover {
    color: var(--color-primary);
}

/* Hero Section */
.hero-section {
    padding: 80px 0;
    background-color: white;
}

.hero-grid {
    align-items: center;
}

.hero-content {
    grid-column: span 5;
}

.hero-content h1 {
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 24px;
    color: var(--color-primary);
}

.hero-content p {
    font-size: 1.3rem;
    color: var(--color-text-muted);
    margin-bottom: 35px;
}

.hero-image-wrapper {
    grid-column: span 7;
}

.hero-image {
    width: 100%;
    border-radius: 4px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

/* Cards (Priority Issues) */
.priority-issues-grid {
    margin-top: 60px;
}

.issue-card {
    background-color: white;
    border: 1px solid var(--color-border);
    border-radius: 4px;
    overflow: hidden;
    transition: transform 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.issue-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
    border-color: var(--color-primary);
}

.card-img-wrapper {
    height: 250px;
    overflow: hidden;
}

.card-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-content {
    padding: 35px;
}

.issue-card h3 {
    font-size: 1.6rem;
    margin-bottom: 16px;
    color: var(--color-primary);
}

.issue-card p {
    color: var(--color-text-muted);
    margin-bottom: 24px;
}

.card-link {
    font-family: var(--font-heading);
    font-weight: 800;
    color: var(--color-primary);
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.08em;
}

/* Action Center (High Contrast Area) */
.action-center {
    background-color: var(--color-bg-alt);
}

.section-header h2 {
    font-size: 3rem;
    color: var(--color-primary);
    text-align: center;
    margin-bottom: 16px;
}

.section-header p {
    text-align: center;
    font-size: 1.25rem;
    color: var(--color-text-muted);
    margin-bottom: 60px;
}

.action-card {
    background: white;
    padding: 50px;
    border-radius: 4px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.pledge-card {
    background-color: var(--color-primary);
    color: white;
}

.action-label {
    display: inline-block;
    padding: 4px 12px;
    background-color: var(--color-accent);
    color: white;
    font-size: 0.75rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 20px;
}

.pledge-card .action-label {
    background-color: var(--color-yellow);
    color: var(--color-primary);
}

.action-card h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--color-primary);
}

.pledge-card h3 {
    color: white;
}

.action-card p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    color: var(--color-text-muted);
    line-height: 1.7;
}

.pledge-card p {
    color: rgba(255,255,255,0.85);
}

/* News Feed */
.news-grid {
    margin-top: 60px;
}

.news-card {
    background: white;
    border-bottom: 3px solid var(--color-border);
}

.news-card:hover {
    border-color: var(--color-accent);
}

.news-img {
    height: 220px;
    object-fit: cover;
    width: 100%;
}

.news-body {
    padding: 30px;
}

.news-tag {
    color: var(--color-accent);
    font-weight: 800;
    text-transform: uppercase;
    font-size: 0.8rem;
    margin-bottom: 12px;
    display: block;
}

.news-card h3 {
    font-size: 1.35rem;
    margin-bottom: 14px;
    color: var(--color-text);
}

/* Footer (Dark) */
.site-footer {
    background-color: var(--color-primary);
    color: white;
    padding: 100px 0 50px;
}

.footer-logo {
    color: white;
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 2rem;
    margin-bottom: 24px;
    display: inline-flex;
    align-items: center;
}

.footer-logo span {
    color: var(--color-yellow);
    margin-left: 6px;
}

.footer-column h4 {
    color: white;
    font-size: 1.2rem;
    margin-bottom: 24px;
    font-weight: 800;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    font-weight: 500;
}

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

/* Notifications */
.peace-notification {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: white;
    color: var(--color-primary);
    padding: 20px 30px;
    border-radius: 4px;
    box-shadow: 0 15px 50px rgba(0,0,0,0.15);
    z-index: 2000;
    border-left: 6px solid #4CAF50;
    transform: translateX(110%);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.peace-notification.show {
    transform: translateX(0);
}

/* Responsive */
@media (max-width: 992px) {
    .hero-content h1 { font-size: 3rem; }
    .hero-content, .hero-image-wrapper { grid-column: span 12; }
    .hero-content { text-align: center; }
    .grid-3 { grid-template-columns: 1fr; }
    .footer-grid { display: block; }
}
