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

  --text-dark: #2b1b14;
  --text-muted: #7b5b49;
  --text-light: #fff8f5;
}

/* ========================
   Base Styles
======================== */
* {
  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: var(--brand-primary);
}

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

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

section {
  padding: 35px 20px;
}

/* ========================
   Header & Navigation
======================== */
.site-header {
  background-color: var(--brand-bg-light);
  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;
}

/* Logo */
.logo {
  flex: 1;
}


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

.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);
  transition: color 0.3s ease;
}

.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: var(--brand-bg-light);
  border: 1px solid var(--brand-primary-light);
  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 var(--brand-primary-light);
}

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 25px;
  height: 20px;
  background: none;
  border: none;
  cursor: pointer;
}

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


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

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

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

/* Hamburger 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);
}


/* ========================
   Hero Section (Board Page)
======================== */
.page-hero {
  position: relative;
  height: 600px;
  margin-top: 80px;
  background: url("images/board.jpg") center/cover no-repeat;
  background-size: 130%;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: left;
  color: var(--text-light);
}

.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(94,49,24,0.5);
}

.page-hero .container {
  position: relative;
  z-index: 2;
  text-align: left;
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 40px;
}

.page-hero h1 {
  font-size: 2.8rem;
  margin-bottom: 15px;
  text-shadow: 1px 2px 6px rgba(0,0,0,0.6);
}

.page-hero p {
  font-size: 1.2rem;
  max-width: 700px;
  margin: 0;
  opacity: 0.9;
  text-shadow: 1px 2px 6px rgba(0,0,0,0.6);
}

/* ========================
   Board Sections
======================== */
.board-section {
  padding: 60px 20px;
}

.board-section h2 {
  font-size: 1.8rem;
  margin-bottom: 20px;
  color: var(--brand-primary-dark);
  position: relative;
}

.board-section h2::after {
  content: "";
  display: block;
  width: 50px;
  height: 3px;
  background: var(--brand-accent);
  margin-top: 8px;
}

.board-section p {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-muted);
  max-width: 900px;
}

.board-section.alt-bg {
  background: var(--brand-bg-light);
}

/* ========================
   Split / Image Sections
======================== */
.split,
.board-with-image {
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}

.board-text,
.board-with-image .text {
  flex: 1;
}

.board-img,
.board-with-image .image {
  flex: 1;
}

.board-img img,
.board-with-image img {
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(94,49,24,0.1);
}

/* ========================
   Footer
======================== */
.site-footer {
  background: var(--brand-primary-dark);
  color: var(--text-light);
  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: var(--text-light);
  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);
}

/* ========================
   Header Scroll Effect
======================== */
.site-header.shrink {
  padding: 0.5rem 0;
  background-color: rgba(239,231,226,0.9);
  backdrop-filter: blur(6px);
  box-shadow: 0 3px 10px rgba(0,0,0,0.15);
}

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

.site-header.shrink .logo-text {
  font-size: 1.1rem;
}

/* ========================
   Objectives List Styles
======================== */
.board-section .objectives-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.board-section .objectives-list li {
  position: relative;
  padding-left: 2rem;
  margin: 1.5rem 0;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--brand-primary-light);
}

.board-section .objectives-list li:last-child {
  border-bottom: none;
}

.board-section .objectives-list .icon {
  position: absolute;
  left: 0;
  top: 0.25rem;
  font-size: 1.2rem;
  color: var(--brand-accent);
}

/* ========================
   FAQ Section
======================== */
.faq-section {
  max-width: 900px;
  margin: 60px auto;
  padding: 0 20px;
  font-family: "Segoe UI", Arial, sans-serif;
  color: var(--text-dark);
}

.faq-section.alt-bg {
  background-color: var(--brand-bg-light);
  padding: 60px 20px;
  border-radius: 8px;
}

.faq-section h2 {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 30px;
  color: var(--brand-primary-dark);
}

.faq {
  border-top: 1px solid var(--brand-primary-light);
}

.faq-item {
  border-bottom: 1px solid var(--brand-primary-light);
  padding: 20px 0;
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  background: none;
  border: none;
  outline: none;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-dark);
  text-align: left;
  cursor: pointer;
  transition: color 0.3s ease;
}

.faq-question:hover {
  color: var(--brand-primary);
}

.faq-question i {
  transition: transform 0.3s ease;
  font-size: 1rem;
  color: var(--text-muted);
}

.faq-item.active .faq-question i {
  transform: rotate(180deg);
  color: var(--brand-primary);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.6;
  transition: max-height 0.4s ease, opacity 0.4s ease;
  opacity: 0;
  padding-left: 5px;
}

.faq-item.active .faq-answer {
  max-height: 300px;
  opacity: 1;
  margin-top: 10px;
}

.faq-answer a {
  color: var(--brand-primary);
  text-decoration: none;
  font-weight: 600;
}

.faq-answer a:hover {
  text-decoration: underline;
}

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


  /* Show hamburger */
  .nav-toggle {
    display: flex;
  }


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

  .faq-section h2 {
    font-size: 1.5rem;
  }

  .faq-question {
    font-size: 1rem;
  }

  .faq-answer {
    font-size: 0.95rem;
  }

  .main-nav {
    float: none;
  }

  .nav-menu {
    flex-direction: column;
    display: none;
    background-color: var(--brand-bg-light);
    border-top: 1px solid var(--brand-primary-light);
    padding: 1rem;
  }

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

  .nav-toggle {
    display: block;
    float: right;
    margin-top: -2.5rem;
  }

  .split,
  .board-with-image {
    flex-direction: column;
    text-align: center;
  }

  .board-img {
    order: -1;
  }

  .page-hero {
    height: 250px;
  }

  .page-hero p {
    font-size: 1rem;
  }
}


/* ========================
   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;
  }
}