/* ============================================================
   HOPE FOR BRANTLEY – COMPLETE STYLESHEET
   Palette: Navy (#1a2a4a), Red (#c8102e), Cream (#faf7f2)
   ============================================================ */

* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    --navy: #1a2a4a;
    --red: #c8102e;
    --cream: #faf7f2;
    --white: #ffffff;
    --text: #2c3e50;
    --text-muted: #4a5568;
    --border: #e8e2d9;
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
    --shadow-md: 0 6px 24px rgba(0,0,0,0.08);
    --shadow-lg: 0 16px 48px rgba(0,0,0,0.12);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text);
    background-color: var(--cream);
    line-height: 1.7;
}

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

h1, h2, h3, h4 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    line-height: 1.2;
    color: var(--navy);
}

a { color: var(--red); text-decoration: none; }
a:hover { color: #a00d25; }
img { max-width: 100%; display: block; }

/* ===== TOP BAR ===== */
.top-bar { background: var(--navy); color: #d4dce6; font-size: 0.85rem; padding: 0.5rem 0; }
.top-bar-flex { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; }
.top-bar a { color: #d4dce6; margin-left: 1rem; }
.top-bar a:hover { color: #fff; }
.donate-btn-top { background: var(--red); color: #fff !important; padding: 0.4rem 1.2rem; border-radius: 4px; font-weight: 600; }
.donate-btn-top:hover { background: #a00d25; }

/* ===== HEADER ===== */
header { background: var(--white); box-shadow: 0 2px 12px rgba(0,0,0,0.06); position: sticky; top: 0; z-index: 1000; }
.header-flex { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; padding: 1rem 0; }
.logo-area { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.logo-area img { height: 55px; width: auto; }
.logo-text .org-name { font-family: 'Playfair Display', serif; font-size: 1.4rem; font-weight: 700; color: var(--navy); line-height: 1.1; display: block; }
.logo-text .tagline { font-size: 0.65rem; color: var(--red); letter-spacing: 1.5px; text-transform: uppercase; font-weight: 600; display: block; }

nav ul { display: flex; list-style: none; gap: 1.3rem; align-items: center; flex-wrap: wrap; }
nav a { color: var(--navy); font-weight: 500; font-size: 0.9rem; padding: 0.3rem 0; border-bottom: 2px solid transparent; transition: all 0.3s; }
nav a:hover { color: var(--red); border-bottom-color: var(--red); }

.menu-toggle { display: none; background: none; border: none; color: var(--navy); font-size: 1.8rem; cursor: pointer; }

/* ===== HERO ===== */
.hero { position: relative; min-height: 600px; display: flex; align-items: center; justify-content: center; text-align: center; color: #fff; background-size: cover; background-position: center; padding: 4rem 2rem; }
.hero::before { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(26,42,74,0.78) 0%, rgba(26,42,74,0.6) 100%); }
.hero-content { position: relative; z-index: 2; max-width: 850px; }
.hero-eyebrow { font-family: 'Playfair Display', serif; font-style: italic; font-size: 1.05rem; color: #f5d78e; letter-spacing: 2px; margin-bottom: 0.75rem; }
.hero h1 { font-size: 3.3rem; color: #fff; line-height: 1.15; margin-bottom: 1rem; }
.hero h1 .accent { color: #f5d78e; font-style: italic; }
.hero p { font-size: 1.15rem; color: #e8edf2; max-width: 700px; margin: 0 auto 2rem; }
.hero-buttons { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; }

/* ===== BUTTONS ===== */
.btn { display: inline-block; padding: 0.85rem 2rem; border-radius: 4px; font-weight: 600; font-family: 'Inter', sans-serif; transition: all 0.3s ease; text-align: center; cursor: pointer; font-size: 0.95rem; text-decoration: none; }
.btn-primary { background: var(--red); color: #fff; border: 2px solid var(--red); }
.btn-primary:hover { background: #a00d25; border-color: #a00d25; transform: translateY(-2px); box-shadow: 0 6px 20px rgba(200,16,46,0.3); }
.btn-secondary { background: transparent; color: #fff; border: 2px solid #fff; }
.btn-secondary:hover { background: #fff; color: var(--navy); transform: translateY(-2px); }
.btn-navy { background: var(--navy); color: #fff; border: 2px solid var(--navy); }
.btn-navy:hover { background: #0f1a2e; transform: translateY(-2px); }
.btn-small { color: var(--red); font-weight: 600; font-size: 0.9rem; }
.btn-small:hover { color: #a00d25; }

/* ===== IMPACT BAR ===== */
.impact-bar { background: var(--white); padding: 2rem 0; border-bottom: 1px solid var(--border); }
.impact-bar-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1.5rem; text-align: center; }
.impact-bar-item .number { font-family: 'Playfair Display', serif; font-size: 2rem; font-weight: 700; color: var(--red); display: block; line-height: 1; }
.impact-bar-item .label { font-size: 0.78rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.8px; margin-top: 0.4rem; display: block; }

/* ===== SECTIONS ===== */
section { padding: 4rem 0; }
.section-title { text-align: center; font-size: 2.3rem; margin-bottom: 0.5rem; }
.section-subtitle { text-align: center; color: var(--text-muted); max-width: 700px; margin: 0 auto 2.5rem; font-size: 1.05rem; }

/* ===== PRIORITY CARDS ===== */
.priority-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.priority-card { position: relative; border-radius: 8px; overflow: hidden; min-height: 320px; display: flex; align-items: flex-end; text-decoration: none; color: #fff; background-size: cover; background-position: center; transition: transform 0.3s ease; }
.priority-card:hover { transform: translateY(-4px); }
.priority-card::before { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(26,42,74,0.9), rgba(26,42,74,0.15)); }
.priority-card-content { position: relative; z-index: 2; padding: 1.5rem; }
.priority-card-content h4 { color: #fff; font-size: 1.3rem; margin-bottom: 0.3rem; }
.priority-card-content p { font-size: 0.9rem; color: #d4dce6; }

/* ===== NEWS & EVENTS ===== */
.news-events-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; }
.news-item, .event-item { display: flex; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid var(--border); }
.news-item:last-child, .event-item:last-child { border-bottom: none; }
.news-date, .event-date { background: var(--red); color: #fff; border-radius: 6px; padding: 0.5rem 0.8rem; text-align: center; min-width: 60px; height: fit-content; }
.news-date .month, .event-date .month { font-size: 0.7rem; text-transform: uppercase; display: block; font-weight: 600; }
.news-date .day, .event-date .day { font-size: 1.3rem; font-weight: 700; font-family: 'Playfair Display', serif; display: block; }

/* ===== PARTNERS ===== */
.partners-row { display: flex; flex-wrap: wrap; gap: 2rem; justify-content: center; align-items: center; }
.partner-logo { height: 50px; width: auto; filter: grayscale(100%); opacity: 0.7; transition: all 0.3s ease; }
.partner-logo:hover { filter: grayscale(0%); opacity: 1; }

/* ===== HOPE GEAR ===== */
.gear-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.gear-card { background: var(--white); border-radius: 8px; overflow: hidden; box-shadow: var(--shadow-sm); text-align: center; transition: transform 0.3s ease; }
.gear-card:hover { transform: translateY(-4px); }
.gear-card img { width: 100%; height: 280px; object-fit: cover; }
.gear-card h4 { margin: 1rem 0 0.3rem; font-size: 1.1rem; }
.gear-card .price { color: var(--red); font-weight: 700; font-size: 1.1rem; }

/* ===== FORMS ===== */
.form-group { margin-bottom: 1.25rem; }
label { display: block; font-weight: 600; margin-bottom: 0.5rem; font-size: 0.9rem; }
input, select, textarea { width: 100%; padding: 0.75rem 1rem; border: 1px solid var(--border); border-radius: 6px; font-family: inherit; font-size: 0.95rem; background: #fff; transition: border-color 0.3s ease; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 3px rgba(200,16,46,0.08); }
button[type="submit"] { background: var(--red); border: none; padding: 0.85rem 2rem; font-weight: 600; border-radius: 4px; cursor: pointer; color: #fff; font-size: 0.95rem; transition: background 0.3s ease; }
button[type="submit"]:hover { background: #a00d25; }

/* ===== PAGE HERO ===== */
.page-hero { background: linear-gradient(135deg, var(--navy) 0%, #2a3a5a 100%); color: #fff; padding: 4rem 0; text-align: center; }
.page-hero h1 { color: #fff; font-size: 2.8rem; margin-bottom: 0.5rem; }
.page-hero p { color: #d4dce6; font-size: 1.15rem; max-width: 700px; margin: 0 auto; }
.gold-line { width: 80px; height: 4px; background: var(--red); margin: 1rem auto; border-radius: 2px; }

/* ===== GALLERY ===== */
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.gallery-item { position: relative; overflow: hidden; border-radius: 8px; height: 220px; background: #d4dce6; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.gallery-item:hover img { transform: scale(1.05); }

/* ===== VIDEO GRID ===== */
.video-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.video-card { background: #fff; border-radius: 8px; overflow: hidden; box-shadow: var(--shadow-sm); }
.video-player video { width: 100%; height: auto; display: block; background: var(--navy); }
.video-info { padding: 1rem 1.2rem 1.2rem; }
.video-info h4 { font-family: 'Inter', sans-serif; font-size: 1rem; margin-bottom: 0.25rem; }
.video-info p { color: var(--text-muted); font-size: 0.85rem; }

/* ===== CARDS ===== */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; }
.card { background: #fff; border-radius: 12px; padding: 2rem; box-shadow: var(--shadow-sm); transition: all 0.3s ease; border: 1px solid rgba(0,0,0,0.04); }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card h4 { color: var(--navy); margin-bottom: 0.5rem; }
.card-icon { font-size: 2rem; margin-bottom: 0.75rem; color: var(--red); }

/* ===== PRAYER WALL ===== */
.prayer-submit { background: #fff; padding: 2rem; border-radius: 12px; margin-bottom: 2rem; box-shadow: var(--shadow-sm); }
.prayer-card { background: #fff; border-left: 5px solid var(--red); padding: 1rem 1.25rem; margin-bottom: 1rem; border-radius: 8px; box-shadow: var(--shadow-sm); }
.prayer-name { font-weight: 700; color: var(--navy); }
.prayer-date { font-size: 0.8rem; color: var(--text-muted); margin-bottom: 0.5rem; }

/* ===== FOOTER ===== */
footer { background: var(--navy); color: #a0b4c8; padding: 3rem 0 1.5rem; margin-top: 3rem; }
.footer-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; margin-bottom: 2rem; }
.footer-grid h4 { color: #f5d78e; font-size: 1rem; margin-bottom: 0.75rem; }
.footer-grid p, .footer-grid a { color: #a0b4c8; font-size: 0.9rem; display: block; margin-bottom: 0.4rem; }
.footer-grid a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding-top: 1.5rem; text-align: center; font-size: 0.85rem; color: #6a7b8a; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .impact-bar-grid { grid-template-columns: repeat(3, 1fr); }
    .priority-grid { grid-template-columns: repeat(2, 1fr); }
    .gear-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
    .gallery-grid { grid-template-columns: repeat(3, 1fr); }
    .video-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .hero h1 { font-size: 2.2rem; }
    .hero p { font-size: 1rem; }
    .impact-bar-grid { grid-template-columns: repeat(2, 1fr); }
    .priority-grid { grid-template-columns: 1fr; }
    .news-events-grid { grid-template-columns: 1fr; }
    .gear-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .gallery-grid { grid-template-columns: repeat(2, 1fr); }
    .video-grid { grid-template-columns: 1fr; }
    .grid-3, .grid-2 { grid-template-columns: 1fr; }
    nav ul { display: none; }
    nav ul.show { display: flex; flex-direction: column; width: 100%; }
    .menu-toggle { display: block; }
    .page-hero h1 { font-size: 2rem; }
}
@media (max-width: 480px) {
    .gallery-grid { grid-template-columns: 1fr; }
    .impact-bar-grid { grid-template-columns: 1fr; }
    .hero h1 { font-size: 1.8rem; }
}
/* ===== FORM SPECIFIC STYLES ===== */
.radio-group, .checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.radio-group label, .checkbox-group label {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-weight: 400;
    cursor: pointer;
    margin-bottom: 0;
}

.radio-group input[type="radio"], 
.checkbox-group input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-top: 0.25rem;
    accent-color: var(--red);
    flex-shrink: 0;
}

/* Christmas Wish Dynamic Fields */
.person-block {
    background: var(--cream);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 1.25rem;
    margin-bottom: 1rem;
    position: relative;
}

.person-block h5 {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    color: var(--navy);
    margin-bottom: 1rem;
}

.person-block .remove-btn {
    background: #fee2e2;
    color: #991b1b;
    border: none;
    padding: 0.4rem 0.8rem;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    margin-top: 0.5rem;
}

.person-block .remove-btn:hover {
    background: #fecaca;
}

.add-btn {
    background: var(--navy);
    color: white;
    border: none;
    padding: 0.6rem 1.2rem;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    font-size: 0.9rem;
    margin-right: 0.5rem;
    margin-bottom: 1rem;
}

.add-btn:hover {
    background: var(--navy-light);
}