/* Hempium Light Theme Redesign */

:root {
  --bg-color: #fdfcf9; /* soft cream */
  --text-dark: #1b1d19; /* dark dark green grey */
  --text-light: #fdfcf9;
  --accent-green: #154626; /* deep forest */
  --accent-light: #6a9b70; /* sage */
  --surface-color: #ffffff;
  --muted-text: #666e62;
  --border-subtle: rgba(21, 70, 38, 0.08); /* sage border */
  --font-title: 'Space Grotesk', sans-serif;
  --font-serif: 'Instrument Serif', serif;
}

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

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

body {
  font-family: 'Space Grotesk', sans-serif;
  background-color: var(--bg-color);
  color: var(--text-dark);
  line-height: 1.6;
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Grid wrappers */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

/* Sections */
.section {
  padding: 6rem 0;
}

.section-label {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent-light);
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: 3rem;
  font-family: var(--font-title);
  color: var(--accent-green);
  margin-bottom: 2rem;
  font-weight: 700;
  line-height: 1.1;
}

.section-body {
  color: var(--muted-text);
  font-size: 1.15rem;
  max-width: 500px;
  margin-bottom: 2rem;
}

/* Navbar */
#navbar {
  position: sticky;
  top: 0;
  width: 100%;
  background-color: rgba(253, 252, 249, 0.9);
  backdrop-filter: blur(10px);
  z-index: 1000;
  border-bottom: 1px solid var(--border-subtle);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.25rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  font-weight: 700;
  color: var(--accent-green);
  font-size: 1.25rem;
}

.nav-logo .logo-leaf {
  font-size: 1.5rem;
}

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

.nav-links a {
  text-decoration: none;
  color: var(--text-dark);
  font-weight: 500;
  transition: color 0.2s;
}

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

.nav-cta {
  background-color: var(--accent-green);
  color: #fff !important;
  padding: 0.6rem 1.25rem;
  border-radius: 50px;
  transition: background 0.2s ease;
}

.nav-cta:hover {
  background-color: #225c35;
}

/* Hero Section */
.hero {
  padding: 4rem 0;
  min-height: 80vh;
  display: flex;
  align-items: center;
}

.hero-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 3rem;
  align-items: center;
}

.hero-text-wrapper {
  max-width: 540px;
}

.hero-badge {
  display: inline-block;
  background-color: #f1f6f2;
  color: var(--accent-green);
  padding: 0.4rem 1rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.hero-title {
  font-size: 4.5rem;
  line-height: 1;
  font-weight: 700;
  color: var(--accent-green);
  margin-bottom: 1.5rem;
}

.serif-title {
  font-family: var(--font-serif);
  font-weight: 400;
  font-style: italic;
  font-size: 5rem;
}

.hero-sub {
  font-size: 1.2rem;
  color: var(--muted-text);
  margin-bottom: 2.5rem;
}

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

.btn {
  display: inline-block;
  padding: 0.85rem 1.75rem;
  border-radius: 50px;
  font-weight: 700;
  text-decoration: none;
  font-size: 1rem;
  transition: all 0.2s ease;
}

.btn-primary {
  background-color: var(--accent-green);
  color: #fff;
  box-shadow: 0 4px 14px rgba(21, 70, 38, 0.15);
}

.btn-primary:hover {
  background-color: #225c35;
  transform: translateY(-2px);
}

.btn-ghost {
  border: 1px solid var(--border-subtle);
  color: var(--accent-green);
}

.btn-ghost:hover {
  background-color: #f1f6f2;
}

.hero-image-container {
  position: relative;
  height: 550px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0,0,0,0.06);
}

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

.hero-image-overlay {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: linear-gradient(180deg, rgba(253,252,249,0) 60%, rgba(253,252,249,0.3) 100%);
}

/* Mission Section */
.mission-img-wrapper {
  height: 500px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.04);
}

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

.stats-row {
  display: flex;
  gap: 2rem;
  margin-top: 3rem;
  border-top: 1px solid var(--border-subtle);
  padding-top: 2rem;
}

.stat {
  display: flex;
  flex-direction: column;
}

.stat-num {
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent-green);
}

.stat-label {
  font-size: 0.85rem;
  color: var(--muted-text);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Pillars Grid */
.pillars {
  background-color: #f6f8f6;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

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

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

.pillar-card {
  background-color: var(--surface-color);
  padding: 3rem 2rem;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.02);
  border: 1px solid var(--border-subtle);
  transition: transform 0.3s ease;
}

.pillar-card:hover {
  transform: translateY(-5px);
}

.pillar-icon {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

.pillar-card h3 {
  color: var(--accent-green);
  margin-bottom: 1rem;
}

.pillar-card p {
  color: var(--muted-text);
}

/* Join Form Grid */
.grid-join {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.join-perks {
  list-style: none;
  margin-top: 2rem;
}

.join-perks li {
  margin-bottom: 1rem;
  color: var(--accent-green);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.signup-card-container {
  display: flex;
  justify-content: flex-end;
}

.signup-card {
  background-color: var(--surface-color);
  width: 100%;
  max-width: 440px;
  padding: 3rem;
  border-radius: 20px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.05);
  border: 1px solid var(--border-subtle);
}

.form-heading {
  font-size: 1.5rem;
  color: var(--accent-green);
  margin-bottom: 2rem;
  font-weight: 700;
}

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

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
  color: var(--muted-text);
}

.form-group input {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  background-color: #fdfcf9;
  font-family: var(--font-title);
  font-size: 1rem;
  transition: border-color 0.2s;
}

.form-group input:focus {
  outline: none;
  border-color: var(--accent-green);
}

.submit-button {
  width: 100%;
  background-color: var(--accent-green);
  color: #fff;
  border: none;
  padding: 1rem;
  border-radius: 8px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  margin-top: 1rem;
  transition: background 0.2s;
}

.submit-button:hover {
  background-color: #225c35;
}

.error {
  color: #c0392b;
  font-size: 0.8rem;
  margin-top: 0.25rem;
  display: none;
}

.join-success {
  text-align: center;
  padding: 2rem 0;
  color: var(--accent-green);
}

/* Footer */
.site-footer {
  text-align: center;
  padding: 3rem;
  background-color: #111e15;
  color: #f3f7f4;
  border-top: 1px solid var(--border-subtle);
}

/* Scroll Animations using opacity trigger setup with JS Class adding */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 { transition-delay: 0.2s; }
.delay-2 { transition-delay: 0.4s; }

/* Responsive adjustments */
@media (max-width: 900px) {
  .grid-2, .hero-content, .grid-join {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .hero-content {
    text-align: center;
  }
  .hero-actions {
    justify-content: center;
  }
  .hero-text-wrapper {
    margin: 0 auto;
  }
  .hero-title {
    font-size: 3.5rem;
  }
  .serif-title {
    font-size: 3.8rem;
  }
  .hero-image-container {
    height: 350px;
  }
  .pillars-grid {
    grid-template-columns: 1fr;
  }
  .signup-card-container {
    justify-content: center;
  }
}
@media (max-width: 600px) {
  .section {
    padding: 3rem 0;
  }
  .section-title {
    font-size: 2.2rem;
  }
  .nav-links {
    display: none; /* simple toggle would be best, keeping minimal for demo */
  }
}
