/* Ayam Goreng Bu Tini Krispy — style.css */
:root {
  --primary: #f57f17;
  --accent: #e53935;
  --bg: #fffde7;
  --text: #1a1200;
  --text-light: #5d4037;
  --white: #ffffff;
  --card-bg: #fff8e1;
  --border: #ffe082;
  --shadow: 0 2px 12px rgba(245,127,23,0.13);
  --radius: 12px;
  --font: -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

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

html { scroll-behavior: smooth; }

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

/* ===== DEMO BAR ===== */
.demo-bar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 9999;
  background: #f57f17;
  color: #fff;
  text-align: center;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 600;
}
.demo-bar a { color: #e53935; text-decoration: none; font-weight: 700; }
.demo-bar a:hover { text-decoration: underline; }

/* ===== HEADER / NAV ===== */
header {
  position: fixed;
  top: 34px; left: 0; right: 0;
  z-index: 999;
  background: var(--white);
  border-bottom: 3px solid var(--primary);
  box-shadow: 0 2px 8px rgba(245,127,23,0.15);
}

.nav-wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 56px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1.2;
}
.logo span { color: var(--accent); }
.logo-icon { width: 38px; height: 38px; flex-shrink: 0; }

/* Checkbox hack nav */
#nav-toggle { display: none; }
.nav-label {
  display: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}
.nav-label span {
  display: block;
  width: 26px; height: 3px;
  background: var(--primary);
  border-radius: 3px;
  transition: 0.3s;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 4px;
}
nav ul li a {
  display: block;
  padding: 8px 14px;
  text-decoration: none;
  color: var(--text);
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 8px;
  transition: background 0.2s, color 0.2s;
}
nav ul li a:hover,
nav ul li a.aktif {
  background: var(--primary);
  color: var(--white);
}
nav ul li a.cta-nav {
  background: var(--accent);
  color: var(--white);
}
nav ul li a.cta-nav:hover { background: #c62828; }

/* ===== MAIN WRAPPER ===== */
main { max-width: 1100px; margin: 0 auto; padding: 0 20px 60px; }

/* ===== HERO ===== */
.hero {
  background: linear-gradient(135deg, #f57f17 0%, #ff8f00 40%, #e53935 100%);
  border-radius: var(--radius);
  padding: 60px 32px;
  margin: 32px 0 40px;
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -40px; right: -40px;
  width: 200px; height: 200px;
  background: rgba(255,255,255,0.07);
  border-radius: 50%;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -60px; left: 20%;
  width: 250px; height: 250px;
  background: rgba(255,255,255,0.05);
  border-radius: 50%;
}
.hero-text { flex: 1 1 280px; position: relative; z-index: 1; }
.hero-text h1 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 16px;
  text-shadow: 0 2px 6px rgba(0,0,0,0.2);
}
.hero-text p { font-size: 1.1rem; opacity: 0.95; margin-bottom: 28px; }
.hero-art { flex: 0 0 220px; display: flex; justify-content: center; align-items: center; position: relative; z-index: 1; }
.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: transform 0.2s, box-shadow 0.2s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,0,0,0.2); }
.btn-white { background: var(--white); color: var(--accent); }
.btn-primary { background: var(--primary); color: var(--white); }
.btn-accent { background: var(--accent); color: var(--white); }
.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}
.btn-outline:hover { background: var(--primary); color: var(--white); }

/* ===== BADGE STRIP ===== */
.badge-strip {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.badge {
  flex: 1 1 180px;
  background: var(--white);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: var(--shadow);
}
.badge-icon { font-size: 2rem; flex-shrink: 0; }
.badge-text strong { display: block; font-size: 1.1rem; color: var(--primary); font-weight: 800; }
.badge-text span { font-size: 0.85rem; color: var(--text-light); }

/* ===== SECTION TITLES ===== */
.section-title {
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 900;
  color: var(--text);
  margin-bottom: 8px;
}
.section-title span { color: var(--accent); }
.section-sub {
  color: var(--text-light);
  margin-bottom: 32px;
  font-size: 1rem;
}
.section-divider {
  width: 60px; height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  border-radius: 4px;
  margin-bottom: 12px;
}

/* ===== MENU ANDALAN ===== */
.menu-andalan { margin-bottom: 48px; }
.menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 20px;
}
.menu-card {
  background: var(--white);
  border-radius: var(--radius);
  border: 2px solid var(--border);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.2s, box-shadow 0.2s;
}
.menu-card:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(245,127,23,0.2); }
.menu-card-art {
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #fff8e1, #ffe082);
}
.menu-card-body { padding: 16px; }
.menu-card-body h3 { font-size: 1rem; font-weight: 700; margin-bottom: 4px; }
.menu-card-body p { font-size: 0.88rem; color: var(--text-light); margin-bottom: 10px; }
.harga { font-size: 1.1rem; font-weight: 800; color: var(--accent); }
.label-baru {
  display: inline-block;
  background: var(--accent);
  color: white;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 20px;
  margin-left: 6px;
  vertical-align: middle;
}
.label-laris {
  display: inline-block;
  background: var(--primary);
  color: white;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 20px;
  margin-left: 6px;
  vertical-align: middle;
}

/* ===== RAHASIA BU TINI ===== */
.rahasia { margin-bottom: 48px; }
.rahasia-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
}
.rahasia-card {
  background: linear-gradient(135deg, #fff8e1, #fff3cd);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 20px;
  text-align: center;
  box-shadow: var(--shadow);
}
.rahasia-card svg { margin-bottom: 14px; }
.rahasia-card h3 { font-size: 1rem; font-weight: 800; color: var(--primary); margin-bottom: 8px; }
.rahasia-card p { font-size: 0.88rem; color: var(--text-light); }

/* ===== CABANG ===== */
.cabang { margin-bottom: 48px; }
.cabang-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}
.cabang-card {
  background: var(--white);
  border-radius: var(--radius);
  border-left: 5px solid var(--primary);
  padding: 20px 20px;
  box-shadow: var(--shadow);
}
.cabang-card h3 { font-size: 1.05rem; font-weight: 800; color: var(--primary); margin-bottom: 6px; }
.cabang-card p { font-size: 0.9rem; color: var(--text-light); margin-bottom: 4px; }
.cabang-card .jam { font-weight: 600; color: var(--text); }

/* ===== CATERING CTA ===== */
.catering-cta {
  background: linear-gradient(135deg, var(--accent), #b71c1c);
  color: var(--white);
  border-radius: var(--radius);
  padding: 40px 32px;
  text-align: center;
  margin-bottom: 48px;
}
.catering-cta h2 { font-size: 1.6rem; font-weight: 900; margin-bottom: 12px; }
.catering-cta p { font-size: 1rem; opacity: 0.92; margin-bottom: 24px; }

/* ===== FULL MENU PAGE ===== */
.menu-section { margin-bottom: 40px; }
.menu-section-title {
  font-size: 1.3rem;
  font-weight: 900;
  color: var(--white);
  background: linear-gradient(90deg, var(--primary), var(--accent));
  padding: 12px 20px;
  border-radius: var(--radius) var(--radius) 0 0;
  display: flex;
  align-items: center;
  gap: 10px;
}
.menu-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border-radius: 0 0 var(--radius) var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.menu-table th {
  background: var(--card-bg);
  padding: 12px 16px;
  text-align: left;
  font-size: 0.85rem;
  color: var(--text-light);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.menu-table td {
  padding: 14px 16px;
  border-top: 1px solid var(--border);
  font-size: 0.95rem;
}
.menu-table tr:hover td { background: #fff8e1; }
.menu-table .item-name { font-weight: 700; color: var(--text); }
.menu-table .item-desc { font-size: 0.82rem; color: var(--text-light); }
.menu-table .item-harga { font-weight: 800; color: var(--accent); white-space: nowrap; }
.level-pedas {
  display: inline-flex;
  gap: 2px;
  align-items: center;
}
.chili { color: var(--accent); font-size: 0.85rem; }

/* ===== ABOUT PAGE ===== */
.about-hero {
  background: linear-gradient(135deg, #f57f17 0%, #ff8f00 60%, #e53935 100%);
  color: var(--white);
  border-radius: var(--radius);
  padding: 48px 36px;
  margin: 32px 0 40px;
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}
.about-hero-text { flex: 1 1 280px; }
.about-hero-text h1 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); font-weight: 900; margin-bottom: 14px; }
.about-hero-text p { font-size: 1.05rem; opacity: 0.95; }
.about-art { flex: 0 0 180px; display: flex; justify-content: center; }

.timeline { margin-bottom: 48px; }
.timeline-list { list-style: none; position: relative; padding-left: 32px; }
.timeline-list::before {
  content: '';
  position: absolute;
  left: 10px; top: 0; bottom: 0;
  width: 3px;
  background: linear-gradient(to bottom, var(--primary), var(--accent));
  border-radius: 3px;
}
.timeline-list li {
  position: relative;
  padding: 0 0 28px 24px;
}
.timeline-list li::before {
  content: '';
  position: absolute;
  left: -26px; top: 4px;
  width: 14px; height: 14px;
  background: var(--primary);
  border: 3px solid var(--bg);
  border-radius: 50%;
}
.timeline-list .year {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 4px;
}
.timeline-list h3 { font-size: 1rem; font-weight: 800; margin-bottom: 4px; }
.timeline-list p { font-size: 0.9rem; color: var(--text-light); }

.nilai-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
  margin-bottom: 48px;
}
.nilai-card {
  background: var(--white);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 20px;
  text-align: center;
  box-shadow: var(--shadow);
}
.nilai-card .angka {
  font-size: 2.4rem;
  font-weight: 900;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 6px;
}
.nilai-card p { font-size: 0.88rem; color: var(--text-light); }

/* ===== GALERI PAGE ===== */
.galeri-intro { margin: 32px 0 36px; }
.galeri-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
  margin-bottom: 48px;
}
.galeri-item {
  background: var(--white);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.2s;
}
.galeri-item:hover { transform: translateY(-4px); }
.galeri-art {
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #fff8e1, #ffe082);
}
.galeri-caption {
  padding: 14px 16px;
}
.galeri-caption h3 { font-size: 0.98rem; font-weight: 700; margin-bottom: 4px; }
.galeri-caption p { font-size: 0.84rem; color: var(--text-light); }

/* ===== FORM / RESERVASI ===== */
.form-section { margin-bottom: 48px; }
.form-card {
  background: var(--white);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--shadow);
}
.form-title {
  font-size: 1.3rem;
  font-weight: 900;
  color: var(--primary);
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-weight: 700;
  font-size: 0.92rem;
  margin-bottom: 6px;
  color: var(--text);
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border: 2px solid var(--border);
  border-radius: 8px;
  font-family: var(--font);
  font-size: 0.95rem;
  color: var(--text);
  background: var(--bg);
  transition: border-color 0.2s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
}
.form-group textarea { min-height: 100px; resize: vertical; }
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-note {
  background: #fff3e0;
  border: 1px solid #ffe082;
  border-radius: 8px;
  padding: 14px 16px;
  font-size: 0.88rem;
  color: var(--text-light);
  margin-bottom: 20px;
}
.form-note strong { color: var(--accent); }
.form-submit {
  width: 100%;
  padding: 15px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  color: var(--white);
  border: none;
  border-radius: 50px;
  font-size: 1.05rem;
  font-weight: 700;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.2s;
}
.form-submit:hover { opacity: 0.9; transform: translateY(-1px); }

.info-box {
  background: linear-gradient(135deg, #fff8e1, #fff3cd);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 20px;
  margin-bottom: 24px;
}
.info-box h3 { font-size: 1rem; font-weight: 800; color: var(--primary); margin-bottom: 12px; }
.info-box ul { list-style: none; }
.info-box ul li {
  padding: 6px 0;
  font-size: 0.9rem;
  border-bottom: 1px dashed var(--border);
  display: flex;
  gap: 8px;
}
.info-box ul li::before { content: '✔'; color: var(--primary); font-weight: 700; }

/* ===== FOOTER ===== */
footer {
  background: #1a1200;
  color: #e0c070;
  padding: 48px 20px 24px;
}
.footer-wrap {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 32px;
  margin-bottom: 32px;
}
.footer-col h3 {
  font-size: 1rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 14px;
}
.footer-col p, .footer-col a {
  font-size: 0.88rem;
  color: #c8a850;
  line-height: 1.8;
  text-decoration: none;
  display: block;
}
.footer-col a:hover { color: var(--primary); }
.footer-bottom {
  max-width: 1100px;
  margin: 0 auto;
  padding-top: 20px;
  border-top: 1px solid #3d2e00;
  text-align: center;
  font-size: 0.82rem;
  color: #8a6a20;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  body { padding-top: 82px; }

  .nav-label { display: flex; }

  nav {
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--white);
    border-top: 2px solid var(--border);
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
  }
  #nav-toggle:checked ~ nav { max-height: 400px; }

  nav ul { flex-direction: column; gap: 0; padding: 8px 0; }
  nav ul li a { border-radius: 0; padding: 12px 24px; font-size: 1rem; }

  .hero { padding: 40px 24px; gap: 24px; }
  .hero-art { flex: 0 0 160px; }

  .form-row { grid-template-columns: 1fr; }

  .about-hero { padding: 32px 24px; }

  .catering-cta { padding: 32px 20px; }
}

@media (max-width: 480px) {
  .badge-strip { flex-direction: column; }
  .badge { flex: unset; }
  .nav-wrap { padding: 0 16px; }
  main { padding: 0 16px 48px; }
}
