/* css/main.css - Digen Campaign Website Styles */
:root {
  --primary-green: #2d5a27;
  --dark-green: #1c3b19;
  --light-green: #eaf2e8;
  --accent-gold: #c8963e;
  --light-gold: #fdf8ee;
  --bg-paper: #fbf9f5;
  --text-dark: #1a1a1a;
  --text-muted: #555555;
  --card-bg: #ffffff;
  --border-color: #e0dcd3;
  --radius: 12px;
  --shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

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

body {
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background-color: var(--bg-paper);
  color: var(--text-dark);
  line-height: 1.6;
  scroll-behavior: smooth;
}

.container {
  width: 92%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

header {
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-color);
  z-index: 1000;
  padding: 12px 0;
}

.nav-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--primary-green);
  font-weight: 700;
  font-size: 1.25rem;
}

.logo-badge {
  background: var(--primary-green);
  color: #fff;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 0.85rem;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 20px;
}

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

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

.btn-primary {
  background: var(--primary-green);
  color: #fff;
  padding: 10px 22px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  display: inline-block;
  border: none;
  cursor: pointer;
  transition: all 0.3s;
}

.btn-primary:hover {
  background: var(--dark-green);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(45, 90, 39, 0.3);
}

.btn-gold {
  background: var(--accent-gold);
  color: #fff;
  padding: 10px 22px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  display: inline-block;
  transition: all 0.3s;
}

.btn-gold:hover {
  background: #b08130;
}

.menu-toggle {
  display: none;
  font-size: 1.5rem;
  background: none;
  border: none;
  cursor: pointer;
}

.hero {
  padding: 60px 0 40px;
  background: linear-gradient(135deg, #eaf2e8 0%, #fdf8ee 100%);
  border-bottom: 1px solid var(--border-color);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: center;
}

.hero-content h1 {
  font-size: 2.8rem;
  color: var(--primary-green);
  line-height: 1.2;
  margin-bottom: 15px;
}

.hero-content .subtitle {
  font-size: 1.25rem;
  color: var(--accent-gold);
  font-weight: 600;
  margin-bottom: 20px;
}

.hero-content p {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin-bottom: 30px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
  margin-top: 30px;
  background: rgba(255, 255, 255, 0.8);
  padding: 20px;
  border-radius: var(--radius);
  border: 1px solid var(--border-color);
}

.stat-item h3 {
  color: var(--primary-green);
  font-size: 1.5rem;
}

.stat-item p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin: 0;
}

section {
  padding: 60px 0;
}

.section-header {
  text-align: center;
  max-width: 750px;
  margin: 0 auto 40px;
}

.section-header h2 {
  font-size: 2.2rem;
  color: var(--primary-green);
  margin-bottom: 10px;
}

.section-header p {
  color: var(--text-muted);
  font-size: 1.05rem;
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.card {
  background: var(--card-bg);
  padding: 28px;
  border-radius: var(--radius);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow);
  transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.12);
}

.card h3 {
  color: var(--primary-green);
  margin-bottom: 12px;
  font-size: 1.3rem;
}

.team-member {
  text-align: center;
  padding: 20px;
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid var(--border-color);
}

.team-avatar {
  width: 70px;
  height: 70px;
  background: var(--light-green);
  color: var(--primary-green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.4rem;
  margin: 0 auto 15px;
}

.ingredient-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 15px;
}

.ingredient-bar-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}

.ingredient-name {
  width: 140px;
  font-weight: 600;
  font-size: 0.9rem;
}

.bar-bg {
  flex: 1;
  height: 12px;
  background: #e0e0e0;
  border-radius: 6px;
  overflow: hidden;
}

.bar-fill {
  height: 100%;
  background: var(--primary-green);
  border-radius: 6px;
}

.bar-fill.highlight {
  background: var(--accent-gold);
}

.ingredient-pct {
  width: 45px;
  text-align: right;
  font-weight: 700;
  color: var(--primary-green);
  font-size: 0.9rem;
}

.table-wrapper {
  overflow-x: auto;
  margin-top: 20px;
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid var(--border-color);
}

table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

th, td {
  padding: 14px 18px;
  border-bottom: 1px solid var(--border-color);
}

th {
  background: var(--light-green);
  color: var(--primary-green);
  font-weight: 700;
}

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

.timeline {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-top: 20px;
}

.timeline-item {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 15px;
  padding: 15px;
  background: var(--light-gold);
  border-left: 4px solid var(--accent-gold);
  border-radius: 6px;
}

.timeline-time {
  font-weight: 700;
  color: var(--accent-gold);
}

footer {
  background: var(--dark-green);
  color: #fff;
  padding: 40px 0 20px;
  margin-top: 60px;
}

footer p {
  color: #c0d4bd;
  font-size: 0.9rem;
}

footer a {
  color: #fff;
  text-decoration: underline;
}

@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid-3 {
    grid-template-columns: 1fr;
  }
  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  .menu-toggle {
    display: block;
  }
  .grid-2 {
    grid-template-columns: 1fr;
  }
  .grid-4 {
    grid-template-columns: 1fr;
  }
  .hero-content h1 {
    font-size: 2.1rem;
  }
}
