/* Webdesign Factory — shared base styles (M4).
   Palette comes from CSS variables set per-site in an inline <style> block
   (values chosen by the designer agent). No external fonts or requests. */
:root {
  --primary: #8a4b2a;
  --accent: #d9a441;
  --background: #fdf9f4;
  --text: #2b2320;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  background: var(--background);
  color: var(--text);
  line-height: 1.6;
}
img { max-width: 100%; }
.container { max-width: 960px; margin: 0 auto; padding: 0 1.25rem; }

/* Hero */
.hero {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: flex-end;
  color: #fff;
  background: var(--primary);
  overflow: hidden;
}
.hero img.hero-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.55;
}
.hero .hero-inner {
  position: relative;
  width: 100%;
  padding: 3.5rem 1.25rem 2.5rem;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.55));
}
.hero h1 { margin: 0 0 0.25rem; font-size: clamp(1.8rem, 5vw, 3rem); line-height: 1.15; }
.hero .tagline { font-size: clamp(1rem, 2.5vw, 1.25rem); opacity: 0.95; margin: 0 0 0.4rem; }
.hero .proof { font-size: 0.9rem; opacity: 0.85; margin: 0 0 1.2rem; }
.cta {
  display: inline-block;
  background: var(--accent);
  color: var(--text);
  font-weight: 700;
  text-decoration: none;
  padding: 0.8rem 1.6rem;
  border-radius: 999px;
  font-size: 1rem;
}
.cta:hover { filter: brightness(1.08); }

/* Sections */
section { padding: 3rem 0; }
section h2 {
  font-size: 1.5rem;
  margin: 0 0 1.2rem;
  color: var(--primary);
}
.about p { max-width: 65ch; font-size: 1.05rem; }

/* Item lists (menu / layanan / produk — per-template tweaks below) */
.items { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 0.9rem; }
.item {
  background: #fff;
  border: 1px solid color-mix(in srgb, var(--primary) 15%, #fff);
  border-radius: 10px;
  padding: 0.9rem 1.1rem;
}
.item .item-name { font-weight: 600; display: block; }
.item .item-desc { font-size: 0.9rem; opacity: 0.8; }
.section-block { margin-bottom: 2.2rem; }
.section-block h3 { margin: 0 0 0.8rem; color: var(--text); }

/* Gallery */
.gallery .grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 0.6rem; }
.gallery img {
  width: 100%; height: 160px; object-fit: cover; border-radius: 8px;
  background: color-mix(in srgb, var(--primary) 8%, #fff);
}

/* Info: hours + address + maps */
.info .panel {
  background: #fff;
  border-radius: 12px;
  padding: 1.5rem;
  border: 1px solid color-mix(in srgb, var(--primary) 15%, #fff);
}
.info dl { margin: 0 0 1rem; }
.info dt { font-weight: 700; color: var(--primary); }
.info dd { margin: 0 0 0.8rem; }
.hours-list { white-space: pre-line; font-size: 0.95rem; }

/* Footer + demo badge */
footer {
  margin-top: 2rem;
  padding: 1.5rem 0 2.5rem;
  text-align: center;
  font-size: 0.85rem;
  opacity: 0.75;
}
.demo-badge {
  display: inline-block;
  border: 1px dashed var(--primary);
  color: var(--primary);
  border-radius: 6px;
  padding: 0.15rem 0.6rem;
  font-size: 0.75rem;
  margin-top: 0.5rem;
}
