/* Reset & Base */
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
  font-family: 'Poppins', sans-serif;
  color: #2C3E50;
  background: #FFFFFF;
  line-height: 1.6;
}
html {
  scroll-behavior: smooth;
}

/* Header */
header {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(245, 245, 245, 0.9);
  backdrop-filter: blur(5px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  z-index: 100;
}
.logo {
  font-size: 1.5rem;
  font-weight: bold;
  color: #A67C00;
}
nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}
nav a {
  text-decoration: none;
  color: #2C3E50;
  transition: color 0.3s;
  font-weight: 500;
}
nav a:hover {
  color: #A67C00;
}

/* Hero */
#hero {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 8rem 2rem 4rem 2rem;
  min-height: 50vh;
}
.profile-pic {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 1rem;
  border: 4px solid #A67C00;
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}
#hero h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: #34495E;
}
#hero p {
  font-size: 1.2rem;
  color: #2C3E50;
}
.btn {
  display: inline-block;
  margin-top: 1.5rem;
  padding: 0.75rem 1.5rem;
  background: #A67C00;
  color: #FFFFFF;
  text-decoration: none;
  border-radius: 5px;
  transition: background 0.3s, transform 0.2s;
}
.btn:hover {
  background: #925E00;
  transform: translateY(-2px);
}
.whatsapp-btn {
  background: #27AE60;
}
.whatsapp-btn:hover {
  background: #1E8449;
}

/* Features */
#features {
  padding: 4rem 2rem;
  text-align: center;
  background: #ECF0F1;
}
#features h2 {
  margin-bottom: 2rem;
  font-size: 2rem;
  color: #34495E;
}
.cards {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}
.card {
  background: #FFFFFF;
  padding: 2rem;
  flex: 1 1 300px;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
  border-top: 4px solid #A67C00;
  transition: transform 0.3s, box-shadow 0.3s;
}
.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 15px rgba(0,0,0,0.1);
}
.card h3 {
  margin-bottom: 0.5rem;
  color: #A67C00;
}

/* Slider */
#slider {
  padding: 4rem 0;
  text-align: center;
  position: relative;
  background: #FFFFFF;
}
#slider h2 {
  margin-bottom: 2rem;
  font-size: 2rem;
  color: #34495E;
}
.slides {
  width: 90%;
  max-width: 800px;
  margin: 0 auto;
  position: relative;
}
.slide {
  display: none;
  width: 100%;
}
.slide.active {
    display: block;
}
.slide img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  /* --- PERBAIKAN DI SINI --- */
  transition: box-shadow 0.3s ease-in-out;
  cursor: pointer;
}
.slide img:hover {
  /* --- EFEK BAYANGAN DALAM --- */
  box-shadow: inset 0px 0px 30px 10px rgba(0, 0, 0, 0.2);
}
.navigation-manual {
  display: flex;
  justify-content: center;
  margin-top: 1rem;
  gap: 1rem;
}
.manual-btn {
  border: 2px solid #34495E;
  padding: 5px;
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.3s;
}
.manual-btn:hover, .manual-btn.active {
  background: #34495E;
}
.nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.5);
  border: none;
  color: #FFFFFF;
  padding: 0.5rem 1rem;
  cursor: pointer;
  font-size: 1.5rem;
  z-index: 10;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.prev-btn { left: -50px; }
.next-btn { right: -50px; }


/* Video Portfolio */
#video-portfolio {
  padding: 4rem 2rem;
  text-align: center;
  background: #ECF0F1;
}
#video-portfolio h2 {
  margin-bottom: 2rem;
  font-size: 2rem;
  color: #34495E;
}
.video-gallery {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}
.video-item {
  flex: 1 1 350px;
  max-width: 400px;
  background: #FFFFFF;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  overflow: hidden;
  text-align: left;
  transition: transform 0.3s, box-shadow 0.3s;
  /* --- EFEK BARU --- */
  cursor: pointer; 
  position: relative; /* Diperlukan untuk play icon */
}
.video-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0,0,0,0.15);
}
.video-item h3, .video-item p {
    padding: 0 1.5rem;
}
.video-item h3 {
    margin-top: 1rem;
    color: #34495E;
}
.video-item p {
    font-size: 0.9rem;
    color: #2C3E50;
    padding-bottom: 1.5rem;
}
.video-thumbnail-container {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
}
.video-thumbnail-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.play-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  background-color: rgba(0, 0, 0, 0.6);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s;
}
.play-icon::after {
  content: '';
  display: block;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 10px 0 10px 20px;
  border-color: transparent transparent transparent white;
  margin-left: 5px;
}
.video-item:hover .play-icon {
  background-color: rgba(231, 76, 60, 0.8);
}


/* About */
#about {
  position: relative;
  padding: 6rem 2rem;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
  color: #ECF0F1;
  text-align: center;
}
#about .overlay {
  background: rgba(44,62,80,0.85);
  padding: 2.5rem;
  border-radius: 8px;
  display: inline-block;
  max-width: 700px;
}
#about h2 {
  margin-bottom: 1.5rem;
  font-size: 2rem;
}
#about p {
  margin: auto;
  text-align: justify;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

/* Contact */
#contact {
  padding: 4rem 2rem;
  text-align: center;
  background: #FFFFFF;
}
#contact h2 {
  margin-bottom: 1rem;
  font-size: 2rem;
  color: #34495E;
}
#contact p {
  margin-bottom: 1.5rem;
  color: #2C3E50;
}

/* Footer */
footer {
  background: #2C3E50;
  color: #ECF0F1;
  text-align: center;
  padding: 2rem 1rem;
}

/* --- STYLE POPUP/MODAL BARU --- */
.lightbox-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.9);
    align-items: center;
    justify-content: center;
}
.lightbox-content {
    position: relative;
    margin: auto;
    padding: 0;
    width: 90%;
    max-width: 900px;
}
.lightbox-content img,
.lightbox-content iframe {
    width: 100%;
    height: auto;
    display: block;
    border: 3px solid white;
    border-radius: 5px;
}
.lightbox-content iframe {
    aspect-ratio: 16/9;
}
.close-button {
    position: absolute;
    top: -40px;
    right: 0px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
}
.close-button:hover,
.close-button:focus {
    color: #bbb;
    text-decoration: none;
}


/* Responsiveness */
@media (max-width: 768px) {
  #hero h1 { font-size: 2rem; }
  #hero p { font-size: 1rem; }
  .cards { flex-direction: column; }
  .card { flex: 1 1 auto; margin: 1rem 0; }
  nav { justify-content: center; gap: 1rem; }
  .prev-btn { left: 10px; }
  .next-btn { right: 10px; }
  .close-button { top: 15px; right: 25px; font-size: 35px; }
  .lightbox-content { width: 95%; }
}
@media (max-width: 480px) {
  header { padding: 1rem; flex-direction: column; gap: 1rem;}
  .logo { font-size: 1.2rem; }
  nav a { margin: 0 0.5rem; font-size: 0.9rem; }
  #features, #about, #contact, #slider, #video-portfolio { padding: 2.5rem 1rem; }
  #features h2, #about h2, #contact h2, #slider h2, #video-portfolio h2 { font-size: 1.5rem; }
  .prev-btn { left: 5px; }
  .next-btn { right: 5px; }
}
