/* =========================================
   01. VARIABEL & RESET
========================================= */
:root {
  --bg-main: #fdfbf7;
  --bg-dark: #0f1c15;
  --bg-light: #f4f1ea;
  --primary: #1a3626;
  --gold: #d4af37;
  --gold-hover: #f3d060;
  --text-dark: #2c2c2c;
  --text-light: #f0f0f0;
  --font-heading: "Playfair Display", serif;
  --font-body: "Montserrat", sans-serif;
  --transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-main);
  color: var(--text-dark);
  line-height: 1.8;
  overflow-x: hidden;
}

h1,
h2,
h3,
.logo {
  font-family: var(--font-heading);
  color: var(--primary);
}

/* =========================================
   02. KELAS UTILITAS (GLOBAL)
========================================= */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 5%;
}

.text-center {
  text-align: center;
}
.text-white {
  color: var(--text-light) !important;
}
.gold-text {
  color: var(--gold) !important;
}
.dark-text {
  color: var(--text-dark) !important;
}

.section-padding {
  padding: 100px 0;
}
.bg-dark {
  background-color: var(--bg-dark);
}
.bg-light {
  background-color: var(--bg-light);
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 30px;
  font-weight: 400;
  position: relative;
  padding-bottom: 15px;
}

.section-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 50px;
  height: 2px;
  background-color: var(--gold);
}

.text-center .section-title::after {
  left: 50%;
  transform: translateX(-50%);
}

.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-desc {
  max-width: 700px;
  margin: 0 auto;
  color: #555;
}

/* =========================================
   03. TOMBOL (BUTTONS)
========================================= */
.btn {
  padding: 15px 40px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  display: inline-block;
}

.btn-gold {
  background-color: var(--gold);
  color: var(--bg-dark);
  font-weight: 600;
}

.btn-gold:hover {
  background-color: var(--gold-hover);
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(212, 175, 55, 0.2);
}

.btn-text {
  background: transparent;
  color: var(--text-light);
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  padding: 10px 0;
}

.btn-text:hover {
  border-color: var(--gold);
  color: var(--gold);
}

/* =========================================
   04. AGE GATE MODAL
========================================= */
.glass-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 28, 21, 0.95);
  backdrop-filter: blur(15px);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.modal-content {
  background: transparent;
  border: 1px solid rgba(212, 175, 55, 0.3);
  padding: 60px 40px;
  text-align: center;
  max-width: 500px;
}

.modal-content p {
  color: var(--text-light);
  margin: 20px 0 40px;
  font-weight: 300;
}

.modal-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  align-items: center;
}

/* =========================================
   05. NAVBAR
========================================= */
nav {
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 100;
  transition: var(--transition);
  padding: 25px 0;
}

nav.scrolled {
  background: rgba(15, 28, 21, 0.95);
  backdrop-filter: blur(10px);
  padding: 15px 0;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

nav.scrolled .logo,
nav.scrolled .nav-links a {
  color: var(--bg-main);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 5%;
}

.logo {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--bg-main);
  text-decoration: none;
  letter-spacing: 1px;
  transition: var(--transition);
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 40px;
}

.nav-links a {
  color: var(--bg-main);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 2px;
  transition: var(--transition);
  position: relative;
}

.nav-links a::after {
  content: "";
  position: absolute;
  width: 0;
  height: 1px;
  bottom: -5px;
  left: 0;
  background-color: var(--gold);
  transition: var(--transition);
}

.nav-links a:hover::after {
  width: 100%;
}
.nav-links a:hover {
  color: var(--gold) !important;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
}

.bar {
  width: 25px;
  height: 2px;
  background-color: var(--gold);
  transition: var(--transition);
}

/* =========================================
   06. HERO SECTION
========================================= */
.hero {
  height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: url("../img/HomeBg.webp") no-repeat center/cover;
  background-attachment: fixed;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to right,
    rgba(15, 28, 21, 0.95),
    rgba(15, 28, 21, 0.6)
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  text-align: left;
  padding: 0 5%;
  width: 100%;
  margin: 0 auto;
}

.subtitle {
  color: var(--gold);
  font-size: 0.9rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 20px;
  display: block;
}

.hero h1 {
  color: var(--bg-main);
  font-size: 4.5rem;
  line-height: 1.1;
  margin-bottom: 25px;
  font-weight: 400;
}

.hero p {
  color: #cccccc;
  font-size: 1.2rem;
  margin-bottom: 40px;
  max-width: 700px;
  font-weight: 300;
}

/* =========================================
   07. TENTANG & VISI MISI (SPLIT LAYOUT)
========================================= */
.split-layout {
  display: flex;
  align-items: flex-start;
  gap: 60px;
}

.split-text {
  flex: 1;
}

/* Paragraf rata kanan-kiri khusus section penjelasan */
.split-text p,
.feature-card p,
.commitment-item p {
  text-align: justify;
  hyphens: auto;
  -webkit-hyphens: auto;
}

.split-text p {
  margin-bottom: 20px;
  color: #555;
  font-size: 1.1rem;
  font-weight: 300;
}

.text-white p {
  color: #cccccc;
}

.highlight-text {
  font-size: 1.4rem !important;
  line-height: 1.8;
  color: var(--gold) !important;
  font-style: italic;
  font-family: var(--font-heading);
}

.border-left {
  padding-left: 40px;
  border-left: 1px solid rgba(212, 175, 55, 0.3);
}

.split-image {
  flex: 1;
  position: relative;
  max-width: 400px;
}

.split-image::before {
  content: "";
  position: absolute;
  top: -20px;
  left: -20px;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.split-image img {
  width: 100%;
  height: auto;
  transform: translateY(-15px);
}

.premium-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.premium-list li {
  position: relative;
  padding-left: 25px;
  margin-bottom: 15px;
  font-size: 1.05rem;
  font-weight: 300;
  color: #e0e0e0;
}

.premium-list li::before {
  content: "✦";
  position: absolute;
  left: 0;
  color: var(--gold);
  font-size: 1rem;
}

/* =========================================
   08. NILAI PERUSAHAAN (LUXURY EDITION)
========================================= */
.luxury-edition {
  display: flex;
  background-color: #ffffff;
  border-radius: 0;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.07);
  border: 1px solid rgba(212, 175, 55, 0.1);
}

.corp-image-side {
  flex: 1;
  position: relative;
  min-width: 480px;
}

.image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(15, 28, 21, 0.2), transparent);
  z-index: 1;
}

.corp-image-side img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: contrast(1.1) brightness(0.9);
}

.corp-cards-side {
  flex: 1.3;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background-color: rgba(212, 175, 55, 0.1);
  padding: 0;
}

.luxury-card {
  background-color: #ffffff;
  padding: 60px 40px;
  border: none;
  border-radius: 0;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.luxury-card h3 {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 400;
  font-style: italic;
  margin-bottom: 20px;
  color: var(--primary);
}

.luxury-line {
  width: 30px;
  height: 1px;
  background-color: var(--gold);
  margin-bottom: 25px;
  transition: width 0.5s ease;
}

.luxury-card p {
  color: #777;
  font-size: 0.9rem;
  line-height: 1.8;
  letter-spacing: 0.5px;
}

.luxury-card.card-filled {
  background-color: var(--primary);
}
.luxury-card.card-filled h3,
.luxury-card.card-filled p {
  color: #ffffff;
}
.luxury-card.card-filled .luxury-line {
  background-color: var(--gold);
}

.luxury-card:hover {
  background-color: #fcfaf5;
  padding-left: 50px;
}
.luxury-card:hover .luxury-line {
  width: 60px;
}
.luxury-card.card-filled:hover {
  background-color: #142a1e;
}

/* =========================================
   09. KOLEKSI PRODUK (GALERI)
========================================= */
.product-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 350px;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.gallery-item:hover img {
  transform: scale(1.08);
}

.gallery-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 20px;
  background: linear-gradient(to top, rgba(15, 28, 21, 0.9), transparent);
  color: var(--gold);
  font-family: var(--font-heading);
  font-size: 1.2rem;
  transform: translateY(10px);
  opacity: 0;
  transition: var(--transition);
}

.gallery-item:hover .gallery-caption {
  transform: translateY(0);
  opacity: 1;
}

/* =========================================
   10. KEUNGGULAN UTAMA
========================================= */
.features-wrapper {
  margin-top: 80px;
}

.features-title {
  text-align: center;
  font-family: var(--font-heading);
  margin-bottom: 40px;
  color: var(--primary);
  font-size: 2rem;
}

.features-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.feature-card {
  background: #1a3626;
  padding: 40px;
  border: 1px solid #eee;
  position: relative;
  transition: var(--transition);
  overflow: hidden;
}

.f-number {
  font-family: var(--font-heading);
  font-size: 3rem;
  color: rgba(212, 175, 55, 0.1);
  position: absolute;
  top: 10px;
  right: 20px;
  font-weight: 700;
  transition: var(--transition);
}

.feature-card h4 {
  margin-bottom: 15px;
  position: relative;
  z-index: 2;
  color: #d4af37;
}

.feature-card p {
  font-size: 0.9rem;
  color: #ffffff;
  line-height: 1.6;
}

.feature-card:hover {
  border-color: var(--gold);
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.feature-card:hover .f-number {
  color: rgba(212, 175, 55, 0.3);
  transform: translateY(10px);
}

/* =========================================
   11. KOMITMEN & TANGGUNG JAWAB
========================================= */
.luxury-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
  align-items: center;
}

.commitment-item {
  margin-bottom: 30px;
  padding-left: 20px;
  border-left: 2px solid var(--gold);
}

.commitment-item h5 {
  font-family: var(--font-body);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 5px;
  color: var(--primary);
}

.luxury-image-box {
  position: relative;
  padding: 20px;
}

.luxury-image-box img {
  width: 100%;
  filter: sepia(0.3) contrast(1.1);
  position: relative;
  z-index: 2;
}

.image-border {
  position: absolute;
  top: 0;
  right: 0;
  width: 80%;
  height: 80%;
  z-index: 1;
}

/* =========================================
   12. VIDEO INTRO SHOWCASE
========================================= */
.video-grid {
  display: flex; 
  justify-content: center; 
  gap: 50px; 
  margin-top: 40px;
}

.video-wrapper {
  position: relative;
  width: 100%;
  max-width: 280px; 
  aspect-ratio: 9 / 16; 
  border-radius: 12px; 
  background-color: #000; 
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
  transition: var(--transition);
}

.video-wrapper:hover {
  transform: translateY(-5px);
}

.video-wrapper video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;

  border: 2px solid rgba(212, 175, 55, 0.8);
  border-radius: 12px;
  box-sizing: border-box;
}

/* === TOMBOL UNMUTE CUSTOM === */
.unmute-btn {
  position: absolute;
  bottom: 15px;
  right: 15px;
  background: rgba(15, 28, 21, 0.7);
  backdrop-filter: blur(5px);
  border: 1px solid rgba(212, 175, 55, 0.5);
  color: var(--gold);
  padding: 8px 15px;
  border-radius: 30px;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 500;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
}

.unmute-btn:hover {
  background: rgba(15, 28, 21, 0.9);
  border-color: var(--gold);
  transform: scale(1.05);
}

.unmute-btn .icon {
  font-size: 1rem;
}

/* =========================================
   13. FOOTER
========================================= */
footer {
  background-color: var(--bg-dark);
  padding: 80px 0 30px;
  border-top: 1px solid rgba(212, 175, 55, 0.2);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 50px;
  text-align: left;
}

.logo-footer {
  color: var(--gold);
  font-size: 2.5rem;
  margin-bottom: 15px;
}

.footer-desc {
  color: #888;
  font-size: 0.9rem;
  max-width: 300px;
  line-height: 1.6;
}

.footer-title {
  color: var(--text-light);
  font-family: var(--font-heading);
  font-size: 1.2rem;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.footer-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 30px;
  height: 1px;
  background-color: var(--gold);
}

.footer-links {
  list-style: none;
}

.footer-links li {
  color: #aaa;
  font-size: 0.9rem;
  margin-bottom: 15px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.social-icons {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.social-link {
  color: #aaa;
  text-decoration: none;
  font-size: 0.9rem;
  transition: var(--transition);
  display: inline-block;
}

.social-link:hover {
  color: var(--gold);
  transform: translateX(5px);
}

.disclaimer-premium {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 30px;
  padding: 20px;
  border-top: 1px solid rgba(212, 175, 55, 0.2);
  border-bottom: 1px solid rgba(212, 175, 55, 0.2);
  color: #777;
  font-size: 0.85rem;
  letter-spacing: 1px;
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
}

.copyright {
  color: #555;
  font-size: 0.8rem;
  letter-spacing: 1px;
}

/* =========================================
   14. FLOATING WHATSAPP
========================================= */
.floating-wa {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background-color: #25d366;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  z-index: 1000;
  transition: all 0.3s ease;
}

.floating-wa:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.4);
  background-color: #1ebe55;
}

/* =========================================
   15. ANIMASI MUNCUL (SCROLL REVEAL)
========================================= */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease-out;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/*  16. media queries untuk responsivitas */

/* Untuk Layar Tablet Besar / Laptop Kecil */
@media (max-width: 1024px) {
  /* Tentang Kami / Visi Misi */
  .split-layout {
    flex-direction: column;
    gap: 40px;
  }
  .split-image {
    align-self: center;
    width: 100%;
    display: flex;
    justify-content: center;
  }
  .split-image img {
    transform: none;
  }
  .border-left {
    border-left: none;
    padding-left: 0;
    border-top: 1px solid rgba(212, 175, 55, 0.3);
    padding-top: 40px;
  }
  .split-image::before {
    display: none;
  }

  /* Nilai Perusahaan */
  .luxury-edition {
    flex-direction: column;
  }
  .corp-image-side {
    min-width: 100%;
    height: 400px;
  }

  /* Komitmen */
  .luxury-split {
    grid-template-columns: 1fr;
    gap: 50px;
  }
  .luxury-image-box {
    max-width: 400px;
    margin: 0 auto;
  }
}

/* Mengatur Posisi Sosmed di Layar Desktop */
@media (min-width: 769px) {
  .footer-social {
    justify-self: end;
  }
}

/* Untuk Layar Mobile / Tablet Kecil */
@media (max-width: 768px) {
  /* Navbar & Hamburger Menu */
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: auto;
    background: rgba(15, 28, 21, 0.95);
    backdrop-filter: blur(10px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 30px 0;
    transform: translateY(-150%);
    opacity: 0;
    z-index: -1;
    transition: all 0.4s ease;
    border-top: 1px solid rgba(212, 175, 55, 0.2);
  }
  .nav-links.active {
    transform: translateY(0);
    opacity: 1;
    z-index: 99;
  }
  .menu-toggle {
    display: flex;
    z-index: 101;
  }
  .menu-toggle.active .bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  .menu-toggle.active .bar:nth-child(2) {
    opacity: 0;
  }
  .menu-toggle.active .bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  /* Hero Banner & Global Titles */
  .hero h1 {
    font-size: 2.5rem;
  }
  .hero-content {
    text-align: center;
  }
  .hero-overlay {
    background: rgba(15, 28, 21, 0.8);
  }
  .section-title::after {
    left: 50%;
    transform: translateX(-50%);
  }
  .section-title {
    text-align: center;
  }

  /* Nilai Perusahaan (Card Swipe) */
  .corp-cards-side {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    background-color: transparent;
    gap: 0;
  }
  .luxury-card {
    min-width: 100%;
    scroll-snap-align: center;
    border: 1px solid rgba(212, 175, 55, 0.1);
  }

  /* Gallery Produk */
  .product-gallery {
    grid-template-columns: 1fr;
  }
  .gallery-item img {
    height: 250px;
  }
  .gallery-caption {
    opacity: 1;
    transform: translateY(0);
  }

  /* Peringatan Umur Modal */
  .modal-buttons {
    flex-direction: column;
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }
  .footer-desc {
    margin: 0 auto;
  }
  .footer-title::after {
    left: 50%;
    transform: translateX(-50%);
  }
  .footer-links li {
    justify-content: center;
  }
  .social-icons {
    align-items: center;
  }
  .social-link:hover {
    transform: translateY(-3px);
  }

  /* Floating WhatsApp */
  .floating-wa {
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
  }
  .floating-wa svg {
    width: 28px;
    height: 28px;
  }
}

@media (max-width: 768px) {
  .video-grid {
    flex-direction: column;
    align-items: center;
    gap: 30px;
  }

  .video-wrapper {
    max-width: 240px;
    width: 100%;
  }
}
