:root {
  --gold: #c5a367;
  --black: #050505;
  --dark-grey: #121212;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: var(--black);
  color: #fff;
  font-family: "Cormorant Garamond", serif;
  overflow-x: hidden;
  line-height: 1.6;
}

/* Navigasi Mewah */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 30px 8%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
  backdrop-filter: blur(15px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.logo {
  font-family: "Cinzel Decorative", cursive;
  font-size: 1.6rem;
  letter-spacing: 5px;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 30px;
  align-items: center;
}

.nav-links a {
  text-decoration: none;
  color: #fff;
  font-size: 0.75rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-family: "Montserrat", sans-serif;
}

/* Hero Section - FIX CENTERING */
.hero {
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center; /* Paksa konten ke tengah */
  justify-content: center;
  text-align: center;
  position: relative;
  padding: 0 20px;
}

.video-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}
#heroVideo {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
}

.hero-content h1 {
  font-family: "Cinzel Decorative", cursive;
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  margin-bottom: 20px;
  font-weight: 400;
}

.subtitle {
  font-family: "Montserrat", sans-serif;
  font-size: 0.75rem;
  letter-spacing: 5px;
  color: #aaa;
}

/* Trip Schedule Box */
.trip-schedule {
  margin-top: 50px;
  padding: 30px 50px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(197, 163, 103, 0.2);
  display: inline-block;
}

.trip-container {
  display: flex;
  align-items: center;
  gap: 30px;
}
.trip-item .date {
  font-size: 0.65rem;
  color: var(--gold);
  letter-spacing: 2px;
  display: block;
}
.trip-item .location {
  font-size: 1.2rem;
  font-weight: 600;
}
.trip-divider {
  width: 1px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
}
.spot-left {
  margin-top: 15px;
  font-size: 0.75rem;
  color: #ff5e5e;
  font-style: italic;
}

/* Portfolio Section - FIX GRID (Screenshot 144) */
.portfolio {
  padding: 100px 8%;
  text-align: center;
}
.section-title {
  font-family: "Cinzel Decorative", cursive;
  font-size: 2.5rem;
  margin-bottom: 60px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 3 Kolom simetris */
  gap: 20px;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto; /* Pastikan grid di tengah */
}

.gallery-item {
  position: relative;
  aspect-ratio: 4/5;
  overflow: hidden;
  background: #111;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 1.5s cubic-bezier(0.2, 1, 0.3, 1);
}
.gallery-item:hover img {
  transform: scale(1.1);
}

/* Inquiry Section - FIX FORM (Screenshot 152) */
.inquiry {
  padding: 120px 8%;
  background: #080808;
  display: flex;
  justify-content: center;
}
.inquiry-container {
  width: 100%;
  max-width: 600px;
  text-align: center;
}

form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 40px;
}

input,
select,
textarea {
  width: 100%;
  padding: 18px;
  background: var(--dark-grey); /* Warna gelap mewah */
  border: 1px solid #222;
  color: #fff;
  font-family: "Montserrat", sans-serif;
  outline: none;
  transition: 0.3s;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--gold);
}

/* Dropdown styling */
select option {
  background: var(--dark-grey);
  color: #fff;
}

.submit-btn {
  padding: 20px;
  background: transparent;
  border: 1px solid var(--gold);
  color: var(--gold);
  font-family: "Cinzel Decorative", cursive;
  letter-spacing: 4px;
  cursor: pointer;
  transition: 0.5s;
  text-transform: uppercase;
}

.submit-btn:hover {
  background: var(--gold);
  color: #000;
}

/* --- ANIMASI --- */
.reveal-fade {
  opacity: 0;
  transform: translateY(30px);
  transition: 1.2s cubic-bezier(0.2, 1, 0.3, 1);
}

.reveal-fade.active {
  opacity: 1;
  transform: translateY(0);
}

/* Responsif Mobile */
@media (max-width: 900px) {
  .nav-links {
    display: none;
  }
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  .trip-container {
    flex-direction: column;
    gap: 15px;
  }
  .trip-divider {
    display: none;
  }
  .hero-content h1 {
    font-size: 2.5rem;
  }
}

/* --- FOOTER MEWAH & MINIMALIS --- */
footer {
  padding: 80px 0 40px; /* Memberikan ruang luas di bawah form agar tidak sesak */
  background-color: var(--black);
  text-align: center; /* Memaksa teks ke tengah untuk keseimbangan visual */
  border-top: 1px solid rgba(255, 255, 255, 0.03); /* Garis tipis transparan di atas footer */
}

.footer-content p {
  font-family:
    "Montserrat", sans-serif; /* Menggunakan font sans-serif bersih */
  font-size: 0.65rem; /* Ukuran kecil memberikan kesan elegan */
  color: #555; /* Warna abu-abu redup agar tidak mencolok */
  letter-spacing: 4px; /* Jarak huruf lebar adalah standar brand mewah */
  text-transform: uppercase; /* Huruf kapital semua agar terlihat formal */
  font-weight: 300;
}

/* WhatsApp Floating Button */
.wa-float {
  position: fixed;
  bottom: 40px;
  right: 40px;
  width: 50px;
  height: 50px;
  background-color: transparent;
  border: 1px solid var(--gold);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  transition: 0.5s;
  text-decoration: none;
}

.wa-float:hover {
  background-color: var(--gold);
  box-shadow: 0 0 20px rgba(197, 163, 103, 0.4);
}

.wa-float svg {
  fill: var(--gold);
  width: 25px;
  transition: 0.5s;
}

.wa-float:hover svg {
  fill: black;
}

/* --- FOOTER REFINEMENT --- */
footer {
  padding: 120px 0 60px; /* Ruang sangat luas untuk kesan premium */
  background-color: #050505;
  text-align: center;
  border-top: 1px solid rgba(197, 163, 103, 0.05);
}

.footer-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 45px; /* Jarak antar elemen footer agar tidak menumpuk */
}

/* Social Icons Styling */
.footer-socials {
  display: flex;
  gap: 35px;
  align-items: center;
}

.footer-socials a {
  text-decoration: none;
  transition: 0.5s cubic-bezier(0.19, 1, 0.22, 1);
}

.footer-socials svg {
  width: 20px; /* Ikon kecil namun tajam */
  height: 20px;
  fill: var(--gold); /* Menggunakan warna emas MORDÈN */
  opacity: 0.7;
  transition: 0.4s;
}

.footer-socials a:hover svg {
  fill: #fff;
  opacity: 1;
  transform: translateY(-3px); /* Efek melayang saat hover */
}

/* Inquiry Detail Styling */
.footer-info p {
  font-family: "Cormorant Garamond", serif;
  font-size: 0.95rem;
  font-style: italic;
  color: #999;
  letter-spacing: 1.5px;
}

/* Copyright Styling */
.footer-legal p {
  font-family: "Montserrat", sans-serif;
  font-size: 0.6rem;
  color: #444;
  letter-spacing: 6px;
  text-transform: uppercase;
  margin-top: 20px;
}

/* Responsif untuk HP */
@media (max-width: 768px) {
  footer {
    padding: 80px 0 40px;
  }
  .footer-container {
    gap: 35px;
  }
  .footer-socials {
    gap: 25px;
  }
}

/* --- SUCCESS PAGE DEDICATED STYLES --- */
.success-wrapper {
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  background-color: #050505; /* Warna dasar hitam MORDÈN */
  overflow: hidden;
}

.success-content {
  z-index: 2;
  padding: 0 20px;
  animation: fadeInSuccess 2.5s cubic-bezier(0.19, 1, 0.22, 1);
}

.success-content h1 {
  font-family: "Cinzel Decorative", cursive;
  font-size: clamp(2.5rem, 8vw, 4rem); /* Ukuran dinamis untuk HP & Desktop */
  color: var(--gold);
  margin-bottom: 20px;
  letter-spacing: 5px;
}

.success-content p {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.2rem;
  font-style: italic;
  color: #b0b0b0;
  letter-spacing: 2px;
  max-width: 600px;
  margin: 0 auto;
}

.back-home {
  margin-top: 60px;
  display: inline-block;
  text-decoration: none;
  color: #ffffff;
  font-family: "Montserrat", sans-serif;
  font-size: 0.7rem;
  letter-spacing: 5px;
  border-bottom: 1px solid var(--gold);
  padding-bottom: 10px;
  transition: 0.6s cubic-bezier(0.19, 1, 0.22, 1);
}

.back-home:hover {
  color: var(--gold);
  letter-spacing: 8px; /* Efek melebar saat kursor menyentuh link */
  border-bottom-color: #fff;
}

/* Animasi Muncul Halus */
@keyframes fadeInSuccess {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsif untuk Smartphone */
@media (max-width: 768px) {
  .success-content h1 {
    font-size: 2.2rem;
  }
  .success-content p {
    font-size: 1rem;
    line-height: 1.6;
  }
}

/* --- WELCOME ANIMATION (LOADER) STYLES --- */
#loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: #050505; /* Hitam pekat MORDÈN */
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999; /* Pastikan berada di paling atas */
  transition: opacity 1.5s cubic-bezier(0.19, 1, 0.22, 1);
}

.loader-content {
  text-align: center;
}

.loader-logo {
  font-family:
    "Cinzel Decorative", cursive; /* Font mewah yang sudah kita pilih sebelumnya */
  font-size: 2.5rem;
  color: var(--gold);
  letter-spacing: 10px;
  margin-bottom: 20px;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUpLoader 1s forwards;
}

.loader-line {
  width: 0;
  height: 1px;
  background-color: var(--gold);
  margin: 0 auto;
  animation: growLine 1.5s 0.5s forwards cubic-bezier(0.19, 1, 0.22, 1);
}

.loader-text {
  font-family: "Montserrat", sans-serif;
  font-size: 0.6rem;
  color: #888;
  letter-spacing: 5px;
  margin-top: 20px;
  opacity: 0;
  animation: fadeInLoader 1s 1.2s forwards;
}

/* Hilangkan Loader */
#loader.hidden {
  opacity: 0;
  pointer-events: none;
}

/* KEYFRAMES ANIMASI */
@keyframes fadeUpLoader {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes growLine {
  to {
    width: 150px;
  }
}

@keyframes fadeInLoader {
  to {
    opacity: 1;
  }
}
