/* ==========================================================================
   css/styles.css - GLOBAL ARCHITECTURE & SYSTEM TOKENS
   ========================================================================== */

:root {
  --dark-prime: #071210;
  --dark-surface: #0c1815;
  --dark-elevated: #12221e;
  --turquoise: #14b8a6;
  --turquoise-glow: rgba(20, 184, 166, 0.15);
  --white: #ffffff;
  --soft-white: #f1f5f9;
  --text-dark: #0f172a;
  --text-muted: #94a3b8;
  --paper-bg: #faf8f5;
  
  --font-sans: 'Helvetica Neue', Arial, sans-serif;
  --font-serif: 'Times New Roman', Georgia, serif;
  
  --site-pad: clamp(24px, 6vw, 120px);
  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  background: var(--paper-bg);
  color: var(--text-dark);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

/* --- THE NAVBAR ENGINE --- */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  height: 90px;
  padding: 0 var(--site-pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(7, 18, 16, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(20, 184, 166, 0.1);
}
/* Increase logo size by 50% within the navigation bar */
.navbar .logo-image {
  height: 150%; /* This scales the original height by 1.5x */
  width: auto;   /* Maintains aspect ratio */
  max-height: 80px; /* Adjust this value if it pushes the navbar height too far */
}

.brand {
  display: flex;
  align-items: center;
  z-index: 110;
}

.logo-image {
  height: 60px;
  width: auto;
  object-fit: contain;
}

.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
  align-items: center;
}

.nav-links a {
  color: var(--soft-white);
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.5px;
  transition: var(--transition-smooth);
  position: relative;
  padding: 8px 0;
}

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

.nav-links a:hover {
  color: var(--turquoise);
}

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

/* --- ACTIVE NAVIGATION SPECIFICATION --- */
.nav-links a.active-nav {
  color: var(--turquoise);
  font-weight: 800;
}

.nav-links a.active-nav::after {
  width: 100%;
  background: var(--turquoise);
}

.donate-btn {
  background: var(--turquoise);
  color: var(--dark-prime);
  padding: 12px 28px;
  border-radius: 4px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: var(--transition-smooth);
  box-shadow: 0 4px 14px var(--turquoise-glow);
  z-index: 110;
}

.donate-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(20, 184, 166, 0.4);
}

/* --- STEP 8: HAMBURGER INTERACTIVE STRUCTURAL BLOCK --- */
.menu-toggle {
  display: none;
}

.hamburger-label {
  display: none;
  cursor: pointer;
  z-index: 110;
  flex-direction: column;
  gap: 6px;
  padding: 10px;
}

.hamburger-label span {
  display: block;
  width: 28px;
  height: 3px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition-smooth);
}

@media (max-width: 1024px) {
  .hamburger-label { display: flex; }
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 400px;
    height: 100vh;
    background: var(--dark-surface);
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 60px 40px;
    gap: 32px;
    z-index: 105;
    transition: var(--transition-smooth);
    box-shadow: -10px 0 30px rgba(0,0,0,0.2);
  }
  .nav-links a { font-size: 18px; }
  .menu-toggle:checked ~ .nav-links { right: 0; }
  .menu-toggle:checked ~ .hamburger-label span:nth-child(1) { transform: rotate(45deg) translate(6px, 6px); }
  .menu-toggle:checked ~ .hamburger-label span:nth-child(2) { opacity: 0; }
  .menu-toggle:checked ~ .hamburger-label span:nth-child(3) { transform: rotate(-45deg) translate(6px, -7px); }
  .donate-btn { display: none; }
}

/* --- GLOBAL BUTTONS & UTILITY STRUCTURAL SHARDS --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 18px 36px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 4px;
  transition: var(--transition-smooth);
}

.btn-primary { background: var(--turquoise); color: var(--dark-prime); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(20, 184, 166, 0.3); }
.btn-outline { border: 1px solid rgba(255,255,255,0.25); color: var(--white); }
.btn-outline:hover { background: rgba(255,255,255,0.05); }

.section-pad { padding: clamp(60px, 8vw, 120px) var(--site-pad); }
.hero-kicker, .section-kicker, .center-kicker {
  color: var(--turquoise);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 6px;
  text-transform: uppercase;
  margin-bottom: 20px;
  display: block;
}
.center-kicker { text-align: center; }
.dark-block { background: var(--dark-prime); color: var(--white); }

/* --- REUSABLE PREVIEW GRIDS --- */
.preview-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.preview-card {
  background: var(--white);
  padding: 40px;
  border-radius: 8px;
  border: 1px solid rgba(0,0,0,0.04);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition-smooth);
}
.preview-card:hover { transform: translateY(-5px); box-shadow: 0 15px 35px rgba(0,0,0,0.05); }

/* --- GLOBAL FOOTER --- */
footer {
  background: var(--dark-prime);
  color: var(--text-muted);
  text-align: center;
  padding: 40px var(--site-pad);
  font-size: 13px;
  border-top: 1px solid rgba(255,255,255,0.05);
}

/* --- MOBILE MENU BODY LOCK --- */
body.menu-open {
  overflow: hidden;
}