/* ============================================================
   Wisata Rowo Jombor – Custom Stylesheet
   ============================================================ */

:root {
  --green-deep:  #1B6B4A;
  --green-mid:   #2E8B57;
  --blue-lake:   #2E86AB;
  --gold:        #F4A261;
  --cream:       #FAF7F0;
  --dark:        #2D2D2D;
  --text-muted:  #6B7280;
}

* { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--cream);
  color: var(--dark);
}

/* ── TYPOGRAPHY ── */
.display-font { font-family: 'Playfair Display', serif; }

/* ── NAVBAR ── */
.navbar-brand-text {
  font-family: 'Playfair Display', serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: #fff !important;
  letter-spacing: .5px;
}
.navbar {
  background: var(--green-deep) !important;
  box-shadow: 0 2px 16px rgba(27,107,74,.25);
}
.navbar-nav .nav-link {
  color: rgba(255,255,255,.85) !important;
  font-weight: 500;
  font-size: .9rem;
  letter-spacing: .3px;
  padding: .5rem 1rem !important;
  transition: color .2s;
}
.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active { color: var(--gold) !important; }
.navbar-toggler { border-color: rgba(255,255,255,.4); }
.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255,255,255,.85)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* ── SECTION HELPER ── */
section { scroll-margin-top: 72px; }

/* ══════════════════════════════════════
   HOME — CAROUSEL
══════════════════════════════════════ */
#home { padding: 0; }

.carousel-item {
  height: 90vh;
  min-height: 480px;
  position: relative;
  overflow: hidden;
}
.carousel-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(.65);
}
.carousel-caption-custom {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 1rem 2rem;
}
.carousel-caption-custom .eyebrow {
  font-size: .75rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: .75rem;
}
.carousel-caption-custom h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.5rem, 7vw, 5.5rem);
  font-weight: 900;
  color: #fff;
  line-height: 1.1;
  text-shadow: 0 4px 24px rgba(0,0,0,.4);
  margin-bottom: 1rem;
}
.carousel-caption-custom p {
  color: rgba(255,255,255,.88);
  font-size: 1.05rem;
  max-width: 560px;
  line-height: 1.65;
}
.btn-gold {
  background: var(--gold);
  color: var(--dark);
  font-weight: 600;
  border: none;
  padding: .65rem 1.8rem;
  border-radius: 50px;
  transition: transform .2s, box-shadow .2s;
}
.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(244,162,97,.45);
  color: var(--dark);
}
.carousel-indicators [data-bs-target] {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,.6);
  border: none;
}
.carousel-indicators .active { background: var(--gold); }

/* ── INTRO STRIP ── */
.intro-strip {
  background: var(--green-deep);
  color: #fff;
  padding: 3.5rem 0;
}
.intro-strip .stat-number {
  font-family: 'Playfair Display', serif;
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}
.intro-strip .stat-label { font-size: .8rem; letter-spacing: 1px; opacity: .75; }

/* ── CARD ATTRACTIONS ── */
.attractions { padding: 5rem 0; }
.section-title {
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--green-deep);
  position: relative;
  display: inline-block;
}
.section-title::after {
  content: '';
  position: absolute;
  bottom: -8px; left: 0;
  width: 50px; height: 3px;
  background: var(--gold);
  border-radius: 2px;
}
.card-attraction {
  border: none;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,.08);
  transition: transform .3s, box-shadow .3s;
}
.card-attraction:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(0,0,0,.13);
}
.card-attraction .card-img-top {
  height: 220px;
  object-fit: cover;
}
.card-attraction .card-body { padding: 1.4rem; }
.card-attraction .card-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  color: var(--green-deep);
  margin-bottom: .5rem;
}
.card-attraction .card-text { font-size: .875rem; color: var(--text-muted); }
.badge-green {
  background: rgba(27,107,74,.12);
  color: var(--green-deep);
  font-size: .72rem;
  font-weight: 600;
  padding: .3em .7em;
  border-radius: 20px;
}

/* ══════════════════════════════════════
   BERITA
══════════════════════════════════════ */
.news-card {
  border: none;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 3px 16px rgba(0,0,0,.07);
  transition: transform .3s;
}
.news-card:hover { transform: translateY(-4px); }
.news-card .card-img-top { height: 200px; object-fit: cover; }
.news-card .card-body { padding: 1.25rem; }
.news-date {
  font-size: .75rem;
  color: var(--gold);
  font-weight: 600;
  letter-spacing: .5px;
}
.news-card .card-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem;
  color: var(--dark);
  margin: .4rem 0;
}
.news-card .card-text { font-size: .85rem; color: var(--text-muted); }
.btn-outline-green {
  color: var(--green-deep);
  border: 1.5px solid var(--green-deep);
  font-size: .8rem;
  font-weight: 600;
  border-radius: 20px;
  padding: .3rem .9rem;
  transition: all .2s;
}
.btn-outline-green:hover {
  background: var(--green-deep);
  color: #fff;
}
.info-alert {
  border-left: 4px solid var(--blue-lake);
  background: rgba(46,134,171,.08);
  border-radius: 8px;
  padding: 1rem 1.25rem;
  font-size: .875rem;
}

/* ══════════════════════════════════════
   PAKET SEWA PERAHU
══════════════════════════════════════ */
.perahu-card {
  border: none;
  border-radius: 20px;
  overflow: hidden;
  transition: transform .3s, box-shadow .3s;
  background: #fff;
}
.perahu-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 40px rgba(0,0,0,.12);
}
.perahu-card.featured {
  border: 2.5px solid var(--green-deep);
  position: relative;
}
.badge-featured {
  position: absolute;
  top: 1rem; right: 1rem;
  background: var(--green-deep);
  color: #fff;
  font-size: .7rem;
  font-weight: 700;
  padding: .3em .8em;
  border-radius: 20px;
  letter-spacing: .5px;
}
.perahu-icon {
  font-size: 3rem;
  color: var(--blue-lake);
}
.price-tag {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--green-deep);
}
.price-tag span { font-size: 1rem; font-weight: 400; color: var(--text-muted); }
.feature-list li {
  font-size: .875rem;
  padding: .3rem 0;
  color: var(--dark);
  border-bottom: 1px solid rgba(0,0,0,.05);
}
.feature-list li:last-child { border: none; }
.feature-list .bi-check-circle-fill { color: var(--green-mid); }
.feature-list .bi-x-circle { color: #ccc; }
.btn-book {
  background: var(--green-deep);
  color: #fff;
  border: none;
  padding: .6rem 1.5rem;
  border-radius: 50px;
  font-weight: 600;
  width: 100%;
  transition: background .2s, transform .2s;
}
.btn-book:hover { background: #155a3c; transform: translateY(-1px); color: #fff; }
.btn-book-outline {
  background: transparent;
  color: var(--green-deep);
  border: 2px solid var(--green-deep);
  padding: .6rem 1.5rem;
  border-radius: 50px;
  font-weight: 600;
  width: 100%;
  transition: all .2s;
}
.btn-book-outline:hover { background: var(--green-deep); color: #fff; }

/* ══════════════════════════════════════
   KONTAK
══════════════════════════════════════ */
.contact-card {
  border: none;
  border-radius: 16px;
  background: var(--green-deep);
  color: #fff;
  padding: 2.5rem;
}
.contact-card .icon-circle {
  width: 50px; height: 50px;
  border-radius: 50%;
  background: rgba(255,255,255,.15);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}
.contact-form-wrap {
  background: var(--cream);
  border-radius: 16px;
  padding: 2.5rem;
}
.form-control-custom {
  border: 1.5px solid #d1d5db;
  border-radius: 10px;
  padding: .7rem 1rem;
  font-size: .9rem;
  transition: border-color .2s;
  width: 100%;
  background: #fff;
}
.form-control-custom:focus {
  border-color: var(--green-deep);
  box-shadow: 0 0 0 3px rgba(27,107,74,.12);
  outline: none;
}
.form-label-custom {
  font-size: .8rem;
  font-weight: 600;
  color: var(--dark);
  letter-spacing: .3px;
  margin-bottom: .35rem;
  display: block;
}

/* ══════════════════════════════════════
   PETA LOKASI
══════════════════════════════════════ */
.map-container {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0,0,0,.12);
  height: 460px;
}
.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}
.direction-card {
  background: #fff;
  border-radius: 14px;
  padding: 1.4rem;
  border: none;
  box-shadow: 0 3px 16px rgba(0,0,0,.06);
}
.direction-step {
  display: flex;
  gap: .75rem;
  align-items: flex-start;
  padding: .6rem 0;
  border-bottom: 1px solid rgba(0,0,0,.05);
}
.direction-step:last-child { border: none; }
.step-num {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--green-deep);
  color: #fff;
  font-size: .75rem;
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.step-text { font-size: .85rem; color: var(--dark); }

/* ══════════════════════════════════════
   FOOTER
══════════════════════════════════════ */
footer {
  background: var(--dark);
  color: rgba(255,255,255,.75);
  padding: 3rem 0 1.5rem;
}
footer .footer-title {
  font-family: 'Playfair Display', serif;
  color: #fff;
  font-size: 1.2rem;
  margin-bottom: 1rem;
}
footer a { color: rgba(255,255,255,.6); text-decoration: none; font-size: .875rem; }
footer a:hover { color: var(--gold); }
footer ul { list-style: none; padding: 0; margin: 0; }
footer ul li { padding: .25rem 0; }
.footer-divider { border-color: rgba(255,255,255,.1); }
.footer-bottom { font-size: .8rem; opacity: .55; }
.social-link {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,.1);
  display: inline-flex;
  align-items: center; justify-content: center;
  color: #fff;
  text-decoration: none;
  transition: background .2s;
  font-size: 1rem;
}
.social-link:hover { background: var(--gold); color: var(--dark); }

/* ══════════════════════════════════════
   BACK TO TOP
══════════════════════════════════════ */
#backToTop {
  position: fixed;
  bottom: 1.5rem; right: 1.5rem;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--green-deep);
  color: #fff;
  border: none;
  display: none;
  align-items: center; justify-content: center;
  font-size: 1.1rem;
  box-shadow: 0 4px 16px rgba(0,0,0,.2);
  z-index: 999;
  cursor: pointer;
  transition: background .2s;
}
#backToTop:hover { background: #155a3c; }
#backToTop.show { display: flex; }

/* ── Pagination ── */
.pagination .page-link { color: var(--green-deep); }
.pagination .page-item.active .page-link {
  background: var(--green-deep);
  border-color: var(--green-deep);
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .carousel-item { height: 65vh; }
  .intro-strip .stat-number { font-size: 2rem; }
  .contact-form-wrap,
  .contact-card { padding: 1.5rem; }
}
