/* Import font untuk kesan lebih mewah */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700&family=Open+Sans&display=swap');

/* Reset dasar */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Warna dan variabel utama */
:root {
  --primary-color: #ff0000;       /* Biru utama dari logo */
  --secondary-color: #6e0000;     /* Biru tua */
  --background-color: rgba(0, 0, 0, 0.74);  /* Latar gelap dengan sedikit transparansi */
  --content-bg: rgba(0, 0, 0, 0.9);        /* Konten lebih terang dengan transparansi */
  --text-color: #FFFFFF;                      /* Putih */
  --dark-text: #DDDDDD;                       /* Abu-abu terang */
  --button-hover: #9a1e1e;                    /* Biru hover lebih gelap */
  --highlight: #ffffff;                       /* Emas */
}

/* Gaya dasar body dengan background gambar + overlay */
body {
  /* Memanggil background.png dan menimpa dengan gradient overlay */
  background: 
    url("../data/background.png") no-repeat center center fixed;
  
  background-size: cover;
  background-blend-mode: overlay; /* Menggabungkan gradient & gambar */
  color: var(--text-color);
  text-align: center;
  font-family: 'Open Sans', Arial, sans-serif;
}

/* Navbar dengan efek gradient & bayangan */
.navbar {
  background: linear-gradient(90deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  padding: 12px 20px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.navbar-brand img {
  max-width: 200px;
  height: auto;
}

.navbar-nav .nav-item a {
  color: var(--text-color);
  font-weight: bold;
  padding: 10px 15px;
  transition: all 0.3s ease-in-out;
}

.navbar-nav .nav-item a:hover {
  background-color: var(--button-hover);
  border-radius: 5px;
}

/* Tombol Login & Daftar */
.nav-buttons {
  display: flex;
  gap: 15px;
}

.btn-masuk,
.btn-daftar {
  background: linear-gradient(90deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  color: var(--text-color);
  font-weight: bold;
  text-align: center;
  padding: 12px 20px;
  border-radius: 8px;
  font-size: 16px;
  transition: all 0.3s ease-in-out;
  text-decoration: none;
  min-width: 120px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  border: 2px solid transparent;
}

.btn-masuk:hover,
.btn-daftar:hover {
  background-color: var(--button-hover);
  transform: scale(1.05);
  border: 2px solid var(--highlight);
}

/* Responsif tombol di mobile */
@media (max-width: 768px) {
  .nav-buttons {
    flex-direction: column;
    gap: 10px;
  }
}

/* Kontainer utama dengan border emas */
.container {
  max-width: 900px;
  margin: 30px auto;
  background-color: rgba(0, 0, 0, 0.8); /* Sedikit transparan */
  padding: 20px;
  border-radius: 10px;
  border: 2px solid var(--highlight); /* Bingkai emas */
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
}

/* Heading dengan font Playfair & shadow */
h2 {
  color: var(--highlight);
  text-align: center;
  margin-bottom: 15px;
  font-size: 32px;
  font-family: 'Playfair Display', serif;
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
}

/* Gaya tombol collapsible */
.collapsible {
  background: linear-gradient(90deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  color: var(--text-color);
  cursor: pointer;
  padding: 15px;
  width: 100%;
  border: none;
  text-align: left;
  outline: none;
  font-size: 18px;
  font-weight: bold;
  border-radius: 5px;
  margin-bottom: 5px;
  transition: background 0.3s ease, transform 0.3s ease;
  box-shadow: 0 3px 6px rgba(0,0,0,0.2);
}

.collapsible:hover {
  background-color: var(--button-hover);
  transform: translateY(-2px);
}

/* Konten collapsible dengan efek fade dan border emas tipis */
.content {
  max-height: 0;
  overflow: hidden;
  background-color: rgba(94, 0, 0, 0.9);
  transition: max-height 0.6s ease-out, opacity 0.5s ease-in-out;
  opacity: 0;
  padding: 0 15px;
  border-radius: 5px;
  margin-bottom: 10px;
  border: 1px solid var(--highlight);
}

/* Efek ketika collapsible aktif */
.active + .content {
  max-height: 1000px;
  opacity: 1;
  padding: 15px;
}

/* Daftar persyaratan */
.acDesc {
  list-style: none;
  padding-left: 15px;
  text-align: center;
  margin-top: 10px;
}

.acDesc li {
  margin-bottom: 10px;
  font-size: 20px;
  color: var(--dark-text);
}

.acDesc li strong {
  color: red;
}

/* Gaya link */
a {
  color: var(--highlight);
  text-decoration: none;
  font-weight: bold;
}

a:hover {
  color: var(--text-color);
  text-decoration: underline;
}

/* Gaya tombol WhatsApp */
.whatsapp {
  display: block;
  margin: 20px auto;
  transition: transform 0.3s ease;
  max-width: 180px;
}

.whatsapp:hover {
  transform: scale(1.1);
}

/* Footer mewah */
footer {
  background: linear-gradient(90deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  color: var(--text-color);
  text-align: center;
  padding: 15px;
  margin-top: 30px;
  font-size: 24px;
  border-radius: 5px;
  font-family: 'Playfair Display', serif;
  text-shadow: 1px 1px 3px rgba(0,0,0,0.4);
}

.fixed-footer-container {
  width: 100%;
  position: fixed;
  bottom: 0;
  left: 0;
  z-index: 99;
  background: #300000;
  box-shadow: 0 -2px 10px #00000066;
}

.fixed-footer {
  max-width: 960px;
  margin: auto;
  padding: 8px 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.fixed-footer a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 11px;
  text-decoration: none;
  width: 60px;
  transition: all 0.2s ease;
}

.fixed-footer a img {
  width: 32px;
  height: 32px;
  object-fit: contain;
  margin-bottom: 4px;
}

.fixed-footer a.active {
  font-weight: bold;
  color: #ffeb3b;
}

.fixed-footer a:hover {
  transform: scale(1.05);
  opacity: 0.95;
}

.live-chat-icon img {
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.1); opacity: 0.85; }
  100% { transform: scale(1); opacity: 1; }
}

@media screen and (max-width: 600px) {
  .fixed-footer {
    justify-content: space-around;
  }

  .fixed-footer a {
    width: 50px;
    font-size: 10px;
  }

  .fixed-footer a img {
    width: 28px;
    height: 28px;
  }
}
