/* ========================
   CSS VARIABLES (BRAND)
======================== */
:root {
  --brand-primary: #5E3018;
  --brand-primary-dark: #3A1C0E;
  --brand-primary-light: #9B6A54;
  --brand-bg-light: #EFE7E2;
  --brand-accent: #C6A15B;

  --text-dark: #1E1E1E;
  --text-muted: #777;
}

/* ========================
   RESET & BASE
======================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', sans-serif;
  color: var(--text-dark);
  background-color: var(--brand-bg-light);
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
}

section {
  padding: 35px 20px;
}

/* ========================
   HEADER
======================== */
.site-header {
  background-color: #fff;
  padding: 1rem 0;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
}

.site-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
}

/* Logo */
.logo a {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-img {
  height: 60px;
  transition: height 0.3s ease;
}

.logo-text {
  font-size: 1.3rem;
  font-weight: bold;
  color: var(--brand-primary-dark);
  transition: font-size 0.3s ease;
}

/* ========================
   NAVIGATION
======================== */
.main-nav {
  display: flex;
  align-items: center;
}

.nav-menu {
  list-style: none;
  display: flex;
  gap: 1rem;
}

.nav-menu li {
  position: relative;
}

.nav-menu a {
  padding: 0.5rem 1rem;
  display: block;
  font-weight: 500;
  color: var(--brand-primary);
  position: relative;
  transition: color 0.3s ease;
}

/* underline effect */
.nav-menu a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0%;
  height: 2px;
  background: var(--brand-accent);
  transition: width 0.3s ease;
}

.nav-menu a:hover {
  color: var(--brand-primary-dark);
}

.nav-menu a:hover::after {
  width: 100%;
}

/* Dropdown */
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #fff;
  border: 1px solid #eee;
  display: none;
  list-style: none;
  min-width: 200px;
  z-index: 99;
}

.dropdown:hover .dropdown-menu {
  display: block;
}

.dropdown-menu li a {
  padding: 0.6rem 1rem;
  border-bottom: 1px solid #f1f1f1;
}

/* ========================
   HAMBURGER MENU
======================== */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 22px;
  cursor: pointer;
  z-index: 1100;
  padding: 6px;
  border-radius: 6px;
  transition: background 0.3s ease;
  margin-left: auto;
}

.nav-toggle:hover {
  background: rgba(0,0,0,0.05);
}

.nav-toggle span {
  height: 3px;
  width: 100%;
  background-color: var(--brand-primary);
  border-radius: 3px;
  transition: all 0.3s ease;
}

/* animation */
.nav-toggle.active span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

/* ======================
   CONTAINER
====================== */
.container {
  width: 90%;
  max-width: 1100px;
  margin: auto;
}

/* ======================
   HERO
====================== */
.page-hero {
  background: url("images/board.jpg") center/cover no-repeat;
  background-size: cover;
  background-position: center;
  color: white;
  padding: 120px 0 80px;
  text-align: center;
}

.page-hero h1 {
  font-size: 2.4rem;
  max-width: 900px;
  margin: auto;
}

.page-hero p {
  margin-top: 15px;
  color: #f2e6de;
}

.badge {
  display: inline-block;
  background: var(--gold);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.8rem;
  margin-bottom: 15px;
}

/* ======================
   CARD
====================== */
.card {
  background: white;
  padding: 35px;
  border-radius: 16px;
  margin-top: 40px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

/* ======================
   META
====================== */
.meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 25px;
  color: var(--muted);
}

.meta span {
  background: #f7f0ec;
  padding: 8px 12px;
  border-radius: 20px;
  font-size: 0.9rem;
}

/* ======================
   LEADERS
====================== */
.leaders {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
  margin-bottom: 30px;
}

.leader {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 14px;
  overflow: hidden;
  text-align: center;
}

.leader img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  object-position: top;
}

.leader h3 {
  padding-top: 12px;
  color: var(--brown-dark);
}

.leader p {
  padding-bottom: 15px;
  color: var(--muted);
  font-size: 0.9rem;
}





/* ======================
   FEATURED LEADER (SINGLE)
====================== */
.leader-featured {
  display: flex;
  justify-content: center;
  margin-bottom: 30px;
}

.leader-card {
  width: 320px;
  background: #fff;
  border: 1px solid #eee;
  border-radius: 14px;
  overflow: hidden;
  text-align: center;
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
}

.leader-card img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  object-position: top;
}

.leader-card h3 {
  padding: 15px;
  color: var(--brown-dark);
  font-size: 1rem;
}


/* ======================
   CONTENT
====================== */
.content p {
  margin-bottom: 15px;
}

.quote {
  background: #f4ebe6;
  border-left: 5px solid var(--brown);
  padding: 20px;
  margin: 25px 0;
  font-style: italic;
}

/* ======================
   COMMITTEE
====================== */
.committee {
  margin-top: 30px;
}

.committee h2 {
  color: var(--brown-dark);
  margin-bottom: 15px;
}

.committee ul {
  list-style: none;
}

.committee li {
  background: #faf6f3;
  padding: 12px;
  margin-bottom: 10px;
  border-left: 4px solid var(--brown);
  border-radius: 8px;
}

/* ======================
   RESPONSIVE
====================== */
@media (max-width: 768px) {

  .page-hero h1 {
    font-size: 1.6rem;
  }

  .card {
    padding: 20px;
  }

  .leader img {
    height: 200px;
  }
}

/* ========================
   Footer
======================== */
.site-footer {
  background: var(--brand-primary-dark);
  color: #E6D8CF;
  padding: 60px 20px;
  font-size: 0.95rem;
  line-height: 1.8;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  max-width: 1200px;
  margin: auto;
  gap: 50px;
}


.footer-left,
.footer-right {
  flex: 1;
  min-width: 220px;
}



.footer-logo {
  width: 80px;
  margin-bottom: 15px;
}

.footer-links h4,
.footer-right h4 {
  color: var(--brand-accent);
  margin-bottom: 15px;
}

.footer-links ul,
.footer-right ul {
  list-style: none;
}

.footer-links ul li,
.footer-right ul li {
  margin-bottom: 12px;
}

.footer-links ul li a,
.footer-right ul li a {
  color: #E6D8CF;
  transition: color 0.3s;
}

.footer-links ul li a:hover,
.footer-right ul li a:hover {
  color: #fff;
}

.footer-links {
  flex: 2;
  display: flex;
  justify-content: space-between;
  gap: 60px;
}

.footer-links > div {
  min-width: 160px;
}


.social-icons {
  display: flex;
  gap: 15px;
}

.social-icons a {
  color: #fff;
  font-size: 22px;
  transition: transform 0.3s ease;
}

.social-icons a:hover {
  transform: scale(1.15);
}





/* ========================
   ANIMATION (SUBTLE)
======================== */
.card {
  animation: fadeUp 0.6s ease-in-out;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(15px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


/* ========================
   HEADER SHRINK
======================== */
.site-header.shrink {
  padding: 0.5rem 0;
}

.site-header.shrink .logo-img {
  height: 45px;
}

/* ========================
   MOBILE RESPONSIVE
======================== */
@media (max-width: 768px) {

  .nav-toggle {
    display: flex;
  }

  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
  }

  .nav-menu {
    flex-direction: column;
    display: none;
    background: #fff;
    padding: 1rem;
    border-top: 1px solid #eee;
  }

  .nav-menu.active {
    display: flex;
  }

  .hero-social {
    flex-direction: row;
    bottom: 20px;
    top: auto;
    left: 50%;
    transform: translateX(-50%);
  }

  .footer-container {
    flex-direction: column;
    text-align: center;
  }

  .footer-links {
    flex-direction: column;
    align-items: center;
  }
}

.leader-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  object-position: top;
  transition: transform 0.3s ease;
}

.leader-card:hover img {
  transform: scale(1.05);
}