/* ============================================================
   MAKBIT KITCHEN — style.css
   Untuk mengubah warna utama, cukup edit bagian :root di bawah
   ============================================================ */

/* ── TEMA & VARIABEL ─────────────────────────────────────── */
:root {
  /* Warna Utama */
  --teal:        #1fbdbd;
  --teal-dark:   #0e9494;
  --teal-light:  #e6f9f9;

  /* Warna Netral */
  --brown:       #2e1c10;
  --brown-mid:   #5a3e2b;
  --cream:       #fdf9f4;
  --warm-gray:   #f4f0eb;
  --muted:       #897060;
  --white:       #ffffff;

  /* Tipografi */
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body:    'DM Sans', system-ui, sans-serif;
  --font-hand:    'Caveat', cursive;

  /* Ukuran */
  --max-width: 1140px;
  --radius:    20px;
  --radius-sm: 12px;

  /* Bayangan */
  --shadow-sm: 0 2px 12px rgba(0,0,0,0.07);
  --shadow-md: 0 8px 32px rgba(0,0,0,0.11);
  --shadow-lg: 0 20px 60px rgba(0,0,0,0.14);

  /* Transisi */
  --ease: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── RESET ───────────────────────────────────────────────── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html   { scroll-behavior: smooth; font-size: 16px; }
body   { font-family: var(--font-body); color: var(--brown); background: var(--white); overflow-x: hidden; line-height: 1.6; }
img    { max-width: 100%; display: block; }
a      { text-decoration: none; transition: var(--ease); }
ul, ol { list-style: none; }
button { font-family: var(--font-body); cursor: pointer; border: none; background: none; }

/* ── UTILITAS ────────────────────────────────────────────── */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }
.section    { padding: 88px 0; }
.section--alt { background: var(--cream); }
.section--dark { background: var(--brown); }

.section-label {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--teal); margin-bottom: 12px;
}
.section-label::before {
  content: ''; display: block; width: 24px; height: 2px;
  background: var(--teal); border-radius: 2px; flex-shrink: 0;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.5vw, 2.8rem);
  line-height: 1.15; color: var(--brown); margin-bottom: 16px;
}
.section-title--light { color: var(--white); }
.section-title em     { font-style: italic; color: var(--teal); }

.section-desc { color: var(--muted); max-width: 520px; line-height: 1.75; }

/* Tombol */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 30px; border-radius: 50px; font-weight: 600;
  font-size: 0.9rem; transition: var(--ease); white-space: nowrap;
}
.btn--primary   { background: var(--teal); color: var(--white); }
.btn--primary:hover { background: var(--teal-dark); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(31,189,189,0.35); }
.btn--outline   { background: transparent; color: var(--white); border: 1.5px solid rgba(255,255,255,0.4); }
.btn--outline:hover { border-color: var(--teal); color: var(--teal); }
.btn--wa        { background: #25D366; color: var(--white); }
.btn--wa:hover  { background: #1ebe5a; transform: translateY(-2px); box-shadow: 0 6px 20px rgba(37,211,102,0.35); }
.btn--light     { background: var(--white); color: var(--brown); }
.btn--light:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }

/* Animasi scroll */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.65s ease, transform 0.65s ease; }
.reveal.from-left  { transform: translateX(-24px); }
.reveal.from-right { transform: translateX(24px); }
.reveal.visible    { opacity: 1; transform: none; }

/* ── HEADER / NAV ────────────────────────────────────────── */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 900;
  background: rgba(255,255,255,0.93);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(31,189,189,0.1);
  transition: var(--ease);
}
.nav {
  height: 72px; display: flex;
  justify-content: space-between; align-items: center;
}
.nav__logo img { height: 46px; }

.nav__links {
  display: flex; align-items: center; gap: 32px;
}
.nav__links a {
  font-size: 0.875rem; font-weight: 500; color: var(--brown-mid);
  letter-spacing: 0.01em;
}
.nav__links a:hover { color: var(--teal); }
.nav__links .btn { padding: 9px 22px; font-size: 0.82rem; }

/* Hamburger (mobile) */
.nav__hamburger {
  display: none; flex-direction: column; gap: 5px;
  padding: 4px; cursor: pointer;
}
.nav__hamburger span {
  width: 22px; height: 2px; background: var(--brown);
  border-radius: 2px; transition: var(--ease);
}

/* Mobile drawer */
.nav__drawer {
  display: none; flex-direction: column; gap: 0;
  position: fixed; top: 72px; left: 0; right: 0;
  background: var(--white); border-top: 1px solid var(--teal-light);
  box-shadow: var(--shadow-md); z-index: 899; padding: 8px 0 16px;
}
.nav__drawer.open { display: flex; }
.nav__drawer a {
  padding: 14px 24px; font-weight: 500; color: var(--brown);
  border-bottom: 1px solid var(--warm-gray); font-size: 0.95rem;
}
.nav__drawer a:last-child { border-bottom: none; color: var(--teal); font-weight: 700; }
.nav__drawer a:hover { background: var(--teal-light); }

/* ── HERO ─────────────────────────────────────────────────── */
.hero {
  min-height: 100vh; position: relative;
  display: flex; align-items: center;
  background: var(--brown); overflow: hidden;
  padding-top: 72px;
}
.hero__bg {
  position: absolute; inset: 0;
  background-image: url('../images/bolen-box.jpg');
  background-size: cover; background-position: center;
  opacity: 0.2;
}
.hero__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(130deg, rgba(14,148,148,0.82) 0%, rgba(46,28,16,0.92) 55%, rgba(0,0,0,0.97) 100%);
}
.hero__inner {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 56px; align-items: center;
  padding: 64px 0;
}

/* Teks hero */
.hero__badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.18);
  color: rgba(255,255,255,0.8); padding: 6px 18px; border-radius: 50px;
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.06em;
  text-transform: uppercase; margin-bottom: 24px;
  backdrop-filter: blur(8px);
}
.hero__badge::before { content: '✦'; color: var(--teal); }

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 6vw, 5.2rem);
  color: var(--white); line-height: 1.0; margin-bottom: 10px;
}
.hero__title em { display: block; font-style: italic; color: var(--teal); }

.hero__tagline {
  font-family: var(--font-hand);
  font-size: 1.35rem; color: rgba(255,255,255,0.65);
  margin-bottom: 32px;
}
.hero__ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 44px; }

.hero__stats { display: flex; gap: 36px; }
.hero__stat-num {
  display: block; font-family: var(--font-display);
  font-size: 1.9rem; font-weight: 700; color: var(--white);
}
.hero__stat-label {
  font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.1em;
  color: rgba(255,255,255,0.45);
}

/* Foto hero */
.hero__photos { display: flex; flex-direction: column; gap: 14px; }
.hero__photos-row { display: grid; grid-template-columns: 1.25fr 1fr; gap: 12px; }
.hero__photo {
  border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.hero__photo--tall { aspect-ratio: 3/4; }
.hero__photo--sq   { aspect-ratio: 1/1; }
.hero__photo img   { width: 100%; height: 100%; object-fit: cover; }

.hero__chip {
  display: flex; align-items: center; gap: 12px;
  background: rgba(255,255,255,0.95); border-radius: var(--radius-sm);
  padding: 12px 18px; box-shadow: var(--shadow-md);
  animation: float 4s ease-in-out infinite;
}
.hero__chip-icon  { font-size: 1.5rem; }
.hero__chip-title { font-weight: 600; font-size: 0.82rem; color: var(--brown); }
.hero__chip-sub   { font-size: 0.73rem; color: var(--muted); }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-7px); }
}

/* ── MARQUEE ─────────────────────────────────────────────── */
.marquee { background: var(--teal); padding: 13px 0; overflow: hidden; }
.marquee__track {
  display: flex; gap: 0; white-space: nowrap;
  animation: marquee 22s linear infinite;
}
.marquee__item {
  display: inline-flex; align-items: center; gap: 14px;
  padding: 0 28px; color: var(--white);
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
}
.marquee__item::after { content: '✦'; opacity: 0.55; font-size: 0.6rem; }
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ── TENTANG ─────────────────────────────────────────────── */
.about__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }

.about__img-wrap { position: relative; }
.about__img-main {
  border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/5;
  box-shadow: var(--shadow-lg);
}
.about__img-main img { width: 100%; height: 100%; object-fit: cover; }
.about__img-accent {
  position: absolute; bottom: -18px; right: -18px;
  width: 140px; border-radius: var(--radius-sm); overflow: hidden;
  border: 4px solid var(--white); box-shadow: var(--shadow-md);
}
.about__tag {
  position: absolute; top: 22px; left: -14px;
  background: var(--teal); color: var(--white);
  padding: 8px 18px; border-radius: 50px;
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.06em;
  box-shadow: 0 4px 18px rgba(31,189,189,0.4);
}

.about__features { display: flex; flex-direction: column; gap: 12px; margin: 28px 0 32px; }
.about__feat {
  display: flex; align-items: center; gap: 14px;
  padding: 13px 18px; background: var(--white);
  border-radius: var(--radius-sm); border-left: 3px solid var(--teal);
  box-shadow: var(--shadow-sm);
}
.about__feat-icon { font-size: 1.2rem; flex-shrink: 0; }
.about__feat-text { font-size: 0.88rem; font-weight: 500; color: var(--brown); }

/* ── MENU PRODUK ─────────────────────────────────────────── */

/*
  ══════════════════════════════════════════
  CARA UPDATE PRODUK — SANGAT MUDAH!
  Edit di file js/config.js bagian PRODUCTS
  ══════════════════════════════════════════
*/

.menu__header { text-align: center; margin-bottom: 56px; }
.menu__header .section-label { justify-content: center; }
.menu__header .section-desc  { margin: 0 auto; text-align: center; }
.menu__fav-note {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 14px; background: var(--teal-light);
  color: var(--teal-dark); font-size: 0.8rem; font-weight: 600;
  padding: 6px 16px; border-radius: 50px;
}

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

/* Card produk */
.product-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0,0,0,0.05);
  transition: var(--ease);
  display: flex; flex-direction: column;
}
.product-card:hover {
  transform: translateY(-7px);
  box-shadow: var(--shadow-lg);
}
.product-card__img {
  position: relative; overflow: hidden; aspect-ratio: 1/1;
}
.product-card__img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.5s ease;
}
.product-card:hover .product-card__img img { transform: scale(1.06); }

/* Badge: Favorit / Baru */
.badge {
  position: absolute; top: 12px; left: 12px;
  padding: 4px 13px; border-radius: 50px;
  font-size: 0.68rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase;
}
.badge--fav  { background: var(--teal); color: var(--white); }
.badge--new  { background: #f59e0b; color: var(--white); }
.badge--hot  { background: #ef4444; color: var(--white); }

.product-card__body { padding: 18px 20px 14px; flex: 1; }
.product-card__name {
  font-family: var(--font-display);
  font-size: 1.05rem; color: var(--brown); margin-bottom: 6px;
}
.product-card__desc { font-size: 0.82rem; color: var(--muted); line-height: 1.6; }

.product-card__footer {
  padding: 12px 20px;
  border-top: 1px solid var(--teal-light);
  display: flex; align-items: center; justify-content: space-between;
}
.product-card__fresh { font-size: 0.73rem; color: var(--muted); }
.product-card__order {
  display: inline-flex; align-items: center; gap: 5px;
  background: var(--teal-light); color: var(--teal-dark);
  padding: 6px 14px; border-radius: 50px;
  font-size: 0.76rem; font-weight: 700; transition: var(--ease);
}
.product-card__order:hover { background: var(--teal); color: var(--white); }

/* ── GALERI ──────────────────────────────────────────────── */
.gallery__header { margin-bottom: 40px; }
.gallery__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: 260px 260px;
  gap: 14px;
}
.gallery__item { border-radius: var(--radius-sm); overflow: hidden; }
.gallery__item:first-child { grid-row: span 2; }
.gallery__item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.5s ease;
}
.gallery__item:hover img { transform: scale(1.04); }

/* ── ORDER / CTA ─────────────────────────────────────────── */
.order-cta {
  background: linear-gradient(135deg, var(--teal) 0%, var(--teal-dark) 100%);
  text-align: center; position: relative; overflow: hidden;
}
.order-cta::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(255,255,255,0.12) 0%, transparent 65%);
  pointer-events: none;
}
.order-cta__inner { position: relative; z-index: 1; }
.order-cta__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.2rem);
  color: var(--white); margin-bottom: 14px;
}
.order-cta__desc { color: rgba(255,255,255,0.8); margin-bottom: 36px; font-size: 1rem; }
.order-cta__btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.order-cta__note {
  margin-top: 22px; color: rgba(255,255,255,0.6);
  font-size: 0.8rem; display: flex; align-items: center; justify-content: center; gap: 16px;
  flex-wrap: wrap;
}
.order-cta__note span::before { content: '·'; margin-right: 16px; opacity: 0.4; }
.order-cta__note span:first-child::before { display: none; }

/* ── FOOTER ──────────────────────────────────────────────── */
.footer { background: #1a0f08; color: var(--white); padding: 56px 0 24px; }
.footer__grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr;
  gap: 48px; margin-bottom: 44px;
}
.footer__logo img { height: 56px; margin-bottom: 16px; filter: drop-shadow(0 2px 8px rgba(0,0,0,0.4)); }
.footer__tagline { color: rgba(255,255,255,0.45); font-size: 0.85rem; line-height: 1.75; max-width: 260px; }
.footer__col h4 {
  color: var(--teal); font-size: 0.72rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.12em; margin-bottom: 18px;
}
.footer__col ul { display: flex; flex-direction: column; gap: 10px; }
.footer__col a { color: rgba(255,255,255,0.5); font-size: 0.85rem; }
.footer__col a:hover { color: var(--teal); }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 22px; text-align: center;
  color: rgba(255,255,255,0.28); font-size: 0.78rem;
}

/* ── RESPONSIVE ──────────────────────────────────────────── */
@media (max-width: 960px) {
  .nav__links    { display: none; }
  .nav__hamburger { display: flex; }

  .hero__inner { grid-template-columns: 1fr; padding: 48px 0; }
  .hero__photos { display: none; }

  .about__grid { grid-template-columns: 1fr; gap: 40px; }
  .about__img-accent { display: none; }

  .menu__grid { grid-template-columns: repeat(2, 1fr); }

  .gallery__grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
  }
  .gallery__item:first-child { grid-row: auto; grid-column: span 2; aspect-ratio: 16/9; height: auto; }

  .footer__grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer__logo { grid-column: span 2; }
}

@media (max-width: 600px) {
  .section { padding: 64px 0; }
  .container { padding: 0 18px; }

  .hero__stats { gap: 24px; flex-wrap: wrap; }
  .hero__ctas .btn { padding: 12px 22px; font-size: 0.85rem; }

  .menu__grid { grid-template-columns: 1fr; }

  .gallery__grid { grid-template-columns: 1fr; }
  .gallery__item:first-child { grid-column: auto; aspect-ratio: 4/3; }
  .gallery__item { aspect-ratio: 4/3; }

  .order-cta__btns { flex-direction: column; align-items: center; }

  .footer__grid { grid-template-columns: 1fr; }
  .footer__logo { grid-column: auto; }
}
