/* ============================= */
/* DESIGN SYSTEM */
/* ============================= */
:root {
  --primary: #0A2540;      /* Deep Navy (base) */
  --secondary: #1E3A8A;    /* Corporate Blue */
  --accent: #3B82F6;       /* Action Blue */

  --bg: #0B1F36;           /* DARK BLUE BACKGROUND (dominant) */
  --surface: #FFFFFF;

  --text: #0F172A;
  --text-light: #94A3B8;

  --radius: 14px;

  --shadow-soft: 0 10px 30px rgba(0,0,0,0.15);
  --shadow-hover: 0 16px 40px rgba(0,0,0,0.25);
}

/* ============================= */
/* GLOBAL */
/* ============================= */
body {
  margin: 0;
  font-family: "Inter", Arial, sans-serif;
  background: var(--bg);
  color: white;
}

.container {
  max-width: 1100px;
  margin: auto;
  padding: 20px;
}

.center {
  text-align: center;
}

/* ============================= */
/* HEADER */
/* ============================= */
.topbar {
  background: rgba(10, 37, 64, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand {
  display: flex;
  gap: 10px;
  align-items: center;
}

.brand img {
  width: 42px;
}

.brand strong {
  color: white;
}

.brand small {
  color: var(--text-light);
}

/* ============================= */
/* BUTTON */
/* ============================= */
.btn {
  padding: 12px 20px;
  border-radius: var(--radius);
  text-decoration: none;
  font-weight: 600;
  transition: all 0.25s ease;
  display: inline-block;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), #60A5FA);
  color: white;
  box-shadow: 0 8px 24px rgba(59,130,246,0.4);
}

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

.btn-outline {
  border: 1px solid rgba(255,255,255,0.3);
  color: white;
}

.btn-outline:hover {
  background: rgba(255,255,255,0.1);
}

/* ============================= */
/* HERO */
/* ============================= */
.hero {
  padding: 80px 20px;
  background: linear-gradient(180deg, #0A2540, #0B1F36);
}

.hero h1 {
  font-size: 32px;
  margin-bottom: 10px;
}

.subtitle {
  max-width: 520px;
  margin: auto;
  color: var(--text-light);
}

.trust {
  margin-top: 25px;
  display: flex;
  justify-content: center;
  gap: 20px;
  color: var(--text-light);
  font-size: 14px;
}

/* ============================= */
/* SECTION */
/* ============================= */
.section {
  padding: 60px 20px;
}

.alt {
  background: #0A2540;
}

.section-desc {
  max-width: 600px;
  margin: 10px auto 30px;
  color: var(--text-light);
}

/* ============================= */
/* GRID */
/* ============================= */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

/* ============================= */
/* CARD (WHITE FLOATING) */
/* ============================= */
.card {
  background: var(--surface);
  color: var(--text);
  border-radius: var(--radius);
  padding: 16px;
  box-shadow: var(--shadow-soft);
  transition: all 0.25s ease;
}

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

.price {
  margin-top: 8px;
  font-weight: 600;
  color: var(--secondary);
}

/* ============================= */
/* PREMIUM CARD */
/* ============================= */
.premium-menu {
  background: linear-gradient(180deg, #0A2540, #0B1F36);
}

.premium-card {
  background: var(--surface);
  color: var(--text);
  padding: 24px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  transition: all 0.3s ease;
}

.premium-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}

.premium-card h3 {
  margin-top: 10px;
}

.premium-card p {
  color: var(--text-light);
}

.premium-card ul {
  padding-left: 18px;
  margin: 15px 0;
}

.premium-card li {
  margin-bottom: 6px;
  font-size: 14px;
}

/* ============================= */
/* BADGE */
/* ============================= */
.badge {
  display: inline-block;
  background: linear-gradient(135deg, var(--accent), #60A5FA);
  color: white;
  font-size: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  font-weight: 600;
}

.badge-secondary {
  background: rgba(255,255,255,0.2);
  color: white;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12px;
}

/* ============================= */
/* FIX MENU GRID (INSTAGRAM STYLE) */
/* ============================= */

.grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* default mobile */
  gap: 16px;
}

/* tablet */
@media (min-width: 600px) {
  .grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* desktop */
@media (min-width: 1024px) {
  .grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* ============================= */
/* CARD FIX */
/* ============================= */

.card {
  background: var(--surface);
  color: var(--text);
  border-radius: 16px;
  overflow: hidden; /* WAJIB agar gambar tidak keluar */
  box-shadow: var(--shadow-soft);
  transition: all 0.25s ease;
  padding: 0; /* HAPUS padding biar image full */
  display: flex;
  flex-direction: column;
}

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

/* ============================= */
/* IMAGE FIX */
/* ============================= */

.card img {
  width: 100%;
  height: 160px; /* tinggi konsisten */
  object-fit: cover; /* crop seperti IG */
  display: block;
}

/* desktop lebih tinggi */
@media (min-width: 768px) {
  .card img {
    height: 180px;
  }
}

/* ============================= */
/* CONTENT */
/* ============================= */

.card .content {
  padding: 14px;
}

.card h3 {
  font-size: 15px;
  margin: 0 0 6px;
}

.card p {
  font-size: 12px;
  color: var(--text-light);
  line-height: 1.4;
  height: 38px;
  overflow: hidden; /* biar rapi */
}

.price {
  margin-top: 8px;
  font-weight: 700;
  color: var(--secondary);
  font-size: 14px;
}

/* ============================= */
/* SECTION TITLE */
/* ============================= */

.section-title {
  font-size: 20px;
  margin-bottom: 20px;
}

/* ============================= */
/* FIX OVERFLOW GLOBAL */
/* ============================= */

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

/* FLOATING CTA */
.floating-cta {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: linear-gradient(135deg, #3B82F6, #60A5FA);
  color: white;
  padding: 14px 20px;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 10px 30px rgba(59,130,246,0.5);
  z-index: 999;
  transition: 0.3s;
}

.floating-cta:hover {
  transform: scale(1.05);
}
/* ============================= */
/* FOOTER */
/* ============================= */
footer {
  background: #08182B;
  text-align: center;
  padding: 30px 20px;
  color: var(--text-light);
  border-top: 1px solid rgba(255,255,255,0.05);
}
