/* Chef Budi Santoso — style.css */
:root {
  --primary: #bf360c;
  --primary-dark: #8b1a00;
  --primary-light: #e64a19;
  --accent: #ffd54f;
  --accent-dark: #f9a825;
  --bg: #fff8f3;
  --bg2: #fff3e0;
  --text: #2c1a0e;
  --text-light: #6d4c41;
  --white: #ffffff;
  --shadow: 0 4px 20px rgba(191,54,12,0.12);
  --radius: 12px;
  --font: -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

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

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

/* DEMO BAR */
.demo-bar {
  background: #2c1a0e;
  color: var(--accent);
  text-align: center;
  padding: 8px 16px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.03em;
}
.demo-bar a {
  color: var(--accent);
  text-decoration: underline;
  margin: 0 4px;
}
.demo-bar a:hover { color: #fff; }

/* NAV */
nav {
  background: var(--primary);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 12px rgba(191,54,12,0.3);
}
.nav-inner {
  max-width: 1100px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  height: 62px;
}
.nav-brand {
  color: var(--accent);
  font-size: 1.15rem;
  font-weight: 800;
  text-decoration: none;
  letter-spacing: 0.04em;
}
.nav-brand span { color: #fff; font-weight: 400; font-size: 0.8rem; display: block; }

/* Checkbox hack mobile nav */
#nav-toggle { display: none; }
.nav-label {
  display: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}
.nav-label span {
  display: block;
  width: 26px;
  height: 3px;
  background: var(--accent);
  border-radius: 2px;
  transition: 0.3s;
}
.nav-links {
  display: flex;
  gap: 4px;
  list-style: none;
}
.nav-links a {
  color: rgba(255,255,255,0.88);
  text-decoration: none;
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  transition: background 0.2s, color 0.2s;
}
.nav-links a:hover,
.nav-links a.active {
  background: rgba(255,213,79,0.18);
  color: var(--accent);
}

@media (max-width: 720px) {
  .nav-label { display: flex; }
  .nav-links {
    display: none;
    position: absolute;
    top: 62px;
    left: 0; right: 0;
    background: var(--primary-dark);
    flex-direction: column;
    padding: 12px 16px 20px;
    gap: 2px;
  }
  #nav-toggle:checked ~ .nav-links { display: flex; }
  .nav-links a { padding: 12px 16px; border-radius: 8px; }
}

/* HERO */
.hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 55%, #3e1a08 100%);
  color: #fff;
  padding: 70px 20px 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 70% 30%, rgba(255,213,79,0.12) 0%, transparent 60%);
}
.hero-inner { position: relative; max-width: 820px; margin: auto; }

/* Chef Avatar SVG wrapper */
.chef-avatar {
  width: 140px;
  height: 140px;
  margin: 0 auto 28px;
  border-radius: 50%;
  border: 4px solid var(--accent);
  box-shadow: 0 0 0 8px rgba(255,213,79,0.18), var(--shadow);
  overflow: hidden;
  background: #fff3e0;
}
.hero h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 900;
  letter-spacing: -0.01em;
  line-height: 1.1;
}
.hero h1 span { color: var(--accent); }
.hero-subtitle {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.82);
  margin: 10px 0 28px;
  font-style: italic;
}
.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 36px;
}
.hero-tags .tag {
  background: rgba(255,213,79,0.2);
  border: 1px solid rgba(255,213,79,0.4);
  color: var(--accent);
  padding: 6px 16px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
}
.btn {
  display: inline-block;
  background: var(--accent);
  color: var(--primary-dark);
  font-weight: 800;
  font-size: 1rem;
  padding: 14px 34px;
  border-radius: 999px;
  text-decoration: none;
  letter-spacing: 0.03em;
  box-shadow: 0 4px 18px rgba(255,213,79,0.4);
  transition: transform 0.15s, box-shadow 0.15s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(255,213,79,0.5); }
.btn-outline {
  background: transparent;
  color: var(--accent);
  border: 2px solid var(--accent);
  box-shadow: none;
}
.btn-outline:hover { background: rgba(255,213,79,0.12); }

/* SECTION */
section { padding: 64px 20px; }
.container { max-width: 1100px; margin: auto; }
.section-label {
  display: inline-block;
  background: var(--accent);
  color: var(--primary-dark);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 999px;
  margin-bottom: 10px;
}
.section-title {
  font-size: clamp(1.5rem, 3.5vw, 2.2rem);
  font-weight: 900;
  color: var(--primary-dark);
  margin-bottom: 12px;
  line-height: 1.15;
}
.section-desc {
  color: var(--text-light);
  max-width: 580px;
  margin-bottom: 44px;
  font-size: 1rem;
}

/* STATS */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 20px;
  margin: 44px 0;
}
.stat-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px 20px;
  text-align: center;
  box-shadow: var(--shadow);
  border-top: 4px solid var(--primary);
}
.stat-num {
  font-size: 2.4rem;
  font-weight: 900;
  color: var(--primary);
  line-height: 1;
}
.stat-label { font-size: 0.85rem; color: var(--text-light); margin-top: 4px; }

/* HIGHLIGHT CARDS */
.highlight-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.highlight-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.2s, box-shadow 0.2s;
}
.highlight-card:hover { transform: translateY(-4px); box-shadow: 0 8px 32px rgba(191,54,12,0.18); }
.card-thumb {
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
}
.card-body { padding: 20px; }
.card-title { font-weight: 800; font-size: 1.05rem; color: var(--primary-dark); margin-bottom: 6px; }
.card-desc { font-size: 0.9rem; color: var(--text-light); }

/* MENU PAGE */
.menu-section { background: var(--bg2); border-radius: 16px; padding: 36px 28px; margin-bottom: 32px; }
.menu-section h2 { font-size: 1.25rem; font-weight: 800; color: var(--primary); margin-bottom: 20px; display: flex; align-items: center; gap: 10px; }
.dish-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}
.dish-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(191,54,12,0.08);
  display: flex;
  flex-direction: column;
}
.dish-thumb {
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.dish-info { padding: 18px; flex: 1; }
.dish-name { font-weight: 800; font-size: 1rem; color: var(--primary-dark); margin-bottom: 4px; }
.dish-origin { font-size: 0.78rem; color: var(--primary); font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 8px; }
.dish-desc { font-size: 0.88rem; color: var(--text-light); }
.dish-award {
  display: inline-block;
  background: var(--accent);
  color: var(--primary-dark);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 999px;
  margin-top: 10px;
}

/* KELAS PAGE */
.kelas-intro {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #fff;
  border-radius: 16px;
  padding: 40px 32px;
  margin-bottom: 40px;
  display: flex;
  gap: 32px;
  align-items: center;
  flex-wrap: wrap;
}
.kelas-intro-text h2 { font-size: 1.5rem; font-weight: 900; margin-bottom: 8px; }
.kelas-intro-text p { color: rgba(255,255,255,0.82); }
.kelas-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
  margin-bottom: 40px;
}
.kelas-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.kelas-header {
  background: var(--primary);
  color: #fff;
  padding: 18px 22px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}
.kelas-type { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--accent); margin-bottom: 4px; }
.kelas-name { font-size: 1.1rem; font-weight: 800; }
.kelas-price {
  background: var(--accent);
  color: var(--primary-dark);
  font-weight: 900;
  font-size: 0.9rem;
  padding: 6px 12px;
  border-radius: 8px;
  white-space: nowrap;
}
.kelas-body { padding: 20px 22px; }
.kelas-meta { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 14px; }
.kelas-meta span { font-size: 0.82rem; color: var(--text-light); display: flex; align-items: center; gap: 4px; }
.kelas-desc { font-size: 0.9rem; color: var(--text-light); margin-bottom: 16px; }
.kelas-list { list-style: none; }
.kelas-list li { font-size: 0.85rem; padding: 4px 0; color: var(--text); }
.kelas-list li::before { content: "✓ "; color: var(--primary); font-weight: 700; }
.kelas-footer { padding: 16px 22px; border-top: 1px solid #fbe9e7; }
.btn-sm {
  display: inline-block;
  background: var(--primary);
  color: #fff;
  font-weight: 700;
  font-size: 0.88rem;
  padding: 10px 22px;
  border-radius: 999px;
  text-decoration: none;
  transition: background 0.2s;
}
.btn-sm:hover { background: var(--primary-dark); }
.jadwal-table { width: 100%; border-collapse: collapse; background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.jadwal-table th { background: var(--primary); color: #fff; padding: 14px 16px; text-align: left; font-size: 0.88rem; }
.jadwal-table td { padding: 14px 16px; border-bottom: 1px solid #fbe9e7; font-size: 0.9rem; }
.jadwal-table tr:last-child td { border-bottom: none; }
.jadwal-table tr:nth-child(even) td { background: #fff8f3; }
.badge { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: 0.75rem; font-weight: 700; }
.badge-green { background: #e8f5e9; color: #2e7d32; }
.badge-yellow { background: #fff8e1; color: #f57f17; }
.badge-red { background: #fbe9e7; color: var(--primary); }

/* GALERI PAGE */
.galeri-filter {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}
.filter-btn {
  background: var(--white);
  border: 2px solid var(--primary);
  color: var(--primary);
  font-weight: 700;
  font-size: 0.85rem;
  padding: 8px 20px;
  border-radius: 999px;
  cursor: pointer;
  transition: 0.2s;
}
.filter-btn.active, .filter-btn:hover {
  background: var(--primary);
  color: #fff;
}
.galeri-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}
.galeri-item {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.2s;
}
.galeri-item:hover { transform: translateY(-4px); }
.galeri-thumb {
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.galeri-caption { padding: 16px; }
.galeri-caption h3 { font-weight: 700; font-size: 0.95rem; color: var(--primary-dark); margin-bottom: 4px; }
.galeri-caption p { font-size: 0.82rem; color: var(--text-light); }
.galeri-caption .cat { font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--primary); margin-bottom: 4px; }

/* KONTAK PAGE */
.kontak-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}
@media (max-width: 720px) { .kontak-grid { grid-template-columns: 1fr; } }
.kontak-form {
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px 28px;
  box-shadow: var(--shadow);
}
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-weight: 700; font-size: 0.9rem; color: var(--text); margin-bottom: 6px; }
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid #fbe9e7;
  border-radius: 10px;
  font-family: var(--font);
  font-size: 0.95rem;
  color: var(--text);
  background: var(--bg);
  outline: none;
  transition: border 0.2s;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus { border-color: var(--primary); background: #fff; }
.form-group textarea { min-height: 120px; resize: vertical; }
.btn-submit {
  width: 100%;
  background: var(--primary);
  color: #fff;
  border: none;
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 800;
  padding: 14px;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.2s;
}
.btn-submit:hover { background: var(--primary-dark); }
.kontak-info { display: flex; flex-direction: column; gap: 20px; }
.info-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.info-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.info-content h4 { font-weight: 800; font-size: 0.9rem; color: var(--primary-dark); margin-bottom: 4px; }
.info-content p { font-size: 0.88rem; color: var(--text-light); }
.info-content a { color: var(--primary); font-weight: 600; text-decoration: none; }
.wa-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #25d366;
  color: #fff;
  font-weight: 800;
  font-size: 1rem;
  padding: 16px 24px;
  border-radius: 12px;
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(37,211,102,0.3);
  transition: transform 0.15s;
}
.wa-btn:hover { transform: translateY(-2px); }

/* BIO PAGE elements */
.bio-layout {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 48px;
  align-items: start;
}
@media (max-width: 720px) { .bio-layout { grid-template-columns: 1fr; } }
.bio-sidebar {
  position: sticky;
  top: 80px;
}
.bio-avatar-wrap {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  overflow: hidden;
  border: 5px solid var(--accent);
  box-shadow: 0 0 0 10px rgba(255,213,79,0.15), var(--shadow);
  margin: 0 auto 24px;
  background: #fff3e0;
}
.bio-name { text-align: center; font-size: 1.3rem; font-weight: 900; color: var(--primary-dark); }
.bio-role { text-align: center; font-size: 0.9rem; color: var(--text-light); margin-bottom: 20px; }
.skill-bar-wrap { margin-bottom: 10px; }
.skill-label { display: flex; justify-content: space-between; font-size: 0.82rem; font-weight: 600; color: var(--text); margin-bottom: 4px; }
.skill-bar { height: 8px; background: #fbe9e7; border-radius: 999px; overflow: hidden; }
.skill-fill { height: 100%; background: linear-gradient(90deg, var(--primary), var(--accent)); border-radius: 999px; }
.timeline { position: relative; padding-left: 28px; }
.timeline::before { content: ""; position: absolute; left: 8px; top: 0; bottom: 0; width: 2px; background: linear-gradient(to bottom, var(--primary), var(--accent)); }
.tl-item { position: relative; margin-bottom: 32px; }
.tl-dot { position: absolute; left: -24px; top: 4px; width: 14px; height: 14px; border-radius: 50%; background: var(--primary); border: 3px solid var(--accent); }
.tl-year { font-size: 0.78rem; font-weight: 700; color: var(--primary); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 2px; }
.tl-title { font-weight: 800; font-size: 1rem; color: var(--primary-dark); margin-bottom: 4px; }
.tl-desc { font-size: 0.88rem; color: var(--text-light); }
.award-list { list-style: none; }
.award-list li { display: flex; align-items: flex-start; gap: 10px; padding: 12px 0; border-bottom: 1px solid #fbe9e7; font-size: 0.9rem; }
.award-list li:last-child { border-bottom: none; }

/* FOOTER */
footer {
  background: #2c1a0e;
  color: rgba(255,255,255,0.65);
  text-align: center;
  padding: 36px 20px;
  font-size: 0.88rem;
}
footer a { color: var(--accent); text-decoration: none; }
footer .footer-name { color: var(--accent); font-weight: 800; font-size: 1rem; margin-bottom: 6px; }

/* ALT BG SECTIONS */
.bg-warm { background: var(--bg2); }
.bg-white { background: var(--white); }

/* UTILITIES */
.text-center { text-align: center; }
.mb-8 { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-32 { margin-bottom: 32px; }
.flex-gap { display: flex; gap: 12px; flex-wrap: wrap; }
