﻿/* ========================
   RESET & BASE
   ======================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}


html {
  scroll-behavior: smooth;
}


body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: #2d2d2d;
  background: #faf8f5;
  line-height: 1.6;
}


h1, h2, h3 {
  line-height: 1.2;
}


a {
  text-decoration: none;
  color: inherit;
}


section {
  padding: 80px 24px;
  max-width: 1100px;
  margin: 0 auto;
}


/* ========================
   HERO
   ======================== */
.hero {
  background: linear-gradient(135deg, #2e7d32 0%, #4caf50 50%, #66bb6a 100%);
  color: white;
  text-align: center;
  padding: 120px 24px;
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
}


.hero-content {
  max-width: 600px;
}


.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 16px;
  text-shadow: 0 2px 8px rgba(0,0,0,0.2);
}


.hero p {
  font-size: 1.25rem;
  opacity: 0.95;
  margin-bottom: 32px;
}


.btn {
  display: inline-block;
  background: white;
  color: #2e7d32;
  padding: 14px 36px;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: 600;
  transition: transform 0.3s, box-shadow 0.3s;
}


.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}


/* ========================
   FACTS
   ======================== */
.facts {
  background: #fff;
  border-radius: 0;
  max-width: 100%;
  padding: 80px 24px;
}


.facts h2 {
  text-align: center;
  font-size: 2.2rem;
  margin-bottom: 48px;
  color: #2e7d32;
}


.facts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  max-width: 1100px;
  margin: 0 auto;
}


.fact-card {
  background: #f1f8e9;
  padding: 32px 24px;
  border-radius: 16px;
  text-align: center;
  transition: transform 0.3s;
}


.fact-card:hover {
  transform: translateY(-5px);
}


.fact-icon {
  font-size: 2.5rem;
  display: block;
  margin-bottom: 12px;
}


.fact-card h3 {
  font-size: 1.2rem;
  margin-bottom: 8px;
  color: #2e7d32;
}


.fact-card p {
  font-size: 0.95rem;
  color: #555;
}


/* ========================
   BEAN TYPES
   ======================== */
.types h2 {
  text-align: center;
  font-size: 2.2rem;
  margin-bottom: 48px;
  color: #2e7d32;
}


.types-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
}


.type-card {
  background: white;
  border: 2px solid #e0e0e0;
  border-radius: 16px;
  padding: 36px 28px;
  transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
  cursor: default;
}


.type-card:hover {
  transform: translateY(-5px);
  border-color: #4caf50;
  box-shadow: 0 12px 30px rgba(76,175,80,0.15);
}


.type-emoji {
  font-size: 2.5rem;
  margin-bottom: 12px;
}


.type-card h3 {
  font-size: 1.4rem;
  margin-bottom: 10px;
  color: #2d2d2d;
}


.type-card p {
  font-size: 0.95rem;
  color: #666;
  margin-bottom: 16px;
}


.tag {
  display: inline-block;
  background: #e8f5e9;
  color: #2e7d32;
  padding: 5px 14px;
  border-radius: 20px;
  font-size: 0.82rem;
  font-weight: 600;
}


/* ========================
   NUTRITION
   ======================== */
.nutrition {
  background: white;
  max-width: 100%;
  padding: 80px 24px;
}


.nutrition h2 {
  text-align: center;
  font-size: 2.2rem;
  margin-bottom: 48px;
  color: #2e7d32;
}


.nutrition-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  max-width: 1100px;
  margin: 0 auto;
  align-items: center;
}


.nutri-item {
  margin-bottom: 20px;
}


.nutri-bar {
  height: 14px;
  background: #e8f5e9;
  border-radius: 7px;
  overflow: hidden;
  margin-bottom: 6px;
}


.bar-fill {
  height: 100%;
  background: linear-gradient(90deg, #4caf50, #81c784);
  border-radius: 7px;
  width: 0;
  transition: width 1.2s ease-out;
}


.bar-fill.animate {
  width: var(--width);
}


.nutri-item span {
  font-size: 0.9rem;
  font-weight: 600;
  color: #555;
}


.nutrition-text p {
  margin-bottom: 16px;
  font-size: 1.05rem;
  color: #555;
}


/* ========================
   QUOTE
   ======================== */
.quote {
  background: linear-gradient(135deg, #2e7d32, #4caf50);
  color: white;
  text-align: center;
  padding: 80px 24px;
  max-width: 100%;
}


.quote blockquote {
  font-size: 1.6rem;
  font-style: italic;
  max-width: 700px;
  margin: 0 auto 16px;
  line-height: 1.5;
}


.quote cite {
  font-size: 1.1rem;
  opacity: 0.85;
}


/* ========================
   FOOTER
   ======================== */
footer {
  background: #1b5e20;
  color: #ccc;
  text-align: center;
  padding: 32px 24px;
}


footer p {
  margin-bottom: 8px;
  font-size: 0.95rem;
}


.footer-links a {
  color: #a5d6a7;
  transition: color 0.3s;
}


.footer-links a:hover {
  color: white;
}


/* ========================
   RESPONSIVE
   ======================== */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.5rem;
  }


  .nutrition-content {
    grid-template-columns: 1fr;
    gap: 32px;
  }


  .quote blockquote {
    font-size: 1.25rem;
  }


  section {
    padding: 60px 20px;
  }
}


@media (max-width: 480px) {
  .hero h1 {
    font-size: 2rem;
  }


  .hero p {
    font-size: 1.05rem;
  }


  .types-grid {
    grid-template-columns: 1fr;
  }
}