/* Sage Garden - Grace Berman, LCSW */
/* Portfolio of Impact */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;600;700&family=Source+Sans+3:wght@300;400;600&display=swap');

:root {
  --white: #ffffff;
  --mist: #f1f5f9;
  --sage: #059669;
  --seafoam: #a7f3d0;
  --slate: #475569;
  --deep: #064e3b;

  --font-headline: 'Plus Jakarta Sans', sans-serif;
  --font-body: 'Source Sans 3', sans-serif;

  --transition: all 0.3s ease;
}

/* Reset & Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.7;
  color: var(--slate);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-headline);
  color: var(--deep);
  line-height: 1.2;
  font-weight: 700;
}

h1 { font-size: 3rem; margin-bottom: 1.5rem; }
h2 { font-size: 2.25rem; margin-bottom: 1.25rem; }
h3 { font-size: 1.5rem; margin-bottom: 1rem; }
h4 { font-size: 1.125rem; margin-bottom: 0.75rem; }

p { margin-bottom: 1.25rem; }

a {
  color: var(--sage);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--deep);
}

/* Header & Navigation */
header {
  background: var(--white);
  border-bottom: 1px solid var(--mist);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

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

.logo {
  font-family: var(--font-headline);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--deep);
}

.logo span {
  color: var(--sage);
  font-weight: 400;
  font-size: 0.875rem;
  display: block;
  margin-top: -0.25rem;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 2.5rem;
}

nav a {
  font-family: var(--font-headline);
  font-weight: 600;
  font-size: 1rem;
  color: var(--slate);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  position: relative;
}

nav a:hover {
  color: var(--sage);
}

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

nav a:hover::after {
  width: 100%;
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.75rem;
  color: var(--deep);
  cursor: pointer;
  padding: 0.25rem;
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, var(--mist) 0%, var(--white) 100%);
  padding: 5rem 2rem;
  text-align: center;
}

.hero-container {
  max-width: 900px;
  margin: 0 auto;
}

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 1rem;
}

.hero .subtitle {
  font-size: 1.5rem;
  color: var(--sage);
  font-weight: 600;
  margin-bottom: 1.5rem;
  font-family: var(--font-headline);
}

.hero p {
  font-size: 1.25rem;
  color: var(--slate);
  max-width: 700px;
  margin: 0 auto 2.5rem;
  line-height: 1.8;
}

.impact-stats {
  display: flex;
  justify-content: center;
  gap: 4rem;
  margin-top: 3rem;
  flex-wrap: wrap;
}

.stat {
  text-align: center;
}

.stat-number {
  font-size: 3rem;
  font-weight: 700;
  color: var(--sage);
  font-family: var(--font-headline);
  display: block;
  line-height: 1;
}

.stat-label {
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--slate);
  margin-top: 0.5rem;
  font-weight: 600;
}

/* CTA Buttons */
.cta-button, .btn-primary, .btn-secondary {
  display: inline-block;
  padding: 1rem 2.5rem;
  border-radius: 8px;
  font-family: var(--font-headline);
  font-weight: 600;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: var(--transition);
  border: 2px solid transparent;
  cursor: pointer;
}

.cta-button, .btn-primary {
  background: var(--sage);
  color: var(--white);
}

.cta-button:hover, .btn-primary:hover {
  background: var(--deep);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(5, 150, 105, 0.25);
}

.btn-secondary {
  background: transparent;
  border-color: var(--sage);
  color: var(--sage);
}

.btn-secondary:hover {
  background: var(--sage);
  color: var(--white);
}

/* Content Sections */
.section {
  padding: 5rem 2rem;
}

.section-alt {
  background: var(--mist);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 4rem;
}

.section-header h2 {
  font-size: 2.5rem;
}

.section-header p {
  font-size: 1.125rem;
  color: var(--slate);
}

/* Project Cards */
.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.5rem;
}

.project-card {
  background: var(--white);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
  transition: var(--transition);
  border: 1px solid var(--mist);
}

.project-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 32px rgba(5, 150, 105, 0.15);
}

.project-header {
  padding: 2rem;
  border-bottom: 1px solid var(--mist);
}

.project-type {
  display: inline-block;
  background: var(--seafoam);
  color: var(--deep);
  padding: 0.375rem 1rem;
  border-radius: 20px;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
  margin-bottom: 1rem;
}

.project-card h3 {
  color: var(--deep);
  font-size: 1.5rem;
}

.project-body {
  padding: 2rem;
}

.project-body p {
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.project-impact {
  background: var(--mist);
  padding: 1.25rem;
  border-radius: 8px;
  margin-bottom: 1.5rem;
}

.project-impact strong {
  color: var(--sage);
  font-weight: 600;
}

.project-link {
  color: var(--sage);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.project-link:hover {
  gap: 0.75rem;
}

/* Feature Highlights */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.feature {
  text-align: center;
  padding: 2rem;
  background: var(--white);
  border-radius: 12px;
  border: 1px solid var(--mist);
}

.feature-icon {
  width: 64px;
  height: 64px;
  background: var(--seafoam);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 1.75rem;
}

.feature h3 {
  margin-bottom: 1rem;
  font-size: 1.25rem;
}

.feature p {
  font-size: 0.9375rem;
  margin-bottom: 0;
}

/* Writing Grid */
.writing-grid {
  display: grid;
  gap: 2rem;
}

.article-card {
  background: var(--white);
  border-radius: 12px;
  padding: 2rem;
  border-left: 4px solid var(--sage);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  transition: var(--transition);
}

.article-card:hover {
  box-shadow: 0 4px 16px rgba(5, 150, 105, 0.12);
  transform: translateX(4px);
}

.article-meta {
  font-size: 0.875rem;
  color: var(--slate);
  margin-bottom: 0.75rem;
  font-weight: 600;
}

.article-card h3 {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}

.article-card p {
  margin-bottom: 1rem;
}

/* About Page */
.about-intro {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.about-content {
  max-width: 800px;
  margin: 3rem auto 0;
}

.about-content h3 {
  color: var(--sage);
  margin-top: 2.5rem;
  margin-bottom: 1rem;
}

.credentials {
  background: var(--mist);
  padding: 2rem;
  border-radius: 12px;
  margin: 2.5rem 0;
}

.credentials ul {
  list-style: none;
  display: grid;
  gap: 0.75rem;
}

.credentials li {
  padding-left: 1.5rem;
  position: relative;
}

.credentials li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--sage);
  font-weight: 700;
}

/* Collaborate Page */
.collab-intro {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 4rem;
}

.opportunity-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2.5rem;
  margin-bottom: 4rem;
}

.opportunity-card {
  background: var(--white);
  border: 2px solid var(--sage);
  border-radius: 12px;
  padding: 2.5rem;
  text-align: center;
  transition: var(--transition);
}

.opportunity-card:hover {
  background: var(--mist);
  border-color: var(--deep);
}

.opportunity-card h3 {
  color: var(--sage);
  margin-bottom: 1rem;
}

.contact-form {
  max-width: 600px;
  margin: 0 auto;
  background: var(--white);
  padding: 3rem;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

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

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--deep);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.875rem;
  border: 2px solid var(--mist);
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 1rem;
  transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--sage);
}

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

/* Footer */
footer {
  background: var(--deep);
  color: var(--white);
  padding: 3rem 2rem 2rem;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

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

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

.footer-note {
  font-size: 0.875rem;
  color: var(--seafoam);
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(167, 243, 208, 0.2);
}

/* Responsive */
@media (max-width: 768px) {
  h1 { font-size: 2.25rem; }
  h2 { font-size: 1.875rem; }

  .hero h1 { font-size: 2.5rem; }
  .hero .subtitle { font-size: 1.25rem; }
  .hero p { font-size: 1.125rem; }

  .header-container {
    padding: 1rem 1.5rem;
  }

  nav {
    position: fixed;
    top: 0;
    left: -100%;
    width: 80%;
    height: 100vh;
    background: var(--white);
    box-shadow: 2px 0 16px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    padding: 5rem 2rem 2rem;
    z-index: 999;
  }

  nav.active {
    left: 0;
  }

  nav ul {
    flex-direction: column;
    gap: 1.5rem;
  }

  .mobile-toggle {
    display: block;
  }

  .section {
    padding: 3rem 1.5rem;
  }

  .impact-stats {
    gap: 2rem;
  }

  .stat-number {
    font-size: 2.25rem;
  }

  .project-grid,
  .feature-grid,
  .opportunity-grid {
    grid-template-columns: 1fr;
  }

  .contact-form {
    padding: 2rem 1.5rem;
  }
}

@media (max-width: 480px) {
  .cta-button, .btn-primary, .btn-secondary {
    display: block;
    width: 100%;
    text-align: center;
  }

  .footer-links {
    flex-direction: column;
    gap: 1rem;
  }
}
