/* Coral Dive Nusantara — Deep Ocean Style */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --primary: #003f5c;
  --primary-dark: #002b3f;
  --primary-light: #005a82;
  --accent: #00b4d8;
  --accent-light: #48cae4;
  --accent-dark: #0077a8;
  --surface: #0a2540;
  --surface2: #0d2d4a;
  --text: #e0f4ff;
  --text-muted: #90bcd4;
  --white: #ffffff;
  --gold: #f0c040;
  --coral: #ff6b6b;
  --green-ok: #56cf8b;
  --red-x: #ff6b6b;
  --radius: 12px;
  --shadow: 0 4px 24px rgba(0,0,0,0.4);
}

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: var(--primary-dark);
  color: var(--text);
  line-height: 1.6;
  font-size: 16px;
}

/* ── NAVBAR ── */
nav {
  background: rgba(0, 27, 43, 0.97);
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(0,180,216,0.2);
}

.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.nav-logo {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--accent);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
  letter-spacing: -0.3px;
}

.nav-logo span { color: var(--white); }

#nav-toggle { display: none; }
.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}
.nav-burger i {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
  transition: all 0.3s;
}

.nav-links {
  display: flex;
  gap: 4px;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-muted);
  padding: 6px 14px;
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s, background 0.2s;
}

.nav-links a:hover, .nav-links a.active {
  color: var(--accent);
  background: rgba(0,180,216,0.1);
}

/* ── HERO ── */
.hero {
  min-height: 88vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(160deg, #001a2e 0%, #003f5c 45%, #005a82 80%, #0077a8 100%);
}

/* underwater bubble deco */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 600px 300px at 20% 70%, rgba(0,180,216,0.12) 0%, transparent 70%),
    radial-gradient(ellipse 400px 400px at 80% 30%, rgba(0,90,130,0.3) 0%, transparent 60%);
  pointer-events: none;
}

/* animated bubbles */
.bubbles {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.bubble {
  position: absolute;
  bottom: -60px;
  border-radius: 50%;
  background: rgba(0,180,216,0.15);
  border: 1px solid rgba(0,180,216,0.25);
  animation: rise linear infinite;
}

.bubble:nth-child(1) { width:20px;height:20px;left:10%;animation-duration:8s;animation-delay:0s; }
.bubble:nth-child(2) { width:12px;height:12px;left:25%;animation-duration:11s;animation-delay:2s; }
.bubble:nth-child(3) { width:30px;height:30px;left:40%;animation-duration:9s;animation-delay:4s; }
.bubble:nth-child(4) { width:8px;height:8px;left:60%;animation-duration:13s;animation-delay:1s; }
.bubble:nth-child(5) { width:18px;height:18px;left:75%;animation-duration:10s;animation-delay:3s; }
.bubble:nth-child(6) { width:14px;height:14px;left:88%;animation-duration:12s;animation-delay:5s; }

@keyframes rise {
  0% { transform: translateY(0) translateX(0); opacity:0.8; }
  50% { transform: translateY(-50vh) translateX(15px); opacity:0.5; }
  100% { transform: translateY(-110vh) translateX(-10px); opacity:0; }
}

.hero-content { position: relative; z-index: 1; max-width: 720px; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0,180,216,0.15);
  border: 1px solid rgba(0,180,216,0.4);
  color: var(--accent-light);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 24px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.4rem);
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 20px;
  color: var(--white);
}

.hero h1 em {
  font-style: normal;
  color: var(--accent);
  text-shadow: 0 0 30px rgba(0,180,216,0.5);
}

.hero p {
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  color: var(--text-muted);
  margin-bottom: 36px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.hero-btns {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.25s;
}

.btn-primary {
  background: var(--accent);
  color: var(--primary-dark);
}
.btn-primary:hover { background: var(--accent-light); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,180,216,0.4); }

.btn-outline {
  background: transparent;
  color: var(--accent);
  border-color: var(--accent);
}
.btn-outline:hover { background: rgba(0,180,216,0.1); transform: translateY(-2px); }

.btn-wa {
  background: #25d366;
  color: #fff;
}
.btn-wa:hover { background: #1db954; transform: translateY(-2px); }

/* ── SECTIONS ── */
section { padding: 80px 20px; }

.container { max-width: 1100px; margin: 0 auto; }

.section-label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}

.section-title {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 14px;
  line-height: 1.2;
}

.section-sub {
  color: var(--text-muted);
  font-size: 1rem;
  max-width: 560px;
  margin-bottom: 48px;
}

/* ── FEATURE CARDS ── */
.features { background: var(--surface); }

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.card {
  background: var(--surface2);
  border: 1px solid rgba(0,180,216,0.12);
  border-radius: var(--radius);
  padding: 28px;
  transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
}

.card:hover {
  transform: translateY(-4px);
  border-color: rgba(0,180,216,0.4);
  box-shadow: 0 8px 32px rgba(0,180,216,0.12);
}

.card-icon {
  width: 52px;
  height: 52px;
  background: rgba(0,180,216,0.12);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
}

.card p { color: var(--text-muted); font-size: 0.92rem; }

/* ── PAKET PREVIEW ── */
.pakets { background: var(--primary-dark); }

.paket-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.paket-card {
  background: var(--surface);
  border: 1px solid rgba(0,180,216,0.15);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.25s, box-shadow 0.25s;
}

.paket-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,180,216,0.15);
}

.paket-card.featured {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px rgba(0,180,216,0.3);
}

.paket-visual {
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.paket-body { padding: 24px; }

.paket-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 3px 10px;
  border-radius: 50px;
  margin-bottom: 10px;
}

.badge-popular { background: rgba(0,180,216,0.2); color: var(--accent); }
.badge-best { background: rgba(240,192,64,0.2); color: var(--gold); }
.badge-adv { background: rgba(255,107,107,0.2); color: var(--coral); }

.paket-body h3 { font-size: 1.15rem; font-weight: 800; color: var(--white); margin-bottom: 6px; }
.paket-body .dur { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 14px; }
.paket-body .harga { font-size: 1.5rem; font-weight: 900; color: var(--accent); margin-bottom: 4px; }
.paket-body .per { font-size: 0.8rem; color: var(--text-muted); margin-bottom: 20px; }

/* ── DESTINASI ── */
.destinasi { background: var(--surface); }

.dest-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.dest-card {
  background: var(--primary-dark);
  border: 1px solid rgba(0,180,216,0.1);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.25s, box-shadow 0.25s;
}

.dest-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 36px rgba(0,0,0,0.4);
}

.dest-visual {
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.dest-body { padding: 20px; }
.dest-body h3 { font-size: 1.05rem; font-weight: 700; color: var(--white); margin-bottom: 6px; }
.dest-body p { font-size: 0.88rem; color: var(--text-muted); margin-bottom: 12px; }

.tag {
  display: inline-block;
  font-size: 0.72rem;
  padding: 3px 8px;
  border-radius: 4px;
  background: rgba(0,180,216,0.12);
  color: var(--accent-light);
  margin: 2px;
}

/* ── GALERI ── */
.galeri { background: var(--primary-dark); }

.galeri-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
}

.galeri-item {
  border-radius: 10px;
  overflow: hidden;
  aspect-ratio: 4/3;
  cursor: pointer;
  position: relative;
  transition: transform 0.25s;
}

.galeri-item:hover { transform: scale(1.03); }

.galeri-item .caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 10px 14px;
  background: linear-gradient(transparent, rgba(0,0,0,0.7));
  color: #fff;
  font-size: 0.82rem;
  font-weight: 600;
}

/* ── TESTIMONI ── */
.testimoni { background: var(--surface); }

.testi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.testi-card {
  background: var(--surface2);
  border: 1px solid rgba(0,180,216,0.1);
  border-radius: var(--radius);
  padding: 28px;
}

.stars { color: var(--gold); font-size: 1rem; margin-bottom: 14px; letter-spacing: 2px; }
.testi-text { color: var(--text-muted); font-size: 0.95rem; line-height: 1.7; margin-bottom: 20px; font-style: italic; }
.testi-author { display: flex; align-items: center; gap: 12px; }

.avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1rem;
  flex-shrink: 0;
}

.testi-author strong { display: block; color: var(--white); font-size: 0.9rem; }
.testi-author span { font-size: 0.8rem; color: var(--text-muted); }

/* ── CTA BAND ── */
.cta-band {
  background: linear-gradient(135deg, var(--accent-dark) 0%, var(--accent) 100%);
  padding: 64px 20px;
  text-align: center;
}

.cta-band h2 { font-size: clamp(1.6rem, 3.5vw, 2.2rem); font-weight: 900; color: var(--primary-dark); margin-bottom: 14px; }
.cta-band p { color: rgba(0,27,43,0.75); margin-bottom: 32px; font-size: 1rem; }
.cta-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ── STATS ── */
.stats-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 24px;
  margin-top: 60px;
}

.stat-box {
  text-align: center;
  padding: 28px 16px;
  background: rgba(0,180,216,0.06);
  border: 1px solid rgba(0,180,216,0.15);
  border-radius: var(--radius);
}

.stat-box .num { font-size: 2rem; font-weight: 900; color: var(--accent); }
.stat-box .label { font-size: 0.85rem; color: var(--text-muted); margin-top: 4px; }

/* ── INCLUDE/EXCLUDE LIST ── */
.incl-list { list-style: none; margin-bottom: 10px; }
.incl-list li { font-size: 0.85rem; color: var(--text-muted); padding: 3px 0; display: flex; align-items: flex-start; gap: 8px; }
.incl-list li::before { content: '✓'; color: var(--green-ok); font-weight: 700; flex-shrink: 0; }
.excl-list { list-style: none; }
.excl-list li { font-size: 0.85rem; color: var(--text-muted); padding: 3px 0; display: flex; align-items: flex-start; gap: 8px; }
.excl-list li::before { content: '✗'; color: var(--red-x); font-weight: 700; flex-shrink: 0; }

/* ── KONTAK ── */
.kontak-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

@media (max-width: 768px) { .kontak-wrap { grid-template-columns: 1fr; } }

.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 0.88rem; color: var(--text-muted); margin-bottom: 6px; font-weight: 600; }
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  background: var(--surface2);
  border: 1px solid rgba(0,180,216,0.2);
  color: var(--white);
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 0.95rem;
  font-family: inherit;
  transition: border-color 0.2s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--accent);
}

.form-group select option { background: var(--surface2); }
.form-group textarea { resize: vertical; min-height: 120px; }

.info-card {
  background: var(--surface2);
  border: 1px solid rgba(0,180,216,0.12);
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 20px;
}

.info-card h4 { font-size: 0.9rem; font-weight: 700; color: var(--accent); margin-bottom: 12px; text-transform: uppercase; letter-spacing: 1px; }
.info-card p { font-size: 0.9rem; color: var(--text-muted); line-height: 1.7; }

.map-placeholder {
  background: var(--surface2);
  border: 1px solid rgba(0,180,216,0.12);
  border-radius: var(--radius);
  height: 200px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--text-muted);
  font-size: 0.88rem;
}

/* ── FOOTER ── */
footer {
  background: #000d18;
  padding: 48px 20px 24px;
  border-top: 1px solid rgba(0,180,216,0.12);
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

@media (max-width: 768px) { .footer-grid { grid-template-columns: 1fr; gap: 24px; } }

.footer-brand { max-width: 280px; }
.footer-brand p { font-size: 0.88rem; color: var(--text-muted); margin-top: 10px; line-height: 1.7; }

.footer-col h5 { font-size: 0.85rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--accent); margin-bottom: 14px; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul li a { color: var(--text-muted); text-decoration: none; font-size: 0.88rem; transition: color 0.2s; }
.footer-col ul li a:hover { color: var(--accent); }

.footer-bottom {
  border-top: 1px solid rgba(0,180,216,0.08);
  padding-top: 20px;
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ── PAGE HEADER ── */
.page-header {
  background: linear-gradient(135deg, #001a2e 0%, #003f5c 100%);
  padding: 64px 20px 48px;
  text-align: center;
  border-bottom: 1px solid rgba(0,180,216,0.15);
}

.page-header h1 { font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 900; color: var(--white); margin-bottom: 10px; }
.page-header p { color: var(--text-muted); font-size: 1rem; }

/* ── BREADCRUMB ── */
.breadcrumb {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 16px;
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: center;
}
.breadcrumb a { color: var(--accent); text-decoration: none; }

/* ── RESPONSIVE NAV ── */
@media (max-width: 768px) {
  .nav-burger { display: flex; }

  .nav-links {
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: rgba(0,20,36,0.98);
    flex-direction: column;
    padding: 16px;
    gap: 4px;
    border-bottom: 1px solid rgba(0,180,216,0.15);
    transform: scaleY(0);
    transform-origin: top;
    transition: transform 0.25s;
    pointer-events: none;
  }

  #nav-toggle:checked ~ .nav-links {
    transform: scaleY(1);
    pointer-events: all;
  }

  #nav-toggle:checked + .nav-burger i:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
  #nav-toggle:checked + .nav-burger i:nth-child(2) { opacity: 0; }
  #nav-toggle:checked + .nav-burger i:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

  .nav-links a { display: block; padding: 10px 16px; }

  section { padding: 56px 20px; }
  .hero { min-height: 75vh; }

  .paket-grid { grid-template-columns: 1fr; }
  .dest-grid { grid-template-columns: 1fr; }
  .galeri-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ── UTILITY ── */
.text-center { text-align: center; }
.mt-40 { margin-top: 40px; }
.divider { border: none; border-top: 1px solid rgba(0,180,216,0.1); margin: 48px 0; }

/* ── WAVE SEPARATOR ── */
.wave-top {
  width: 100%;
  overflow: hidden;
  line-height: 0;
}
