:root {
  --bg: #f7f7f5;
  --surface: #ffffff;
  --surface-strong: #f1f1f1;
  --text: #222222;
  --text-muted: #54616e;
  --primary: #0f6f54;
  --brand: #146582;
  --primary-soft: #bde8d6;
  --accent: #f3a747;
  --border: rgba(34, 34, 34, 0.08);
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

a {
  color: var(--primary);
  text-decoration: none;
}

.footer .footer-col h4,
.footer .footer-col p {
  color: #eaeaea;
}

/* Logo style in footer */
.footer .logo {
  color: var(--accent);
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer .logo .logo-icon i {
  background: transparent;
  color: var(--accent);
  font-size: 18px;
}
.footer-col ul li a {
  color: #bdbdbd;
  padding: 6px 0;
  display: block;
}

/* Footer headings */
.footer-col h4 {
  color: #ffffff;
  font-weight: 700;
  margin-bottom: 14px;
}
.footer-col.social ul li {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-col.social ul li a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #d0d0d0;
}

.footer-col.social ul li a i {
  font-size: 16px;
  width: 18px;
  height: 18px;
  color: #cfcfcf;
  background: transparent;
}

/* subtle top divider */
.footer {
  border-top: 1px solid rgba(255,255,255,0.03);
}
a:hover {
  text-decoration: underline;
}

img {
  max-width: 100%;
  display: block;
  transition: transform 0.4s ease;
}

button,
input,
textarea,
select {
  font: inherit;
  transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

* {
  transition: color 0.25s ease, background-color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.container {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

header.navbar {
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 100;
  background: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  backdrop-filter: blur(12px);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 0;
}

.logo-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.logo-img {
  height: 40px;
  width: auto;
  display: inline-block;
}

.logo-text {
  font-size: 1rem;
  color: var(--brand);
  font-weight: 700;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.logo-text {
  font-size: 1rem;
}

/* Brand color for requested labels */
.logo-text,
.menu-section .section-title,
.extra-menu-section .section-title,
.gallery-section .section-title,
.social-section .section-title,
.address-section .section-title,
.footer-col h4 {
  color: var(--brand);
}

.nav-menu ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  gap: 24px;
  align-items: center;
}

.nav-menu ul li a {
  color: var(--brand);
  font-weight: 500;
}

.nav-menu ul li a:hover,
.nav-menu ul li a:focus {
  color: rgba(20, 101, 130, 0.8);
}

.nav-wa {
  display: flex;
  align-items: center;
}

.wa-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--brand);
  color: #fff;
  padding: 10px 18px;
  border-radius: 999px;
  border: none;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.wa-btn:hover {
  transform: translateY(-1px);
  filter: brightness(0.92);
}

.menu-toggle {
  display: none;
  cursor: pointer;
  font-size: 1.3rem;
}

.hero {
  min-height: 78vh;
  display: grid;
  place-items: center;
  position: relative;
  color: #fff;
  padding: 100px 0 80px;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.28), rgba(0, 0, 0, 0.62));
  z-index: 1;
}

.hero-carousel-inner {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 0.9s ease;
}

.hero-slide.active {
  opacity: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 760px;
  text-align: center;
}

.hero-title {
  margin: 0 0 16px;
  font-size: clamp(2.8rem, 6vw, 4.5rem);
  line-height: 0.95;
  letter-spacing: -0.04em;
  background: linear-gradient(135deg, #eaf5ff 0%, #146582 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  text-shadow: 0 10px 28px rgba(20, 101, 130, 0.25);
  -webkit-text-stroke: 0.8px rgba(255, 255, 255, 0.55);
}

.hero-sub {
  font-size: 1.05rem;
  opacity: 0.95;
  margin-bottom: 26px;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 600;
  transition: transform 0.2s ease, opacity 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: #ffffff;
  color: #111;
}

.btn-wa {
  background: var(--brand);
  color: #fff;
}

.btn-wa:hover {
  filter: brightness(0.92);
}

.section-title {
  font-size: clamp(1.75rem, 2vw, 2.4rem);
  margin-bottom: 16px;
  font-weight: 700;
  display: block;
  width: max-content;
  margin: 0 auto 20px;
  position: relative;
}

.section-title::after {
  content: '';
  display: block;
  width: 90px;
  height: 3px;
  background: var(--brand);
  border-radius: 2px;
  margin: 10px auto 0;
}

.menu-section,
.gallery-section,
.social-section,
.address-section,
.contact-wa {
  padding: 70px 0;
}

.search-box {
  max-width: 420px;
  margin: 0 auto 24px;
  position: relative;
}

.search-box input {
  width: 100%;
  padding: 14px 48px 14px 16px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
}

.search-box i {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
}

.menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.menu-card,
.address-card,
.social-card,
.footer-col {
  background: var(--surface);
  border-radius: 24px;
  box-shadow: var(--shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.menu-card {
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.menu-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.08);
}

.menu-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

/* Ensure menu card body centers and keeps consistent spacing */
.menu-card h3 {
  margin: 12px 16px 6px;
}
.menu-card .menu-desc {
  margin: 0 16px 12px;
}

.menu-card h3 {
  margin: 18px 16px 8px;
}

.menu-desc {
  margin: 0 16px 12px;
  color: var(--text-muted);
  min-height: 52px;
}

.menu-price {
  margin: 0 16px 16px;
  font-weight: 700;
}

.btn-order {
  margin: 0 16px 18px;
  display: inline-flex;
  justify-content: center;
  background: var(--brand);
  color: #fff;
  padding: 12px 0;
  border-radius: 999px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 18px;
}

/* Center gallery title */
.gallery-section .section-title {
  text-align: center;
}

.gallery-item {
  overflow: hidden;
  border-radius: 20px;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.08);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.gallery-item:hover img {
  transform: scale(1.06);
}

.social-icons {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: center;
}

.social-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-width: 300px;
  max-width: 420px;
  width: 100%;
  padding: 18px 24px;
  border-radius: 999px;
  border: 1px solid rgba(20,101,130,0.14);
  background: var(--surface);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.05);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  text-decoration: none;
  color: inherit;
}

.social-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.08);
  border-color: rgba(20,101,130,0.22);
}

.social-card-left {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.social-card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(20,101,130,0.08);
  color: var(--brand);
  font-size: 1.25rem;
}

.social-card-label {
  font-weight: 700;
  font-size: 1rem;
}

.social-card-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 100px;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
}

.social-card-instagram .social-card-icon {
  background: radial-gradient(circle at 30% 30%, #fde8f3 0%, #f9c8d9 45%, #c13584 100%);
  color: #c13584;
}

.social-card-tiktok .social-card-icon {
  background: linear-gradient(180deg, rgba(37,244,238,0.16) 0%, rgba(238,29,82,0.16) 100%);
  color: #111;
}

.address-card {
  padding: 26px;
}

.address-card p {
  margin: 0 0 14px;
}

.map-placeholder {
  border-radius: 18px;
  overflow: hidden;
  background: #e6e6e6;
}

.contact-wa {
  text-align: center;
}

.wa-big-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 32px;
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  font-weight: 700;
}

.wa-big-btn:hover {
  filter: brightness(0.92);
}

.footer {
  background: #131313;
  color: #e5e5e5;
  padding: 50px 0 20px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
}

/* Align all footer columns to the top and normalize spacing */
.footer-grid {
  align-items: start;
}

.footer .footer-col {
  padding: 12px 10px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.footer .logo {
  margin: 0 0 12px 0;
}

.footer-col h4 {
  margin-top: 0;
}

.footer-col ul li {
  margin: 8px 0;
}

.footer-col h4 {
  margin-bottom: 14px;
}

/* Blue link color like requested */
.footer .footer-col ul li a {
  color: #1e73be;
}

/* Footer logo image sizing */
.footer-logo {
  height: 48px;
  width: auto;
  display: inline-block;
}

/* Footer column specific styling */
.footer-col.social,
.footer-col.address {
  text-align: center;
}

.footer-col.social ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
}

.footer-col.social ul li a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #e5e5e5;
  padding: 8px 12px;
  border-radius: 12px;
  transition: background 0.15s ease, transform 0.12s ease;
}

.footer-col.social ul li a i {
  display: inline-block;
  width: auto;
  height: auto;
  border-radius: 0;
  background: transparent;
  color: inherit;
  font-size: 18px;
  line-height: 1;
}

.footer-col.social ul li a:hover {
  background: rgba(255,255,255,0.06);
  transform: translateY(-3px);
}

.footer-col.address p {
  margin: 0 auto;
  max-width: 260px;
  line-height: 1.5;
  color: #d3d3d3;
}

/* Center social & address section titles */
.social-section .section-title,
.address-section .section-title {
  text-align: center;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  color: #c7c7c7;
}

/* Override: make footer use dark surface (remove white cards) */
.footer .footer-col {
  background: transparent;
  box-shadow: none;
  padding: 0 6px;
  border-radius: 8px;
}

.footer .footer-col h4,
.footer .footer-col p,
.footer .footer-col ul li a,
.footer .logo {
  color: #e5e5e5;
}

.footer .footer-col ul li a {
  color: #cfcfcf;
}

/* Center social icons in page social section */
.social-section .social-icons {
  justify-content: center;
}

.social-section .social-card {
  background: var(--surface-strong);
  color: var(--text);
}

/* Ensure gallery & social section titles are centered (force) */
.gallery-section .section-title,
.social-section .section-title {
  text-align: center !important;
}

/* Extra menu (Menu Tambahan) styles */
.extra-menu-section {
  padding: 60px 0;
}
.extra-menu-section .muted {
  text-align: center;
  color: #7a7a7a;
  margin-bottom: 18px;
}
.extra-menu-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px 28px;
}
.extra-item {
  background: var(--surface);
  border: 1px solid rgba(15,15,15,0.04);
  padding: 18px 20px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.extra-item .num {
  background: var(--brand);
  color: #fff;
  min-width: 36px;
  height: 36px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  font-weight: 700;
}
.extra-item .text {
  color: var(--text);
  font-weight: 600;
}

@media (max-width: 980px) {
  .extra-menu-grid {
    grid-template-columns: 1fr;
  }
}

/* Brand-like icon colors for footer social icons */
.footer-col.social ul li a i.fa-instagram {
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}

.footer-col.social ul li a i.fa-tiktok {
  background: linear-gradient(180deg, #25F4EE 0%, #EE1D52 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}

.footer-bottom {
  text-align: center;
  margin-top: 30px;
  color: #8a8a8a;
}

.scroll-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 52px;
  height: 52px;
  border: none;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.scroll-top.show {
  opacity: 1;
  visibility: visible;
}

#lightbox {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.75);
  z-index: 200;
  padding: 24px;
}

#lightbox.active {
  display: flex;
}

.lightbox-img {
  max-width: 100%;
  max-height: 90vh;
  border-radius: 16px;
  box-shadow: var(--shadow);
}

.close-lightbox {
  position: absolute;
  top: 18px;
  right: 22px;
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
}

#loader-wrapper {
  position: fixed;
  inset: 0;
  background: #ffffff;
  display: grid;
  place-items: center;
  z-index: 1000;
}

.loader {
  width: 64px;
  height: 64px;
  border: 8px solid rgba(15, 111, 84, 0.15);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@media (max-width: 980px) {
  .nav-container {
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
  }

  .logo {
    flex: 0 1 auto;
    order: 1;
  }

  .nav-wa {
    flex: 0 1 auto;
    order: 2;
  }

  .menu-toggle {
    order: 3;
    z-index: 10;
    width: 46px;
    height: 46px;
    border-radius: 14px;
    justify-content: center;
    align-items: center;
    background: rgba(255,255,255,0.95);
    color: var(--brand);
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    display: flex;
    margin-left: auto;
  }

  .nav-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    overflow: hidden;
    max-height: 0;
    padding: 0 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: max-height 0.35s ease, opacity 0.25s ease, visibility 0.25s ease, transform 0.25s ease, padding 0.25s ease;
    z-index: 9;
  }

  .nav-menu.open {
    max-height: 420px;
    padding: 18px 0 24px;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .nav-menu ul {
    flex-direction: column;
    gap: 16px;
    padding: 0 20px;
    align-items: stretch;
  }

  .nav-menu ul li {
    width: 100%;
  }

  .menu-toggle.active i {
    transform: rotate(90deg);
  }

  .nav-menu ul li a {
    display: block;
    width: 100%;
    padding: 12px 0;
  }

  .nav-wa {
    width: auto;
    justify-content: center;
    margin-top: 0;
  }

  .wa-btn {
    justify-content: center;
    width: auto;
    padding: 10px 18px;
  }
}

@media (max-width: 720px) {
  .hero {
    padding-top: 100px;
    padding-bottom: 60px;
  }

  .hero-title {
    font-size: clamp(2rem, 8vw, 3rem);
  }

  .hero-sub {
    font-size: 1rem;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .hero-buttons .btn {
    width: 100%;
    max-width: 320px;
  }

  .search-box {
    max-width: 100%;
    padding: 0 16px;
  }

  .menu-grid,
  .gallery-grid,
  .footer-grid,
  .extra-menu-grid {
    grid-template-columns: 1fr;
  }

  .social-icons {
    flex-direction: column;
    gap: 16px;
  }

  .social-card {
    width: 100%;
  }

  .address-card {
    padding: 20px;
  }

  .nav-container {
    padding: 0 12px;
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  opacity: 0;
  animation: fadeInUp 0.8s ease forwards;
}

.hero-content,
.menu-section,
.gallery-section,
.social-section,
.address-section,
.extra-menu-section,
.contact-wa,
.footer {
  will-change: transform, opacity;
}
