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

html {
    scroll-padding-top: 80px;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #333;
}

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

header {
    background: #ff6b35;
    color: white;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

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

header h1 {
    font-size: 1.5rem;
}

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

.nav-links a {
    color: white;
    text-decoration: none;
    transition: opacity 0.3s;
}

.nav-links a:hover {
    opacity: 0.8;
}

/* Mobile menu toggle */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
}

@media (min-width: 769px) {
    .nav-links {
        display: flex !important;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #ff6b35;
        flex-direction: column;
        gap: 0;
        padding: 1rem 0;
        box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .nav-links li {
        padding: 0.75rem 1.5rem;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }
    
    .nav-links li:last-child {
        border-bottom: none;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    header nav .container {
        position: relative;
    }
}

.hero {
    background: linear-gradient(135deg, #2c5f2d 0%, #4a8f4d 100%);
    color: white;
    padding: 6rem 0;
    text-align: center;
}

.hero-image {
    background: url('Kidsplayingdirt.png') center center/cover no-repeat;
    min-height: 500px;
    position: relative;
    display: flex;
    align-items: center;
}

.hero-overlay {
    background: rgba(0, 0, 0, 0.5);
    width: 100%;
    padding: 6rem 0;
}

.hero-title {
    font-size: 4.5rem;
    margin-bottom: 1rem;
    color: white;
    position: relative;
    display: inline-block;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
    font-weight: bold;
}

.orange-underline {
    position: absolute;
    bottom: -5px;
    left: 0;
    right: 0;
    height: 12px;
    background: #ff6b35;
    display: block;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: white;
    margin-top: 2rem;
}

.hero h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
}

.cta-button {
    display: inline-block;
    background: #ff6b35;
    color: white;
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: transform 0.3s, box-shadow 0.3s;
    border: 3px solid white;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.jump-link-button {
    background: #ff6b35;
    color: white;
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: transform 0.3s, box-shadow 0.3s;
    display: inline-block;
}

.jump-link-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.section {
    padding: 4rem 0;
}

.alt-bg {
    background: #f5f5f5;
}

.section h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: #ff6b35;
}

.section h2.centered {
    text-align: center;
}

.section p {
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

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

.action-card {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

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

.action-card h3 {
    color: #ff6b35;
    margin-bottom: 1rem;
}

.contact-info {
    font-size: 1.2rem;
    margin-top: 1rem;
}

.contact-info a {
    color: #2c5f2d;
    text-decoration: none;
}

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

footer {
    background: #ff6b35;
    color: white;
    text-align: center;
    padding: 2rem 0;
}

@media (max-width: 768px) {
    .hero h2 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
    
    .nav-links {
        gap: 1rem;
    }
    
    header h1 {
        font-size: 1.2rem;
    }
}

.orange-section {
    background: #ff6b35;
    color: white;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    margin: 2rem 0;
}

.cta-button-white {
    display: inline-block;
    background: white;
    color: #ff6b35;
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: transform 0.3s, box-shadow 0.3s;
}

.cta-button-white:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.info-grid {
    margin: 2rem 0;
}

.info-box {
    background: #f0f0f0;
    padding: 2rem;
    border-radius: 8px;
    border-left: 5px solid #ff6b35;
}

.proposal-list {
    list-style: none;
    padding: 0;
    margin: 2rem 0;
}

.proposal-list li {
    padding: 1rem;
    margin: 0.5rem 0;
    background: white;
    border-left: 4px solid #ff6b35;
    font-size: 1.1rem;
}

.concerns-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.concerns-grid > a {
    display: block;
    height: 100%;
}

@media (max-width: 1200px) {
    .concerns-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .concerns-grid {
        grid-template-columns: 1fr;
    }
}

/* Petition page specific grid - 3 columns */
.petition-concerns-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

@media (max-width: 1200px) {
    .petition-concerns-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .petition-concerns-grid {
        grid-template-columns: 1fr;
    }
}

.concern-card {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    border-left: 5px solid #ff6b35;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    height: 100%;
    display: flex;
    flex-direction: column;
}

a .concern-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.concern-card h3 {
    color: #ff6b35;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

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

.concern-card li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #eee;
}

/* Petition page specific concern card styling */
.petition-concerns-grid .concern-card h3 {
    color: #333;
    font-size: 1.1rem;
    font-weight: bold;
}

.petition-concerns-grid .concern-card ul {
    list-style: disc;
    padding-left: 1.5rem;
}

.petition-concerns-grid .concern-card li {
    border-bottom: none;
}

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

.event-card {
    background: white;
    padding: 1.5rem;
    margin: 1rem 0;
    border-radius: 8px;
    border-left: 5px solid #ff6b35;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.event-card h3 {
    color: #ff6b35;
    margin-bottom: 0.5rem;
}

.event-card .date {
    font-weight: bold;
    color: #333 !important;
    font-size: 1.1rem;
}

.event-card .location {
    color: #666;
}

.steps-list {
    counter-reset: step-counter;
    list-style: none;
    padding: 0;
}

.steps-list li {
    counter-increment: step-counter;
    padding: 1.5rem;
    margin: 1rem 0;
    background: white;
    border-radius: 8px;
    position: relative;
    padding-left: 4rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.steps-list li::before {
    content: counter(step-counter);
    position: absolute;
    left: 1rem;
    top: 1.5rem;
    background: #ff6b35;
    color: white;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.steps-list li ul {
    list-style: none;
    padding-left: 0;
    margin-top: 1rem;
    margin-left: 0;
}

.steps-list li ul li {
    background: transparent;
    padding: 0.5rem 0 0.5rem 2rem;
    margin: 0.5rem 0;
    position: relative;
}

.steps-list li ul li::before {
    content: "→";
    position: absolute;
    left: 0;
    top: 0.5rem;
    background: transparent;
    color: #ff6b35;
    width: auto;
    height: auto;
    border-radius: 0;
    font-weight: bold;
    font-size: 1.2rem;
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .nav-links {
        flex-direction: column;
        gap: 0.5rem;
    }
}

.proposal-with-map {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
    margin-top: 2rem;
}

.proposal-text {
    display: flex;
    flex-direction: column;
}

.proposal-map {
    display: flex;
    align-items: center;
}

@media (max-width: 968px) {
    .proposal-with-map {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 4rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.social-icon-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    transition: transform 0.3s, opacity 0.3s;
}

.social-icon-wrapper:hover {
    transform: translateY(-5px);
    opacity: 0.8;
}

.social-icon-link {
    display: block;
}

.social-icon-link svg {
    transition: fill 0.3s;
}

.social-icon-wrapper:hover .social-icon-link svg {
    fill: #d45a2a;
}

.social-label {
    font-size: 1rem;
    font-weight: 600;
    color: #333;
    pointer-events: none;
}

@media (max-width: 768px) {
    .social-icons {
        gap: 2.5rem;
    }
    
    .social-icon-link svg {
        width: 40px;
        height: 40px;
    }
}

/* Event Ticker Mobile Styles */
@media (max-width: 768px) {
    #tickerContainer {
        height: 50px !important; /* Taller for two lines */
    }
    
    #eventTicker > div {
        height: 50px !important;
        line-height: 1.3 !important;
        font-size: 0.95rem !important;
        padding: 0 0.5rem;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
}
