* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body, html {
  height: 100%;
  font-family: sans-serif;
  scroll-behavior: smooth;
  overflow-x: hidden;
  overflow-y: auto;
}

/* Header */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  padding: 16px 40px;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 80px;
  z-index: 100;
}
header.hide-on-scroll {
  transform: translateY(-100%);
  transition: transform 0.3s ease;
}


.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  color: white;
}


.logo img {
  height: auto;
  max-height: 150px;
  width: auto;
}
@media (max-width: 600px) {
  .logo img {
    max-height: 60px;
  }
}

nav ul {
  display: flex;
  list-style: none;
  gap: 30px;
}

nav a {
  color: white;
  text-decoration: none;
  font-weight: bold;
  border-bottom: 2px solid transparent;
}

nav a:hover {
  border-color: white;
}

.icon-group span {
  margin-left: 20px;
  cursor: pointer;
}

/* Scroll Container */
.scroll-container {
  height: 100vh;
  overflow-y: scroll;
  scroll-snap-type: y mandatory;
}

/* Slide */
.slide {
  scroll-snap-align: start;
  height: 100vh;
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: flex-end;
  padding: 60px;
  color: white;
}

/* Hero Text */
.hero-text {
  max-width: 400px;
  background-color: rgba(0,0,0,0.5);
  padding: 20px;
  border-radius: 10px;
}

.hero-text .badge {
  background-color: #007bff;
  color: white;
  font-size: 12px;
  font-weight: bold;
  padding: 4px 8px;
  display: inline-block;
  margin-bottom: 10px;
}

.hero-text h2 {
  font-size: 28px;
  margin-bottom: 10px;
}

.hero-text p {
  font-size: 16px;
  margin-bottom: 10px;
}

.hero-text h3 {
  font-size: 24px;
  color: #ffd700;
}

.icon-group {
  display: flex;
  gap: 20px;
  align-items: center;
  font-size: 22px;
}

.icon-group a {
  color: #333;
  text-decoration: none;
  transition: transform 0.2s, color 0.2s;
}

.icon-group a:hover {
  color: #00b3b3;
  transform: scale(1.2);
}

/* === ORDER SEKARANG POPUP === */
.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  display: none;
  justify-content: flex-end; /* ubah ini */
  align-items: center;       /* ubah ini */
  z-index: 999;
  backdrop-filter: blur(2px);
}

.popup-content {
  background: #fff;
  padding: 30px 25px;
  border-radius: 16px;
  width: 90%;
  max-width: 360px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  animation: fadeInScale 0.3s ease-in-out;
  font-family: 'Segoe UI', sans-serif;
}

.popup-header {
  display: fixed;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 25px;
}

.popup-header h3 {
  font-size: 18px;
  font-weight: 600;
  color: #333;
}

.close-popup {
  font-size: 24px;
  cursor: pointer;
  color: #999;
  transition: color 0.2s ease;
}

.close-popup:hover {
  color: #333;
}

.popup-links a {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 10px 0;
  padding: 12px 16px;
  background: #00b3b3;
  color: #fff;
  text-decoration: none;
  border-radius: 10px;
  font-weight: 500;
  transition: background 0.3s ease, transform 0.2s ease;
}

.popup-links a i {
  font-size: 18px;
}

.popup-links a:hover {
  background: #008c8c;
  transform: translateY(-2px);
}

/* Animasi muncul */
@keyframes fadeInScale {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.popup-links a {
  display: flex;
  align-items: center;
  gap: 10px; /* untuk jarak antara ikon dan teks */
  justify-content: center;
}


.order-button {
  position: relative;
  background: linear-gradient(135deg, #00b3b3, #007777);
  color: #fff;
  min-width: 160px;
  max-width: 200px;
  white-space: nowrap;
  text-overflow: ellipsis;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 22px;
  font-size: 15px;
  font-weight: 600;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0, 179, 179, 0.4);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  font-family: 'Segoe UI', sans-serif;
  letter-spacing: 0.5px;
}

.order-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 179, 179, 0.6);
}

.order-button::before {
  content: "";
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: linear-gradient(120deg, rgba(255,255,255,0.2), rgba(255,255,255,0));
  transform: skewX(-25deg);
  animation: shine 2.5s infinite;
}

@keyframes shine {
  0% { left: -75%; }
  100% { left: 125%; }
}

.animated-button span {
  display: inline-block;
  animation: fadeSlideIn 0.6s ease forwards;
  opacity: 0;
  transform: translateY(10px);
}

@keyframes fadeSlideIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 22px;
  font-weight: bold;
  color: #ffffff;
}

@media (max-width: 600px) {
  .logo img {
    height: 50px;
  }
}


.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

html {
  scroll-behavior: smooth;
}

.order-floating-button {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: linear-gradient(135deg, #00b3b3, #007777);
  color: white;
  border: none;
  border-radius: 12px;
  padding: 14px 22px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  z-index: 1001;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  gap: 10px;
  transition: background 0.3s ease, box-shadow 0.3s ease;
  min-width: 180px;
  justify-content: center;
}

.order-floating-button:hover {
  background: linear-gradient(135deg, #009e9e, #006666);
  box-shadow: 0 8px 20px rgba(0, 179, 179, 0.6);
}

.order-floating-button i {
  font-size: 18px;
}

.tagline {
  font-size: 20px;
  font-weight: 600;
  color: white;
  white-space: nowrap;
}

@media (max-width: 1024px) {
  .tagline {
    font-size: 18px;
  }
}

@media (max-width: 768px) {
  .tagline {
    font-size: 16px;
  }
}

@media (max-width: 480px) {
  .tagline {
    font-size: 14px;
    white-space: normal; /* biar bisa wrap di layar kecil */
    text-align: left;
  }
}
