/* ==========================================================================
   ENRICH IONIA COUNTY - UNIVERSAL MASTER STYLES
   Colors: Muted Orange (#e2994b), Sage Green (#88bf80)
   ========================================================================== */

/* --- Global Reset & Base Styles --- */
* { 
    margin: 0; 
    padding: 0; 
    box-sizing: border-box; 
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; 
}

body { 
    background-color: #fcfcfc; 
    color: #333; 
    line-height: 1.6; 
}

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

/* --- Navigation --- */
.top-bar {
    display: flex; 
    justify-content: space-between; 
    align-items: center;            
    background-color: #e2994b; 
    border-bottom: 8px solid #88bf80; 
    padding: 15px 40px;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo a { 
    color: #1a1a1a; 
    text-decoration: none; 
    font-size: 28px; 
    font-weight: bold; 
}

.nav-links { 
    list-style: none; 
    display: flex; 
    gap: 20px; 
}

.nav-links a { 
    color: #1a1a1a; 
    text-decoration: none; 
    font-weight: bold; 
    padding: 8px 12px; 
    transition: 0.3s;
}

.nav-links a:hover, .nav-links a.active { 
    background: #1a1a1a; 
    color: #fff; 
    border-radius: 4px; 
}

/* --- Hero Section (Fixed Overlay) --- */
.hero, .hero-subpage, .about-hero {
    min-height: 400px;
    position: relative;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-align: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%; /* Fix: Ensures filter covers the whole image */
    height: 100%;
    background: rgba(0, 0, 0, 0.7); /* Dark filter for readability */
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.hero-content, .hero-overlay .container {
    position: relative;
    z-index: 2;
    width: 100%;
}

.hero h1, .hero-subpage h1, .about-hero h1 { 
    font-size: 48px; 
    margin-bottom: 10px; 
    text-transform: uppercase;
}

.hero-subline, .hero-subpage h1 { color: #e2994b; }
.hero-subtitle { font-size: 24px; font-weight: 300; }

/* --- Section Headings (Standardized Vertical Line) --- */
.section-heading, .text-block h2, .program-intro h2 {
    font-size: 32px;
    margin-bottom: 30px;
    border-left: 8px solid #e2994b; /* Muted Orange Accent */
    padding-left: 20px;
    text-align: left; /* Default */
}

/* Center aligned headings (Used for Mission) */
.center-heading {
    text-align: center;
    border-left: none;
    margin-bottom: 20px;
}

/* --- Home Page Specifics --- */
.program-intro { padding: 80px 0; text-align: center; }
.mission-text { max-width: 850px; font-size: 19px; text-align: left;}


.high-need-banner {
    background: #f4f9f3; /* Soft Sage Tint */
    color: #333;
    padding: 25px; 
    border-radius: 8px; 
    display: inline-block; 
    border-left: 10px solid #88bf80; /* Thick Orange Urgent Border */
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.hours-list{
    list-style-type:none;
    padding-left: 3rem;
}

/* --- Card System (The "Forms" Look) --- */
.info-grid, .benefit-grid, .policy-grid, .hours-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.card, .info-card, .benefit-item, .hours-card, .policy-block, .volunteer-card {
    background: #fff;
    padding: 35px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    border-top: 8px solid #88bf80; /* Sage Green Top Border */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.long-card {
    background: #fff;
    padding: 35px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    border-left: 8px solid #88bf80; /* Sage Green Top Border */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* Alternate color for "Notice" or "Shop" cards */
.card-orange, .info-card.shop, .hours-card.notice {
    border-left-color: #88bf80;
}

/* Card Stack (Used on Forms Page) */
.card-stack { display: flex; flex-direction: column; gap: 25px; }
.card-horizontal { 
    flex-direction: row; 
    align-items: center; 
    border-top: none; 
    border-left: 8px solid #88bf80; 
}

/* --- Content Sections & Spacing --- */
.section, .content-section, .volunteer-bg, .info-grid-section {
    padding: 60px 0 60px 0; /* Huge 160px bottom padding to ensure footer gap */
}

.bg-light { background-color: #f2f2f2; }

/* --- Buttons --- */
.btn-main, .btn-link {
    background-color: #e2994b;
    color: #1a1a1a;
    text-decoration: none;
    font-weight: bold;
    padding: 14px 28px;
    border-radius: 4px;
    border: 2px solid #e2994b;
    transition: 0.3s ease;
    display: inline-block;
    text-align: center;
}

.btn-main:hover {
    background-color: #1a1a1a;
    color: #fff;
    border-color: #88bf80;
}

/* --- Footer --- */
.footer, .bottom-footer {
    background: #1a1a1a;
    color: #fff;
    text-align: center;
    padding: 60px 20px;
    border-top: 8px solid #e2994b;
    margin-top:50px;
}

/* --- Mobile Responsive --- */
@media (max-width: 768px) {
    .top-bar { flex-direction: column; gap: 15px; }
    .hero h1 { font-size: 32px; }
    .card-horizontal { flex-direction: column; text-align: center; }
}
