/* Feel Understood — Shared Styles */

:root {
  --color-dark: #121212;
  --color-white: #ffffff;
  --color-green: #abd600;
  --color-yellow: #ffd21f;
  --color-gray: #999b9b;
  --color-navy: #1b2331;
  --color-light-bg: #f5f5f5;
  --font-body: Arial, Helvetica, sans-serif;
  --font-heading: 'Poppins', Arial, sans-serif;
  --max-width: 1200px;
}

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

body {
  font-family: var(--font-body);
  color: var(--color-dark);
  background: var(--color-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; }

/* ===== HEADER / NAV ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--color-white);
  box-shadow: 0 1px 4px rgba(0,0,0,0.08);
}
.site-header .container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.site-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 22px;
}
.site-logo .green { color: var(--color-green); }
.site-logo .yellow { color: var(--color-yellow); }
.site-logo img {
  height: 44px;
  width: auto;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-links a {
  font-size: 15px;
  font-weight: 500;
  color: var(--color-dark);
  transition: color 0.2s;
  position: relative;
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--color-green);
}
.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--color-green);
}
.hamburger {
  display: none;
  background: none;
  border: none;
  width: 28px;
  height: 20px;
  position: relative;
  cursor: pointer;
}
.hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--color-dark);
  position: absolute;
  left: 0;
  transition: all 0.3s;
}
.hamburger span:nth-child(1) { top: 0; }
.hamburger span:nth-child(2) { top: 9px; }
.hamburger span:nth-child(3) { top: 18px; }
.hamburger.open span:nth-child(1) { top: 9px; transform: rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { top: 9px; transform: rotate(-45deg); }

.mobile-nav {
  display: none;
  flex-direction: column;
  background: var(--color-white);
  padding: 16px 24px 24px;
  border-top: 1px solid #eee;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  padding: 14px 0;
  font-size: 16px;
  font-weight: 500;
  border-bottom: 1px solid #f0f0f0;
}
.mobile-nav a:last-child { border-bottom: none; }

/* ===== FOOTER ===== */
.site-footer {
  background: var(--color-white);
  border-top: 1px solid #e5e5e5;
  padding: 48px 24px 32px;
}
.site-footer .container {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
}
.footer-brand {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 700;
}
.footer-brand .green { color: var(--color-green); }
.footer-brand .yellow { color: var(--color-yellow); }
.footer-tagline {
  font-size: 14px;
  color: var(--color-gray);
  margin-top: 8px;
  max-width: 300px;
}
.footer-links {
  display: flex;
  gap: 28px;
}
.footer-links a {
  font-size: 14px;
  color: var(--color-gray);
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--color-dark); }
.footer-copy {
  width: 100%;
  text-align: center;
  font-size: 13px;
  color: var(--color-gray);
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid #e5e5e5;
}

/* ===== COMMON SECTIONS ===== */
.section { padding: 80px 24px; }
.section .container {
  max-width: var(--max-width);
  margin: 0 auto;
}
.section-title {
  font-family: var(--font-heading);
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 16px;
  line-height: 1.2;
}
.section-subtitle {
  font-size: 18px;
  color: var(--color-gray);
  margin-bottom: 48px;
  max-width: 640px;
}

/* Page banner (blog, podcast headers) */
.page-banner {
  padding: 64px 24px;
  text-align: center;
}
.page-banner h1 {
  font-family: var(--font-heading);
  font-size: 48px;
  font-weight: 700;
  color: var(--color-white);
}
.page-banner p {
  font-size: 18px;
  color: rgba(255,255,255,0.85);
  margin-top: 12px;
}

/* Card grid */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 32px;
}
.card {
  background: var(--color-white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  transition: transform 0.2s, box-shadow 0.2s;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}
.card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  background: #eee;
}
.card-body { padding: 24px; }
.card-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 4px 10px;
  border-radius: 4px;
  margin-bottom: 12px;
}
.card-title {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 10px;
  line-height: 1.3;
}
.card-excerpt {
  font-size: 15px;
  color: #555;
  line-height: 1.6;
}
.card-meta {
  font-size: 13px;
  color: var(--color-gray);
  margin-top: 16px;
}

/* CTA button */
.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  border: none;
  transition: transform 0.15s, box-shadow 0.15s;
}
.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}
.btn-yellow { background: var(--color-yellow); color: var(--color-dark); }
.btn-green { background: var(--color-green); color: var(--color-dark); }
.btn-dark { background: var(--color-dark); color: var(--color-white); }
.btn-outline {
  background: transparent;
  border: 2px solid var(--color-dark);
  color: var(--color-dark);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .hamburger { display: block; }

  .section { padding: 48px 16px; }
  .section-title { font-size: 28px; }
  .page-banner { padding: 40px 16px; }
  .page-banner h1 { font-size: 32px; }

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

  .site-footer .container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .footer-links { flex-wrap: wrap; justify-content: center; }
}

@media (max-width: 1024px) and (min-width: 769px) {
  .card-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Google Font import */
@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,400;0,500;0,600;0,700;1,400;1,600;1,700&display=swap');
