/* Reset dasar */
body, html {
  margin: 0 auto;
  padding: 0;
  font-family: 'Poppins', sans-serif;
  background: #111;
  color: #fff;
  max-width: 1280px;
  overflow-x: hidden;
  background-image: url("https://www.transparenttextures.com/patterns/crissxcross.png");
  background-attachment: fixed;
}

/* Header */
.logo-atas {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  position: relative;
  background-color: #000000;
}

.hamburger-btn {
  position: absolute;
  left: 20px;
  font-size: 26px;
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
  display: none;
  z-index: 1100;
}

.header-logo {
  max-width: 400px;
  height: auto;
  padding: 20px;
}

/* Sidebar */
.sidebar {
  width: 100%;
  background: rgb(0, 0, 0);
  padding: 20px;
  box-sizing: border-box;
}

.sidebar h3 {
  margin-top: 20px;
  margin-bottom: 10px;
  font-size: 16px;
}

.sidebar ul {
  list-style: none;
  padding: 0;
}

.sidebar li {
  margin: 10px 0;
}

.sidebar li:hover {
  background-color: #cf0b0b;
  color: #fff;
  cursor: pointer;
}

.sidebar ul li {
    background: linear-gradient(90deg, rgba(230, 57, 70, 0.2), transparent);
    padding: 10px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    border-left: 2px solid transparent;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
}

.sidebar ul li i {
  margin-right: 8px;
}

.sidebar a {
  color: #ccc;
  text-decoration: none;
}

.sidebar a:hover {
  color: #fffdf3;
  font-weight: 600;
  font-size: 14px;
}

.sidebar img {
  padding-top: 20px;
}

.time-box {
  width: 100%;
  background-color: #111;
  border: 2px solid #cf0b0b;
  box-shadow: 0 0 20px rgb(207, 11, 11); /* outer glow merah kehitaman */
  color: #fff;
  padding: 10px 15px;
  text-align: center;
  border-radius: 8px;
  box-sizing: border-box;
}

.time-box .time {
  display: block;
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 5px;
}

.time-box .date {
  display: block;
  font-size: 14px;
  font-weight: normal;
}

/* Main container */
.main-container {
  display: flex;
}

/* Content wrapper */
.content-wrapper {
  flex: 1;
  margin: 0 auto;
  position: relative;
  overflow: hidden;

}

.slider-info {
  text-align: center;
  overflow: hidden;
}

.slider-info picture img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 10px; /* opsional kalau mau rounded */
}

.slider-title {
  flex-direction: column;
  font-size: 24px;
  line-height: 1.3;
  height: auto; /* atur tinggi sesuai kebutuhan */
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: normal;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-bottom: 50px;
}

/* Overlay hero section */
.overlay {
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: rgba(0,0,0); /* opsional kalau mau efek overlay gelap */
  color: #fff;
}

.overlay .logo {
  font-size: 32px;
  font-weight: bold;
}

.overlay .subtitle {
  font-size: 14px;
  margin: 5px 0 5px;
}

/* Buttons */
.buttons button {
  padding: 10px 20px;
  margin: 8px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 16px;
  font-weight: 600;
}

.login {
  background: #cf0b0b;
  color: #fff;
  width: 200px;
  height: 40px;
  box-shadow: 0 0 15px rgb(224, 0, 0);
}

.register {
  background: #ffc107;
  box-shadow: 0 0 15px rgba(224, 0, 0);
  color: #111;
  width: 200px;
  height: 40px;
}

/* Iframe container */
.iframe-container {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: 8px;
  margin: 20px 0;
}

.iframe-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Info section */
.info-section {
  padding: 20px 0;
}

.info-section h2, .info-section h3 {
  margin-top: 30px;
  color: #fff;
}

.info-section p, .info-section ul {
  color: #ccc;
}

/* Footer */
.footer {
  padding: 20px;
  background: #000;
  text-align: center;
  margin-top: 50px;
  width: 100%;
}

.footer a {
  color: #ccc;
  margin: 0 8px;
  text-decoration: none;
}

.footer a:hover {
  color: #fff;
}

.footer p {
  margin: 10px 0 0;
  font-size: 14px;
}

/* Floating buttons */
.contact-btn {
  position: fixed;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fff;
  font-size: 28px;
  z-index: 999;
  box-shadow: 0 4px 16px rgba(0,0,0,0.6);
}

.whatsapp-btn {
  background: #25D366;
  left: 20px;
  bottom: 90px;
}

.livechat-btn {
  background: #6a11cb;
  left: 20px;
  bottom: 20px;
}

.buttons {
    padding-bottom: 40px;
  }

/* ====================
   RESPONSIVE: MOBILE
==================== */
@media (max-width: 768px) {
  .main-container {
    flex-direction: column;
  }

  .header-logo {
    padding: 5px;
  }

  .sidebar {
  position: fixed;
  top: 50;
  left: -260px; /* offscreen */
  width: 250px;
  height: 100vh;
  background-color: #240000;
  color: white;
  padding: 20px;
  box-sizing: border-box;
  transition: left 0.3s ease;
  z-index: 1050; /* di bawah hamburger */
  overflow-y: auto;
  }

  .sidebar img {
    display: none;
  }

  .sidebar.active {
  left: 0;
  }

  body.no-scroll {
  overflow: hidden;
  height: 100vh; /* Optional, supaya pastikan benar-benar gak scroll */
  }

  .hamburger-btn {
    display: block;
    z-index: 1100;
  }

  .header-logo {
    max-width: 160px;
  }

  .iframe-container {
    padding-bottom: 180%;
  }

  .overlay .logo {
    font-size: 24px;
  }

  .slider-title {
    padding-bottom: 20px;
  }

  .buttons {
    padding-bottom: 10px;
  }

  .overlay .subtitle {
    font-size: 12px;
  }

  .buttons button {
    padding: 8px 16px;
    font-size: 16px;
    font-weight: 600;
  }

  .contact-btn {
    width: 55px;
    height: 55px;
    font-size: 22px;
  }

  .whatsapp-btn {
    left: 15px;
    bottom: 85px;
  }

  .livechat-btn {
    left: 15px;
    bottom: 20px;
  }

  .login {
  background: #cf0b0b;
  color: #fff;
  width: 150px;
  height: 40px;
}

.register {
  background: #ffc107;
  color: #000;
  width: 150px;
  height: 40px;
}

.next {
  display: none;
}
.prev {
  display: none;
}
}


.carousel-container {
  position: relative;
  max-width: 100%;
  overflow: hidden;
  text-align: center;
}

.carousel-slide {
  display: none;
  padding: 20px;
  flex: 0 0 50%; /* Jika 2 slide, 50% tiap slide */
  box-sizing: border-box;
}

.carousel-slide.active {
  display: block;
}

.carousel-slide picture img {
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 0 20px rgb(207, 11, 11); /* outer glow merah kehitaman */
}

.slider-title {
  padding-top: 15px;
}

.slider-title h2 {
  margin: 0;
  font-size: 30px;
  color: #fff;
}

.slider-title p {
  margin: 10px 0 0;
  font-size: 16px;
  color: #ffdd99;
}

.carousel-nav {
  position: absolute;
  top: 30%;
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding: 0;
}

.carousel-nav button {
  background: rgba(0,0,0,0.5);
  border: none;
  color: #fff;
  font-size: 30px;
  padding: 5px 12px;
  border-radius: 50%;
  cursor: pointer;
  transition: 0.3s;
}

.carousel-nav button:hover {
  background: rgba(0,0,0,0.8);
}
