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



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


/* ========================
   News/Blogs + Events Layout
======================== */

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

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

/* Filter Bar */
.filter-bar {
  text-align: right;
  margin-bottom: 20px;
}

.filter-bar label {
  margin-right: 8px;
  color: #5e3118;
}

.filter-bar select {
  padding: 8px 12px;
  border: 1px solid #d6c5bb;
  border-radius: 8px;
  background: #ffffff;
  color: #2b1b14;
}

/* News List */
.news-list {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

/* News Card */
.news-item {
  display: flex;
  gap: 20px;
  background: #ffffff;
  border-radius: 14px;
  box-shadow: 0 4px 14px rgba(94, 49, 24, 0.12);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.news-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 26px rgba(94, 49, 24, 0.2);
}

/* Image */
.news-item img {
  width: 250px;
  object-fit: cover;
}

/* Content */
.news-content {
  padding: 20px;
}

.news-content h2 a {
  text-decoration: none;
  color: #5e3118;
  font-size: 20px;
  transition: color 0.3s ease;
}

.news-content h2 a:hover {
  color: #a65b32; /* lighter cocoa */
}

.news-content .date {
  color: #7a5a4a;
  font-size: 14px;
  margin: 8px 0;
}

.news-content .excerpt {
  color: #2b1b14;
  font-size: 15px;
  line-height: 1.6;
}

/* Tags */
.tags span {
  display: inline-block;
  background: #5e3118;
  color: #ffffff;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12px;
  margin-right: 6px;
}

.tags span:hover {
  background: #3f1f10;
}

/* Pagination */
.pagination {
  text-align: center;
  margin-top: 40px;
}

.pagination a {
  display: inline-block;
  padding: 8px 14px;
  margin: 0 4px;
  color: #5e3118;
  text-decoration: none;
  border: 1px solid #5e3118;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.pagination a.active,
.pagination a:hover {
  background: #5e3118;
  color: #ffffff;
}

.pagination a.disabled {
  opacity: 0.45;
  pointer-events: none;
}


/* ========================
   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: 900px) {
  .nav-menu {
    display: none;
  }
  .nav-toggle {
    display: block;
  }
  .main-nav.active .nav-menu {
    display: flex;
    flex-direction: column;
  }
}

@media (max-width: 768px) {
  .filter-bar {
    text-align: left;
    margin-bottom: 15px;
  }

  .news-item {
    flex-direction: column;
  }

  .news-item img {
    width: 100%;
    height: 200px;
  }

  .news-content h2 a {
    font-size: 18px;
  }

  .footer-container {
    flex-direction: column;
    align-items: flex-start;
  }
}

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

  .news-content {
    padding: 15px;
  }

  .tags span {
    font-size: 11px;
    padding: 4px 8px;
  }

  .pagination a {
    padding: 6px 10px;
    font-size: 13px;
  }
}



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


