/* ==========================================================================
   CMATVTC — Central Maine ATV Trail Connectors
   Forest green / earth tone theme
   ========================================================================== */

:root {
    --forest-dark:  #1a3a1a;
    --forest:       #2d5016;
    --forest-light: #3d6b22;
    --forest-muted: #5a8a3a;
    --accent:       #d4a017;
    --accent-hover: #b8890f;
    --earth:        #8b6914;
    --earth-light:  #f5f0e1;
    --text-dark:    #1a1a1a;
    --text-muted:   #6c757d;
}

/* ---------- Navbar ---------- */
.bg-forest {
    background-color: var(--forest-dark) !important;
}

.navbar-brand {
    font-size: 1.3rem;
    letter-spacing: 1px;
}

.info-bar {
    background-color: var(--forest) !important;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.85rem;
}

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

/* ---------- Buttons ---------- */
.btn-forest {
    background-color: var(--forest);
    border-color: var(--forest);
    color: #fff;
}
.btn-forest:hover {
    background-color: var(--forest-dark);
    border-color: var(--forest-dark);
    color: #fff;
}

.btn-outline-forest {
    border-color: var(--forest);
    color: var(--forest);
}
.btn-outline-forest:hover {
    background-color: var(--forest);
    color: #fff;
}

.btn-accent {
    background-color: var(--accent);
    border-color: var(--accent);
    color: #000;
    font-weight: 600;
}
.btn-accent:hover {
    background-color: var(--accent-hover);
    border-color: var(--accent-hover);
    color: #000;
}

/* ---------- Hero Banner ---------- */
.hero-banner {
    min-height: 400px;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(26, 58, 26, 0.85), rgba(45, 80, 22, 0.7));
}

.min-vh-banner {
    min-height: 350px;
}

/* ---------- Page Banner ---------- */
.page-banner {
    min-height: 200px;
    overflow: hidden;
}

.bg-forest-light {
    background-color: var(--forest) !important;
}

/* ---------- Text utilities ---------- */
.text-forest {
    color: var(--forest) !important;
}

.text-accent {
    color: var(--accent) !important;
}

.text-muted-light {
    color: rgba(255, 255, 255, 0.65) !important;
}

/* ---------- Footer ---------- */
.site-footer {
    background-color: var(--forest-dark);
    color: #fff;
    padding: 3rem 0 1.5rem;
    border-top: 4px solid var(--accent);
}

.site-footer h5 {
    color: var(--accent);
    margin-bottom: 1rem;
}

.site-footer hr {
    border-color: rgba(255, 255, 255, 0.2);
    margin: 2rem 0 1.5rem;
}

.footer-links {
    list-style: none;
    padding: 0;
    line-height: 2.2;
}

.footer-links a,
.social-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
}

.footer-links a:hover,
.social-links a:hover {
    color: var(--accent);
}

.footer-links .fas {
    font-size: 0.7rem;
    color: var(--accent);
}

/* ---------- Cards ---------- */
.officer-card .card-img-top {
    object-fit: cover;
    height: 250px;
}

/* ---------- Content blocks ---------- */
.content-block {
    border-radius: 0.375rem;
}

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

/* ---------- Carousel ---------- */
.carousel-caption {
    background: rgba(0, 0, 0, 0.5);
    border-radius: 0.5rem;
    padding: 1rem 2rem;
}

/* ---------- Responsive ---------- */
@media (max-width: 768px) {
    .hero-banner {
        min-height: 300px;
    }
    .min-vh-banner {
        min-height: 250px;
    }
    .display-4 {
        font-size: 2rem;
    }
}
