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

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

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

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

section {
  padding: 35px 20px;
}

/* ========================
   Header & Navigation
======================== */
.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;
}

/* 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: #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 */
.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;
}

/* ========================
   Hero Section
======================== */
.hero {
  position: relative;
  height: 750px;
  overflow: hidden;
  margin-top: 80px;
}

.hero-slider {
  position: relative;
  width: 100%;
  height: 100%;
}

.hero-slider img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.hero-slider img.active {
  opacity: 1;
}

/* Slider arrows */
.arrow-container {
  position: absolute;
  bottom: 20px;
  right: 20px;
  display: flex;
  gap: 10px;
  z-index: 20;
}

.arrow {
  background: rgba(94, 48, 24, 0.75);
  border: none;
  color: #fff;
  font-size: 1.4rem;
  width: 45px;
  height: 45px;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.arrow:hover {
  background: var(--brand-primary-dark);
}

/* Social Icons */
.hero-social {
  position: absolute;
  top: 50%;
  left: 40px;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.hero-social a {
  color: rgba(255,255,255,0.85);
  font-size: 1.2rem;
  transition: transform 0.3s, color 0.3s;
}

.hero-social a:hover {
  color: var(--brand-accent);
  transform: scale(1.1);
}

/* ========================
   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;
  align-items: center;
  color: #fff;
}

/* Dark overlay with brand tone */
.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(58, 28, 14, 0.75),
    rgba(58, 28, 14, 0.45)
  );
}

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

/* Heading */
.page-hero h1 {
  font-size: 2.9rem;
  margin-bottom: 15px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: #fff;
}

/* Sub-text */
.page-hero p {
  font-size: 1.2rem;
  max-width: 720px;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.7;
}

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

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

.board-section h2::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  background: var(--brand-accent);
  margin-top: 10px;
  border-radius: 2px;
}

.board-section p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: #555;
  max-width: 900px;
}

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

.board-section.container {
  background:  #EFE7E2;
  padding: 60px 40px;
  border-radius: 10px;
  box-shadow: 0 10px 28px rgba(94, 48, 24, 0.08);
}

/* ========================
   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(0,0,0,0.1);
}

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


/* ========================
   Header Scroll Effect
======================== */
.site-header.shrink {
  padding: 0.5rem 0;
  background-color: rgba(255, 255, 255, 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: 2.5rem;           /* more room for image */
  margin: 1.5rem 0;               /* space above & below */
  padding-bottom: 1rem;
  border-bottom: 1px solid #ddd;  /* separator line */
}

.board-section .objectives-list li:last-child {
  border-bottom: none;            /* no line after last */
}

/* Replace ✔ with cocoa.png */
.board-section .objectives-list .icon {
  position: absolute;
  left: 0;
  top: 0.1rem;                    /* adjust vertical alignment */
  width: 20px;                     /* icon width */
  height: 20px;                    /* icon height */
  background: url("images/cocoa.png") no-repeat center center;
  background-size: contain;
  font-size: 0;                     /* hide text ✔ */
  color: transparent;               /* hide any text fallback */
}


/* ==============================
   CONTACT US PAGE (SPD)
   ============================== */

.contact-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
  margin: 60px auto;
  padding: 0 20px;
  max-width: 1100px;
  font-family: "Segoe UI", Arial, sans-serif;
}

.contact-info h2 {
  font-size: 1.8rem;
  color: #006837;
  margin-bottom: 10px;
}

.contact-info p {
  line-height: 1.6;
  margin: 6px 0;
  color: #333;
}

.contact-details p {
  display: flex;
  align-items: center;
  gap: 8px;
}

.contact-details i {
  color: #006837;
}

.contact-info a {
  color: #006837;
  text-decoration: none;
}

.contact-info a:hover {
  text-decoration: underline;
}

.note {
  margin-top: 20px;
  font-style: italic;
  color: #555;
}

.contact-map iframe {
  width: 165%;
  height: 400px;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

/* ------------------------------
   CONTACT FORM
   ------------------------------ */

.contact-form-section {
  padding: 60px 20px;
  background: #f8f9f9;
}

.contact-form-section h2 {
  text-align: center;
  font-size: 1.8rem;
  color: #222;
  margin-bottom: 30px;
}

.contact-form {
  max-width: 700px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 20px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1rem;
  transition: border 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #006837;
  outline: none;
}

.btn-primary {
  display: inline-block;
  background: #006837;
  color: #fff;
  border: none;
  padding: 12px 25px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 600;
  transition: background 0.3s ease;
}

.btn-primary:hover {
  background: #004b23;
}

/* ------------------------------
   RESPONSIVE DESIGN
   ------------------------------ */

@media (max-width: 900px) {
  .contact-section {
    grid-template-columns: 1fr;
  }

  .contact-map iframe {
    height: 300px;
  }
}





/* ========================
   Responsive
======================== */
@media (max-width: 768px) {
  .main-nav {
    float: none;
  }

  .nav-menu {
    flex-direction: column;
    display: none;
    background-color: #f8f8f8;
    border-top: 1px solid #ddd;
    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 h1 {
    font-size: 2rem;
  }

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


/* ========================
   SECTION HEADER
======================== */
.section-header {
  margin-bottom: 40px;
}

.section-header h2 {
  font-size: 2rem;
}

.section-header p {
  max-width: 700px;
  color: var(--text-muted);
  margin-top: 10px;
}

/* ========================
   SPEC GRID (MODERN CARDS)
======================== */
.spec-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 25px;
}

/* Card Design */
.spec-card {
  background: #fff;
  padding: 25px 20px;
  border-radius: 12px;
  text-align: left;
  box-shadow: 0 8px 20px rgba(0,0,0,0.06);
  transition: all 0.3s ease;
  border: 1px solid #eee;
  position: relative;
  overflow: hidden;
}

/* Hover effect */
.spec-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 15px 30px rgba(94, 48, 24, 0.15);
}

/* Top accent line */
.spec-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 4px;
  width: 100%;
  background: var(--brand-accent);
}

/* Icons */
.spec-card i {
  font-size: 1.6rem;
  color: var(--brand-primary);
  margin-bottom: 15px;
}

/* Titles */
.spec-card h3 {
  font-size: 1.1rem;
  margin-bottom: 10px;
  color: var(--brand-primary-dark);
}

/* Text */
.spec-card p {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.6;
}

.page-hero {
  background-attachment: fixed;
}

.page-hero h1 {
  animation: fadeUp 0.8s ease forwards;
}

.page-hero p {
  animation: fadeUp 1.2s ease forwards;
}

/* Animation */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}




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