/* ==========================================
   1. RESET & VARIABLES
   ========================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg-dark: #0b1310;
  --bg-card: #13201b;
  --bg-card-hover: #1a2a24;
  --accent-green: #2ecc71;
  --accent-teal: #1abc9c;
  --text-main: #f0f4f2;
  --text-muted: #8a9a92;
  --border-color: rgba(255, 255, 255, 0.08);
  --font-heading: 'Syne', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;
}

body {
  background-color: var(--bg-dark);
  color: var(--text-main);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; transition: all 0.3s ease; }
ul { list-style: none; }

/* ==========================================
   2. HEADER & NAVIGATION (tetap)
   ========================================== */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(11, 19, 16, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  transition: all 0.3s ease;
}
header.scrolled {
  padding: 5px 0;
  background: rgba(11, 19, 16, 0.95);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}
.nav-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 20px 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.logo {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 800;
  letter-spacing: 1px;
  color: #fff;
}
.logo span { color: var(--accent-green); }
nav { display: flex; align-items: center; gap: 30px; }
nav a {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-muted);
}
nav a:hover, nav a.active { color: var(--accent-green); }
.dropdown { position: relative; }
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 15px 0;
  min-width: 200px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;
  border-radius: 8px;
}
.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.dropdown-menu a {
  display: block;
  padding: 8px 20px;
  font-size: 13px;
  text-transform: none;
  letter-spacing: 0;
}
.dropdown-menu a:hover {
  background: rgba(46, 204, 113, 0.1);
  color: var(--accent-green);
}
.lang-switch {
  display: flex;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.05);
  padding: 6px 12px;
  border-radius: 20px;
  border: 1px solid var(--border-color);
}
.lang-switch span { cursor: pointer; }
.lang-switch span.active { color: var(--accent-green); }

/* ==========================================
   3. HERO SECTION
   ========================================== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  padding: 140px 30px 80px;
  background: linear-gradient(180deg, rgba(11, 19, 16, 0.6) 0%, rgba(11, 19, 16, 1) 100%), 
              url('https://images.unsplash.com/photo-1432405972618-c60b0225b8f9?auto=format&fit=crop&w=1920&q=80') center/cover no-repeat;
}
.hero-container {
  max-width: 1280px;
  margin: 0 auto;
  width: 100%;
}
.hero-tag {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 3px;
  color: var(--accent-green);
  text-transform: uppercase;
  margin-bottom: 20px;
  display: inline-block;
  background: rgba(46, 204, 113, 0.1);
  padding: 6px 16px;
  border-radius: 50px;
  border: 1px solid rgba(46, 204, 113, 0.2);
}
.hero h1 {
  font-family: var(--font-heading);
  font-size: 64px;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 25px;
  letter-spacing: -1px;
}
.hero p {
  font-size: 18px;
  color: var(--text-muted);
  max-width: 580px;
  margin-bottom: 40px;
}
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--accent-green);
  color: #05100c;
  font-weight: 700;
  padding: 16px 32px;
  border-radius: 50px;
  font-size: 14px;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.btn-primary:hover {
  background: #27ae60;
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(46, 204, 113, 0.3);
}

/* ==========================================
   4. SECTIONS & CARDS – PERBAIKAN UTAMA (clip-path)
   ========================================== */
section {
  padding: 100px 30px;
  max-width: 1280px;
  margin: 0 auto;
}
.section-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--accent-green);
  text-transform: uppercase;
  margin-bottom: 15px;
  display: block;
}
.section-title {
  font-family: var(--font-heading);
  font-size: 38px;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 20px;
}
.section-desc { color: var(--text-muted); max-width: 600px; }

/* ABOUT */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.about-text p {
  color: var(--text-muted);
  margin-bottom: 20px;
  font-size: 16px;
}
.about-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent-green);
  font-weight: 700;
  margin-top: 10px;
}
.about-link:hover { gap: 14px; }

/* DESTINATIONS – FOTO TIDAK KOTAK (clip-path & bentuk asimetris) */
.destinations-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.card:hover {
  transform: translateY(-10px);
  background: var(--bg-card-hover);
  border-color: rgba(46, 204, 113, 0.3);
}

/* ---- BAGIAN FOTO DENGAN CLIP-PATH ---- */
.card-img {
  height: 260px;
  position: relative;
  overflow: hidden;
  background-color: var(--bg-card-hover);
  /* Hapus border-radius kotak, kita pakai clip-path */
  clip-path: polygon(0 0, 100% 0, 100% 85%, 80% 100%, 20% 100%, 0 85%);
  /* bentuk dasar seperti gunung / trapesium */
  transition: clip-path 0.5s ease, filter 0.4s ease;
}

/* Variasi bentuk untuk tiap kartu (nth-child) – lebih artistik */
.destinations-grid .card:nth-child(1) .card-img {
  clip-path: polygon(0 0, 100% 0, 90% 70%, 100% 100%, 0 100%, 10% 70%);
  /* bentuk seperti sayap / gelombang */
}
.destinations-grid .card:nth-child(2) .card-img {
  clip-path: polygon(0 20%, 50% 0, 100% 20%, 100% 100%, 0 100%);
  /* bentuk segitiga terbalik di atas */
}
.destinations-grid .card:nth-child(3) .card-img {
  clip-path: ellipse(80% 60% at 50% 50%);
  /* bentuk oval besar */
}

/* Efek hover : bentuk berubah menjadi lebih organik */
.card:hover .card-img {
  clip-path: polygon(5% 0, 95% 0, 100% 60%, 80% 100%, 20% 100%, 0 60%);
  /* bentuk melengkung asimetris */
  filter: contrast(1.15) saturate(1.1);
}

.card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.card:hover .card-img img {
  transform: scale(1.08);
}

/* Overlay gradasi di bawah gambar (biar transisi ke teks halus) */
.card-img::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0) 40%, rgba(11,19,16,0.6) 100%);
  pointer-events: none;
  clip-path: inherit; /* ikuti bentuk clip-path */
}

/* Tag di atas gambar tetap */
.card-tag {
  position: absolute;
  top: 20px;
  left: 20px;
  background: rgba(11, 19, 16, 0.8);
  backdrop-filter: blur(8px);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  color: var(--accent-green);
  border: 1px solid var(--border-color);
  z-index: 2;
}

.tag-inline {
  position: static;
  display: inline-block;
  margin-bottom: 15px;
}

.card-body {
  padding: 30px;
}
.card-body h3 {
  font-family: var(--font-heading);
  font-size: 22px;
  margin-bottom: 12px;
}
.card-body p {
  color: var(--text-muted);
  font-size: 14px;
  margin-bottom: 20px;
}
.card-btn {
  color: var(--accent-green);
  font-weight: 700;
  font-size: 13px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* ACTIVITIES & ARTICLES & CONTACT (tetap) */
.activities-list {
  margin-top: 50px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.activity-item {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 30px;
  border-radius: 16px;
  display: grid;
  grid-template-columns: 80px 1fr;
  align-items: center;
  transition: all 0.3s ease;
}
.activity-item:hover {
  border-color: var(--accent-green);
  background: var(--bg-card-hover);
}
.activity-num {
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 800;
  color: var(--accent-green);
  opacity: 0.8;
}
.activity-content h3 {
  font-size: 20px;
  margin-bottom: 6px;
}
.activity-content p {
  color: var(--text-muted);
  font-size: 14px;
}

.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 60px;
  border-radius: 24px;
}
.contact-desc { color: var(--text-muted); }
.contact-info ul {
  margin-top: 30px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.contact-info li {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.contact-info strong {
  color: var(--text-main);
  font-size: 14px;
}
.contact-info span {
  color: var(--text-muted);
  font-size: 14px;
}
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.form-group label {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
}
.form-group input, 
.form-group textarea {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  padding: 14px;
  border-radius: 8px;
  color: #fff;
  font-family: inherit;
}
.form-group input:focus, 
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent-green);
}
.btn-submit {
  border: none;
  cursor: pointer;
}

/* ==========================================
   5. FOOTER
   ========================================== */
footer {
  border-top: 1px solid var(--border-color);
  padding: 80px 30px 40px;
  background: #070d0a;
}
.footer-container {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 60px;
}
.footer-brand p {
  color: var(--text-muted);
  margin-top: 15px;
  max-width: 320px;
  font-size: 14px;
}
.footer-column h4 {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.footer-column ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-column a {
  color: var(--text-muted);
  font-size: 14px;
}
.footer-column a:hover { color: var(--accent-green); }
.footer-bottom {
  max-width: 1280px;
  margin: 0 auto;
  padding-top: 30px;
  border-top: 1px solid var(--border-color);
  text-align: center;
  color: var(--text-muted);
  font-size: 13px;
}

/* ==========================================
   RESPONSIVE
   ========================================== */
@media (max-width: 992px) {
  .hero h1 { font-size: 48px; }
  .about-grid, 
  .contact-grid, 
  .footer-container { grid-template-columns: 1fr; }
  nav { display: none; }
}