/* ============================================================
   ARUNA TRANS JOGJA — Global Stylesheet
   File: css/style.css
   ============================================================ */

/* ── VARIABLES ── */
:root {
  --forest:      #1f4d35;
  --forest-dark: #132e1f;
  --leaf:        #3a7d5a;
  --lime:        #5cb87a;
  --terra:       #e07850;
  --terra-dark:  #c05e38;
  --gold:        #f0b429;
  --ink:         #1c1409;
  --ink-mid:     #5c4033;
  --ink-light:   #9a8070;
  --sand:        #fdf8f2;
  --cream:       #fef4e8;
  --white:       #ffffff;
  --shadow:      0 2px 16px rgba(28,20,9,0.07);
  --shadow-lg:   0 8px 40px rgba(28,20,9,0.12);
  --radius:      12px;
}

/* ── RESET & BASE ── */
* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: 'Poppins', sans-serif;
  color: var(--ink);
  background: var(--sand);
  line-height: 1.7;
  padding-top: 64px;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; }

/* ── LAYOUT ── */
.container { max-width: 1060px; margin: 0 auto; padding: 0 24px; }
section { padding: 80px 0; }
.text-center { text-align: center; }

/* ── TYPOGRAPHY ── */
.section-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  font-weight: 700;
  color: var(--ink);
  line-height: 1.2;
  margin-bottom: 32px;
}
.section-title.light { color: var(--white); }
.section-title em { font-style: italic; color: var(--terra); }

.eyebrow {
  display: block;
  font-family: 'Poppins', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--terra);
  margin-bottom: 10px;
}
.eyebrow.light { color: var(--gold); }

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 30px;
  border-radius: 6px;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.2s;
  border: none;
  letter-spacing: 0.3px;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,0.18); }

.btn-wa      { background: #25D366; color: #fff; }
.btn-primary { background: var(--terra); color: #fff; }
.btn-ig      { background: linear-gradient(135deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); color: #fff; }
.btn-outline { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,0.45); border-radius: 6px; }
.btn-outline:hover { background: rgba(255,255,255,0.1); }

/* ── NAVBAR ── */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(19,46,31,0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.navbar-inner {
  max-width: 1060px; margin: 0 auto;
  padding: 10px 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.navbar-brand { display: flex; align-items: center; gap: 12px; color: #fff; }
.navbar-logo { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; border: 2px solid rgba(255,255,255,0.2); }
.navbar-name { font-weight: 700; font-size: 0.95rem; color: #fff; line-height: 1.2; }
.navbar-name span { display: block; font-size: 0.65rem; font-weight: 400; opacity: 0.6; letter-spacing: 1.5px; text-transform: uppercase; }
.navbar-wa { padding: 8px 18px; font-size: 0.82rem; white-space: nowrap; border-radius: 6px; }

/* ── HERO ── */
.hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden; background: #0f3020;
}
.hero-video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: center; z-index: 0;
}
.hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(160deg, rgba(10,35,20,0.45) 0%, rgba(10,30,18,0.68) 100%);
}
.hero-content {
  position: relative; z-index: 2;
  max-width: 740px; padding: 60px 28px;
  text-align: center; color: #fff;
}
.hero-logo {
  width: 88px; height: 88px; border-radius: 50%; object-fit: cover;
  border: 3px solid rgba(255,255,255,0.3);
  margin-bottom: 24px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.4);
}
.hero h1 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(2.2rem, 5.5vw, 3.8rem);
  font-weight: 800; line-height: 1.15; margin-bottom: 18px;
  text-shadow: 0 2px 20px rgba(0,0,0,0.5);
  letter-spacing: -0.5px;
}
.hero-sub {
  font-size: 1rem; opacity: 0.88; margin-bottom: 32px;
  text-shadow: 0 1px 8px rgba(0,0,0,0.4); line-height: 1.8;
}
.hero-bullets {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 10px; margin-bottom: 36px;
}
.hero-bullets span {
  background: rgba(255,255,255,0.11);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: 4px;
  padding: 7px 16px;
  font-size: 0.82rem; font-weight: 500;
}
.hero-ctas { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

.hero-scroll {
  position: absolute; bottom: 32px; left: 50%;
  transform: translateX(-50%); z-index: 2;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  color: rgba(255,255,255,0.4); font-size: 0.65rem; letter-spacing: 2.5px;
  text-transform: uppercase;
  animation: bounce 2.5s ease-in-out infinite;
}
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(9px); }
}

/* ── STATS STRIP ── */
.stats-strip { background: var(--forest); }
.stats-inner {
  max-width: 1060px; margin: 0 auto; padding: 0 24px;
  display: grid; grid-template-columns: repeat(4, 1fr); text-align: center;
}
.stat {
  padding: 30px 16px;
  border-right: 1px solid rgba(255,255,255,0.08);
  display: flex; flex-direction: column; align-items: center; gap: 5px;
  color: #fff;
}
.stat:last-child { border-right: none; }
.stat-n {
  font-family: 'Playfair Display', serif;
  font-size: 2.1rem; font-weight: 700;
  color: var(--gold); line-height: 1;
}
.stat-l { font-size: 0.68rem; letter-spacing: 1.8px; text-transform: uppercase; opacity: 0.55; }

/* ── TICKER ── */
.ticker-wrap { background: var(--terra); overflow: hidden; padding: 11px 0; }
.ticker {
  display: flex;
  animation: ticker-scroll 35s linear infinite;
  width: max-content;
}
.ticker:hover { animation-play-state: paused; }
.ticker span {
  color: rgba(255,255,255,0.88);
  font-size: 0.72rem; font-weight: 700;
  letter-spacing: 1.5px; text-transform: uppercase;
  padding: 0 26px; white-space: nowrap;
  border-right: 1px solid rgba(255,255,255,0.2);
}
@keyframes ticker-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ── INTRO ── */
.intro { background: var(--white); padding: 80px 0; }
.intro-inner {
  max-width: 1060px; margin: 0 auto; padding: 0 24px;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 72px; align-items: center;
}
.intro-text .section-title { text-align: left; margin-bottom: 20px; }
.intro-text p { font-size: 0.96rem; color: var(--ink-mid); line-height: 1.9; }
.intro-text p + p { margin-top: 14px; }
.intro-stat-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
}
.intro-stat-card {
  background: var(--sand);
  border-radius: var(--radius);
  padding: 24px 20px;
  border-bottom: 3px solid var(--terra);
  transition: transform 0.2s;
}
.intro-stat-card:hover { transform: translateY(-3px); }
.intro-stat-card .n {
  font-family: 'Playfair Display', serif;
  font-size: 2rem; font-weight: 700;
  color: var(--forest); display: block; line-height: 1;
}
.intro-stat-card .l {
  font-size: 0.74rem; color: var(--ink-light);
  margin-top: 5px; display: block; letter-spacing: 0.5px;
}

/* ── BENEFITS ── */
.benefits { background: var(--sand); }
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid #e5ddd4;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
}
.benefit-card {
  padding: 32px 26px;
  border-right: 1px solid #e5ddd4;
  border-bottom: 1px solid #e5ddd4;
  display: flex; flex-direction: column; gap: 12px;
  transition: background 0.2s;
  position: relative; overflow: hidden;
}
.benefit-card:hover { background: var(--cream); }
.benefit-num {
  font-family: 'Playfair Display', serif;
  font-size: 4rem; font-weight: 700;
  color: var(--terra);
  opacity: 0.1;
  position: absolute; top: 8px; right: 16px;
  line-height: 1; pointer-events: none;
}
.benefit-icon { font-size: 1.5rem; line-height: 1; }
.benefit-card h3 { font-size: 0.93rem; font-weight: 700; color: var(--forest); }
.benefit-card p { font-size: 0.82rem; color: var(--ink-light); line-height: 1.65; }

/* ── PACKAGES ── */
.packages { background: var(--white); }
.tab-nav {
  display: flex; flex-wrap: nowrap; gap: 0;
  margin-bottom: 48px;
  background: var(--sand);
  border-radius: var(--radius);
  border: 1px solid #e5ddd4;
  overflow: hidden;
  max-width: 480px;
  margin-left: auto; margin-right: auto;
}
.tab-btn {
  flex: 1; padding: 12px 16px;
  border: none; border-right: 1px solid #e5ddd4;
  background: transparent;
  color: var(--ink-mid);
  font-family: 'Poppins', sans-serif;
  font-size: 0.82rem; font-weight: 600;
  cursor: pointer; transition: all 0.2s; white-space: nowrap;
}
.tab-btn:last-child { border-right: none; }
.tab-btn.active { background: var(--forest); color: #fff; }
.tab-btn:hover:not(.active) { background: var(--cream); color: var(--forest); }

.tab-panel { display: none; }
.tab-panel.active { display: block; }

.city-label {
  text-align: center; font-size: 0.84rem;
  color: var(--ink-light); margin-bottom: 28px; font-style: italic;
}
.packages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 24px;
}

/* Ticket-style package card */
.pkg-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex; flex-direction: column;
  border: 1px solid #e5ddd4;
  transition: transform 0.25s, box-shadow 0.25s;
  position: relative;
}
.pkg-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.pkg-card::before {
  content: '';
  position: absolute; left: 0; top: 0; bottom: 0;
  width: 4px;
  background: linear-gradient(to bottom, var(--leaf), var(--terra));
}
.pkg-header {
  padding: 20px 20px 16px 24px;
  border-bottom: 1px dashed #ddd4c8;
}
.pkg-code {
  font-size: 0.63rem; font-weight: 700;
  letter-spacing: 2.5px; text-transform: uppercase;
  color: var(--terra); margin-bottom: 4px;
}
.pkg-header h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1rem; font-weight: 700;
  color: var(--ink); line-height: 1.35;
}
.pkg-body { padding: 16px 20px 16px 24px; flex: 1; }
.pkg-spots { list-style: none; display: flex; flex-direction: column; gap: 7px; }
.pkg-spots li {
  font-size: 0.83rem; color: var(--ink-mid);
  display: flex; align-items: flex-start; gap: 10px;
}
.pkg-spots li::before {
  content: '→';
  color: var(--leaf); flex-shrink: 0;
  font-weight: 700; font-size: 0.78rem; margin-top: 2px;
}
.pkg-footer {
  padding: 14px 20px 18px 24px;
  border-top: 1px dashed #ddd4c8;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 10px;
  background: var(--sand);
}
.pkg-price { font-size: 1.3rem; font-weight: 800; color: var(--forest); }
.pkg-price span { display: block; font-size: 0.67rem; font-weight: 400; color: var(--ink-light); }
.pkg-price.ask { font-size: 0.88rem; color: var(--ink-light); }
.btn-book {
  background: var(--forest); color: #fff;
  padding: 9px 18px; border-radius: 6px;
  font-size: 0.82rem; font-weight: 700;
  display: inline-flex; align-items: center; gap: 6px;
  transition: all 0.2s; cursor: pointer;
  border: none; font-family: 'Poppins', sans-serif;
}
.btn-book:hover { background: var(--terra); transform: scale(1.03); }

/* ── FACILITIES ── */
.facilities { background: var(--cream); }
.two-col { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 28px; }
.list-card { background: var(--white); border-radius: var(--radius); padding: 32px 28px; box-shadow: var(--shadow); }
.list-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem; font-weight: 700;
  margin-bottom: 20px; color: var(--ink);
}
.list-card ul { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.list-card ul li { font-size: 0.87rem; color: var(--ink-mid); display: flex; gap: 12px; align-items: flex-start; }
.list-card.includes-card ul li::before { content: '✓'; flex-shrink: 0; color: var(--leaf); font-weight: 700; font-size: 1rem; }
.list-card.excludes-card ul li::before { content: '✕'; flex-shrink: 0; color: var(--terra); font-weight: 700; font-size: 1rem; }

/* ── ITINERARY (dark inverted) ── */
.itinerary { background: var(--forest-dark); color: #fff; }
.itinerary .section-title { color: #fff; }
.timeline {
  max-width: 680px; margin: 0 auto;
  position: relative; padding-left: 28px;
}
.timeline::before {
  content: ''; position: absolute;
  left: 0; top: 0; bottom: 0; width: 2px;
  background: linear-gradient(to bottom, var(--lime), var(--terra));
  border-radius: 2px;
}
.tl-item { position: relative; margin-bottom: 28px; padding-left: 24px; }
.tl-item::before {
  content: ''; position: absolute;
  left: -32px; top: 7px;
  width: 12px; height: 12px;
  background: var(--terra); border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(224,120,80,0.2);
}
.tl-time {
  font-size: 0.68rem; font-weight: 700;
  color: var(--gold); text-transform: uppercase;
  letter-spacing: 1.5px; margin-bottom: 2px;
}
.tl-item p { font-size: 0.9rem; color: rgba(255,255,255,0.72); line-height: 1.7; }
.itinerary-note { text-align: center; font-size: 0.77rem; color: rgba(255,255,255,0.3); margin-top: 28px; font-style: italic; }

/* ── TERMS ── */
.terms { background: var(--white); }
.terms-card {
  max-width: 720px; margin: 0 auto;
  background: var(--sand); border-radius: var(--radius);
  padding: 32px 28px; box-shadow: var(--shadow);
  border-left: 4px solid var(--terra);
}
.terms-list { list-style: none; display: flex; flex-direction: column; gap: 16px; }
.terms-list li { display: flex; gap: 12px; font-size: 0.87rem; color: var(--ink-mid); line-height: 1.65; }
.terms-list li .pin { flex-shrink: 0; color: var(--terra); }

/* ── FAQ ── */
.faq { background: var(--sand); }
.faq-list { max-width: 760px; margin: 0 auto; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.faq-item { background: var(--white); border-bottom: 1px solid #e8e0d4; overflow: hidden; }
.faq-item:last-child { border-bottom: none; }
.faq-q {
  padding: 20px 24px;
  font-weight: 600; font-size: 0.92rem;
  cursor: pointer; display: flex; justify-content: space-between; align-items: center;
  user-select: none; color: var(--ink); transition: background 0.2s;
}
.faq-q:hover { background: var(--cream); }
.faq-q::after { content: '+'; font-size: 1.5rem; font-weight: 300; color: var(--terra); transition: transform 0.25s; flex-shrink: 0; margin-left: 16px; }
.faq-item.open .faq-q { color: var(--forest); background: var(--cream); }
.faq-item.open .faq-q::after { transform: rotate(45deg); }
.faq-a {
  max-height: 0; overflow: hidden;
  transition: max-height 0.35s ease, padding 0.25s;
  font-size: 0.87rem; color: var(--ink-mid); line-height: 1.8; padding: 0 24px;
  border-top: 1px solid transparent;
}
.faq-item.open .faq-a { max-height: 400px; padding: 16px 24px 20px; border-top-color: #e8e0d4; }

/* ── CONTACT ── */
.contact {
  background: var(--forest); color: #fff; text-align: center;
  position: relative; overflow: hidden;
}
.contact::before {
  content: '';
  position: absolute; top: -80px; right: -80px;
  width: 380px; height: 380px;
  background: radial-gradient(circle, rgba(240,180,41,0.09), transparent 70%);
  border-radius: 50%; pointer-events: none;
}
.contact::after {
  content: '';
  position: absolute; bottom: -60px; left: -60px;
  width: 280px; height: 280px;
  background: radial-gradient(circle, rgba(224,120,80,0.07), transparent 70%);
  border-radius: 50%; pointer-events: none;
}
.contact .section-title { color: #fff; }
.contact > .container > p { opacity: 0.78; margin-bottom: 36px; font-size: 0.97rem; }
.contact-btns { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.contact-info {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 28px; margin-top: 48px; padding-top: 36px;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.contact-info a { font-size: 0.86rem; opacity: 0.6; display: flex; align-items: center; gap: 8px; transition: opacity 0.2s; }
.contact-info a:hover { opacity: 1; }

/* ── FOOTER ── */
footer { background: var(--forest-dark); color: rgba(255,255,255,0.4); text-align: center; padding: 36px 20px; font-size: 0.79rem; }
.footer-inner { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.footer-logo { width: 54px; height: 54px; border-radius: 50%; object-fit: cover; border: 2px solid rgba(255,255,255,0.12); opacity: 0.7; }
footer strong { color: rgba(255,255,255,0.72); }
footer a { color: rgba(255,255,255,0.45); }
footer p + p { margin-top: 4px; }

/* ── FLOATING WA ── */
.float-wa {
  position: fixed; bottom: 28px; right: 28px; z-index: 999;
  background: #25D366; color: #fff;
  width: 54px; height: 54px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.45rem;
  box-shadow: 0 4px 20px rgba(37,211,102,0.4);
  transition: all 0.2s;
}
.float-wa:hover { transform: scale(1.1); box-shadow: 0 6px 28px rgba(37,211,102,0.58); }

/* ── SCROLL REVEAL ── */
[data-reveal] {
  opacity: 0; transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
[data-reveal].revealed { opacity: 1; transform: translateY(0); }
[data-reveal="1"] { transition-delay: 0.1s; }
[data-reveal="2"] { transition-delay: 0.2s; }
[data-reveal="3"] { transition-delay: 0.3s; }
[data-reveal="4"] { transition-delay: 0.4s; }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .benefits-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .intro-inner { grid-template-columns: 1fr; gap: 36px; }
  .intro-text .section-title { text-align: center; }
  .stats-inner { grid-template-columns: repeat(2, 1fr); }
  .stat { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.08); }
  .stat:nth-child(odd) { border-right: 1px solid rgba(255,255,255,0.08); }
  .stat:nth-last-child(-n+2) { border-bottom: none; }
}
@media (max-width: 600px) {
  section { padding: 56px 0; }
  .benefits-grid { grid-template-columns: 1fr; }
  .timeline { padding-left: 18px; }
  .tl-item::before { left: -24px; }
  .tab-nav { max-width: 100%; }
  .tab-btn { font-size: 0.78rem; padding: 11px 10px; }
}
