/* ==========================================================
   Bowiri Traditional Council - style.css
   Royal Gold + Deep Green Theme | Responsive + Mobile Nav
   ========================================================== */

:root {
  --gold: #D4AF37;
  --green: #0b5a3f;
  --maroon: #4B0E0E;
  --ivory: #FAF6F0;
  --max-width: 1100px;
  --shadow: 0 8px 24px rgba(11,11,11,0.08);
}

/* Reset & Base */
* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; }
body {
  font-family: 'Poppins', system-ui, -apple-system, Segoe UI, Roboto, 'Helvetica Neue', Arial;
  color: #111;
  background: var(--ivory);
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}
.container { width: 92%; max-width: var(--max-width); margin: 0 auto; padding-bottom: 40px; }

/* ==============================
   HEADER + NAVIGATION
   ============================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
}
.brand {
  display: flex;
  align-items: center;
  text-decoration: none;
}
.brand-text {
  font-family: 'Playfair Display', serif;
  font-size: 18px;
  color: var(--green);
  font-weight: 700;
}
.logo-btc {
  width: 56px;
  height: 56px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--gold), #f1c85a);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #111;
  font-weight: 700;
  margin-right: 10px;
}

/* Navigation */
nav {
  display: flex;
  gap: 12px;
  align-items: center;
}
.nav-toggle {
  display: inline-block;
  background: transparent;
  border: 0;
  font-size: 22px;
  padding: 6px 10px;
  color: var(--green);
  cursor: pointer;
}
.main-nav {
  display: none;
  gap: 12px;
}
.main-nav .nav-link {
  text-decoration: none;
  padding: 10px;
  display: inline-block;
  color: var(--green);
  font-weight: 600;
  transition: 0.3s ease;
}
.main-nav .nav-link:hover {
  color: var(--gold);
}
.main-nav .nav-link.active {
  color: var(--gold);
}

/* Mobile menu show state */
.main-nav.show {
  display: flex;
  flex-direction: column;
  background: rgba(255, 255, 255, 0.98);
  position: absolute;
  top: 70px;
  right: 20px;
  left: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 18px rgba(0,0,0,0.15);
  padding: 12px;
  z-index: 100;
}

/* ==============================
   HERO SECTION
   ============================== */
.hero {
  min-height: 48vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  color: white;
  margin: 18px 0;
  border-radius: 10px;
  overflow: hidden;
  background-size: cover;
  background-position: center;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.18), rgba(0,0,0,0.46));
}
.hero-content {
  position: relative;
  text-align: center;
  padding: 36px 12px;
}
.lead {
  font-size: 20px;
  margin: 0 0 8px;
}
.lead-sub {
  opacity: 0.95;
  margin-bottom: 12px;
}
.btn {
  display: inline-block;
  background: var(--gold);
  color: #111;
  padding: 10px 16px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}
.btn:hover {
  background: #f1c85a;
}

/* ==============================
   CONTENT SECTIONS
   ============================== */
.highlights {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-top: 12px;
}
.card {
  background: white;
  padding: 14px;
  border-radius: 10px;
  box-shadow: var(--shadow);
}
.card h3 { margin-top: 0; }
.link {
  color: var(--green);
  text-decoration: none;
  font-weight: 600;
}
.link:hover { color: var(--gold); }

.content-block {
  background: white;
  padding: 18px;
  border-radius: 10px;
  box-shadow: var(--shadow);
  margin: 18px 0;
}
.leader-card {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-top: 12px;
}
.leader-card img {
  width: 140px;
  height: 120px;
  object-fit: cover;
  border-radius: 8px;
}

/* ==============================
   PROJECTS & DONATION
   ============================== */
.project-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
.project-card {
  background: white;
  padding: 12px;
  border-radius: 8px;
  box-shadow: var(--shadow);
}
.donation-box {
  background: linear-gradient(90deg, rgba(212,175,55,0.06), rgba(11,90,63,0.02));
  padding: 12px;
  border-radius: 8px;
  margin-top: 12px;
}

/* ==============================
   CONTACT FORM
   ============================== */
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 10px;
  border-radius: 8px;
  border: 1px solid #ddd;
  margin-bottom: 10px;
}

/* ==============================
   FOOTER
   ============================== */
.site-footer {
  background: #07251b;
  color: #fff;
  padding: 18px 0;
  margin-top: 20px;
}
.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
}
.logo-sm {
  width: 48px;
  height: 48px;
  border-radius: 6px;
  background: linear-gradient(135deg, var(--gold), #f1c85a);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}
.footer-right a {
  color: var(--gold);
  text-decoration: none;
}

/* ==============================
   ANIMATIONS & REVEAL
   ============================== */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: all 600ms cubic-bezier(.2, .9, .2, 1);
}

/* ==============================
   RESPONSIVE DESIGN
   ============================== */
@media (min-width: 720px) {
  .main-nav { display: flex; }
  .nav-toggle { display: none; }
  .highlights { grid-template-columns: repeat(3, 1fr); }
  .project-list { grid-template-columns: repeat(3, 1fr); }
  .footer-inner { flex-direction: row; }
}
/* ==========================================================
   Dark Traditional Theme Overrides - Append Only
   ========================================================== */

/* Root Colors */
:root {
  --dark-bg: #0a0f0f;
  --dark-gray: #111518;
  --red-accent: #a71d2a;
  --text-light: #f5f5f5;
  --shadow-dark: rgba(0,0,0,0.6);
}

/* General Overrides */
body, section, .content-block, .card, .project-card, .donation-box {
  background-color: var(--dark-bg) !important;
  color: var(--text-light) !important;
}
a, .link {
  color: var(--red-accent) !important;
}
a:hover, .link:hover, .btn:hover {
  color: #ff4c4c !important;
  background-color: #3f0d0d !important;
}

/* Hero Section Overrides */
.hero, .hero-overlay, .hero-content {
  background-color: var(--dark-bg) !important;
  color: var(--text-light) !important;
}
.hero h1 {
  color: var(--red-accent) !important;
}
.hero p {
  color: var(--text-light) !important;
}

/* Buttons */
.btn, button {
  background-color: var(--red-accent) !important;
  color: var(--text-light) !important;
  border-radius: 6px;
}
.btn:hover, button:hover {
  background-color: #ff4c4c !important;
}

/* Leadership Gallery */
.leadership-gallery {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  padding: 30px 10px;
}

.portrait-frame {
  width: 100%;
  max-width: 220px;
  text-align: center;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.portrait-frame img {
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 10px 25px var(--shadow-dark);
}

.portrait-frame:hover img {
  transform: scale(1.05);
  box-shadow: 0 15px 35px var(--shadow-dark);
}

/* Modal Lightbox */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  padding-top: 60px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(10,15,15,0.95);
}

.modal-content {
  margin: auto;
  display: block;
  max-width: 80%;
  max-height: 80%;
  border-radius: 8px;
  animation: zoom 0.3s;
}

@keyframes zoom {
  from {transform: scale(0);}
  to {transform: scale(1);}
}

#caption {
  text-align: center;
  color: var(--text-light);
  padding: 10px;
  font-size: 18px;
}

.close {
  position: absolute;
  top: 20px;
  right: 35px;
  color: var(--red-accent);
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
}

/* Footer */
.site-footer {
  background-color: #111518 !important;
  color: var(--text-light) !important;
}
.site-footer a {
  color: var(--red-accent) !important;
}
.site-footer a:hover {
  color: #ff4c4c !important;
}

/* Responsive adjustments (mobile-friendly) */
@media (max-width: 768px) {
  .leadership-gallery {
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    padding: 20px 5px;
  }

  .portrait-frame {
    max-width: 45%;
    margin-bottom: 16px;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1rem;
  }
}
/* ==========================================================
   FULL SITE DARK THEME OVERRIDES
   Append at the end of style.css
   ========================================================== */

/* Root Colors */
:root {
  --dark-bg: #0a0f0f;
  --dark-gray: #111518;
  --dark-card: #1a1f21;
  --red-accent: #a71d2a;
  --text-light: #f5f5f5;
  --text-muted: #bbbbbb;
  --shadow-dark: rgba(0,0,0,0.6);
}

/* ==============================
   Body and Base
   ============================== */
body, html {
  background-color: var(--dark-bg) !important;
  color: var(--text-light) !important;
}

section, .container, .content-block, .card, .project-card, .donation-box {
  background-color: var(--dark-card) !important;
  color: var(--text-light) !important;
  box-shadow: 0 6px 24px var(--shadow-dark) !important;
}

p, span, li, h1, h2, h3, h4, h5, h6 {
  color: var(--text-light) !important;
}

/* Links */
a, .link {
  color: var(--red-accent) !important;
}
a:hover, .link:hover {
  color: #ff4c4c !important;
}

/* Buttons */
.btn, button {
  background-color: var(--red-accent) !important;
  color: var(--text-light) !important;
  border-radius: 6px;
}
.btn:hover, button:hover {
  background-color: #ff4c4c !important;
  color: #fff !important;
}

/* ==============================
   Header + Nav
   ============================== */
.site-header {
  background: var(--dark-gray) !important;
  border-bottom: 1px solid rgba(255,255,255,0.05) !important;
  box-shadow: 0 4px 8px var(--shadow-dark) !important;
}
.main-nav .nav-link, .nav-toggle {
  color: var(--text-light) !important;
}
.main-nav .nav-link.active, .main-nav .nav-link:hover {
  color: var(--red-accent) !important;
}

/* ==============================
   Hero Section
   ============================== */
.hero {
  background-color: var(--dark-gray) !important;
  color: var(--text-light) !important;
}
.hero-overlay {
  background: rgba(10,15,15,0.7) !important;
}
.hero h1 {
  color: var(--red-accent) !important;
}
.hero p {
  color: var(--text-light) !important;
}

/* ==============================
   Leadership Gallery
   ============================== */
.leadership-gallery {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  padding: 30px 10px;
}
.portrait-frame {
  width: 100%;
  max-width: 220px;
  text-align: center;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.portrait-frame img {
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 10px 25px var(--shadow-dark);
}
.portrait-frame:hover img {
  transform: scale(1.05);
  box-shadow: 0 15px 35px var(--shadow-dark);
}

/* Modal Lightbox */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  padding-top: 60px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(10,15,15,0.95);
}
.modal-content {
  margin: auto;
  display: block;
  max-width: 80%;
  max-height: 80%;
  border-radius: 8px;
  animation: zoom 0.3s;
}
@keyframes zoom {
  from {transform: scale(0);}
  to {transform: scale(1);}
}
#caption {
  text-align: center;
  color: var(--text-light);
  padding: 10px;
  font-size: 18px;
}
.close {
  position: absolute;
  top: 20px;
  right: 35px;
  color: var(--red-accent);
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
}

/* ==============================
   Footer
   ============================== */
.site-footer {
  background-color: var(--dark-gray) !important;
  color: var(--text-light) !important;
}
.site-footer a {
  color: var(--red-accent) !important;
}
.site-footer a:hover {
  color: #ff4c4c !important;
}

/* ==============================
   Cards, Content Blocks, Highlights
   ============================== */
.card, .content-block, .project-card, .donation-box {
  background-color: var(--dark-gray) !important;
  color: var(--text-light) !important;
  box-shadow: 0 6px 24px var(--shadow-dark) !important;
}

/* ==============================
   Responsive Adjustments
   ============================== */
@media (max-width: 768px) {
  .leadership-gallery {
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    padding: 20px 5px;
  }
  .portrait-frame {
    max-width: 45%;
    margin-bottom: 16px;
  }
  .hero h1 {
    font-size: 2rem;
  }
  .hero p {
    font-size: 1rem;
  }
}
