/* ============================================================================
   NWBC Website - Unified CSS Stylesheet
   Design Philosophy: Modern Naturalism
   Colors: Warm honey gold (#D4A574) and forest green (#2D5016)
   ============================================================================ */

/* ============================================================================
   RESET & BASE STYLES
   ============================================================================ */

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background-color: #FAFAF8;
  color: #2D2D2D;
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.875rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

p {
  margin-bottom: 1rem;
}

a {
  color: #D4A574;
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: #2D5016;
}

/* ============================================================================
   CONTAINER & LAYOUT
   ============================================================================ */

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 640px) {
  .container {
    padding: 0 1.5rem;
  }
}

@media (min-width: 1024px) {
  .container {
    padding: 0 2rem;
  }
}

/* ============================================================================
   NAVIGATION
   ============================================================================ */

nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background-color: #FFFFFF;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4rem;
  padding: 0 1rem;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: linear-gradient(135deg, #FCD34D 0%, #D97706 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: bold;
  color: white;
}

.logo-text {
  font-size: 1.25rem;
  font-weight: bold;
  color: #2D5016;
}

.nav-links {
  display: none;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  color: #2D2D2D;
  transition: color 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: #D4A574;
  font-weight: 600;
}

@media (min-width: 768px) {
  .nav-links {
    display: flex;
  }
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid #E8DCC8;
  padding: 0.5rem 1rem;
  border-radius: 0.4rem;
  cursor: pointer;
  font-size: 1rem;
}

@media (max-width: 767px) {
  .nav-toggle {
    display: block;
  }
}

/* ============================================================================
   BUTTONS
   ============================================================================ */

button, .btn {
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 0.4rem;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
  text-align: center;
}

.btn-primary {
  background-color: #2D5016;
  color: white;
}

.btn-primary:hover {
  background-color: #1A3A0F;
  box-shadow: 0 4px 12px rgba(45, 80, 22, 0.3);
}

.btn-outline {
  background-color: transparent;
  border: 2px solid #D4A574;
  color: #D4A574;
}

.btn-outline:hover {
  background-color: #FEF3E2;
  border-color: #2D5016;
  color: #2D5016;
}

.btn-secondary {
  background-color: #E8B84B;
  color: #1A3A0F;
}

.btn-secondary:hover {
  background-color: #D4A574;
}

.btn-full {
  width: 100%;
}

/* ============================================================================
   HERO SECTION
   ============================================================================ */

.hero {
  position: relative;
  padding: 5rem 0;
  background: linear-gradient(135deg, #F0FDF4 0%, #FFFBEB 100%);
  overflow: hidden;
}

@media (min-width: 768px) {
  .hero {
    padding: 8rem 0;
  }
}

.hero-content {
  position: relative;
  z-index: 10;
}

.hero h1 {
  color: #2D5016;
  margin-bottom: 1.5rem;
  animation: slideInLeft 0.6s ease-out;
}

.hero p {
  font-size: 1.25rem;
  color: #4B5563;
  margin-bottom: 2rem;
  max-width: 600px;
  line-height: 1.8;
}

.hero-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

@media (min-width: 640px) {
  .hero-buttons {
    flex-direction: row;
  }
}

.hero-buttons .btn {
  padding: 0.75rem 2rem;
  font-size: 1.125rem;
}

/* ============================================================================
   SECTION STYLES
   ============================================================================ */

section {
  padding: 5rem 0;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header h2 {
  color: #2D5016;
  margin-bottom: 1rem;
}

.section-header p {
  font-size: 1.125rem;
  color: #6B6B6B;
  max-width: 600px;
  margin: 0 auto;
}

/* ============================================================================
   GRID LAYOUTS
   ============================================================================ */

.grid {
  display: grid;
  gap: 2rem;
}

.grid-2 {
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .grid-2 {
    grid-template-columns: repeat(2, 1fr);
  }
}

.grid-3 {
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

.grid-4 {
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .grid-4 {
    grid-template-columns: repeat(4, 1fr);
  }
}

.grid-center {
  align-items: center;
}

/* ============================================================================
   CARDS
   ============================================================================ */

.card {
  background-color: white;
  border-radius: 0.5rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: all 0.3s ease;
}

.card:hover {
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  transform: translateY(-2px);
}

.card-header {
  padding: 2rem;
  background: linear-gradient(135deg, #FEF3E2 0%, #FFFBEB 100%);
  border-bottom: 2px solid #E8DCC8;
}

.card-body {
  padding: 2rem;
}

.card-image {
  width: 100%;
  height: 12rem;
  background: linear-gradient(135deg, #FCD34D 0%, #F59E0B 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #9CA3AF;
  font-size: 0.875rem;
}

.card-footer {
  padding: 1.5rem 2rem;
  border-top: 1px solid #E8DCC8;
}

/* ============================================================================
   STATS SECTION
   ============================================================================ */

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

.stat-number {
  font-size: 2.5rem;
  font-weight: bold;
  color: #E8B84B;
  margin-bottom: 0.5rem;
}

.stat-label {
  color: #6B6B6B;
  font-size: 1rem;
}

/* ============================================================================
   FEATURE BOXES
   ============================================================================ */

.feature-box {
  text-align: center;
  padding: 2rem;
}

.feature-icon {
  width: 3rem;
  height: 3rem;
  margin: 0 auto 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.feature-box h5 {
  color: #2D5016;
  margin-bottom: 0.5rem;
}

.feature-box p {
  color: #6B6B6B;
  font-size: 0.95rem;
}

/* ============================================================================
   BACKGROUND COLORS
   ============================================================================ */

.bg-white {
  background-color: white;
}

.bg-light {
  background-color: #FAFAF8;
}

.bg-cream {
  background: linear-gradient(180deg, white 0%, #FEF3E2 100%);
}

.bg-gradient-green {
  background: linear-gradient(135deg, #2D5016 0%, #1A3A0F 100%);
  color: white;
}

.bg-gradient-amber {
  background: linear-gradient(180deg, white 0%, #FEF3E2 100%);
}

/* ============================================================================
   FOOTER
   ============================================================================ */

footer {
  background-color: #1A3A0F;
  color: white;
  padding: 3rem 0 1rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

footer h5 {
  font-size: 1.125rem;
  margin-bottom: 1rem;
  color: white;
}

footer p, footer a {
  font-size: 0.875rem;
  opacity: 0.8;
  color: white;
}

footer a:hover {
  opacity: 1;
  color: #E8B84B;
}

footer ul {
  list-style: none;
}

footer ul li {
  margin-bottom: 0.5rem;
}

.footer-bottom {
  border-top: 1px solid #2D5016;
  padding-top: 2rem;
  text-align: center;
  font-size: 0.875rem;
  opacity: 0.6;
}

/* ============================================================================
   FORMS
   ============================================================================ */

form {
  max-width: 600px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 1.5rem;
}

label {
  display: block;
  font-weight: 600;
  color: #2D5016;
  margin-bottom: 0.5rem;
  font-size: 0.875rem;
}

input[type="text"],
input[type="email"],
input[type="tel"],
select,
textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 2px solid #E8DCC8;
  border-radius: 0.4rem;
  font-family: inherit;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: #D4A574;
  box-shadow: 0 0 0 3px rgba(212, 165, 116, 0.1);
}

textarea {
  resize: vertical;
  min-height: 150px;
}

/* ============================================================================
   LISTS & CONTENT
   ============================================================================ */

ul, ol {
  margin-left: 1.5rem;
  margin-bottom: 1rem;
}

li {
  margin-bottom: 0.5rem;
}

.list-unstyled {
  list-style: none;
  margin-left: 0;
}

.list-item-icon {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.list-item-icon::before {
  content: '●';
  color: #E8B84B;
  font-weight: bold;
}

/* ============================================================================
   BORDERS & ACCENTS
   ============================================================================ */

.border-left-amber {
  border-left: 4px solid #D4A574;
}

.border-left-green {
  border-left: 4px solid #2D5016;
}

.border-top-amber {
  border-top: 4px solid #D4A574;
}

.border-top-green {
  border-top: 4px solid #2D5016;
}

.divider {
  height: 1px;
  background-color: #E8DCC8;
  margin: 2rem 0;
}

/* ============================================================================
   SPACING UTILITIES
   ============================================================================ */

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mt-6 { margin-top: 3rem; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mb-6 { margin-bottom: 3rem; }
.mb-12 { margin-bottom: 3rem; }

.px-4 { padding: 0 1rem; }
.py-4 { padding: 1rem 0; }
.p-6 { padding: 1.5rem; }
.p-8 { padding: 2rem; }

.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }

/* ============================================================================
   TEXT UTILITIES
   ============================================================================ */

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

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

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

.text-sm {
  font-size: 0.875rem;
}

.text-lg {
  font-size: 1.125rem;
}

.text-xl {
  font-size: 1.25rem;
}

.font-bold {
  font-weight: 700;
}

.font-semibold {
  font-weight: 600;
}

.text-green-900 {
  color: #2D5016;
}

.text-amber-600 {
  color: #D4A574;
}

.text-gray-600 {
  color: #6B6B6B;
}

.text-gray-700 {
  color: #4B5563;
}

.opacity-80 {
  opacity: 0.8;
}

.opacity-60 {
  opacity: 0.6;
}

/* ============================================================================
   BADGE & LABELS
   ============================================================================ */

.badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
}

.badge-amber {
  background-color: #FEF3E2;
  color: #92400E;
}

.badge-green {
  background-color: #DCFCE7;
  color: #166534;
}

/* ============================================================================
   ANIMATIONS
   ============================================================================ */

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-slide-in-left {
  animation: slideInLeft 0.6s ease-out;
}

.animate-slide-in-right {
  animation: slideInRight 0.6s ease-out;
}

.animate-fade-in-up {
  animation: fadeInUp 0.6s ease-out;
}

/* ============================================================================
   RESPONSIVE UTILITIES
   ============================================================================ */

@media (max-width: 767px) {
  h1 { font-size: 2.5rem; }
  h2 { font-size: 1.875rem; }
  h3 { font-size: 1.5rem; }
  
  section {
    padding: 3rem 0;
  }
}

/* ============================================================================
   TIMELINE STYLES
   ============================================================================ */

.timeline {
  position: relative;
  padding-left: 2rem;
}

.timeline-item {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.timeline-dot {
  width: 1rem;
  height: 1rem;
  background-color: #E8B84B;
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 0.25rem;
}

.timeline-line {
  width: 0.25rem;
  height: 5rem;
  background-color: #E8DCC8;
  position: absolute;
  left: 0.375rem;
  top: 1.5rem;
}

.timeline-item:last-child .timeline-line {
  display: none;
}

/* ============================================================================
   MODAL & OVERLAY
   ============================================================================ */

.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1000;
  align-items: center;
  justify-content: center;
}

.modal.active {
  display: flex;
}

.modal-content {
  background-color: white;
  border-radius: 0.5rem;
  padding: 2rem;
  max-width: 500px;
  width: 90%;
  box-shadow: 0 20px 25px rgba(0, 0, 0, 0.15);
}

/* ============================================================================
   PRINT STYLES
   ============================================================================ */

@media print {
  nav, footer {
    display: none;
  }
}
