@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700&display=swap');

/* Reset & Layout root */
html, body {
  margin: 0;
  padding: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  font-family: sans-serif;
}

main {
  flex: 1;
  display: flex;
  flex-direction: column;
  margin-top: 60px;
  box-sizing: border-box;
  height: calc(100vh - 60px);
}

/* Header */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 60px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 24px;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  z-index: 999;
  box-sizing: border-box;
}

.logo {
  max-width: 25px;
  height: auto;
}

.hamburger {
  font-size: 30px;
  cursor: pointer;
  color: green;
  background: transparent;
  padding: 8px 16px;
  border: none;
}

/* Menu Nav */
#menu {
  position: absolute;
  top: 60px;
  right: 20px;
  background: rgba(0, 0, 0, 0.85);
  padding: 10px 25px;
  border-radius: 8px;
  transition: all 0.3s ease;
}

#menu a {
  display: block;
  margin: 10px 0;
  color: #fff;
  text-decoration: none;
}

.hidden {
  display: none;
}

/* Hero Section */
.hero {
  flex: 1 1 auto;
  flex-direction: column;
  min-height: calc(100vh - 60px);
  background: url('../images/bg-hero.jpg') no-repeat center center;
  background-size: cover;
  background-color: #000;
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 60px 30px;
  box-sizing: border-box;
  position: relative;
}

.hero-content {
  max-width: 800px;
  width: 100%;
  padding: 24px;
  background: rgba(0,0,0,0.0);
  border-radius: 8px;
  box-sizing: border-box;
  transform: translateY(370px);
}

.hero-content h1 {
  margin: 0 0 12px;
  font-size: 2rem;
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 20px;
}

.cta-button {
  display: inline-block;
  padding: 10px 20px;
  background: black;
  color: #fff;
  text-decoration: none;
  border-radius: 5px;
  transition: background 0.3s;
}

.cta-button:hover {
  background: green;
}

/* Sections */
.paket-section, .info-section {
  padding: 60px 20px;
  text-align: center;
  background: #f9f9f9;
}

.paket-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  padding: 10px;
}

.paket-card {
  background: #fff;
  padding: 16px;
  border-radius: 10px;
  width: 150px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 6px;
  transition: transform 0.3s;
}

.paket-card:hover {
  transform: translateY(-4px);
}

.paket-card h3,
.paket-card p {
  margin: 4px 0;
  font-size: 15px;
}

.bayar-button {
  display: inline-block;
  margin-top: 6px;
  padding: 6px 12px;
  background: black;
  color: #fff;
  text-decoration: none;
  border-radius: 5px;
  font-size: 14px;
  transition: background 0.3s;
}

.bayar-button:hover {
  background: green;
}

/* Footer */
footer {
  background: #000;
  color: #fff;
  overflow: hidden;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

footer .marquee {
  white-space: nowrap;
  animation: marquee 15s linear infinite;
}

@keyframes marquee {
  0% { transform: translateX(100%); }
  100% { transform: translateX(-100%); }
}

/* Responsive */
@media (max-width: 768px) {
  header {
    padding: 8px 16px;
  }

  .logo {
    max-width: 30px;
  }

  .hamburger {
    font-size: 28px;
    padding: 8px 12px;
  }

  main {
    margin-top: 60px;
  }

  .hero {
    background-size: contain;
    padding: 40px 15px;
  }

  .hero-content {
    transform: translateY(175px);
    padding: 16px;
  }

  .hero-content h1 {
    font-size: 1.5rem;
  }

  .hero-content p {
    font-size: 1rem;
  }

  .cta-button {
    padding: 8px 16px;
    font-size: 0.9rem;
  }

  .paket-card {
    width: 130px;
    padding: 12px;
  }

  footer {
    height: 24px;
    font-size: 14px;
  }
}

/* ==== STYLE KHUSUS HALAMAN CHECKOUT ==== */
.checkout-page {
  font-family: 'Inter', sans-serif;
  background-color: #f3f4f6;
  margin: 0;
  padding: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.checkout-container {
  flex: 1;
  max-width: 420px;
  margin: 60px auto;
  padding: 30px 25px;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
  text-align: center;
  animation: fadeIn 0.8s ease;
}

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

.checkout-container h1 {
  margin-bottom: 10px;
  font-size: 26px;
  color: #111827;
  font-weight: 700;
}

.checkout-container p {
  font-size: 16px;
  color: #374151;
  margin: 15px 0;
}

.checkout-container label {
  display: block;
  margin-bottom: 6px;
  font-weight: 600;
  color: #374151;
  font-size: 15px;
  text-align: left;
}

.checkout-container form input[type="text"],
.checkout-container form select {
  width: 90%;
  padding: 12px 14px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  background-color: #f9fafb;
  transition: border 0.3s;
  margin-bottom: 18px;
  font-size: 15px;
}

.checkout-container input[type="text"]:focus,
.checkout-container select:focus {
  border-color: #3b82f6;
  outline: none;
  background-color: #fff;
}

.checkout-container button {
  width: 100%;
  padding: 14px 0;
  background: linear-gradient(90deg, #3b82f6, #2563eb);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s ease;
}

.checkout-container button:hover {
  background: linear-gradient(90deg, #2563eb, #1d4ed8);
}

.checkout-page footer {
  background: #000;
  color: #fff;
  text-align: center;
  padding: 12px;
  font-size: 15px;
  overflow: hidden;
  margin-top: 5px;
}

.checkout-page footer .marquee {
  white-space: nowrap;
  animation: marquee 15s linear infinite;
}

@keyframes marquee {
  0% { transform: translateX(100%); }
  100% { transform: translateX(-100%); }
}