/* Citizens Miranda - Professional Legal Website */

:root {
    /* Brand Colors from Logo */
    --primary-teal: #4ECDC4;
    --primary-dark: #2C3E50;
    --secondary-blue: #34495E;
    --accent-gold: #F39C12;
    
    /* Neutral Colors */
    --white: #FFFFFF;
    --light-gray: #F8F9FA;
    --medium-gray: #6C757D;
    --dark-gray: #343A40;
    --border-light: #DEE2E6;
    
    /* Text Colors */
    --text-dark: #2C3E50;
    --text-medium: #6C757D;
    --text-light: #FFFFFF;
    
    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 25px rgba(0,0,0,0.15);
    
    /* Spacing */
    --container-max: 1200px;
    --section-padding: 80px 0;
    
    /* Typography */
    --font-primary: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    --font-weight-light: 300;
    --font-weight-normal: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    font-weight: var(--font-weight-normal);
    line-height: 1.6;
    color: var(--text-dark);
    background: var(--white);
    overflow-x: hidden;
}

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

/* Container */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Navigation */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-light);
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar {
    padding: 15px 0;
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo-image {
    height: 40px;
    width: auto;
}

.nav-menu {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: var(--font-weight-medium);
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: var(--primary-teal);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-teal);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    margin: 3px 0;
    transition: 0.3s;
}

/* Button Styles */
.btn {
    display: inline-block;
    padding: 12px 24px;
    font-size: 16px;
    font-weight: var(--font-weight-semibold);
    text-decoration: none;
    text-align: center;
    border: 2px solid transparent;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    line-height: 1.5;
}

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

.btn-primary:hover {
    background: transparent;
    color: var(--primary-teal);
    border-color: var(--primary-teal);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-teal);
    border-color: var(--primary-teal);
}

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

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

.btn-white:hover {
    background: transparent;
    color: var(--white);
    border-color: var(--white);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border-color: var(--white);
}

.btn-outline:hover {
    background: var(--white);
    color: var(--primary-dark);
}

.btn-large {
    padding: 16px 32px;
    font-size: 18px;
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    margin-top: 70px;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(44, 62, 80, 0.8) 0%,
        rgba(78, 205, 196, 0.6) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 1;
    padding: 60px 0;
}

.hero-text {
    max-width: 600px;
    color: var(--white);
}

.hero-headline {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: var(--font-weight-bold);
    line-height: 1.2;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-subheadline {
    font-size: clamp(1.1rem, 2vw, 1.3rem);
    font-weight: var(--font-weight-light);
    margin-bottom: 40px;
    opacity: 0.95;
}

.hero-stats {
    display: flex;
    gap: 30px;
    margin: 40px 0;
    flex-wrap: wrap;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: var(--font-weight-bold);
    color: var(--primary-teal);
}

.stat-label {
    display: block;
    font-size: 0.9rem;
    opacity: 0.9;
}

.hero-actions {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

/* Section Styles */
.section-light {
    background: var(--white);
    padding: var(--section-padding);
}

.section-dark {
    background: var(--primary-dark);
    color: var(--white);
    padding: var(--section-padding);
}

.section-primary {
    background: var(--primary-teal);
    color: var(--white);
    padding: var(--section-padding);
}

.section-accent {
    background: var(--light-gray);
    padding: var(--section-padding);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: var(--font-weight-bold);
    margin-bottom: 15px;
}

.section-subtitle {
    font-size: 1.2rem;
    font-weight: var(--font-weight-light);
    opacity: 0.8;
    max-width: 600px;
    margin: 0 auto;
}

/* Feature Cards */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.feature-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 10px;
    box-shadow: var(--shadow-md);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    color: var(--primary-teal);
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 1.5rem;
    font-weight: var(--font-weight-semibold);
    margin-bottom: 15px;
    color: var(--text-dark);
}

.feature-card p {
    color: var(--text-medium);
    line-height: 1.6;
}

/* Rights Script Section */
.rights-container {
    max-width: 900px;
    margin: 0 auto;
}

.script-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 40px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.script-header {
    text-align: center;
    margin-bottom: 40px;
}

.script-header h3 {
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.script-content {
    margin-bottom: 40px;
}

.script-statement {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 30px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    border-left: 4px solid var(--accent-gold);
}

.script-number {
    background: var(--accent-gold);
    color: var(--primary-dark);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: var(--font-weight-bold);
    flex-shrink: 0;
}

.script-text h4 {
    margin-bottom: 8px;
    font-size: 1.1rem;
}

.script-text p {
    opacity: 0.9;
    font-style: italic;
}

.script-footer {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.script-reminder {
    margin-bottom: 20px;
    opacity: 0.9;
}

.script-footer .btn {
    margin: 0 10px;
}

/* Better contrast for buttons on teal background */
.section-primary .btn-primary {
    background: var(--white);
    color: var(--primary-dark);
    border-color: var(--white);
    font-weight: var(--font-weight-bold);
}

.section-primary .btn-primary:hover {
    background: var(--accent-gold);
    color: var(--primary-dark);
    border-color: var(--accent-gold);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.section-primary .btn-secondary {
    background: transparent;
    color: var(--white);
    border-color: var(--white);
    font-weight: var(--font-weight-bold);
}

.section-primary .btn-secondary:hover {
    background: var(--white);
    color: var(--primary-dark);
    border-color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

/* Join Section */
.join-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.join-image img {
    border-radius: 15px;
    box-shadow: var(--shadow-lg);
}

.join-form h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.join-form p {
    font-size: 1.1rem;
    color: var(--text-medium);
    margin-bottom: 30px;
}

.signup-form {
    max-width: 400px;
}

.form-group {
    margin-bottom: 20px;
}

.form-input {
    width: 100%;
    padding: 15px;
    border: 2px solid var(--border-light);
    border-radius: 6px;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

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

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--text-medium);
    cursor: pointer;
}

.form-note {
    font-size: 12px;
    color: var(--text-medium);
    margin-top: 10px;
}

.form-message {
    margin-top: 15px;
    padding: 10px;
    border-radius: 5px;
    display: none;
}

.form-message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    display: block;
}

.form-message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    display: block;
}

/* Benefits Section */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.benefit-card {
    background: var(--white);
    padding: 30px 20px;
    border-radius: 10px;
    box-shadow: var(--shadow-sm);
    text-align: center;
    transition: transform 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-3px);
}

.benefit-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.benefit-card h3 {
    margin-bottom: 15px;
    color: var(--text-dark);
}

.benefit-card p {
    color: var(--text-medium);
    font-size: 0.95rem;
}

/* FOIA Section */
.foia-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.foia-info h3 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.foia-info p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.foia-stats {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

.foia-stat {
    text-align: center;
}

.foia-number {
    display: block;
    font-size: 2.5rem;
    font-weight: var(--font-weight-bold);
    color: var(--primary-teal);
}

.foia-label {
    display: block;
    font-size: 0.9rem;
    opacity: 0.8;
}

.foia-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 40px;
    border-radius: 15px;
    backdrop-filter: blur(10px);
}

.foia-card h4 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.foia-list {
    list-style: none;
    margin: 20px 0;
}

.foia-list li {
    padding: 8px 0;
    padding-left: 20px;
    position: relative;
}

.foia-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-gold);
    font-weight: bold;
}

/* Resources Section */
.resources-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.resource-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 10px;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.resource-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
}

.resource-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.resource-card h3 {
    margin-bottom: 10px;
    font-size: 1.3rem;
}

.resource-card p {
    margin-bottom: 15px;
    opacity: 0.9;
}

.resource-link {
    font-size: 0.9rem;
    font-weight: var(--font-weight-semibold);
    color: var(--accent-gold);
}

/* CTA Section */
.section-cta {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--secondary-blue) 100%);
    color: var(--white);
    padding: 100px 0;
    text-align: center;
}

.cta-content h2 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Footer */
.site-footer {
    background: var(--primary-dark);
    color: var(--white);
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    margin-bottom: 40px;
}

.footer-brand {
    max-width: 300px;
}

.footer-logo {
    height: 60px;
    margin-bottom: 20px;
}

.footer-brand p {
    opacity: 0.8;
    line-height: 1.6;
}

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

.footer-column h4 {
    margin-bottom: 20px;
    color: var(--primary-teal);
}

.footer-column ul {
    list-style: none;
}

.footer-column li {
    margin-bottom: 10px;
}

.footer-column a {
    color: var(--white);
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.footer-column a:hover {
    opacity: 1;
    color: var(--primary-teal);
}

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.footer-tagline {
    margin-top: 10px;
    color: var(--primary-teal);
    font-style: italic;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .stat {
        min-width: 100px;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .join-content,
    .foia-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-large {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-content {
        padding: 40px 0;
    }
    
    .script-card,
    .foia-card {
        padding: 25px;
    }
    
    .script-statement {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .cta-content h2 {
        font-size: 2.2rem;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease forwards;
}

/* Utility Classes */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 10px; }
.mb-2 { margin-bottom: 20px; }
.mb-3 { margin-bottom: 30px; }
.mb-4 { margin-bottom: 40px; }

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 10px; }
.mt-2 { margin-top: 20px; }
.mt-3 { margin-top: 30px; }
.mt-4 { margin-top: 40px; }

.rounded-image {
    border-radius: 15px;
}