/* =========================
   GLOBAL
   ========================= */
body {
  margin: 0;
  font-family: Arial, sans-serif;
  background: linear-gradient(180deg, #1f2d1f, #2f4f2f);
  color: #f5f5f5;
}

/* =========================
   NAVBAR
   ========================= */
.navbar {
  position: sticky;
  top: 0;
  z-index: 99999;
  backdrop-filter: blur(12px);
  background: rgba(22, 40, 22, 0.75);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.nav-container {
  max-width: 1400px;
  margin: auto;
  padding: 15px 1px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo a {
  font-size: 18px;
  font-weight: 600;
  color: #cfe9cf;
  text-decoration: none;
}

.logo img {
  height: 50px;
  width: auto;
  display: block;
  transition: opacity 0.2s ease;
}

.logo img:hover {
  opacity: 0.8;
}

.nav-menu {
  list-style: none;
  display: flex;
  gap: 28px;
  margin: 0;
  padding: 0;
}

.nav-menu a {
  font-size: 14px;
  text-decoration: none;
  color: #e6e6e6;
  opacity: 0.8;
  transition: all 0.2s ease;
}

.nav-menu a:hover {
  opacity: 1;
}

.nav-menu a.active {
  color: #9ad19a;
  opacity: 1;
  position: relative;
}

.nav-menu a.active::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 2px;
  background: #9ad19a;
  border-radius: 2px;
}

/* =========================
   BURGER
   ========================= */
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  position: relative;
  z-index: 999999;
}

.burger span {
  width: 24px;
  height: 2px;
  background: #cfe9cf;
  border-radius: 2px;
}

/* =========================
   MOBILE NAV
   ========================= */
@media (max-width: 768px) {
  .burger {
    display: flex;
  }

  .nav-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background: rgba(22, 40, 22, 0.95);
    flex-direction: column;
    width: 220px;
    padding: 20px;
    gap: 16px;
    transform: translateY(-10px);
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
    z-index: 99998;
  }

  .nav-menu.active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-menu a {
    font-size: 15px;
  }
}

/* =========================
   HERO
   ========================= */
.hero {
  height: 95vh;
  display: flex;
  align-items: center;
  justify-content: center; /* ini membuat konten ke tengah horizontal */

  text-align: center; /* teks rata tengah */

  background:
    linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
    url("../images/hero.png");

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  position: relative;
  z-index: 1;
}

.hero-content {
  max-width: 700px;
  position: relative;
  z-index: 2;
}

.hero h1 {
  font-size: 52px;
  margin-bottom: 16px;
}

.hero p {
  opacity: 0.85;
  line-height: 1.6;
  font-size: 16px;
}

/* =========================
   SECTION GENERAL
   ========================= */
.section {
  padding: 100px 60px;
}

.section h2 {
  font-size: 32px;
  margin-bottom: 20px;
}

.subtitle {
  opacity: 0.7;
  margin-bottom: 40px;
}

/* ABOUT HOME */
.about-home {
  background: rgba(255, 255, 255, 0.03);
}

/* =========================
   SERVICES PREVIEW
   ========================= */
.services-preview {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin: 40px 0;
}

.service-box {
  padding: 30px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  text-align: center;
}

/* =========================
   CTA
   ========================= */
.cta {
  padding: 100px 60px;
  text-align: center;
  background: rgba(22, 40, 22, 0.85);
}

/* =========================
   BUTTON & LINKS
   ========================= */
.btn {
  background: transparent;
  padding: 12px 28px;
  border-radius: 8px;

  border: 2px solid #ffffff; /* white outline */

  color: #ffffff;
  text-decoration: none;

  margin-top: 30px; /* SPACE DI ATAS BUTTON */

  display: inline-block;

  transition: all 0.3s ease;
}

.btn:hover {
  background: #ffffff;
  color: #1f2d1f;
}

.link {
  display: inline-block;
  margin-top: 20px;
  color: #9ad19a;
  text-decoration: none;
}

.link.center {
  display: block;
  text-align: center;
}

/* =========================
   FOOTER
   ========================= */
.footer {
  background: rgba(0, 0, 0, 0.4);
  text-align: center;
  padding: 30px;
}

/* =========================
   PAGE HEADER
   ========================= */
.page-header {
  padding: 50px 60px 10px;
  text-align: center;
  position: relative;
  z-index: 1;
}

.page-header h1 {
  font-size: 40px;
  margin-bottom: 10px;
}

.page-header p {
  opacity: 0.8;
}

/* =========================
   SERVICES PAGE
   ========================= */
.services {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
  padding: 40px 60px 100px;
}

.service-card {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  border-radius: 16px;
  padding: 30px;
  transition: transform 0.3s ease;
}

.service-card:hover {
  transform: translateY(-6px);
}

.service-card h3 {
  margin-top: 0;
  color: #9ad19a;
}

.service-card p {
  font-size: 14px;
  line-height: 1.6;
}

.placeholder {
  display: inline-block;
  margin-top: 15px;
  font-size: 12px;
  opacity: 0.6;
}

/* =========================
   LOCATION PAGE
   ========================= */
.location {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 40px;
  padding: 40px 60px 100px;
}

.location-info {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  border-radius: 16px;
  padding: 30px;
}

.location-info h3 {
  margin-top: 0;
  color: #9ad19a;
}

.location-info p {
  font-size: 14px;
  line-height: 1.6;
}

.location-info .note {
  margin-top: 20px;
  font-size: 12px;
  opacity: 0.7;
}

.map-container {
  border-radius: 16px;
  overflow: hidden;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  min-height: 320px;
  border: 0;
}

/* =========================
   CONTACT PAGE
   ========================= */
.contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  padding: 40px 60px 100px;
}

.contact-info,
.contact-form {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  border-radius: 16px;
  padding: 30px;
}

.contact-info h3,
.contact-form h3 {
  margin-top: 0;
  color: #9ad19a;
}

.contact-info p {
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 20px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  margin-bottom: 16px;
  padding: 12px;
  border-radius: 8px;
  border: none;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.contact-form textarea {
  min-height: 120px;
  resize: none;
}

.contact-form button {
  width: 100%;
  padding: 12px;
  border-radius: 8px;
  border: none;
  background: #4f8f4f;
  color: #fff;
  opacity: 0.6;
  cursor: not-allowed;
}

/* =========================
   GALLERY PAGE (IMAGE)
   ========================= */

.gallery {
  padding: 40px 60px 100px;
  position: relative;
  z-index: 2;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.gallery-item {
  border-radius: 16px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
  transition: transform 0.3s ease;
}

.gallery-item img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  opacity: 0.75;
  transition: opacity 0.3s ease;
  cursor: zoom-in;
}

.gallery-item:hover {
  transform: translateY(-6px);
}

.gallery-item:hover img {
  opacity: 1;
}

/* FORCE GALLERY CLICKABLE */
.gallery {
  position: relative;
  z-index: 10;
}

.gallery-item {
  position: relative;
  z-index: 11;
}

.gallery-item img {
  position: relative;
  z-index: 12;
  pointer-events: auto;
  cursor: zoom-in;
}

/* =========================
   ABOUT PAGE
   ========================= */
.about-page {
  padding: 40px 60px 100px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.about-card {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  border-radius: 16px;
  padding: 30px;
}

.about-card h3 {
  margin-top: 0;
  color: #9ad19a;
}

.about-card p,
.about-card li {
  font-size: 14px;
  line-height: 1.6;
}

.about-card ul {
  padding-left: 18px;
}

/* =========================
   RESPONSIVE GLOBAL
   ========================= */
@media (max-width: 768px) {
  body {
    font-size: 14px;
  }

  .section,
  .page-header,
  .about-page,
  .services,
  .gallery,
  .contact,
  .location {
    padding: 60px 24px;
  }

  .nav-container {
    padding: 14px 24px;
  }

  .hero {
    height: auto;
    padding: 140px 24px 80px;
  }

  .page-header {
    padding-top: 140px;
  }

  .hero h1 {
    font-size: 34px;
  }

  .page-header h1 {
    font-size: 32px;
  }

  .services-preview,
  .about-page,
  .contact,
  .location {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: 1fr 1fr;
  }

  .map-container iframe {
    min-height: 260px;
  }

  .cta {
    padding: 80px 24px;
  }

  .cta h2 {
    font-size: 28px;
  }
}

.burger {
  pointer-events: auto !important;
}

/* =========================
   CONTACT – SOCIAL MEDIA
   ========================= */

.social-links {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 20px 0;
}

.social-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  border-radius: 14px;
  text-decoration: none;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  transition:
    transform 0.3s ease,
    background 0.3s ease;
}

.social-card:hover {
  transform: translateY(-4px);
}

.social-card .icon {
  font-size: 22px;
}

.social-card .text {
  font-size: 14px;
  line-height: 1.4;
}

/* PLATFORM HOVER COLOR */
.social-card.instagram:hover {
  background: linear-gradient(
    135deg,
    rgba(131, 58, 180, 0.85),
    rgba(253, 29, 29, 0.85),
    rgba(252, 176, 69, 0.85)
  );
}

.social-card.youtube:hover {
  background: rgba(255, 0, 0, 0.8);
}

/* CONTACT DETAIL */
.contact-detail p {
  margin-top: 16px;
  font-size: 14px;
}

.contact-note {
  margin-top: 24px;
  font-size: 13px;
  opacity: 0.7;
}

/* =========================
   CONTACT LIST (FIX UGLY UI)
   ========================= */

.contact-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 20px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  border-radius: 14px;
  text-decoration: none;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  transition:
    transform 0.25s ease,
    background 0.25s ease;
}

.contact-item:hover {
  transform: translateY(-3px);
}

.contact-item .icon {
  font-size: 22px;
  width: 28px;
  text-align: center;
}

.contact-item .text strong {
  display: block;
  font-size: 14px;
}

.contact-item .text small {
  font-size: 12px;
  opacity: 0.75;
}

/* PLATFORM COLOR ACCENT */
.contact-item.instagram:hover {
  background: linear-gradient(
    135deg,
    rgba(131, 58, 180, 0.85),
    rgba(253, 29, 29, 0.85),
    rgba(252, 176, 69, 0.85)
  );
}

.contact-item.youtube:hover {
  background: rgba(255, 0, 0, 0.8);
}

.contact-item.whatsapp:hover {
  background: rgba(37, 211, 102, 0.7);
}

.contact-item.email:hover {
  background: rgba(79, 143, 79, 0.7);
}

/* =========================
   LIGHTBOX
   ========================= */

.lightbox {
  z-index: 999999;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(10, 20, 10, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.lightbox.active {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-img {
  max-width: 90%;
  max-height: 85%;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
}

.lightbox-close {
  position: absolute;
  top: 30px;
  right: 40px;
  font-size: 40px;
  color: #ffffff;
  cursor: pointer;
  opacity: 0.8;
}

.lightbox-close:hover {
  opacity: 1;
}

/* =========================
   GALLERY SCROLL ANIMATION
   ========================= */

.gallery-item {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.7s ease;
}

.gallery-item.show {
  opacity: 1;
  transform: translateY(0);
}
