/* Napoli Pizza & Pasta — style.css */
:root {
  --primary: #c0392b;
  --primary-dark: #96281b;
  --accent: #27ae60;
  --accent-dark: #1e8449;
  --bg: #fefefe;
  --bg-warm: #fdf6f0;
  --bg-dark: #1a1a1a;
  --text: #2c2c2c;
  --text-light: #666;
  --text-muted: #999;
  --border: #e8e0d8;
  --white: #ffffff;
  --gold: #d4a017;
  --font: -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --radius: 8px;
  --radius-lg: 16px;
  --shadow: 0 2px 12px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.12);
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  padding-top: 80px; /* demo bar + nav */
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
}

/* Demo Bar */
.demo-bar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 9999;
  background: var(--primary);
  color: #fff;
  text-align: center;
  padding: 8px;
  font-size: 13px;
}
.demo-bar a {
  color: #ffd;
  text-decoration: underline;
  font-weight: 600;
}
.demo-bar a:hover { color: #fff; }

/* ============ HEADER / NAV ============ */
header {
  position: fixed;
  top: 32px; left: 0; right: 0;
  z-index: 1000;
  background: var(--bg);
  border-bottom: 2px solid var(--primary);
  box-shadow: var(--shadow);
}
.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 48px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 18px;
  color: var(--primary);
}
.logo-icon {
  width: 36px; height: 36px;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.logo-icon svg { width: 22px; height: 22px; }
.logo-text span {
  display: block;
  font-size: 11px;
  font-weight: 400;
  color: var(--text-light);
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* Mobile nav (checkbox hack) */
.nav-toggle { display: none; }
.nav-toggle-label {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px; height: 40px;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle-label span {
  display: block;
  width: 100%; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}
nav ul {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 100%; left: 0; right: 0;
  background: var(--bg);
  border-top: 1px solid var(--border);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}
.nav-toggle:checked ~ nav ul {
  max-height: 400px;
}
.nav-toggle:checked ~ .nav-toggle-label span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle:checked ~ .nav-toggle-label span:nth-child(2) {
  opacity: 0;
}
.nav-toggle:checked ~ .nav-toggle-label span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}
nav ul li a {
  display: block;
  padding: 14px 20px;
  font-weight: 500;
  border-bottom: 1px solid var(--border);
  transition: background 0.2s, color 0.2s;
}
nav ul li a:hover,
nav ul li a.active {
  background: var(--bg-warm);
  color: var(--primary);
}
nav ul li:last-child a { border-bottom: none; }

/* ============ HERO ============ */
.hero {
  background: linear-gradient(135deg, #1a0a07 0%, #3d1410 50%, #1a0a07 100%);
  color: var(--white);
  padding: 64px 16px 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -30%; left: -10%;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(192,57,43,0.3) 0%, transparent 70%);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -30%; right: -10%;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(39,174,96,0.2) 0%, transparent 70%);
  pointer-events: none;
}
.hero-content { position: relative; z-index: 1; max-width: 700px; margin: 0 auto; }
.hero-badge {
  display: inline-block;
  background: rgba(192,57,43,0.8);
  border: 1px solid rgba(255,255,255,0.2);
  color: #fff;
  padding: 4px 14px;
  border-radius: 20px;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.hero h1 {
  font-size: clamp(28px, 6vw, 52px);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}
.hero h1 em {
  font-style: normal;
  color: #e8c07a;
}
.hero p {
  font-size: clamp(15px, 2.5vw, 18px);
  opacity: 0.85;
  margin-bottom: 32px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}
.hero-cta {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Pizza SVG illustration */
.hero-pizza {
  width: 180px; height: 180px;
  margin: 0 auto 32px;
}

/* ============ BUTTONS ============ */
.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.2s;
  text-align: center;
}
.btn-primary {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}
.btn-primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(192,57,43,0.35);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.6);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--white);
}
.btn-accent {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
}
.btn-accent:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  transform: translateY(-1px);
}
.btn-sm {
  padding: 8px 18px;
  font-size: 13px;
}

/* ============ SECTIONS ============ */
section { padding: 56px 16px; }
.container { max-width: 1100px; margin: 0 auto; }
.section-header {
  text-align: center;
  margin-bottom: 40px;
}
.section-tag {
  display: inline-block;
  background: var(--bg-warm);
  color: var(--primary);
  border: 1px solid var(--border);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 12px;
}
.section-header h2 {
  font-size: clamp(24px, 4vw, 36px);
  font-weight: 800;
  color: var(--text);
  margin-bottom: 12px;
}
.section-header p {
  color: var(--text-light);
  max-width: 500px;
  margin: 0 auto;
  font-size: 15px;
}
.divider {
  display: block;
  width: 48px; height: 3px;
  background: var(--primary);
  border-radius: 2px;
  margin: 12px auto 0;
}

/* ============ FEATURED CARDS ============ */
.cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.2s, box-shadow 0.2s;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.card-visual {
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.card-body { padding: 20px; }
.card-body h3 { font-size: 18px; font-weight: 700; margin-bottom: 6px; }
.card-body p { font-size: 14px; color: var(--text-light); margin-bottom: 12px; }
.card-price {
  font-size: 20px;
  font-weight: 800;
  color: var(--primary);
}
.card-price span { font-size: 13px; font-weight: 400; color: var(--text-muted); }

/* ============ FEATURES STRIP ============ */
.features-strip {
  background: var(--primary);
  color: var(--white);
  padding: 40px 16px;
}
.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  max-width: 1100px;
  margin: 0 auto;
}
.feature-item { text-align: center; }
.feature-icon {
  width: 56px; height: 56px;
  background: rgba(255,255,255,0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
}
.feature-icon svg { width: 28px; height: 28px; }
.feature-item h3 { font-size: 16px; font-weight: 700; margin-bottom: 6px; }
.feature-item p { font-size: 14px; opacity: 0.85; }

/* ============ ABOUT STRIP (homepage) ============ */
.about-strip { background: var(--bg-warm); }
.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
}
.about-visual {
  display: flex;
  justify-content: center;
}
.about-text h2 {
  font-size: clamp(22px, 4vw, 32px);
  font-weight: 800;
  margin-bottom: 16px;
  line-height: 1.3;
}
.about-text p { color: var(--text-light); margin-bottom: 14px; font-size: 15px; }
.about-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}
.badge {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 5px 14px;
  font-size: 13px;
  font-weight: 500;
}
.badge-green {
  background: #eafaf1;
  border-color: var(--accent);
  color: var(--accent-dark);
}
.badge-red {
  background: #fdf2f2;
  border-color: var(--primary);
  color: var(--primary-dark);
}

/* ============ CTA SECTION ============ */
.cta-section {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--white);
  text-align: center;
  padding: 56px 16px;
}
.cta-section h2 { font-size: clamp(22px, 4vw, 32px); font-weight: 800; margin-bottom: 12px; }
.cta-section p { opacity: 0.85; margin-bottom: 28px; font-size: 15px; }
.cta-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ============ MENU PAGE ============ */
.menu-section { background: var(--bg); }
.menu-section:nth-child(even) { background: var(--bg-warm); }
.menu-category-title {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 22px;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--border);
}
.menu-category-title svg { width: 28px; height: 28px; flex-shrink: 0; }
.menu-list { display: grid; grid-template-columns: 1fr; gap: 14px; }
.menu-item {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  transition: box-shadow 0.2s;
}
.menu-item:hover { box-shadow: var(--shadow); }
.menu-item-info { flex: 1; }
.menu-item-info h4 { font-size: 16px; font-weight: 700; margin-bottom: 4px; }
.menu-item-info p { font-size: 13px; color: var(--text-light); }
.menu-item-info .label {
  display: inline-block;
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 10px;
  font-weight: 600;
  margin-top: 6px;
  margin-right: 4px;
}
.label-spicy { background: #fde8e8; color: var(--primary); }
.label-veg { background: #eafaf1; color: var(--accent-dark); }
.label-popular { background: #fff8e1; color: #b8860b; }
.menu-price {
  font-size: 17px;
  font-weight: 800;
  color: var(--primary);
  white-space: nowrap;
  flex-shrink: 0;
}

/* ============ TENTANG PAGE ============ */
.chef-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  display: grid;
  grid-template-columns: 1fr;
}
.chef-visual {
  height: 260px;
  background: linear-gradient(135deg, #3d1410, #1a0a07);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.chef-info { padding: 28px; }
.chef-info h3 { font-size: 24px; font-weight: 800; margin-bottom: 4px; }
.chef-info .role { color: var(--primary); font-size: 14px; font-weight: 600; margin-bottom: 16px; letter-spacing: 0.5px; text-transform: uppercase; }
.chef-info p { color: var(--text-light); font-size: 15px; margin-bottom: 12px; }

.certs-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 32px;
}
.cert-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.cert-icon {
  width: 44px; height: 44px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.cert-icon.red { background: #fdf2f2; }
.cert-icon.green { background: #eafaf1; }
.cert-icon.gold { background: #fffbea; }
.cert-icon svg { width: 22px; height: 22px; }
.cert-item h4 { font-size: 15px; font-weight: 700; margin-bottom: 4px; }
.cert-item p { font-size: 13px; color: var(--text-light); }

.values-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-top: 40px;
}
.value-card {
  background: var(--bg-warm);
  border-radius: var(--radius-lg);
  padding: 24px;
  border-left: 4px solid var(--primary);
}
.value-card h3 { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.value-card p { font-size: 14px; color: var(--text-light); }

/* ============ GALERI PAGE ============ */
.galeri-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.galeri-item {
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  background: var(--bg-warm);
  border: 1px solid var(--border);
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}
.galeri-item:first-child,
.galeri-item:nth-child(5) {
  grid-column: span 2;
  aspect-ratio: 2/1;
}
.galeri-caption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(transparent, rgba(0,0,0,0.7));
  color: var(--white);
  padding: 20px 12px 10px;
  font-size: 13px;
  font-weight: 600;
}

/* CSS Food Art */
.pizza-art {
  width: 100px; height: 100px;
  border-radius: 50%;
  background: conic-gradient(
    #c8860a 0deg 60deg,
    #e8a020 60deg 120deg,
    #c8860a 120deg 180deg,
    #e8a020 180deg 240deg,
    #c8860a 240deg 300deg,
    #e8a020 300deg 360deg
  );
  position: relative;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.pizza-art::before {
  content: '';
  width: 80%;
  height: 80%;
  border-radius: 50%;
  background: #e85c3a;
  position: absolute;
}
.pizza-art::after {
  content: '🍕';
  font-size: 36px;
  position: relative;
  z-index: 1;
}

/* ============ RESERVASI PAGE ============ */
.reservasi-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  max-width: 1100px;
  margin: 0 auto;
}
.reservasi-form-wrap {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow);
}
.reservasi-info {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.info-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
}
.info-card h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.info-card h3 svg { width: 18px; height: 18px; color: var(--primary); }
.info-card p, .info-card li {
  font-size: 14px;
  color: var(--text-light);
  margin-bottom: 6px;
}
.info-card ul { padding-left: 4px; }
.info-card li::before { content: '→ '; color: var(--primary); font-weight: 700; }

/* Form Elements */
.form-title {
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--border);
  color: var(--text);
}
.form-row { display: grid; grid-template-columns: 1fr; gap: 16px; margin-bottom: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}
.form-group input,
.form-group select,
.form-group textarea {
  padding: 11px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-size: 15px;
  background: var(--bg);
  color: var(--text);
  transition: border-color 0.2s;
  width: 100%;
}
.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; }
.radio-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.radio-option {
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  font-size: 14px;
}
.radio-option input { width: auto; }
.form-submit {
  margin-top: 8px;
  width: 100%;
  padding: 14px;
  background: var(--primary);
  color: var(--white);
  border: none;
  border-radius: var(--radius);
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}
.form-submit:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
}
.form-note {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 10px;
  text-align: center;
}

/* ============ FOOTER ============ */
footer {
  background: var(--bg-dark);
  color: #ccc;
  padding: 40px 16px 20px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  max-width: 1100px;
  margin: 0 auto 28px;
}
.footer-brand .logo { color: #fff; margin-bottom: 10px; }
.footer-brand p { font-size: 14px; color: #999; line-height: 1.6; }
.footer-col h4 { color: var(--white); font-size: 15px; font-weight: 700; margin-bottom: 12px; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul li a { font-size: 14px; color: #999; transition: color 0.2s; }
.footer-col ul li a:hover { color: var(--white); }
.footer-col p { font-size: 14px; color: #999; margin-bottom: 8px; }
.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid #333;
  font-size: 13px;
  color: #666;
  max-width: 1100px;
  margin: 0 auto;
}
.footer-halal {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #1e3a2a;
  color: #6fcf97;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 12px;
}

/* ============ PAGE HEADER ============ */
.page-header {
  background: linear-gradient(135deg, #1a0a07, #3d1410);
  color: var(--white);
  padding: 48px 16px 40px;
  text-align: center;
}
.page-header .breadcrumb {
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  margin-bottom: 16px;
}
.page-header .breadcrumb a { color: rgba(255,255,255,0.6); }
.page-header .breadcrumb a:hover { color: var(--white); }
.page-header h1 { font-size: clamp(26px, 5vw, 42px); font-weight: 800; margin-bottom: 10px; }
.page-header p { font-size: 15px; opacity: 0.8; max-width: 500px; margin: 0 auto; }

/* ============ MEDIA QUERIES ============ */
@media (min-width: 600px) {
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
  .menu-list { grid-template-columns: repeat(2, 1fr); }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .certs-grid { grid-template-columns: repeat(2, 1fr); }
  .form-row { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 900px) {
  body { padding-top: 80px; }
  .nav-toggle-label { display: none; }
  nav ul {
    position: static;
    flex-direction: row;
    max-height: none;
    overflow: visible;
    border-top: none;
    background: transparent;
  }
  nav ul li a {
    padding: 0 14px;
    border-bottom: none;
    line-height: 48px;
    font-size: 15px;
    border-radius: var(--radius);
  }
  nav ul li a:hover,
  nav ul li a.active {
    background: var(--bg-warm);
    color: var(--primary);
  }
  .cards-grid { grid-template-columns: repeat(3, 1fr); }
  .features-grid { grid-template-columns: repeat(3, 1fr); }
  .about-grid { grid-template-columns: 1fr 1fr; }
  .chef-card { grid-template-columns: 280px 1fr; }
  .chef-visual { height: auto; }
  .certs-grid { grid-template-columns: repeat(3, 1fr); }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .reservasi-grid { grid-template-columns: 2fr 1fr; }
  .footer-grid { grid-template-columns: 2fr 1fr 1fr; }
  .galeri-grid { grid-template-columns: repeat(3, 1fr); }
  .galeri-item:nth-child(5) { grid-column: span 1; aspect-ratio: 1; }
}
