/* ===== FONTS ===== */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500&family=Inter:wght@300;400;500;600&display=swap');

/* ===== DESIGN TOKENS ===== */
:root {
  --orange: #F28C28;
  --orange-dark: #D4751A;
  --orange-light: #FFF0DC;
  --brown-dark: #3B1F0A;
  --brown-mid: #6B3A1F;
  --brown-light: #C4906A;
  --cream: #F7F3EE;
  --cream-dark: #EDE8E1;
  --text-dark: #1E120A;
  --text-mid: #5C4033;
  --text-light: #9A7B6A;
  --white: #FFFFFF;
  --green-light: #E8F0DC;
  --green-text: #4A6B2E;
  --border: #E2D5C8;
  --shadow: 0 4px 24px rgba(59, 31, 10, 0.08);
  --shadow-lg: 0 12px 40px rgba(59, 31, 10, 0.14);
  --radius: 16px;
  --radius-sm: 8px;
  --radius-xl: 24px;
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'Inter', system-ui, sans-serif;
  --transition: 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  color: var(--text-dark);
  background: var(--cream);
  line-height: 1.6;
  font-size: 15px;
  overflow-x: hidden;
  padding-top: 130px;
}

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

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

ul {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

input,
textarea,
select {
  font-family: inherit;
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: var(--cream);
}

::-webkit-scrollbar-thumb {
  background: var(--orange);
  border-radius: 4px;
}

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(247, 243, 238, 0.96);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  padding: 0 40px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: box-shadow var(--transition);
}

.navbar.scrolled {
  box-shadow: var(--shadow);
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 5px;
}

.brand-logo {
  width: 90px;
  height: 90px;
  object-fit: contain;
  border-radius: 50%;
  /* flex-shrink: 0; */
  /* background: var(--white); */
  border: 2px solid var(--border);
  padding: 5px;
}

.brand-name {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--text-dark);
  letter-spacing: -0.01em;
}

.brand-subtitle {
  font-size: 0.68rem;
  color: #3B1F0A;
  letter-spacing: 0.04em;
  display: block;
  margin-top: -2px;
}

.navbar-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-mid);
  transition: color var(--transition);
  position: relative;
  padding-bottom: 2px;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--orange);
  transition: width var(--transition);
}

.nav-link:hover,
.nav-link.active {
  color: var(--text-dark);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.btn-donate-nav {
  background: var(--orange);
  color: var(--white);
  font-weight: 600;
  font-size: 0.85rem;
  padding: 10px 22px;
  border-radius: 50px;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
}

.btn-donate-nav:hover {
  background: var(--orange-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(242, 140, 40, 0.35);
}

/* ===== HAMBURGER MENU ===== */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
  cursor: pointer;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-dark);
  border-radius: 2px;
  transition: all 0.3s;
}

.hamburger.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

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

.hamburger.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Overlay Backdrop for Mobile Menu Drawer */
.mobile-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(30, 18, 10, 0.4);
  backdrop-filter: blur(4px);
  z-index: 998;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-menu-overlay.open {
  opacity: 1;
  visibility: visible;
}

/* Sidebar Mobile Menu Drawer (from right side) */
.mobile-menu {
  position: fixed;
  top: 0;
  right: -340px;
  /* Initially offscreen right */
  width: 340px;
  max-width: 85vw;
  height: 100vh;
  background: var(--cream);
  z-index: 999;
  box-shadow: -5px 0 25px rgba(59, 31, 10, 0.15);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 32px 24px;
  transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-sizing: border-box;
}

.mobile-menu.open {
  right: 0;
  /* Slide in */
}

/* Header inside mobile menu */
.mobile-menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border);
  padding-bottom: 20px;
  margin-bottom: 24px;
}

.mobile-menu-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.mobile-menu-logo {
  width: 40px;
  height: 40px;
  object-fit: contain;
  border-radius: 50%;
  background: var(--white);
  padding: 2px;
  border: 1px solid var(--border);
}

.mobile-menu-brand-name {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: bold;
  color: #4d2703;
}

.mobile-menu-close {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--border);
  color: var(--text-dark);
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
  border: none;
}

.mobile-menu-close:hover {
  background: var(--orange);
  color: var(--white);
}

/* Links inside drawer */
.mobile-menu-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex-grow: 1;
}

.mobile-menu .nav-link {
  font-size: 1.05rem;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  display: block;
}

.mobile-menu .nav-link:hover,
.mobile-menu .nav-link.active {
  background: var(--orange-light);
  color: var(--orange-dark);
}

.mobile-menu .nav-link::after {
  display: none;
  /* Disable underline effect in mobile drawer */
}

/* Footer inside drawer (Email & Socials) */
.mobile-menu-footer {
  margin-top: auto;
  padding-top: 24px;
}

.mobile-menu-divider {
  height: 1px;
  background: var(--border);
  margin-bottom: 20px;
}

.mobile-menu-contact {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--text-mid);
  margin-bottom: 16px;
}

.mobile-menu-contact a:hover {
  color: var(--orange-dark);
}

.mobile-menu-social {
  display: flex;
  gap: 12px;
}

.mobile-menu-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  color: var(--text-mid);
  transition: all var(--transition);
}

.mobile-menu-social a:hover {
  background: var(--orange);
  border-color: var(--orange);
  color: var(--white);
  transform: translateY(-2px);
}

/* ===== BUTTONS ===== */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--orange);
  color: var(--white);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 12px 26px;
  border-radius: 50px;
  transition: all var(--transition);
  border: none;
}

.btn-primary:hover {
  background: var(--orange-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(242, 140, 40, 0.35);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--text-dark);
  font-weight: 500;
  font-size: 0.9rem;
  padding: 11px 24px;
  border-radius: 50px;
  border: 1.5px solid var(--border);
  transition: all var(--transition);
}

.btn-secondary:hover {
  border-color: var(--orange);
  color: var(--orange);
  background: var(--orange-light);
}

.btn-outline-white {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--white);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 11px 24px;
  border-radius: 50px;
  border: 2px solid rgba(255, 255, 255, 0.5);
  transition: all var(--transition);
}

.btn-outline-white:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: var(--white);
}

/* ===== BADGE ===== */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 50px;
}

.badge-green {
  background: var(--green-light);
  color: var(--green-text);
}

.badge-orange {
  background: var(--orange-light);
  color: var(--orange-dark);
}

/* ===== SECTION UTILITIES ===== */
.section {
  padding: 40px 0;
}

.section-sm {
  padding: 60px 0;
}

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 40px;
}

.section-label {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--text-light);
  margin-bottom: 10px;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(1.7rem, 3.5vw, 2.6rem);
  font-weight: 600;
  color: var(--text-dark);
  line-height: 1.2;
  margin-bottom: 14px;
}

.section-subtitle {
  font-size: 0.93rem;
  color: var(--text-light);
  line-height: 1.75;
  max-width: 560px;
}

.text-center {
  text-align: center;
}

.text-center .section-subtitle {
  margin: 0 auto;
}

/* ===== CARD ===== */
.card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

/* ===== DIVIDER LINE ===== */
.divider {
  width: 48px;
  height: 3px;
  background: var(--orange);
  border-radius: 2px;
  margin: 14px 0;
}

.divider-center {
  margin: 14px auto;
}

/* ===== STATS ROW ===== */
.stats-row {
  display: flex;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.stat-item {
  flex: 1;
  padding: 28px 16px;
  text-align: center;
  border-right: 1px solid var(--border);
  transition: background var(--transition);
}

.stat-item:last-child {
  border-right: none;
}

.stat-item:hover {
  background: var(--cream);
}

.stat-number {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-dark);
}

.stat-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-light);
  font-weight: 600;
  margin-top: 4px;
}

/* ===== FOOTER ===== */
footer {
  background: var(--brown-dark);
  color: rgba(255, 255, 255, 0.75);
  padding: 60px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
}

.footer-brand-name {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  color: var(--white);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-logo {
  width: 60px;
  height: 60px;
  object-fit: contain;
  border-radius: 50%;
  background: var(--white);
  padding: 3px;
  flex-shrink: 0;
}

.footer-desc {
  font-size: 0.83rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 22px;
}

.footer-social {
  display: flex;
  gap: 10px;
}

.footer-social a {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.55);
  transition: all var(--transition);
}

.footer-social a:hover {
  background: var(--orange);
  border-color: var(--orange);
  color: var(--white);
}

.footer-col-title {
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 18px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  font-size: 0.86rem;
  color: rgba(255, 255, 255, 0.6);
  transition: color var(--transition);
}

.footer-links a:hover {
  color: var(--orange);
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 0.84rem;
  color: rgba(255, 255, 255, 0.6);
}

.footer-contact-item .icon {
  color: var(--orange);
  margin-top: 2px;
  flex-shrink: 0;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 18px 0;
  text-align: center;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.3);
}

/* ===== PAGE HERO BANNER ===== */
.page-hero {
  position: relative;
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.page-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.6s ease;
}

.page-hero:hover .page-hero-bg {
  transform: scale(1.03);
}

.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(59, 31, 10, 0.45), rgba(59, 31, 10, 0.72));
}

.page-hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--white);
  padding: 0 20px;
}

.page-hero-content h1 {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 600;
  margin-bottom: 8px;
}

.page-hero-content p {
  font-size: 0.93rem;
  color: rgba(255, 255, 255, 0.82);
  max-width: 500px;
  margin: 0 auto;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 10px;
  justify-content: center;
}

.breadcrumb a {
  color: rgba(255, 255, 255, 0.55);
  transition: color var(--transition);
}

.breadcrumb a:hover {
  color: var(--white);
}

/* ===== IMAGE UTILITIES ===== */
.img-rounded {
  border-radius: var(--radius);
  overflow: hidden;
}

.img-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ===== PILL TAG ===== */
.pill-tag {
  display: inline-block;
  background: var(--orange);
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 50px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  body {
    padding-top: 80px;
  }

  .navbar {
    padding: 0 20px;
    height: 80px;
  }

  .brand-logo {
    width: 60px;
    height: 60px;
    padding: 2px;
  }

  .brand-name strong {
    font-size: 18px !important;
  }

  .brand-name span {
    font-size: 16px !important;
  }

  .brand-subtitle {
    font-size: 0.55rem;
  }

  .navbar-links {
    display: none;
  }

  .navbar .btn-donate-nav {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .container {
    padding: 0 20px;
  }

  .section {
    padding: 56px 0;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .stats-row {
    flex-wrap: wrap;
  }

  .stat-item {
    min-width: 50%;
    border-right: none;
    border-bottom: 1px solid var(--border);
  }

  .stat-item:nth-child(odd) {
    border-right: 1px solid var(--border);
  }
}

@media (max-width: 600px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .stat-item {
    min-width: 100%;
    border-right: none !important;
  }

  .page-hero {
    height: 220px;
  }

  .section {
    padding: 44px 0;
  }
}
