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



/* ========================
   Header & Navigation
======================== */
.site-header {
  background-color: white;
  padding: 1rem 0;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

/* Ensure header content (logo + nav) stay aligned horizontally */
.site-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

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

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

.logo-text {
  font-size: 1.3rem;
  font-weight: bold;
  color: #333;
  white-space: nowrap;
  transition: font-size 0.3s ease;
}

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

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

.nav-menu li {
  position: relative;
  list-style: none;
}

.nav-menu a {
  padding: 0.5rem 1rem;
  display: block;
  position: relative;
  transition: color 0.3s ease;
}

.nav-menu a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0%;
  height: 2px;
  background: #f1c40f;
  transition: width 0.3s ease;
}

.nav-menu a:hover {
  color: #f1c40f;
}

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

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

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

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

/* Mobile Nav Toggle */
.nav-toggle {
  display: none;
  font-size: 1.5rem;
  background: none;
  border: none;
  cursor: pointer;
}

/* ========================
   Header Scroll Effect
======================== */
.site-header.shrink {
  padding: 0.5rem 0;
  background-color: rgba(255, 255, 255, 0.95);
  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;
}

/* ========================
   Page Content
======================== */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 60px 20px;
}

/* Section Titles */
.section-title {
  font-size: 32px;
  color: #5e3118; /* primary cocoa */
  text-align: center;
  margin-bottom: 10px;
  margin-top: 20px;
}

.section-subtitle {
  text-align: center;
  color: #7a5a4a; /* muted cocoa */
  margin-bottom: 40px;
}

/* Tabs */
.tabs {
  text-align: center;
  margin-bottom: 30px;
}

.tab {
  display: inline-block;
  background: #f3ebe4; /* light cocoa background */
  color: #5e3118; /* primary cocoa */
  border: none;
  padding: 10px 20px;
  border-radius: 8px;
  cursor: pointer;
  margin: 0 5px;
  transition: all 0.3s;
}

.tab.active {
  background: #5e3118; /* primary cocoa */
  color: #fff;
}

/* Event List */
.event-list {
  display: none;
}

.event-list.active {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

/* Event Item */
.event-item {
  display: flex;
  align-items: center;
  gap: 20px;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(94, 49, 24, 0.12);
  padding: 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.event-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 20px rgba(94, 49, 24, 0.18);
}

/* Event Date */
.event-date {
  background: #5e3118; /* primary cocoa */
  color: #fff;
  border-radius: 12px;
  width: 80px;
  text-align: center;
  padding: 10px 0;
}

.event-date.past {
  background: #7a5a4a; /* muted cocoa for past events */
}

.event-date .day {
  font-size: 28px;
  font-weight: 700;
  display: block;
}

.event-date .month {
  font-size: 14px;
  text-transform: uppercase;
}

/* Event Details */
.event-details h2 {
  font-size: 20px;
  color: #5e3118; /* primary cocoa */
  margin: 0;
}

.event-details .location {
  color: #7a5a4a; /* muted cocoa */
  font-size: 14px;
}

.event-details .description {
  color: #2b1b14; /* dark text */
  margin: 8px 0;
  line-height: 1.5;
}

/* Read More Link */
.read-more {
  color: #a65b32; /* light accent cocoa */
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.read-more:hover {
  color: #3f1f10; /* darker shade on hover */
}

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

/* ========================
   Responsive Design
======================== */
@media (max-width: 768px) {
  .site-header .container {
    flex-wrap: wrap;
  }

  .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;
  }


  .nav-toggle {
    display: block;
    margin-left: auto;
  }

  .event-item {
    flex-direction: column;
    text-align: center;
  }

  .event-date {
    width: 100%;
    padding: 12px 0;
  }

  .event-details h2 {
    font-size: 18px;
  }

  .event-details .description {
    font-size: 15px;
  }

  .tab {
    margin: 5px 2px;
    padding: 8px 14px;
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .section-title {
    font-size: 26px;
  }

  .container {
    padding: 40px 15px;
  }

  .event-item {
    padding: 15px;
  }

  .event-details h2 {
    font-size: 16px;
  }

  .event-details .description {
    font-size: 14px;
  }
}

/* ========================
   Mobile Dropdown Fix
======================== */
@media (max-width: 768px) {
  .dropdown-menu {
    position: static;
    display: none;
    border: none;
    background: #f9f9f9;
    padding-left: 15px;
  }

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

  .nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

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

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

  .nav-toggle span {
    transition: all 0.3s ease;
  }
}



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