/* ======================================== */
/* TEMA 1: MODE TERANG (MIRIP REFERENSI) */
/* ======================================== */
:root {
  --bg: #faf7fb;
  --surface: #ffffff;
  --surface-2: #fff8fd;
  --text: #171319;
  --text-muted: #5f5564;
  --primary: #c7319c;
  --primary-2: #c7333e;
  --accent: #eccb30;
  --border: #edd3e5;
  --header-bg: rgba(250, 247, 251, 0.88);
  --hero-grad: linear-gradient(135deg, #fff0f8 0%, #ffe4f4 50%, #fff8e1 100%);
  --hero-pattern-dot: rgba(199, 49, 156, 0.12);
  --footer-bg: #17131a;
  --footer-text: #f7d8ee;
  --footer-link: #f5b7df;
  --footer-link-hover: #fff2fb;
  --ring: rgba(199, 49, 156, 0.35);
  --shadow-sm: 0 8px 20px rgba(34, 18, 28, 0.08);
  --shadow-md: 0 18px 40px rgba(34, 18, 28, 0.13);
  --radius-xl: 24px;
  --radius-lg: 18px;
  --radius-md: 14px;
}

/* ======================================== */
/* TEMA 2: MODE GELAP PINK */
/* ======================================== */
[data-theme="dark"] {
  --bg: #130f17;
  --surface: #1c1621;
  --surface-2: #221a28;
  --text: #fff4fd;
  --text-muted: #ccb9cf;
  --primary: #c7319c;
  --primary-2: #ce483c;
  --accent: #e5c938;
  --border: #3f2c42;
  --header-bg: rgba(19, 15, 23, 0.8);
  --hero-grad: linear-gradient(135deg, #1a0520 0%, #2d0a1f 40%, #1a0818 100%);
  --hero-pattern-dot: rgba(199, 49, 156, 0.2);
  --footer-bg: #0c0a0e;
  --footer-text: #f9ddf1;
  --footer-link: #ff9ad9;
  --footer-link-hover: #fff0fb;
  --ring: rgba(199, 49, 156, 0.45);
  --shadow-sm: 0 10px 22px rgba(0, 0, 0, 0.32);
  --shadow-md: 0 18px 42px rgba(0, 0, 0, 0.46);
}

/* ======================================== */
/* DASAR GLOBAL */
/* ======================================== */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Poppins", sans-serif;
  color: var(--text);
  background: var(--bg);
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

.container {
  width: min(1280px, 92vw);
  margin: 0 auto;
}

.section {
  padding: 6rem 0;
}

.eyebrow {
  display: inline-block;
  margin: 0 0 0.8rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: rgba(199, 49, 156, 0.12);
  color: var(--primary);
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  line-height: 1.12;
}

h2 {
  font-size: clamp(2rem, 4.2vw, 3.4rem);
  font-weight: 900;
  letter-spacing: -0.02em;
}

p {
  color: var(--text-muted);
  line-height: 1.75;
}

.text-link {
  font-weight: 700;
  color: var(--primary);
}

/* ======================================== */
/* HEADER & NAV */
/* ======================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: var(--primary);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
  animation: slideDown 0.5s ease-out;
}

@keyframes slideDown {
  from {
    transform: translateY(-100%);
  }
  to {
    transform: translateY(0);
  }
}

.header-inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand img {
  width: 124px;
  filter: brightness(0) invert(1);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 1.1rem;
}

.main-nav a {
  font-size: 0.9rem;
  font-weight: 700;
  color: #ffffff;
  transition: all 0.3s ease;
  position: relative;
}

.main-nav a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: white;
  transition: width 0.3s ease;
}

.main-nav a:hover::after {
  width: 100%;
}

.main-nav a:hover {
  opacity: 0.85;
}

.nav-tools {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-left: 0.4rem;
}

.lang-switcher {
  display: flex;
  gap: 0.4rem;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 999px;
  padding: 0.35rem;
  border: 1px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(10px);
}

.lang-btn {
  border: none;
  background: transparent;
  color: #ffffff;
  padding: 0.35rem 0.65rem;
  font-size: 0.8rem;
  font-weight: 700;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.lang-btn.lang-active {
  background: rgba(255, 255, 255, 0.25);
  font-weight: 800;
}

.lang-btn:hover {
  background: rgba(255, 255, 255, 0.2);
}

.theme-toggle {
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-radius: 999px;
  padding: 0.4rem 0.6rem;
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
  cursor: pointer;
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: all 0.3s ease;
}

.theme-icon {
  display: inline-block;
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.theme-toggle:hover {
  background: rgba(255, 255, 255, 0.25);
  border-color: rgba(255, 255, 255, 0.6);
}

.theme-toggle:active .theme-icon {
  transform: rotate(180deg);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.15);
  padding: 0.5rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.menu-toggle:hover {
  background: rgba(255, 255, 255, 0.25);
  border-color: rgba(255, 255, 255, 0.6);
}

.menu-toggle span {
  display: block;
  height: 2px;
  margin: 6px 0;
  background: #ffffff;
  transition: all 0.3s ease;
}

.menu-toggle.is-open span:nth-child(1) {
  transform: rotate(45deg) translate(8px, 8px);
}

.menu-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.is-open span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

/* ======================================== */
/* KOMPONEN TOMBOL */
/* ======================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 12px;
  padding: 0.85rem 1.3rem;
  font-weight: 800;
  font-size: 0.84rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: #fff;
  background: linear-gradient(90deg, var(--primary), var(--primary-2));
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), filter 0.35s ease, box-shadow 0.35s ease;
  cursor: pointer;
}

.btn:hover {
  transform: translateY(-3px) scale(1.02);
  filter: brightness(1.08);
  box-shadow: var(--shadow-md);
}

.btn:active {
  transform: translateY(-1px) scale(0.98);
}

.btn--accent {
  background: var(--accent);
  color: #181214;
}

.btn--ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}

/* ======================================== */
/* HERO */
/* ======================================== */
.hero {
  position: relative;
  min-height: calc(100vh - 78px);
  overflow: hidden;
  padding-top: 2.8rem;
}

.hero-bg,
.hero-pattern,
.hero-orb {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-bg {
  background: var(--hero-grad);
}

.hero-pattern {
  opacity: 0.45;
  background-image: radial-gradient(var(--hero-pattern-dot) 1.1px, transparent 1.1px);
  background-size: 30px 30px;
}

.hero-orb {
  filter: blur(62px);
}

.hero-orb--pink {
  inset: auto -120px 120px auto;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  background: rgba(199, 49, 156, 0.45);
}

.hero-orb--yellow {
  inset: auto auto -120px -120px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: rgba(236, 203, 48, 0.34);
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2.2rem;
  align-items: center;
  padding: 4.4rem 0 5rem;
}

.hero-pill {
  display: inline-block;
  margin-bottom: 1rem;
  padding: 0.42rem 0.9rem;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.72rem;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(90deg, var(--primary), var(--primary-2));
}

.hero-title {
  font-size: clamp(3rem, 10vw, 7.2rem);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: -0.03em;
}

.hero-title span {
  color: var(--primary);
}

.hero-tagline {
  margin: 0.8rem 0 0;
  font-size: clamp(1.25rem, 2.7vw, 2rem);
  font-weight: 700;
  color: var(--primary);
}

.hero-subtitle {
  max-width: 58ch;
  margin-top: 0.9rem;
}

.hero-cta {
  margin-top: 1.9rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.hero-facts {
  margin-top: 1.6rem;
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.fact-card {
  display: inline-flex;
  align-items: center;
  gap: 0.62rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: color-mix(in srgb, var(--surface) 88%, transparent);
  padding: 0.42rem 0.78rem;
  transition: all 0.3s ease;
  cursor: pointer;
}

.fact-card:hover {
  border-color: var(--primary);
  background: color-mix(in srgb, var(--primary) 8%, var(--surface));
  transform: scale(1.05);
}

.fact-card p {
  margin: 0;
  color: var(--text);
  font-size: 0.75rem;
  font-weight: 700;
}

.fact-icon {
  min-width: 34px;
  height: 34px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-size: 0.66rem;
  font-weight: 800;
  background: linear-gradient(110deg, #22a95f, #0f7e41);
  color: #fff;
}

.hero-media {
  position: relative;
}

.hero-media-glow {
  position: absolute;
  inset: 7% 10%;
  border-radius: var(--radius-xl);
  background: radial-gradient(circle, rgba(199, 49, 156, 0.48), transparent 70%);
  filter: blur(30px);
}

.hero-media img {
  position: relative;
  width: min(100%, 560px);
  margin: 0 auto;
  border-radius: 26px;
  box-shadow: var(--shadow-md);
}

/* ======================================== */
/* SECTION HEAD */
/* ======================================== */
.section-head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 2rem;
}

.section-subtitle {
  margin: 0.8rem auto 0;
}

/* ======================================== */
/* ABOUT */
/* ======================================== */
.about {
  background: linear-gradient(180deg, transparent, color-mix(in srgb, var(--primary) 4%, transparent));
}

.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 1rem;
}

.about-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  background: var(--surface);
  padding: 1.25rem;
  box-shadow: var(--shadow-sm);
  transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.about-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.about-card--wide p {
  margin-top: 0;
}

.timeline-list {
  margin: 0.9rem 0 0;
  padding-left: 1rem;
  color: var(--text-muted);
  list-style: none;
}

.timeline-list li {
  margin-bottom: 0.7rem;
  line-height: 1.6;
  padding-left: 1.2rem;
  position: relative;
  opacity: 0;
  animation: timelineSlideIn 0.6s ease-out forwards;
}

.timeline-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.5rem;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 0 2px var(--surface), 0 0 0 3px var(--primary);
}

.timeline-list li:nth-child(1) {
  animation-delay: 0.1s;
}

.timeline-list li:nth-child(2) {
  animation-delay: 0.2s;
}

.timeline-list li:nth-child(3) {
  animation-delay: 0.3s;
}

.timeline-list li:nth-child(4) {
  animation-delay: 0.4s;
}

.timeline-list strong {
  color: var(--primary);
  font-weight: 700;
}

/* ======================================== */
/* MENU */
/* ======================================== */
.menu-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.menu-card {
  border: 1px solid var(--border);
  border-radius: 22px;
  overflow: hidden;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  cursor: pointer;
}

.menu-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary);
}

.menu-card--highlight {
  transform: translateY(-6px);
  border-color: color-mix(in srgb, var(--primary) 40%, var(--border));
}

.menu-card--highlight:hover {
  transform: translateY(-10px);
}

.menu-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: var(--surface-2);
}

.menu-card__body {
  padding: 1rem;
}

.menu-card__body p {
  margin: 0.5rem 0 0.95rem;
}

.menu-card__meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.6rem;
}

.menu-card__meta strong {
  color: var(--text);
}

.menu-tag {
  border-radius: 999px;
  border: 1px solid var(--border);
  background: color-mix(in srgb, var(--primary) 11%, transparent);
  color: var(--primary);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.3rem 0.58rem;
}

.menu-actions {
  margin-top: 1.2rem;
  text-align: center;
  display: flex;
  justify-content: center;
  gap: 0.8rem;
  flex-wrap: wrap;
}

/* ======================================== */
/* LOKASI */
/* ======================================== */
.location-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  align-items: stretch;
}

.location-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  background: var(--surface);
  padding: 1.25rem;
  box-shadow: var(--shadow-sm);
  transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.location-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary);
}

.location-card h3 {
  margin-top: 0.9rem;
}

.info-list {
  margin: 1rem 0 1.2rem;
  padding-left: 1rem;
  color: var(--text-muted);
}

.info-list li {
  margin-bottom: 0.35rem;
}

.location-map img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
}

/* ======================================== */
/* RESERVASI */
/* ======================================== */
.reservation-box {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.2rem;
  padding: 1.35rem;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
  background: linear-gradient(120deg, color-mix(in srgb, var(--primary) 11%, transparent), color-mix(in srgb, var(--accent) 10%, transparent));
  box-shadow: var(--shadow-sm);
}

.reservation-actions {
  display: flex;
  gap: 0.7rem;
  flex-wrap: wrap;
}

/* ======================================== */
/* FOOTER */
/* ======================================== */
.site-footer {
  margin-top: 2rem;
  padding: 3rem 0 1.8rem;
  background: var(--footer-bg);
  color: var(--footer-text);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
  gap: 1rem;
}

.footer-logo {
  width: 130px;
  margin-bottom: 0.7rem;
}

.quote {
  color: var(--footer-text);
  font-size: 1.02rem;
  font-weight: 700;
}

.halal {
  color: var(--accent);
  font-weight: 700;
}

.site-footer h4 {
  margin: 0 0 0.65rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  font-size: 0.9rem;
}

.site-footer a {
  display: block;
  margin: 0.2rem 0;
  color: var(--footer-link);
}

.site-footer a:hover {
  color: var(--footer-link-hover);
}

.copyright {
  margin-top: 1.4rem;
  text-align: center;
  opacity: 0.75;
}

/* ======================================== */
/* ANIMASI */
/* ======================================== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes timelineSlideIn {
  from {
    opacity: 0;
    transform: translateX(-16px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.hero-copy {
  animation: fadeInUp 0.8s ease-out 0.2s backwards;
}

.hero-media {
  animation: scaleIn 0.8s ease-out 0.4s backwards;
}

/* ======================================== */
/* RESPONSIVE */
/* ======================================== */
@media (max-width: 1100px) {
  .hero-grid,
  .about-grid,
  .location-grid {
    grid-template-columns: 1fr;
  }

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

  .menu-card--highlight {
    transform: none;
  }

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

@media (max-width: 768px) {
  .section {
    padding: 4.2rem 0;
  }

  .hero {
    min-height: auto;
  }

  .menu-toggle {
    display: block;
  }

  .main-nav {
    position: absolute;
    top: 78px;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: var(--primary);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  }

  .main-nav a,
  .theme-toggle {
    width: 100%;
    text-align: center;
    padding: 1rem 1rem;
    border-radius: 0;
    border: none;
    color: #ffffff;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: background 0.3s ease;
  }

  .main-nav a::after {
    display: none;
  }

  .main-nav a:hover {
    background: rgba(255, 255, 255, 0.1);
    opacity: 1;
  }

  .nav-tools {
    flex-direction: column;
    width: 100%;
    gap: 0.5rem;
    margin-left: 0;
    padding: 0.8rem 1rem;
  }

  .lang-switcher {
    width: 100%;
    justify-content: center;
  }

  .theme-toggle {
    border: none;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    padding: 0.7rem 1rem;
    width: 100%;
    font-size: 1rem;
    margin-top: 0;
  }

  .theme-toggle:hover {
    background: rgba(255, 255, 255, 0.15);
  }

  .main-nav.is-open {
    max-height: 520px;
    padding-bottom: 0;
  }

  .hero-title {
    font-size: clamp(2.5rem, 15vw, 4.4rem);
  }

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

  .reservation-box {
    flex-direction: column;
    align-items: flex-start;
  }

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