/* Spesial Lalapan dan Sambal — Floating icons + Menu popup (added on top of the compiled build) */

/* ---------- Floating social icons ---------- */
#sls-floating-icons {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 9998;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.sls-float-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  text-decoration: none;
}

.sls-float-btn:hover {
  transform: scale(1.08);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
}

.sls-float-btn svg {
  width: 28px;
  height: 28px;
  display: block;
}

.sls-float-wa {
  background: #25d366;
}

.sls-float-ig {
  background: radial-gradient(circle at 30% 110%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285aeb 90%);
}

.sls-float-tiktok {
  background: #010101;
}

@media (max-width: 480px) {
  #sls-floating-icons {
    right: 12px;
    bottom: 12px;
    gap: 10px;
  }
  .sls-float-btn {
    width: 46px;
    height: 46px;
  }
  .sls-float-btn svg {
    width: 24px;
    height: 24px;
  }
}

/* ---------- "BUKA MENU" button ---------- */
.sls-buka-menu-btn {
  display: block;
  margin: 24px auto 0;
  background: linear-gradient(135deg, #facc15, #f59e0b);
  color: #022c22;
  font-weight: 800;
  letter-spacing: 0.06em;
  border: none;
  border-radius: 999px;
  padding: 14px 40px;
  font-size: 16px;
  font-family: inherit;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.sls-buka-menu-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.3);
}

.sls-buka-menu-btn:active {
  transform: translateY(0);
}

/* ---------- Menu popup modal ---------- */
.sls-menu-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.sls-menu-modal.sls-menu-modal-open {
  display: flex;
}

.sls-menu-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(2, 44, 34, 0.85);
}

.sls-menu-modal-content {
  position: relative;
  max-width: min(620px, 92vw);
  max-height: 90vh;
  background: #ffffff;
  border-radius: 16px;
  padding: 12px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
  overflow: auto;
}

.sls-menu-modal-content img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 10px;
}

.sls-menu-modal-close {
  position: absolute;
  top: -14px;
  right: -14px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: #022c22;
  color: #facc15;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.sls-menu-modal-close:hover {
  background: #033b2c;
}

/* ---------- Hero/header section background photo ---------- */
/* Targets the full-green hero section (Tailwind utility classes from the
   compiled build) and lays the team/store photo underneath a dark green
   gradient so the existing headline/text stays readable. */
section.bg-gradient-to-br.from-emerald-900.via-green-800.to-emerald-950 {
  background-image:
    linear-gradient(to bottom right, rgba(4, 46, 34, 0.82), rgba(6, 78, 59, 0.72), rgba(2, 20, 16, 0.88)),
    url("./hero-bg.jpg") !important;
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
}

/* On narrow/tall phone screens "cover" crops most of a 1920x1080 landscape
   photo down to a thin center strip. Shift the crop and lighten the overlay
   a touch so the photo actually reads instead of looking like plain green. */
@media (max-width: 768px) {
  section.bg-gradient-to-br.from-emerald-900.via-green-800.to-emerald-950 {
    background-image:
      linear-gradient(to bottom, rgba(4, 46, 34, 0.72), rgba(6, 78, 59, 0.62), rgba(2, 20, 16, 0.82)),
      url("./hero-bg.jpg") !important;
    background-position: center 25% !important;
  }
}
