/* ============================================
   Adventure Canyon — adventurecanyon.com
   ============================================ */

:root {
  --green-dark: #1e5c38;
  --green-main: #2d7a4f;
  --green-light: #4a9e6b;
  --green-pale: #e8f5ee;
  --green-accent: #f0faf4;
  --text-dark: #1a1a2e;
  --text-body: #3d3d3d;
  --text-muted: #6b7280;
  --border: #d1e7da;
  --white: #ffffff;
  --bg-light: #f9fafb;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.10);
  --radius: 10px;
  --radius-lg: 16px;
}

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

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

body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  color: var(--text-body);
  background: var(--white);
  line-height: 1.7;
}

a {
  color: var(--green-main);
  text-decoration: none;
}

a:hover {
  color: var(--green-dark);
  text-decoration: underline;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ── HEADER ── */
.site-header {
  background: var(--white);
  border-bottom: 2px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-sm);
}

.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--green-dark);
  text-decoration: none;
}

.site-logo .logo-icon {
  width: 36px;
  height: 36px;
  background: var(--green-main);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.2rem;
}

.site-logo:hover {
  text-decoration: none;
  color: var(--green-dark);
}

.main-nav {
  display: flex;
  gap: 28px;
  list-style: none;
}

.main-nav a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-body);
  transition: color 0.2s;
}

.main-nav a:hover {
  color: var(--green-main);
  text-decoration: none;
}

/* ── HERO (Homepage) ── */
.hero {
  background: linear-gradient(135deg, var(--green-dark) 0%, var(--green-main) 60%, var(--green-light) 100%);
  color: white;
  padding: 72px 24px 80px;
  text-align: center;
}

.hero h1 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}

.hero p {
  font-size: 1.15rem;
  opacity: 0.9;
  max-width: 560px;
  margin: 0 auto 32px;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  margin-top: 36px;
}

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

.hero-stat .num {
  font-size: 1.8rem;
  font-weight: 800;
  display: block;
}

.hero-stat .lbl {
  font-size: 0.85rem;
  opacity: 0.8;
}

/* ── MAIN CONTAINER ── */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

.container-narrow {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── SECTIONS ── */
.section {
  padding: 64px 0;
}

.section-title {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.section-subtitle {
  color: var(--text-muted);
  margin-bottom: 40px;
}

/* ── ARTICLE CARDS GRID ── */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 28px;
}

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
  display: flex;
  flex-direction: column;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  background: var(--green-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
}

.card-img-placeholder {
  width: 100%;
  height: 200px;
  background: linear-gradient(135deg, var(--green-pale), var(--green-accent));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
}

.card-body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.card-tag {
  display: inline-block;
  background: var(--green-pale);
  color: var(--green-dark);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 20px;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.card-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.35;
  margin-bottom: 10px;
}

.card-excerpt {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
  flex: 1;
  margin-bottom: 18px;
}

.card-meta {
  font-size: 0.82rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 12px;
  border-top: 1px solid var(--border);
  padding-top: 14px;
  margin-top: auto;
}

.btn {
  display: inline-block;
  background: var(--green-main);
  color: white;
  padding: 10px 22px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.9rem;
  transition: background 0.2s;
  text-decoration: none;
  border: none;
  cursor: pointer;
}

.btn:hover {
  background: var(--green-dark);
  color: white;
  text-decoration: none;
}

.btn-outline {
  background: transparent;
  color: var(--green-main);
  border: 2px solid var(--green-main);
}

.btn-outline:hover {
  background: var(--green-main);
  color: white;
}

/* ── ARTICLE PAGE ── */
.article-hero {
  background: var(--green-pale);
  padding: 56px 24px 48px;
  text-align: center;
}

.article-tag {
  display: inline-block;
  background: var(--green-main);
  color: white;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 4px 14px;
  border-radius: 20px;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.article-hero h1 {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 800;
  color: var(--text-dark);
  line-height: 1.25;
  max-width: 720px;
  margin: 0 auto 20px;
}

.article-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  color: var(--text-muted);
  font-size: 0.88rem;
  flex-wrap: wrap;
}

.article-meta span {
  display: flex;
  align-items: center;
  gap: 5px;
}

/* ── ARTICLE CONTENT ── */
.article-content {
  padding: 56px 0 80px;
}

.article-content h2 {
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--text-dark);
  margin: 48px 0 18px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--green-pale);
}

.article-content h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-dark);
  margin: 32px 0 12px;
}

.article-content p {
  margin-bottom: 20px;
  font-size: 1.05rem;
  line-height: 1.75;
}

.article-content ul,
.article-content ol {
  padding-left: 24px;
  margin-bottom: 20px;
}

.article-content li {
  margin-bottom: 8px;
  font-size: 1.05rem;
  line-height: 1.6;
}

.article-content strong {
  color: var(--text-dark);
}

/* ── INFO BOX ── */
.info-box {
  background: var(--green-pale);
  border-left: 4px solid var(--green-main);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 20px 24px;
  margin: 28px 0;
}

.info-box.warning {
  background: #fff8e6;
  border-color: #f59e0b;
}

.info-box.tip {
  background: #e8f0fe;
  border-color: #3b82f6;
}

.info-box-title {
  font-weight: 700;
  color: var(--green-dark);
  margin-bottom: 6px;
  font-size: 0.95rem;
}

.info-box.warning .info-box-title { color: #92400e; }
.info-box.tip .info-box-title { color: #1e40af; }

/* ── PLANT CARD (in articles) ── */
.plant-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  margin: 24px 0;
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 20px;
  align-items: start;
}

.plant-icon {
  width: 80px;
  height: 80px;
  background: var(--green-pale);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
}

.plant-card h3 {
  margin: 0 0 8px;
  font-size: 1.1rem;
}

.plant-stats {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin: 10px 0;
}

.plant-stat {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.plant-stat strong {
  color: var(--text-dark);
}

/* ── COMPARISON TABLE ── */
.compare-table {
  width: 100%;
  border-collapse: collapse;
  margin: 28px 0;
  font-size: 0.95rem;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.compare-table th {
  background: var(--green-main);
  color: white;
  padding: 14px 16px;
  text-align: left;
  font-weight: 600;
}

.compare-table td {
  padding: 13px 16px;
  border-bottom: 1px solid var(--border);
}

.compare-table tr:last-child td {
  border-bottom: none;
}

.compare-table tr:nth-child(even) td {
  background: var(--bg-light);
}

.compare-table tr.winner td {
  background: var(--green-pale);
  font-weight: 600;
}

.badge-winner {
  display: inline-block;
  background: var(--green-main);
  color: white;
  font-size: 0.72rem;
  padding: 2px 8px;
  border-radius: 20px;
  margin-left: 6px;
  font-weight: 600;
}

/* ── RATING STARS ── */
.stars {
  color: #f59e0b;
  font-size: 1rem;
}

/* ── AMAZON AFFILIATE BOX ── */
.affiliate-box {
  background: linear-gradient(135deg, #fff8e1, #fffde7);
  border: 1px solid #fde68a;
  border-radius: var(--radius-lg);
  padding: 24px;
  margin: 32px 0;
  display: flex;
  align-items: flex-start;
  gap: 18px;
}

.affiliate-box-icon {
  font-size: 2rem;
  flex-shrink: 0;
}

.affiliate-box-content h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 6px;
}

.affiliate-box-content p {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.affiliate-disclaimer {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-style: italic;
}

.btn-amazon {
  background: #ff9900;
  color: #111;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 18px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 0.88rem;
  transition: background 0.2s;
}

.btn-amazon:hover {
  background: #e88a00;
  color: #111;
  text-decoration: none;
}

/* ── FAQ ── */
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 12px;
  overflow: hidden;
}

.faq-question {
  padding: 18px 20px;
  font-weight: 600;
  font-size: 1rem;
  color: var(--text-dark);
  background: var(--bg-light);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-answer {
  padding: 16px 20px;
  font-size: 0.95rem;
  line-height: 1.7;
  border-top: 1px solid var(--border);
}

/* ── BREADCRUMB ── */
.breadcrumb {
  background: var(--bg-light);
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.85rem;
  color: var(--text-muted);
}

.breadcrumb a {
  color: var(--text-muted);
}

.breadcrumb a:hover {
  color: var(--green-main);
}

.breadcrumb span {
  margin: 0 8px;
}

/* ── LEGAL PAGES ── */
.legal-page {
  padding: 56px 0 80px;
}

.legal-page h1 {
  font-size: 2rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.legal-page .updated {
  color: var(--text-muted);
  font-size: 0.88rem;
  margin-bottom: 40px;
}

.legal-page h2 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-dark);
  margin: 36px 0 12px;
}

.legal-page p,
.legal-page li {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text-body);
}

.legal-page ul {
  padding-left: 20px;
  margin-bottom: 16px;
}

.legal-page li {
  margin-bottom: 6px;
}

/* ── FOOTER ── */
.site-footer {
  background: var(--text-dark);
  color: rgba(255,255,255,0.7);
  padding: 48px 0 24px;
  margin-top: auto;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

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

.footer-brand .site-logo {
  color: white;
  margin-bottom: 12px;
  display: inline-flex;
}

.footer-brand p {
  font-size: 0.88rem;
  line-height: 1.6;
  max-width: 280px;
}

.footer-links h4 {
  color: white;
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 8px;
}

.footer-links a {
  color: rgba(255,255,255,0.65);
  font-size: 0.88rem;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: white;
  text-decoration: none;
}

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

.affiliate-notice {
  background: var(--green-pale);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 12px 18px;
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 32px;
}

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .main-nav {
    display: none;
  }

  .hero {
    padding: 48px 20px 56px;
  }

  .hero-stats {
    gap: 24px;
  }

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

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

  .plant-icon {
    width: 56px;
    height: 56px;
    font-size: 1.6rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .compare-table {
    font-size: 0.82rem;
  }

  .compare-table th,
  .compare-table td {
    padding: 10px 12px;
  }

  .affiliate-box {
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .container,
  .container-narrow {
    padding: 0 16px;
  }

  .header-inner {
    padding: 0 16px;
  }

  .article-hero {
    padding: 36px 16px 32px;
  }
}
