/* ===========================================
   CLAY COUNTY STEM ALLIANCE - MAIN STYLESHEET
   CONSOLIDATED - NO DUPLICATES
   =========================================== */

/* === GLOBAL STYLES === */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
}

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

/* === HEADER & NAVIGATION === */
header {
    background: linear-gradient(135deg, #2980b9, #3498db);
    color: white;
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

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

.logo h1 {
    font-size: 1.8rem;
    font-weight: bold;
}

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

.nav-links a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    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;
    z-index: 1001;
}

.mobile-menu-toggle:hover {
    opacity: 0.8;
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 999;
}

.mobile-menu-overlay.active {
    display: block;
}

/* === HERO SECTION === */
.hero {
    background: linear-gradient(rgba(41, 128, 185, 0.8), rgba(52, 152, 219, 0.8)), 
                url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><rect fill="%23f8f9fa" width="1200" height="600"/><circle fill="%233498db" opacity="0.1" cx="200" cy="150" r="80"/><circle fill="%23e74c3c" opacity="0.1" cx="800" cy="300" r="120"/><circle fill="%239b59b6" opacity="0.1" cx="1000" cy="100" r="60"/></svg>');
    color: white;
    text-align: center;
    padding: 6rem 0;
}

.hero h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
    animation: fadeInUp 1s ease;
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    animation: fadeInUp 1s ease 0.2s both;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease 0.4s both;
}

.btn {
    padding: 12px 30px;
    border: none;
    border-radius: 25px;
    font-size: 1.1rem;
    font-weight: bold;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-primary {
    background: #e74c3c;
    color: white;
}

.btn-secondary {
    background: rgba(255,255,255,0.2);
    color: white;
    border: 2px solid white;
}

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

/* === ABOUT SECTION === */
.about {
    padding: 4rem 0;
    background: #f8f9fa;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.about-text h3,
.section-title {
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 1.5rem;
    text-align: center;
}

.about-text h4 {
    font-size: 1.5rem;
    color: #2980b9;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.about-text p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: #666;
}

.about-text ul,
.about-text ol {
    margin-left: 2rem;
    margin-bottom: 1.5rem;
    color: #666;
}

.about-text li {
    margin-bottom: 0.5rem;
}

.highlight-box {
    background: linear-gradient(135deg, #fd79a8, #e84393);
    color: white;
    padding: 2rem;
    border-radius: 15px;
}

.highlight-box h4 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    margin-top: 1.5rem;
    color: white;
}

.highlight-box h4:first-of-type {
    margin-top: 0;
}

.highlight-box p {
    margin-bottom: 1rem;
    color: white;
}

.highlight-box ul,
.highlight-box ol {
    margin-left: 2rem;
    margin-bottom: 1rem;
}

.highlight-box li {
    margin-bottom: 0.5rem;
}

/* === STORY DETAIL PAGE === */
.story-detail {
    padding: 4rem 0;
    background: white;
}

.story-content {
    max-width: 900px;
    margin: 0 auto;
}

.story-content h2 {
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 2rem;
    text-align: center;
}

.story-content h3 {
    font-size: 2rem;
    color: #2c3e50;
    margin-top: 3rem;
    margin-bottom: 1.5rem;
}

.story-content h4 {
    font-size: 1.5rem;
    color: #2980b9;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.story-content p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: #666;
    line-height: 1.8;
}

.story-content ul {
    margin-left: 2rem;
    margin-bottom: 1.5rem;
    color: #666;
}

.story-content li {
    margin-bottom: 0.5rem;
}

/* === PROGRAMS SECTION === */
.programs {
    padding: 4rem 0;
    background: white;
}

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

.program-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-top: 4px solid #3498db;
    cursor: pointer;
}

.program-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.program-card .icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.program-card h4 {
    font-size: 1.3rem;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.program-card h4 a {
    color: #2980b9;
    text-decoration: underline;
    text-decoration-color: rgba(41, 128, 185, 0.3);
    text-underline-offset: 3px;
    font-weight: bold;
    transition: all 0.3s ease;
}

.program-card h4 a:hover {
    color: #3498db;
    text-decoration-color: #3498db;
}

.program-card p {
    color: #666;
    line-height: 1.6;
}

/* === PROGRAM DETAIL PAGES === */
.program-hero {
    background: linear-gradient(rgba(41, 128, 185, 0.9), rgba(52, 152, 219, 0.9));
    color: white;
    text-align: center;
    padding: 4rem 0 3rem 0;
}

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

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

.program-hero p {
    font-size: 1.2rem;
    opacity: 0.95;
}

.program-content {
    padding: 3rem 0;
    background: white;
}

.program-section {
    margin-bottom: 3rem;
}

.program-section h3 {
    color: #2c3e50;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    border-bottom: 3px solid #3498db;
    padding-bottom: 0.5rem;
}

.program-section h4 {
    color: #2980b9;
    font-size: 1.3rem;
    margin-top: 1.5rem;
    margin-bottom: 1rem;
}

.program-section p {
    color: #666;
    line-height: 1.8;
    margin-bottom: 1rem;
    font-size: 1.05rem;
}

.program-section ul,
.program-section ol {
    color: #666;
    line-height: 1.8;
    margin-left: 2rem;
    margin-bottom: 1rem;
}

.program-section li {
    margin-bottom: 0.5rem;
}

.program-section a {
    color: #2980b9;
    text-decoration: underline;
}

.program-section a:hover {
    color: #3498db;
}

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

.highlight-card {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 10px;
    border-left: 4px solid #3498db;
}

.highlight-card h4 {
    color: #2c3e50;
    margin-top: 0;
    margin-bottom: 0.5rem;
}

.highlight-card p {
    color: #666;
    font-size: 0.95rem;
    margin-bottom: 0;
}

.schedule-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1rem;
    background: white;
}

.schedule-table th,
.schedule-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

.schedule-table th {
    background: #3498db;
    color: white;
    font-weight: bold;
}

.schedule-table tr:hover {
    background: #f8f9fa;
}

.cta-box {
    background: linear-gradient(135deg, #fd79a8, #e84393);
    color: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    margin-top: 3rem;
}

.cta-box h3 {
    margin-bottom: 1rem;
    color: white;
    border: none;
    padding: 0;
}

.cta-box p {
    color: white;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.cta-box .btn {
    background: white;
    color: #e84393;
}

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

/* === VOLUNTEER/GET INVOLVED SECTION === */
.get-involved {
    background: linear-gradient(135deg, #2c3e50, #34495e);
    color: white;
    padding: 4rem 0;
}

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

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

.involvement-card h4 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: white;
}

.involvement-card ul {
    list-style: none;
    color: white;
}

.involvement-card li {
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
}

.involvement-card li:before {
    content: "→";
    position: absolute;
    left: 0;
}

/* === DONATION PAGE === */
.donation {
    padding: 4rem 0;
    background: #f8f9fa;
}

.donation .section-title {
    text-align: center;
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.donation > .container > p {
    text-align: center;
    color: #666;
}

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

.donation-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    border-top: 4px solid #27ae60;
}

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

.donation-card h4 {
    font-size: 1.5rem;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.donation-card p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.donation-card ul {
    list-style: none;
    color: #666;
    line-height: 1.8;
    margin-left: 0;
}

.donation-card li {
    padding-left: 1.5rem;
    position: relative;
    margin-bottom: 0.5rem;
}

.donation-card li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #27ae60;
    font-weight: bold;
}

.zelle-info {
    background: #e8f5e9;
    padding: 1.5rem;
    border-radius: 10px;
    border-left: 4px solid #27ae60;
    margin-top: 1rem;
    font-size: 1.1rem;
    line-height: 1.8;
}

.zelle-info strong {
    color: #2c3e50;
}

.zelle-info small {
    color: #666;
    font-style: italic;
}

.tax-info {
    background: #fff3cd;
    padding: 1.5rem;
    border-radius: 10px;
    border-left: 4px solid #ffc107;
    margin-top: 2rem;
    text-align: center;
}

.tax-info p {
    color: #856404;
    margin-bottom: 0;
    font-size: 0.95rem;
}

/* === CONTACT SECTION === */
.contact {
    background: #2c3e50;
    color: white;
    padding: 3rem 0;
    text-align: center;
}

.contact h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.contact-info {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.1rem;
}

/* === FOOTER === */
footer {
    background: #1a1a1a;
    color: white;
    text-align: center;
    padding: 2rem 0;
}

.footer-social {
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255,255,255,0.2);
}

.footer-social-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 0.5rem;
}

.footer-social-link {
    text-decoration: none;
    transition: transform 0.3s ease;
    display: inline-block;
}

.footer-social-link:hover {
    transform: translateY(-3px);
}

.footer-social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    font-weight: bold;
    transition: all 0.3s ease;
}

.footer-social-icon.facebook {
    background: #1877f2;
    color: white;
}

.footer-social-icon.instagram {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: white;
}

.footer-social-link:hover .footer-social-icon {
    box-shadow: 0 3px 10px rgba(255,255,255,0.3);
}

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

/* === RESPONSIVE DESIGN === */
@media (max-width: 768px) {
    /* Mobile Navigation */
    .mobile-menu-toggle {
        display: block;
    }

    .nav-links {
        display: none;
        position: fixed;
        top: 0;
        right: 0;
        width: 70%;
        max-width: 300px;
        height: 100vh;
        background: linear-gradient(135deg, #2980b9, #3498db);
        flex-direction: column;
        padding: 4rem 2rem 2rem 2rem;
        box-shadow: -2px 0 10px rgba(0,0,0,0.3);
        z-index: 1000;
        gap: 0;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        width: 100%;
        text-align: left;
        border-bottom: 1px solid rgba(255,255,255,0.2);
    }

    .nav-links a {
        display: block;
        padding: 1rem 0;
        width: 100%;
    }

    .nav-links::before {
        content: "✕";
        position: absolute;
        top: 1rem;
        right: 1rem;
        font-size: 2rem;
        color: white;
        cursor: pointer;
    }

    /* Other Mobile Adjustments */
    .hero h2 {
        font-size: 2rem;
    }

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

    .about-content {
        grid-template-columns: 1fr;
    }

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

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

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

    .donation-options {
        grid-template-columns: 1fr;
    }

    .contact-info {
        flex-direction: column;
        gap: 1.5rem;
    }

    .program-hero h2 {
        font-size: 2rem;
    }

    .program-hero .icon {
        font-size: 3rem;
    }

    .schedule-table {
        font-size: 0.9rem;
    }

    .schedule-table th,
    .schedule-table td {
        padding: 0.75rem 0.5rem;
    }
}