/* =============================
   GLOBAL & RESET
============================= */
@import url("https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700&family=Poppins:wght@300;400;500;600&display=swap");

:root {
  --warna-primer: #8e44ad;
  --warna-latar: #f9f9f9;
  --warna-teks: #333;
  --warna-subteks: #444;
  --warna-hover: #ffcc00;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Poppins", sans-serif;
  background-color: var(--warna-latar);
  color: var(--warna-teks);
}

h1,
h2,
h3 {
  font-family: "Playfair Display", serif;
}

/* =============================
   NAVIGATION
============================= */
.navbar {
  background-color: #fff;
  border-bottom: 1px solid #ddd;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 999;
}

.logo-img {
  height: 40px;
  margin-right: 10px;
}

.nav-fullscreen {
  display: flex;
  gap: 1.5rem;
}

.nav-fullscreen a {
  text-decoration: none;
  color: var(--warna-primer);
  transition: color 0.3s ease;
}

.nav-fullscreen a:hover {
  color: var(--warna-hover);
  transform: scale(1.05);
  transition: all 0.3s ease;
}

.hamburger-menu {
  display: none;
  background: none;
  border: none;
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 1001;
  cursor: pointer;
}

.hamburger-menu i {
  font-size: 1.5rem;
  color: var(--warna-primer);
}

.icon-close {
  display: none;
}

/* =============================
   FULLSCREEN NAV ON MOBILE
============================= */
@media (max-width: 768px) {
  .nav-fullscreen {
    display: none;
    flex-direction: column;
    background: rgba(20, 20, 20, 0.95);
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    height: 100vh;
    justify-content: center;
    align-items: center;
  }
  .nav-fullscreen.active {
    display: flex;
  }
  .nav-fullscreen a {
    color: white;
    font-size: 1.5rem;
    padding: 1rem;
  }
  .hamburger-menu {
    display: inline;
  }
}

/* =============================
   SECTION & CARD
============================= */
.section-title {
  margin-top: 30px;
  margin-bottom: 20px;
  text-align: left; /* atau center, sesuai selera */
}

.section {
  padding: 4rem 2rem;
}

.card-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s ease;
}

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

.card img {
  width: 100%;
  height: auto;
}

.card-content {
  padding: 1rem;
}

/* =============================
   DETAIL PAGE
============================= */
.detail-page {
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem;
}

.detail-page h1 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
}

.detail-page p {
  line-height: 1.9;
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
  text-align: justify;
  color: var(--warna-subteks);
}

.detail-page ul {
  padding-left: 1.5rem;
  margin-bottom: 1.5rem;
  list-style-type: disc;
}

.detail-page li {
  margin-bottom: 0.8rem;
  line-height: 1.7;
  font-size: 1.05rem;
}

.detail-page p,
.detail-page li {
  line-height: 1.8;
  margin-bottom: 1rem;
  font-size: 1.1rem;
  color: var(--warna-subteks);
}

.detail-page img {
  width: 100%;
  border-radius: 8px;
  margin-bottom: 1.5rem;
}

.detail-page h2 {
  margin-top: 2rem;
  margin-bottom: 1rem;
  color: var(--warna-primer);
  font-size: 1.5rem;
}

.detail-page blockquote {
  font-style: italic;
  border-left: 4px solid #c17aff;
  padding-left: 1rem;
  background: #f9f9f9;
  margin: 1.5rem 0;
  color: #555;
}

/* =============================
   CONTACT BOX CENTER
============================= */
.contact-wrapper {
  min-height: calc(100vh - 120px);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 2rem;
}

.contact-box {
  max-width: 600px;
  background-color: #fff;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.contact-box h1 {
  font-size: 2rem;
  color: black;
  margin-bottom: 1rem;
}

.contact-box h2 {
  font-size: 1.1rem;
  color: var(--warna-subteks);
  margin: 1.5rem 0;
}

.contact-box .button {
  display: inline-block;
  background-color: #25d366;
  color: white;
  padding: 0.8rem 1.5rem;
  border-radius: 6px;
  text-decoration: none;
  margin-top: 1rem;
  font-weight: 500;
  transition: background-color 0.3s ease;
}

.contact-box .button:hover {
  background-color: var(--warna-hover);
}

.contact-box iframe {
  width: 100%;
  height: 300px;
  border: none;
  border-radius: 8px;
  margin-top: 1rem;
}
.google-map {
  width: 100%;
  height: 400px;
  border: none;
}

/* ===================================== */
/*        Tambahan: Detail Artikel       */
/* ===================================== */

.song-list-title {
  margin-top: 30px;
  margin-bottom: 15px;
  text-align: left;
}

.song-list {
  padding-left: 20px;
  list-style-position: inside;
  margin-bottom: 30px;
  text-align: left;
}

/* =============================
   FOOTER
============================= */
footer {
  color: var(--warna-primer);
  text-align: center;
  padding: 1.2rem 1rem;
  font-size: 0.9rem;
  background-color: #fff;
  border-top: 1px solid #ddd;
  margin-top: 1rem; /* semula 2rem, kita kecilkan */
}

footer .icons {
  margin-bottom: 20px; /* atau coba 30px kalau mau lebih lega */
}

.icons {
  display: flex;
  justify-content: center;
  margin-top: 10px; /* semula 20px */
}

.icons a {
  width: 60px;
  height: 60px;
  font-size: 24px;
  color: black;
  background: white;
  border-radius: 50%;
  line-height: 60px;
  text-align: center;
  margin: 0 15px;
  box-shadow: 0 5px 4px rgba(0, 0, 0, 0.5);
  transition: 0.3s ease;
}

.icons a:hover {
  color: white;
  transform: translateY(-10px) scale(1.1);
  animation: rotateIcon 0.6s ease-in-out forwards;
}

@keyframes rotateIcon {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.icons a:nth-child(1):hover {
  background-color: #ff0b55;
}
.icons a:nth-child(2):hover {
  background-color: #1da1f2;
}
.icons a:nth-child(3):hover {
  background: linear-gradient(45deg, #25f4ee, #fe2c55);
}
.icons a:nth-child(4):hover {
  background: linear-gradient(45deg, #833ab4, #fd1d1d, #fcb045);
}
.icons a:nth-child(5):hover {
  background: #0a66c2; /* LinkedIn */
}
.icons a:nth-child(6):hover {
  background: black; /* Threads biasanya hitam polos */
}
.icons a:nth-child(7):hover {
  background: #36465d; /* Tumblr */
}
.icons a:nth-child(8):hover {
  background: #1877f2; /* Facebook */
}

/* =============================
   ANIMASI
============================= */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 0.8s ease forwards;
}

.fade-delay-1 {
  animation-delay: 0.3s;
}
.fade-delay-2 {
  animation-delay: 0.6s;
}
.fade-delay-3 {
  animation-delay: 0.9s;
}
.fade-delay-4 {
  animation-delay: 1.2s;
}
.fade-delay-5 {
  animation-delay: 1.5s;
}
.fade-delay-6 {
  animation-delay: 1.8s;
}
.fade-delay-7 {
  animation-delay: 2.1s;
}
.fade-delay-8 {
  animation-delay: 2.4s;
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* =============================
   HERO VIDEO SECTION
============================= */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

.bg-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover; /* ini penting agar video memenuhi tanpa distorsi */
  z-index: 1;
}

.hero-overlay {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: white;
  padding: 0 1rem;
  background: rgba(0, 0, 0, 0.4); /* semi transparan agar teks terbaca */
  text-shadow: 0 5px 4px rgba(0, 0, 0, 0.5);
}

.hero-overlay h1 {
  font-size: 2.5rem;
  font-family: "Playfair Display", serif;
  margin-bottom: 1rem;
}

.hero-overlay p {
  font-size: 1.2rem;
  font-weight: 300;
}

span {
  color: #833ab4;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .nav-fullscreen {
    display: none;
    flex-direction: column;
    background: rgba(20, 20, 20, 0.4); /* transparan gelap */
    backdrop-filter: blur(12px); /* efek blur */
    -webkit-backdrop-filter: blur(12px); /* untuk Safari */
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    height: 100vh;
    justify-content: center;
    align-items: center;
  }
  .nav-fullscreen.active {
    display: flex;
  }
  .nav-fullscreen a {
    color: white;
    font-size: 1.5rem;
    padding: 1rem;
  }
  .hamburger-menu {
    display: inline;
  }
  .navbar {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .navbar .logo {
    margin-bottom: 10px;
  }

  .navbar ul {
    flex-direction: column;
    gap: 10px;
  }

  .logo-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .logo-wrapper .logo-img {
    height: 50px;
    margin: 5px 0;
  }

  .icons {
    flex-wrap: wrap;
    gap: 10px;
  }

  .icons a {
    width: 50px;
    height: 50px;
    font-size: 20px;
    line-height: 50px;
    margin: 10px;
  }

  .navbar {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .navbar .logo {
    margin-bottom: 10px;
  }

  .navbar ul {
    flex-direction: column;
    gap: 10px;
  }
}

//* JIKA NANTI ADA TAMBAHAN MELIBIHI 20 UP TINGGAL TAMBAHIN LAGI !*//
.fade-up {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.6s ease forwards;
}

.fade-delay-1 {
  animation-delay: 0.2s;
}
.fade-delay-2 {
  animation-delay: 0.4s;
}
.fade-delay-3 {
  animation-delay: 0.6s;
}
.fade-delay-4 {
  animation-delay: 0.8s;
}
.fade-delay-5 {
  animation-delay: 1s;
}
.fade-delay-6 {
  animation-delay: 1.2s;
}
.fade-delay-7 {
  animation-delay: 1.4s;
}
.fade-delay-8 {
  animation-delay: 1.6s;
}
.fade-delay-9 {
  animation-delay: 1.8s;
}
.fade-delay-10 {
  animation-delay: 2s;
}
.fade-delay-11 {
  animation-delay: 2.2s;
}
.fade-delay-12 {
  animation-delay: 2.4s;
}
.fade-delay-13 {
  animation-delay: 2.6s;
}
.fade-delay-14 {
  animation-delay: 2.8s;
}
.fade-delay-15 {
  animation-delay: 3s;
}
.fade-delay-16 {
  animation-delay: 3.2s;
}
.fade-delay-17 {
  animation-delay: 3.4s;
}
.fade-delay-18 {
  animation-delay: 3.6s;
}
.fade-delay-19 {
  animation-delay: 3.8s;
}
.fade-delay-20 {
  animation-delay: 4s;
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
