* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", sans-serif;
}

body {
  background-color: #f0f4ff;
  color: #333;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  background: rgba(0, 123, 255, 0.1);
  position: relative;
  z-index: 1000;
}

.logo {
  display: flex;
  align-items: center;
  font-size: 1.5rem;
  font-weight: bold;
  color: #007bff;
}

.logo img {
  height: 39px;
  width: auto;
  margin-left: -1px;
  transform: rotate(-6deg);
  transform-origin: center;
  vertical-align: middle;
}

.logo span {
  margin-left: -5px;
}

.hamburger {
  font-size: 1.5rem;
  cursor: pointer;
  display: none;
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: darkcyan;
  font-weight: 660;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: #007bff;
}

.hero {
  text-align: center;
  padding: 4rem 2rem;
  background: url("banner.png") no-repeat center center;
  background-size: cover;
  position: relative;
  color: #e6f0ff;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 0;
}

.hero h1,
.hero p {
  position: relative;
  z-index: 1;
}

.hero h1 {
  font-size: 2rem;
  color: #e6f0ff;
}

.hero p {
  margin-top: 1rem;
  font-size: 1.5rem;
  font-weight: bold;
  color: #e6f0ff;
}
@media (max-width: 480px) {
  .hero h1 {
    font-size: 1rem;
  }

  .hero p {
    font-size: 0.9rem;
  }
}

.section {
  padding: 3rem 2rem;
}

.section h2 {
  text-align: center;
  margin-bottom: 2rem;
  color: #007bff;
}
@media (max-width: 480px) {
  .section h2 {
    font-size: 1rem;
  }
}

.card-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.card {
  background: white;
  padding: 1rem;
  border-radius: 10px;
  width: 45%;
  max-width: 300px;
  text-align: center;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s ease;
  cursor: pointer;
}

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

.card-title {
  margin-top: 0.5rem;
  font-weight: bold;
}

.card img {
  width: auto;
  height: 77px;
  object-fit: contain;
  display: block;
  margin: 0 auto;
}
@media (max-width: 480px) {
  .card img {
    height: 30px;
    width: auto;
  }
  .card-title {
    font-size: 0.6rem;
  }
}

.price {
  margin: 0.5rem 0;
}

.wa-icons {
  margin: 0.5rem 0;
  display: flex;
  justify-content: center;
  gap: 0.8rem;
  text-align: center;
}

.wa-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 0.75rem;
  color: #555;
}

.wa-item a {
  color: #25d366;
  font-size: 1.2rem;
  background: #e6f9ec;
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.wa-item a:hover {
  transform: scale(1.2);
  background-color: #c1f0d1;
}

.steps-container {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
  margin-top: 2rem;
}

.step {
  background: white;
  padding: 1.8rem;
  border-radius: 12px;
  width: 200px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.step:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.12);
}

.step i {
  font-size: 1.8rem;
  color: #007bff;
  margin-bottom: 1rem;
  display: block;
  text-align: center;
}

.step h3 {
  font-size: 0.8rem;
  color: #333;
  margin-bottom: 0.5rem;
  text-align: center;
}

.step p {
  font-size: 0.75rem;
  color: #666;
  line-height: 1.8;
}

@media (max-width: 480px) {
  .step-p {
    font-size: 0.7rem;
  }
  .step h3 {
    font-size: 0.7rem;
  }
  .step i {
    font-size: 1.5rem;
  }
}

.jam-kerja-status {
  background-color: #e6f0ff;
  padding: 2rem 1rem;
  font-family: "Segoe UI", sans-serif;
  color: #003366;
  display: flex;
  justify-content: center;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  max-width: 900px;
  margin: 2rem auto;
}

.jam-wrapper {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 1.5rem;
  width: 100%;
  flex-wrap: wrap;
  box-sizing: border-box;
}

.jam-box {
  flex: 1 1 45%;
  background-color: white;
  border-radius: 12px;
  padding: 1.5rem 1rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.07);
  text-align: center;
  min-width: 260px;
  transition: background-color 0.3s ease;
  cursor: default;
}

.jam-box:hover {
  background-color: #d6e4ff;
}

.jam-box h5 {
  font-size: 0.9rem;
  font-weight: 700;
  color: #007bff;
  margin-bottom: 0.6rem;
  letter-spacing: 0.02em;
}

.jadwal-info {
  font-size: 0.7rem;
  line-height: 1.6;
  color: #003366;
}

.status-jam {
  font-size: 1rem;
  font-weight: 700;
  margin: 0.5rem 0;
  color: #0056b3;
}

.tanggal-hari {
  font-size: 0.8rem;
  color: #004080;
  font-weight: 600;
}

.tanggal-merah {
  color: #e74c3c;
  font-weight: 700;
  font-style: italic;
  font-size: 0.7rem;
}

.video-section {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 2rem 1rem;
}

.video-section video {
  width: 100%;
  max-width: 490px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}
@media screen {
  video {
    height: auto;
    aspect-ratio: 16 / 9;
  }
}

@media (max-width: 480px) {
  .status-jam {
    font-size: 0.8rem;
  }
  .jadwal-info {
    font-size: 0.6rem;
  }
  .tanggal-hari {
    font-size: 0.6rem;
  }
  .tanggal-merah {
    font-size: 0.6rem;
  }
}

.contact-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 999;
  font-family: "Poppins", sans-serif;
}

.contact-button {
  background-color: #00bfff;
  color: white;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.contact-button:hover {
  background-color: #0099cc;
}

.contact-options {
  position: absolute;
  bottom: 60px;
  right: 0;
  display: none;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
}

.contact-link {
  background-color: rgba(255, 255, 255, 0.95);
  color: #333;
  font-size: 12px;
  padding: 6px 10px;
  border-radius: 20px;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  transition: all 0.2s ease-in-out;
}

.contact-link i {
  font-size: 14px;
}

.contact-link:hover {
  background-color: #f0f0f0;
  transform: translateX(-2px);
}

#contact-toggle {
  display: none;
}

#contact-toggle:checked + .contact-button + .contact-options {
  display: flex;
}

@media (max-width: 480px) {
  .jam-wrapper {
    flex-wrap: nowrap;
    gap: 1rem;
  }

  .jam-box {
    flex: 1 1 50%;
    min-width: unset;
    padding: 1rem;
  }
}

footer {
  background: #e6f0ff;
  text-align: center;
  padding: 1rem;
  font-size: 0.9rem;
  color: #777;
}

@media (max-width: 480px) {
  .hamburger {
    display: block;
    position: relative;
    z-index: 1100;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    background: rgba(255, 255, 255, 0.95);
    position: absolute;
    top: 70px;
    right: 20px;
    border-radius: 12px;
    padding: 1rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    width: max-content;
    min-width: 150px;
    z-index: 1000;
    transition: all 0.3s ease;
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links li {
    margin: 0.5rem 0;
  }

  .card-grid {
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: space-between;
  }

  .card {
    width: 45%;
  }
}

@media (min-width: 480px) {
  .card-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    justify-content: center;
  }

  .card {
    width: auto;
    max-width: none;
  }
}

@media (min-width: 600px) and (max-width: 1023px) {
  .card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    justify-content: center;
  }

  .card {
    width: auto;
  }
}

@media (max-width: 480px) {
  .card-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: space-between;
  }

  .card {
    width: 45%;
  }
}

.dark-toggle {
  margin: 2rem auto;
  text-align: center;
}

.dark-toggle input {
  display: none;
}

.dark-toggle label {
  width: 84px;
  height: 50px;
  background: #f3f3f3;
  border-radius: 999px;
  position: relative;
  display: inline-block;
  cursor: pointer;
  box-shadow: inset 2px 2px 5px rgba(0, 0, 0, 0.1);
}

.dark-toggle input:checked + label {
  background: #444;
}

.dark-toggle .circle {
  width: 42px;
  height: 46px;
  background: white;
  border-radius: 50%;
  position: absolute;
  top: 2px;
  left: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.4s;
  overflow: hidden;
}

.dark-toggle svg {
  width: 35px;
  height: 38px;
  position: absolute;
  transition: 0.4s;
}

.sun {
  color: #ffd600;
  opacity: 1;
}

.moon {
  color: #555;
  transform: translateY(-100%);
  opacity: 0;
}

.dark-toggle input:checked + label .circle {
  transform: translateX(36px);
  background: #2c2c2f;
}

.dark-toggle input:checked + label .circle .sun {
  transform: translateY(100%);
  opacity: 0;
}

.dark-toggle input:checked + label .circle .moon {
  transform: translateY(0);
  opacity: 1;
}

body.dark-mode {
  background: #1a1a1a;
  color: white;
}

body.dark-mode nav {
  background: rgba(0, 0, 0, 0.6);
}

body.dark-mode .hero {
  background: #333;
}

body.dark-mode .card {
  background: #2c2c2f;
  color: white;
}

body.dark-mode footer {
  background: #2c2c2f;
  color: #aaa;
}

@media (max-width: 768px) {
  .hamburger {
    display: block;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 60px;
    right: 20px;
    background: white;
    padding: 1rem;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
  }

  .nav-links.nav-active {
    display: flex;
  }
}

@media (max-width: 768px) {
  .jam-kerja-status {
    max-width: 720px;
    padding: 2rem 1rem;
    margin: 0 auto;
  }

  .jam-wrapper {
    gap: 1.5rem;
    flex-wrap: wrap;
    justify-content: center;
  }

  .jam-box {
    flex: 1 1 45%;
    min-width: unset;
    padding: 1rem;
    margin-bottom: 1rem;
  }

  .card-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: space-between;
  }

  .card {
    width: 45%;
  }

  .card img {
    height: 70px;
    width: auto;
  }

  .card-title {
    font-size: 0.6rem;
  }
}

body.popup-active #page-content {
  filter: blur(6px);
  pointer-events: none;
  user-select: none;
  transition: filter 0.3s ease;
}

.redirect-popup {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2000;
}

.popup-content {
  background: #ffffff;
  padding: 2rem;
  border-radius: 16px;
  max-width: 420px;
  width: 90%;
  text-align: center;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
  animation: popupFade 0.4s ease;
}

.popup-content h2 {
  color: #007bff;
  margin-bottom: 1rem;
}

.popup-content p {
  font-size: 0.75rem;
  color: #444;
  margin-bottom: 0.8rem;
  font-weight: bold;
}

.new-domain {
  font-size: 1.1rem;
  font-weight: bold;
  color: #007bff;
  margin-bottom: 1.5rem;
}

.popup-buttons {
  display: flex;
  justify-content: center;
}

.btn-primary {
  background: #007bff;
  color: white;
  padding: 0.7rem 1.4rem;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.3s ease, transform 0.2s ease;
}

.btn-primary:hover {
  background: #0056b3;
  transform: scale(1.05);
}

@keyframes popupFade {
  from {
    transform: scale(0.85);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

.popup-thanks {
  margin-top: 1.2rem;
  font-size: 0.85rem;
  color: #444;
  line-height: 1.6;
}

.popup-admin {
  font-weight: 600;
  color: #007bff;
  font-style: italic;
}

.popup-tagline {
  margin-top: 0.7rem;
  font-size: 0.7rem;
  color: #777;
  font-style: italic;
  letter-spacing: 0.3px;
}
