/* Santa Monica Participatory Budget - Styles */

/* Color Variables */
:root {
    --sm-blue: #0066B3;
    --sm-blue-dark: #004C8C;
    --sm-blue-light: #4A90E2;
    --white: #FFFFFF;
    --gray-light: #F5F7FA;
    --gray-medium: #E1E8ED;
    --gray-dark: #657786;
    --text-dark: #14171A;
    --shadow: rgba(0, 102, 179, 0.1);
}

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

html {
    scroll-behavior: smooth;
}

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

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

/* Navigation */
.nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: var(--white);
    box-shadow: 0 2px 10px var(--shadow);
    z-index: 1000;
    padding: 1rem 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--sm-blue);
    text-decoration: none;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

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

.nav-link:hover {
    color: var(--sm-blue);
}

/* Mobile Navigation */
@media (max-width: 768px) {
    .nav-menu {
        gap: 1rem;
        font-size: 0.9rem;
    }

    .nav-logo {
        font-size: 1rem;
    }
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../Santa_monica_panorama_Mfield.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: var(--white);
    text-align: center;
    padding: 100px 20px 60px;
    position: relative;
}

.hero-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 1px 1px 6px rgba(0, 0, 0, 0.8);
}

@media (max-width: 768px) {
    .hero {
        background-attachment: scroll;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

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

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

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

.btn-secondary:hover {
    background: var(--sm-blue-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px var(--shadow);
}

/* Section Styles */
.section {
    padding: 80px 20px;
}

.section-light {
    background: var(--white);
}

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

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--sm-blue);
}

@media (max-width: 768px) {
    .section {
        padding: 60px 20px;
    }

    .section-title {
        font-size: 2rem;
        margin-bottom: 2rem;
    }
}

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

.feature {
    text-align: center;
    padding: 2rem;
}

.feature-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.feature h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--sm-blue-dark);
}

.feature p {
    color: var(--gray-dark);
    line-height: 1.7;
}

/* Timeline */
.timeline {
    max-width: 800px;
    margin: 0 auto;
}

.timeline-item {
    display: flex;
    gap: 2rem;
    margin-bottom: 3rem;
    position: relative;
}

.timeline-item:not(:last-child)::after {
    content: '';
    position: absolute;
    left: 30px;
    top: 70px;
    width: 2px;
    height: calc(100% + 1rem);
    background: var(--gray-medium);
}

.timeline-number {
    min-width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--sm-blue);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    flex-shrink: 0;
    box-shadow: 0 4px 12px var(--shadow);
}

.timeline-content h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--sm-blue-dark);
}

.timeline-content p {
    color: var(--gray-dark);
    line-height: 1.7;
}

@media (max-width: 768px) {
    .timeline-item {
        gap: 1rem;
    }

    .timeline-number {
        min-width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }

    .timeline-item:not(:last-child)::after {
        left: 25px;
        top: 60px;
    }

    .timeline-content h3 {
        font-size: 1.25rem;
    }
}

/* CTA Section */
.cta-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.cta-description {
    font-size: 1.25rem;
    margin-bottom: 3rem;
    color: var(--gray-dark);
}

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

.cta-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px var(--shadow);
    transition: transform 0.3s ease;
}

.cta-card:hover {
    transform: translateY(-5px);
}

.cta-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--sm-blue-dark);
}

.cta-card p {
    color: var(--gray-dark);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.contact-info {
    margin-top: 3rem;
    padding: 2rem;
    background: var(--gray-light);
    border-radius: 12px;
}

.contact-info h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--sm-blue-dark);
}

.contact-info a {
    color: var(--sm-blue);
    text-decoration: none;
    font-weight: 600;
}

.contact-info a:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .cta-description {
        font-size: 1.1rem;
    }
}

/* Footer */
.footer {
    background: var(--sm-blue-dark);
    color: var(--white);
    text-align: center;
    padding: 2rem 20px;
}

.footer p {
    opacity: 0.9;
}

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

.section {
    animation: fadeInUp 0.6s ease-out;
}
