/* ============================================
   DEEGANSAN — styles.css
   Colors extracted from logo:
   Green: #3e6b1f | Brown: #6b3a2a
   ============================================ */

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

:root {
  --green:        #3e6b1f;
  --green-light:  #5a8f2e;
  --green-pale:   #e8f0de;
  --green-mid:    #c5d9a4;
  --brown:        #6b3a2a;
  --brown-light:  #8c5240;
  --brown-pale:   #f4ede8;
  --brown-mid:    #d4a898;
  --cream:        #faf6f0;
  --sand:         #f0e8d8;
  --text-dark:    #2c1f1a;
  --text-mid:     #5a4a40;
  --text-light:   #8a7a70;
  --white:        #ffffff;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Lato', sans-serif;
  background: var(--cream);
  color: var(--text-dark);
  font-size: 16px;
  line-height: 1.7;
}

/* ============================================
   GOOGLE FONTS — add this link to your <head>:
   <link href="https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700&family=Lato:wght@300;400;700&display=swap" rel="stylesheet">
   ============================================ */


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

nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 246, 240, 0.97);
  border-bottom: 2px solid var(--brown-mid);
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 70px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.nav-logo img {
  height: 52px;
  width: auto;
  object-fit: contain;
}

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

.nav-links a {
  display: block;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--brown);
  text-decoration: none;
  border-radius: 4px;
  transition: all 0.2s;
}

.nav-links a:hover {
  color: var(--green);
  background: var(--green-pale);
}

.nav-donate {
  background: var(--green) !important;
  color: var(--white) !important;
  border-radius: 20px !important;
  padding: 8px 20px !important;
  margin-left: 8px;
}

.nav-donate:hover {
  background: var(--green-light) !important;
}


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

.hero {
  min-height: 92vh;
  background: linear-gradient(160deg, #1a3a0a 0%, #2d5a15 40%, #4a7c2f 70%, #6b4a2a 100%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 5rem 6rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero-badge {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #c8e6a0;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 20px;
  margin-bottom: 1.5rem;
}

.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.8rem, 5vw, 4.5rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 1.5rem;
  max-width: 700px;
}

.hero h1 span {
  color: #a8d060;
}

.hero p {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.82);
  max-width: 560px;
  margin-bottom: 2.5rem;
  font-weight: 300;
  line-height: 1.8;
}

.hero-btns {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn-primary {
  background: var(--white);
  color: var(--green);
  padding: 14px 32px;
  border-radius: 30px;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: all 0.25s;
  border: 2px solid transparent;
}

.btn-primary:hover {
  background: transparent;
  color: #fff;
  border-color: #fff;
}

.btn-secondary {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.5);
  padding: 14px 32px;
  border-radius: 30px;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: all 0.25s;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
}

.hero-stats {
  position: absolute;
  bottom: 2.5rem;
  right: 5rem;
  display: flex;
  gap: 2.5rem;
}

.stat {
  text-align: center;
}

.stat-num {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 700;
  color: #a8d060;
}

.stat-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.6);
}


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

section {
  padding: 5rem;
}

.section-tag {
  display: inline-block;
  background: var(--green-pale);
  color: var(--green);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 1rem;
}

.section-tag.brown {
  background: var(--brown-pale);
  color: var(--brown);
}

h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 1rem;
}

.section-lead {
  font-size: 1.05rem;
  color: var(--text-mid);
  max-width: 600px;
  line-height: 1.8;
}

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

.divider {
  width: 60px;
  height: 3px;
  background: var(--green);
  border-radius: 2px;
  margin: 1rem 0 1.5rem;
}

.divider.brown {
  background: var(--brown);
}


/* ============================================
   ABOUT
   ============================================ */

.about {
  background: var(--white);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-visual {
  background: linear-gradient(135deg, var(--green-pale) 0%, var(--sand) 100%);
  border-radius: 12px;
  padding: 3rem;
  position: relative;
  min-height: 360px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border: 1px solid var(--green-mid);
}

.leaf-deco {
  position: absolute;
  top: -20px;
  right: -20px;
  width: 80px;
  height: 80px;
  background: var(--green);
  border-radius: 50% 0 50% 0;
  opacity: 0.15;
}

.mission-card {
  background: var(--white);
  border-radius: 8px;
  padding: 1.25rem 1.5rem;
  border-left: 4px solid var(--green);
  margin-bottom: 1rem;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.mission-card h4 {
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--green);
  margin-bottom: 4px;
}

.mission-card p {
  font-size: 0.9rem;
  color: var(--text-mid);
  line-height: 1.6;
}

.mission-card.b {
  border-left-color: var(--brown);
}

.mission-card.b h4 {
  color: var(--brown);
}


/* ============================================
   PROGRAMS
   ============================================ */

.programs {
  background: var(--sand);
}

.programs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

.prog-card {
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(107, 58, 42, 0.12);
  transition: transform 0.25s, box-shadow 0.25s;
}

.prog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.1);
}

.prog-top {
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
}

.prog-top.g { background: linear-gradient(135deg, #c8e6a0, #8db85a); }
.prog-top.b { background: linear-gradient(135deg, #d4b4a8, #a0704a); }
.prog-top.t { background: linear-gradient(135deg, #a8d4e8, #5a9cb8); }

.prog-body {
  padding: 1.5rem;
}

.prog-body h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  color: var(--text-dark);
}

.prog-body p {
  font-size: 0.88rem;
  color: var(--text-mid);
  line-height: 1.7;
}

.prog-tag {
  display: inline-block;
  margin-top: 1rem;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 20px;
}

.prog-tag.g { background: var(--green-pale); color: var(--green); }
.prog-tag.b { background: var(--brown-pale); color: var(--brown); }
.prog-tag.t { background: #dff0f7; color: #2a6e8a; }


/* ============================================
   WORLD DAYS / EVENTS
   ============================================ */

.events {
  background: var(--white);
}

.events-inner {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 4rem;
  align-items: start;
}

.events-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.event-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: var(--cream);
  border-radius: 8px;
  padding: 1rem 1.25rem;
  border: 1px solid var(--green-mid);
  transition: all 0.2s;
  cursor: pointer;
}

.event-item:hover {
  background: var(--green-pale);
  border-color: var(--green);
}

.event-date {
  min-width: 52px;
  text-align: center;
  background: var(--green);
  color: #fff;
  border-radius: 8px;
  padding: 6px 4px;
}

.event-date .day {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  font-weight: 700;
  line-height: 1;
}

.event-date .mon {
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  opacity: 0.85;
}

.event-info h4 {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 2px;
}

.event-info p {
  font-size: 0.8rem;
  color: var(--text-mid);
}

.event-item.soil  .event-date { background: var(--brown); }
.event-item.water .event-date { background: #3a7a9c; }
.event-item.climate .event-date { background: #2d5a15; }

.events-feature {
  background: linear-gradient(160deg, #1a3a0a, #3a6b1f);
  border-radius: 16px;
  padding: 3rem;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.events-feature::before {
  content: '🌍';
  position: absolute;
  right: 2rem;
  top: 1.5rem;
  font-size: 5rem;
  opacity: 0.15;
}

.events-feature h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: #c8e6a0;
}

.events-feature p {
  font-size: 0.9rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 1.5rem;
}

.events-feature .pill {
  display: inline-block;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #c8e6a0;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 20px;
  margin: 3px;
}


/* ============================================
   GALLERY
   ============================================ */

.gallery {
  background: var(--sand);
}

.gallery-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: 240px 240px;
  gap: 12px;
  margin-top: 2.5rem;
  border-radius: 12px;
  overflow: hidden;
}

.g-cell {
  overflow: hidden;
  position: relative;
  cursor: pointer;
}

/* The first cell spans both rows (tall left column) */
.g-cell:first-child {
  grid-row: 1 / 3;
}

/*
  -----------------------------------------------
  REPLACE GALLERY IMAGES
  -----------------------------------------------
  Each .g-cell uses a background-image.
  Replace the placeholder gradients below with
  your own photos like this:
    background-image: url('../images/gallery-1.jpg');

  Recommended image sizes:
    gallery-1 (large left):  800 x 480px
    gallery-2 to 5 (small):  400 x 240px each

  Supported formats: .jpg  .jpeg  .png  .webp
  -----------------------------------------------
*/

.g-cell:nth-child(1) .g-inner { background: linear-gradient(135deg, #2d5a15, #5a9c2e); }
.g-cell:nth-child(2) .g-inner { background: linear-gradient(135deg, #4a7c2f, #8db860); }
.g-cell:nth-child(3) .g-inner { background: linear-gradient(135deg, #8c5240, #c4815a); }
.g-cell:nth-child(4) .g-inner { background: linear-gradient(135deg, #3a7a9c, #6ab0c8); }
.g-cell:nth-child(5) .g-inner { background: linear-gradient(135deg, #6b3a2a, #a86040); }

.g-inner {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  transition: transform 0.4s;
  /* When using real photos, add these: */
  /* background-size: cover; */
  /* background-position: center; */
}

.g-cell:hover .g-inner {
  transform: scale(1.06);
}

.g-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
  padding: 1rem;
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  transform: translateY(100%);
  transition: transform 0.3s;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.g-cell:hover .g-overlay {
  transform: translateY(0);
}


/* ============================================
   DONATE / GET INVOLVED
   ============================================ */

.donate {
  background: linear-gradient(160deg, #6b3a2a 0%, #3e6b1f 100%);
  padding: 6rem 5rem;
}

.donate-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.donate h2 {
  color: #fff;
}

.donate .section-tag {
  background: rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.9);
}

.donate p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 2rem;
}

.donate-ways {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.donate-card {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  color: #fff;
  transition: background 0.2s;
  cursor: pointer;
}

.donate-card:hover {
  background: rgba(255, 255, 255, 0.18);
}

.donate-icon {
  font-size: 1.5rem;
  min-width: 36px;
}

.donate-card h4 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 2px;
  color: #c8e6a0;
}

.donate-card p {
  font-size: 0.82rem;
  opacity: 0.8;
  margin: 0;
  line-height: 1.5;
}

.btn-donate-big {
  display: inline-block;
  margin-top: 2rem;
  background: var(--white);
  color: var(--green);
  padding: 16px 40px;
  border-radius: 30px;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: all 0.25s;
}

.btn-donate-big:hover {
  background: var(--cream);
}


/* ============================================
   CONTACT
   ============================================ */

.contact {
  background: var(--white);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-row {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.contact-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--green-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.contact-row h4 {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--green);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 3px;
}

.contact-row p {
  font-size: 0.9rem;
  color: var(--text-mid);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--brown-mid);
  border-radius: 8px;
  font-family: 'Lato', sans-serif;
  font-size: 0.9rem;
  color: var(--text-dark);
  background: var(--cream);
  outline: none;
  transition: border-color 0.2s;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--green);
}

.contact-form textarea {
  resize: vertical;
  min-height: 110px;
}

.btn-send {
  background: var(--green);
  color: #fff;
  border: none;
  padding: 13px 32px;
  border-radius: 30px;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  align-self: flex-start;
  transition: background 0.2s;
}

.btn-send:hover {
  background: var(--green-light);
}


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

footer {
  background: #1a2e0a;
  color: rgba(255, 255, 255, 0.7);
  padding: 3rem 5rem 1.5rem;
}

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

.footer-brand p {
  font-size: 0.85rem;
  line-height: 1.8;
  margin-top: 1rem;
  max-width: 240px;
}

.footer-col h4 {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #a8d060;
  margin-bottom: 1rem;
}

.footer-col a {
  display: block;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  margin-bottom: 6px;
  transition: color 0.2s;
}

.footer-col a:hover {
  color: #a8d060;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
}

.footer-bottom span {
  color: rgba(255, 255, 255, 0.4);
}

.footer-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: #a8d060;
}
