/**
 * Renewed Hope Ex-Councillors Forum (RHECF)
 * Official Civic & Responsive Design System
 * File: assets/css/style.css
 */

:root {
    --primary-forest: #006837;
    --primary-dark: #044322;
    --primary-light: #0d8b4e;
    --accent-emerald: #10b981;
    --accent-gold: #d97706;
    --accent-gold-light: #fbbf24;
    --dark-forest: #072314;
    --light-surface: #f8fafc;
    --border-subtle: #e2e8f0;
    --text-heading: #0f172a;
    --text-body: #334155;
    --text-muted: #64748b;
}

body {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--text-body);
    background-color: #fafbfc;
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6, .brand-title, .section-title {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    color: var(--text-heading);
}

/* Colors & Helpers */
.text-forest { color: var(--primary-forest) !important; }
.text-gold { color: var(--accent-gold-light) !important; }
.text-gold-dark { color: var(--accent-gold) !important; }
.text-emerald { color: var(--accent-emerald) !important; }
.bg-forest { background-color: var(--primary-forest) !important; }
.bg-dark-forest { background-color: var(--dark-forest) !important; }
.bg-emerald { background-color: var(--accent-emerald) !important; }
.bg-gold { background-color: var(--accent-gold-light) !important; }
.bg-light-surface { background-color: var(--light-surface) !important; }
.border-forest-light { border-color: rgba(255, 255, 255, 0.12) !important; }
.bg-forest-subtle { background-color: rgba(0, 104, 55, 0.12) !important; }

/* Buttons */
.btn-emerald {
    background-color: var(--primary-forest);
    border-color: var(--primary-forest);
    color: #ffffff !important;
    transition: all 0.25s ease;
}
.btn-emerald:hover, .btn-emerald:focus {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    color: #ffffff !important;
    transform: translateY(-1px);
}

.btn-outline-emerald {
    color: var(--primary-forest);
    border-color: var(--primary-forest);
    transition: all 0.25s ease;
}
.btn-outline-emerald:hover {
    background-color: var(--primary-forest);
    color: #ffffff !important;
}

.btn-gold {
    background-color: var(--accent-gold);
    border-color: var(--accent-gold);
    color: #ffffff !important;
    font-weight: 600;
}
.btn-gold:hover {
    background-color: #b45309;
    border-color: #b45309;
    color: #ffffff !important;
}

/* Top Utility Bar */
.top-util-bar {
    background: #044322;
    font-size: 13px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* Brand badge */
.brand-badge-icon {
    width: 42px;
    height: 42px;
    background: linear-gradient(135deg, #006837 0%, #10b981 100%);
    border-radius: 10px;
    font-size: 19px;
    color: #ffffff;
    box-shadow: 0 4px 10px rgba(0, 104, 55, 0.25);
}

.brand-title {
    font-size: 1.25rem;
    letter-spacing: -0.5px;
    color: #006837 !important;
}
.brand-subtitle {
    font-size: 0.72rem;
    font-weight: 500;
    color: #64748b !important;
}

/* Navigation Links (Crisp Dark Text on White Navbar) */
.navbar {
    background-color: #ffffff !important;
}
.navbar .nav-link {
    color: #0f172a !important;
    font-weight: 600;
    font-size: 0.95rem;
    transition: color 0.2s ease;
}
.navbar .nav-link:hover, .navbar .nav-link.active {
    color: var(--primary-forest) !important;
}

/* Hero Section */
.hero-section {
    background: radial-gradient(circle at 80% 20%, rgba(16, 185, 129, 0.15) 0%, transparent 50%),
                linear-gradient(135deg, #033219 0%, #004d25 60%, #006837 100%);
    position: relative;
    padding: 75px 0 85px;
}

.hero-badge {
    background: rgba(251, 191, 36, 0.15);
    border: 1px solid rgba(251, 191, 36, 0.4);
    color: #fef08a;
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: 50px;
    padding: 6px 16px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

/* Custom Card Styles */
.civic-card {
    background: #ffffff;
    border-radius: 14px;
    border: 1px solid var(--border-subtle);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.civic-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 30px rgba(0, 0, 0, 0.06);
}

/* Social Buttons */
.social-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    transition: all 0.2s ease;
    text-decoration: none;
}
.social-btn:hover {
    background: var(--accent-gold);
    color: #ffffff;
    transform: translateY(-2px);
}

.footer-links a {
    color: #cbd5e1;
    text-decoration: none;
    transition: color 0.2s ease;
}
.footer-links a:hover {
    color: var(--accent-gold-light);
    padding-left: 4px;
}

/* Form Controls */
.form-control, .form-select {
    padding: 10px 14px;
    border-radius: 8px;
    border: 1px solid #cbd5e1;
    font-size: 0.95rem;
}
.form-control:focus, .form-select:focus {
    border-color: var(--primary-forest);
    box-shadow: 0 0 0 0.2rem rgba(0, 104, 55, 0.15);
}

/* Admin Dashboard Layout */
.admin-sidebar {
    width: 260px;
    min-height: 100vh;
    background: #032d17;
    color: #e2e8f0;
}
.admin-nav-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 11px 18px;
    color: #cbd5e1;
    text-decoration: none;
    font-size: 0.92rem;
    font-weight: 500;
    border-radius: 8px;
    margin-bottom: 4px;
    transition: all 0.2s ease;
}
.admin-nav-link:hover, .admin-nav-link.active {
    background: rgba(16, 185, 129, 0.15);
    color: #ffffff;
    border-left: 3px solid var(--accent-gold-light);
}
.admin-header {
    background: #ffffff;
    border-bottom: 1px solid #e2e8f0;
    padding: 14px 24px;
}