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

:root {
    --primary-color: #c41e3a;
    --secondary-color: #1a1a1a;
    --accent-color: #ff6b35;
    --light-bg: #f5f5f5;
    --dark-bg: #2c2c2c;
    --text-dark: #222;
    --text-light: #fff;
    --warning: #f39c12;
    --success: #27ae60;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    background: white;
    color: var(--primary-color);
    padding: 2rem 0;
    text-align: center;
}

header h1 {
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--primary-color);
}

header .tagline {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-dark);
}

/* Navigation */
nav {
    background: var(--secondary-color);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

nav .container {
    position: relative;
}

nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

nav li {
    margin: 0;
}

nav a {
    display: block;
    color: var(--text-light);
    text-decoration: none;
    padding: 1rem 1.5rem;
    font-weight: 600;
    transition: background 0.3s;
}

nav a:hover {
    background: var(--primary-color);
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 25px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.hamburger span {
    width: 100%;
    height: 3px;
    background: var(--text-light);
    border-radius: 3px;
    transition: all 0.3s ease;
}

.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);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--text-light);
    padding: 4rem 0;
    text-align: center;
}

.hero h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 900;
}

.hero h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: var(--warning);
}

.hero .lead {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
}

/* Sections */
.section {
    padding: 4rem 0;
}

.section h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    text-align: center;
    color: var(--primary-color);
    font-weight: 900;
    text-transform: uppercase;
}

.section .intro {
    font-size: 1.2rem;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
    color: var(--text-dark);
}

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

.bg-dark h2,
.bg-dark .intro {
    color: var(--text-light);
}

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

/* Grid Layouts */
.grid-2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

/* Cards */
.card {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.card h3 {
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    font-size: 1.5rem;
}

.card.alert {
    border-left: 5px solid var(--primary-color);
}

/* Lists */
.check-list {
    list-style: none;
    padding-left: 0;
}

.check-list li {
    padding: 0.5rem 0;
    padding-left: 2rem;
    position: relative;
}

.check-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--success);
    font-weight: bold;
    font-size: 1.2rem;
}

.x-list {
    list-style: none;
    padding-left: 0;
}

.x-list li {
    padding: 0.5rem 0;
    padding-left: 2rem;
    position: relative;
    color: var(--primary-color);
    font-weight: 600;
}

.x-list li::before {
    content: "✗";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.2rem;
}

/* Funding Section */
.funding-breakdown {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 3rem 0;
}

.funding-item {
    background: rgba(255,255,255,0.1);
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid var(--warning);
    text-align: center;
}

.funding-item .amount {
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--warning);
    margin-bottom: 0.5rem;
}

.funding-item .source {
    font-size: 1rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.funding-item .date {
    font-size: 0.9rem;
    opacity: 0.8;
}

.total-funding {
    background: var(--primary-color);
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
    margin: 3rem 0;
}

.total-funding h3 {
    color: var(--text-light);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.total-amount {
    font-size: 4rem;
    font-weight: 900;
    color: var(--warning);
    margin: 1rem 0;
}

.total-note {
    font-size: 1rem;
    opacity: 0.9;
}

.funding-question {
    background: var(--warning);
    color: var(--text-dark);
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
}

.funding-question h3 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.big-question {
    font-size: 1.8rem;
    font-weight: 700;
    line-height: 1.4;
}

/* Violations */
.violation-card {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    margin-bottom: 2rem;
    border-left: 5px solid var(--primary-color);
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.violation-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.violation-card ul {
    margin: 1rem 0;
    padding-left: 2rem;
}

.violation-card li {
    margin: 0.5rem 0;
}

.violation-impact {
    background: var(--light-bg);
    padding: 1rem;
    border-radius: 5px;
    margin-top: 1rem;
    font-weight: 600;
}

.alert-red {
    border-left-color: #e74c3c;
}

.alert-red h3 {
    color: #e74c3c;
}

/* Evidence Section */
.evidence-section {
    margin-bottom: 4rem;
}

.evidence-section h3 {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 2rem;
    text-align: center;
}

.comparison {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.comparison-item img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.caption {
    margin-top: 1rem;
    padding: 1rem;
    background: white;
    border-radius: 8px;
}

.caption strong {
    display: block;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.document-card {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.document-card h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.doc-highlight {
    background: var(--light-bg);
    padding: 1rem;
    border-left: 4px solid var(--primary-color);
    margin-top: 1rem;
    font-style: italic;
    font-weight: 600;
}

blockquote {
    background: white;
    padding: 2rem;
    border-left: 5px solid var(--primary-color);
    margin: 2rem 0;
    font-size: 1.2rem;
    font-style: italic;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

blockquote cite {
    display: block;
    margin-top: 1rem;
    font-style: normal;
    font-weight: 600;
    color: var(--primary-color);
    font-size: 1rem;
}

/* Petition Section */
.signature-counter-hero {
    background: var(--primary-color);
    color: var(--text-light);
    padding: 3rem 2rem;
    border-radius: 8px;
    text-align: center;
    margin-bottom: 3rem;
    box-shadow: 0 6px 15px rgba(196, 30, 58, 0.3);
}

.counter-display {
    margin-bottom: 1rem;
}

.counter-number {
    font-size: 5rem;
    font-weight: 900;
    color: var(--warning);
    line-height: 1;
    margin-bottom: 0.5rem;
    transition: transform 0.3s ease;
}

.counter-number.counter-pulse {
    animation: pulse 0.6s ease;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.counter-label {
    font-size: 1.5rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.counter-message {
    font-size: 1.2rem;
    opacity: 0.95;
}

.petition-statement {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    margin-bottom: 3rem;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    border-left: 5px solid var(--primary-color);
}

.petition-statement h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
}

.petition-statement ol {
    margin: 1.5rem 0;
    padding-left: 2rem;
}

.petition-statement li {
    margin: 0.75rem 0;
    line-height: 1.6;
}

.petition-note {
    margin-top: 1.5rem;
    font-weight: 600;
    font-style: italic;
    color: var(--primary-color);
}

.petition-form-container {
    max-width: 700px;
    margin: 0 auto;
    background: white;
    padding: 2.5rem;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.petition-form-container h3 {
    color: var(--primary-color);
    margin-bottom: 2rem;
    font-size: 1.8rem;
    text-align: center;
}

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

.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
}

.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: 5px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s;
}

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

.form-group textarea {
    resize: vertical;
}

.checkbox-group label {
    flex-direction: row;
    align-items: center;
    font-weight: normal;
    cursor: pointer;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
    margin-right: 0.5rem;
    cursor: pointer;
}

.btn-submit {
    background: var(--primary-color);
    color: var(--text-light);
    padding: 1rem 2rem;
    font-size: 1.2rem;
    font-weight: 700;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-submit:hover {
    background: #a01828;
}

.signature-count {
    margin-top: 2rem;
    padding: 1.5rem;
    background: var(--light-bg);
    border-radius: 5px;
    text-align: center;
    font-size: 1.1rem;
}

/* Petition Voices Section */
.petition-voices {
    margin-top: 4rem;
    padding-top: 3rem;
    border-top: 3px solid var(--primary-color);
}

.petition-voices h3 {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 1rem;
    text-align: center;
}

.voices-intro {
    text-align: center;
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: var(--text-dark);
}

.comments-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.comment-card {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    border-left: 3px solid var(--warning);
    transition: transform 0.2s, box-shadow 0.2s;
}

.comment-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

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

.comment-author {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    font-size: 0.9rem;
    color: var(--primary-color);
}

.comment-location {
    font-size: 0.85rem;
    color: #666;
    font-weight: normal;
}

.loading-message,
.no-comments {
    grid-column: 1 / -1;
    text-align: center;
    padding: 3rem;
    color: #666;
    font-style: italic;
}

/* Share Section */
.share-buttons {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin: 2rem 0;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.share-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1rem 1.5rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    color: white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.share-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.share-btn:active {
    transform: translateY(0);
}

.share-btn svg {
    width: 24px;
    height: 24px;
}

.share-facebook {
    background: #1877f2;
}

.share-facebook:hover {
    background: #0d65d9;
}

.share-twitter {
    background: #000000;
}

.share-twitter:hover {
    background: #1a1a1a;
}

.share-linkedin {
    background: #0077b5;
}

.share-linkedin:hover {
    background: #006399;
}

.share-whatsapp {
    background: #25d366;
}

.share-whatsapp:hover {
    background: #1ebc59;
}

.share-email {
    background: #ea4335;
}

.share-email:hover {
    background: #d33426;
}

.share-copy {
    background: var(--secondary-color);
}

.share-copy:hover {
    background: #000000;
}

.copy-notification {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: var(--success);
    color: white;
    padding: 1rem 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    font-weight: 600;
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 9999;
    pointer-events: none;
}

.copy-notification.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* Citations & References Section */
.citation {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s ease;
}

.citation:hover {
    text-decoration: underline;
    color: var(--accent-color);
}

.references-list {
    max-width: 900px;
    margin: 0 auto;
}

.reference-item {
    display: flex;
    gap: 1rem;
    padding: 1.5rem;
    background: white;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.reference-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

.ref-number {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1.2rem;
    min-width: 40px;
    flex-shrink: 0;
}

.ref-content {
    flex: 1;
}

.ref-content strong {
    color: var(--text-dark);
    display: block;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.ref-content p {
    margin-bottom: 0.75rem;
    line-height: 1.6;
    color: #555;
}

.ref-content a {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s ease;
}

.ref-content a:hover {
    color: var(--accent-color);
    text-decoration: underline;
}

.ref-links {
    list-style: none;
    padding-left: 0;
    margin-top: 0.5rem;
}

.ref-links li {
    margin: 0.25rem 0;
}

.ref-note {
    font-style: italic;
    color: #666;
    margin-top: 0.5rem;
    font-size: 0.95rem;
}

.transparency-note {
    background: var(--secondary-color);
    color: var(--text-light);
    padding: 2rem;
    border-radius: 8px;
    margin-top: 3rem;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.transparency-note h3 {
    color: var(--warning);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.transparency-note p {
    margin-bottom: 1rem;
    line-height: 1.7;
}

.transparency-note ul {
    list-style: none;
    padding-left: 0;
}

.transparency-note li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.transparency-note li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--warning);
    font-weight: bold;
}

.transparency-note a {
    color: var(--warning);
    font-weight: 600;
    text-decoration: none;
}

.transparency-note a:hover {
    text-decoration: underline;
}

/* Action Section */
.cta-section {
    background: var(--primary-color);
    color: var(--text-light);
}

.cta-section h2 {
    color: var(--text-light);
}

.cta-section .intro {
    color: var(--text-light);
}

.action-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.action-card {
    background: rgba(255,255,255,0.1);
    padding: 2rem;
    border-radius: 8px;
    border: 2px solid rgba(255,255,255,0.2);
}

.action-card h3 {
    color: var(--warning);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.action-card ul {
    list-style: none;
    padding: 0;
}

.action-card li {
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.action-card li:last-child {
    border-bottom: none;
}

.key-demands {
    background: var(--secondary-color);
    padding: 2rem;
    border-radius: 8px;
    margin-top: 3rem;
}

.key-demands h3 {
    color: var(--warning);
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
}

.key-demands ol {
    padding-left: 2rem;
}

.key-demands li {
    margin: 1rem 0;
    font-size: 1.1rem;
    line-height: 1.6;
}

/* Footer */
footer {
    background: var(--secondary-color);
    color: var(--text-light);
    padding: 3rem 0;
    text-align: center;
}

footer p {
    margin: 1rem 0;
}

.footer-cta {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--warning);
    margin-top: 2rem;
}

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

    header h1 {
        font-size: 1.5rem;
        margin-bottom: 0.25rem;
        letter-spacing: 1px;
    }

    header .tagline {
        font-size: 0.9rem;
    }

    .hero h2 {
        font-size: 1.8rem;
    }

    .hero h3 {
        font-size: 1.3rem;
    }

    .hero .lead {
        font-size: 1rem;
    }

    .section h2 {
        font-size: 1.8rem;
    }

    .total-amount {
        font-size: 2.5rem;
    }

    .big-question {
        font-size: 1.3rem;
    }

    .comparison {
        grid-template-columns: 1fr;
    }

    /* Mobile Hamburger Menu */
    .hamburger {
        display: flex;
        position: absolute;
        top: 50%;
        right: 20px;
        transform: translateY(-50%);
    }

    nav {
        position: sticky;
        top: 0;
        background: var(--secondary-color);
        box-shadow: 0 2px 10px rgba(0,0,0,0.3);
        min-height: 50px;
    }

    nav .container {
        position: relative;
        padding: 0;
        min-height: 50px;
    }

    nav ul {
        flex-direction: column;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease-in-out;
    }

    nav ul.active {
        max-height: 500px;
    }

    nav a {
        border-bottom: 1px solid rgba(255,255,255,0.1);
        padding: 1rem 1.5rem;
    }

    nav li:last-child a {
        border-bottom: none;
    }

    .petition-form-container {
        padding: 1.5rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .counter-number {
        font-size: 3rem;
    }

    .counter-label {
        font-size: 1.2rem;
    }

    .counter-message {
        font-size: 1rem;
    }

    .comments-grid {
        grid-template-columns: 1fr;
    }

    .share-buttons {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .share-btn {
        padding: 0.875rem 1.25rem;
        font-size: 0.95rem;
    }
}

/* Print Styles */
@media print {
    nav {
        display: none;
    }

    .section {
        page-break-inside: avoid;
    }
}
