/* Project Mabua — Ceriago Travel Bali */
/* Pure CSS — No framework, SEO optimized */

:root {
  --primary: #C8A45C;
  --primary-dark: #A8863A;
  --secondary: #2D2D2D;
  --bg: #FAF7F2;
  --bg-dark: #1A1A1A;
  --text: #333;
  --text-light: #777;
  --white: #FFF;
  --success: #28A745;
  --shadow: 0 4px 20px rgba(0,0,0,0.08);
  --radius: 12px;
  --font: 'Segoe UI', system-ui, -apple-system, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

/* ─── Top Bar ─── */
.topbar {
  background: var(--secondary);
  color: #ccc;
  font-size: 0.8rem;
  padding: 6px 0;
  text-align: center;
}
.topbar a { color: var(--primary); text-decoration: none; }
.topbar span { margin: 0 12px; }

/* ─── Header ─── */
.header {
  background: var(--white);
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  position: sticky;
  top: 0;
  z-index: 100;
}
.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo { font-size: 1.4rem; font-weight: 800; color: var(--secondary); text-decoration: none; }
.logo span { color: var(--primary); }
.nav a {
  color: var(--text);
  text-decoration: none;
  margin-left: 24px;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s;
}
.nav a:hover, .nav a.active { color: var(--primary); }
.hamburger { display: none; flex-direction: column; cursor: pointer; gap: 4px; }
.hamburger span { width: 24px; height: 2px; background: var(--secondary); }

/* ─── Hero ─── */
.hero {
  height: 85vh;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--white);
  position: relative;
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="rgba(255,255,255,0.03)" d="M0,160L48,176C96,192,192,224,288,213.3C384,203,480,149,576,138.7C672,128,768,160,864,186.7C960,213,1056,235,1152,218.7C1248,203,1344,149,1392,122.7L1440,96L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"/></svg>') no-repeat bottom;
  background-size: cover;
  opacity: 0.5;
}
.hero-content { position: relative; z-index: 1; max-width: 700px; padding: 0 20px; }
.hero h1 { font-size: 3rem; margin-bottom: 16px; line-height: 1.2; }
.hero h1 span { color: var(--primary); }
.hero p { font-size: 1.1rem; margin-bottom: 32px; opacity: 0.9; }
.hero-badge {
  display: inline-block;
  background: rgba(200, 164, 92, 0.2);
  border: 1px solid var(--primary);
  color: var(--primary);
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.85rem;
  margin-bottom: 20px;
}

/* ─── Buttons ─── */
.btn {
  display: inline-block;
  padding: 14px 36px;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s;
  font-size: 1rem;
  cursor: pointer;
  border: none;
}
.btn-primary { background: var(--primary); color: var(--white); }
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-outline { border: 2px solid var(--white); color: var(--white); background: transparent; }
.btn-outline:hover { background: var(--white); color: var(--secondary); }
.btn-wa { background: #25D366; color: var(--white); }
.btn-wa:hover { background: #1DA851; }
.btn-secondary { background: var(--secondary); color: var(--white); }
.btn-secondary:hover { background: #444; }

/* ─── Sections ─── */
.section { padding: 80px 20px; }
.section-dark { background: var(--secondary); color: var(--white); }
.section-light { background: var(--white); }
.container { max-width: 1200px; margin: 0 auto; }
.section-title {
  text-align: center;
  margin-bottom: 48px;
}
.section-title h2 { font-size: 2.2rem; color: var(--secondary); margin-bottom: 12px; }
.section-title p { color: var(--text-light); max-width: 600px; margin: 0 auto; }
.section-dark .section-title h2 { color: var(--white); }
.section-dark .section-title p { color: #aaa; }
.section-subtitle {
  display: inline-block;
  background: rgba(200, 164, 92, 0.15);
  color: var(--primary-dark);
  padding: 4px 14px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 12px;
}

/* ─── Stats ─── */
.stats { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; text-align: center; }
.stat-number { font-size: 2.5rem; font-weight: 800; color: var(--primary); }
.stat-label { font-size: 0.85rem; color: var(--text-light); margin-top: 4px; }
.section-dark .stat-label { color: #aaa; }

/* ─── Package Cards ─── */
.packages { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 24px; }
.package-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.3s;
}
.package-card:hover { transform: translateY(-4px); }
.package-img {
  height: 220px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: rgba(255,255,255,0.5);
}
.package-body { padding: 24px; }
.package-body h3 { font-size: 1.3rem; margin-bottom: 8px; color: var(--secondary); }
.package-body p { font-size: 0.9rem; color: var(--text-light); margin-bottom: 16px; }
.package-price { font-size: 1.5rem; font-weight: 800; color: var(--primary); margin-bottom: 12px; }
.package-price small { font-size: 0.8rem; font-weight: 400; color: var(--text-light); }
.package-meta { display: flex; gap: 16px; margin-bottom: 16px; font-size: 0.85rem; color: var(--text-light); }
.package-meta span::before { content: '✓ '; color: var(--success); }
.package-meta i { margin-right: 4px; }

/* ─── Features Grid ─── */
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px,1fr)); gap: 24px; }
.feature-card {
  background: var(--white);
  padding: 32px;
  border-radius: var(--radius);
  text-align: center;
  box-shadow: var(--shadow);
}
.feature-icon { font-size: 2.5rem; margin-bottom: 12px; }
.feature-card h3 { font-size: 1.1rem; margin-bottom: 8px; }
.feature-card p { font-size: 0.85rem; color: var(--text-light); }

/* ─── Testimonials ─── */
.testimonials { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px,1fr)); gap: 24px; }
.testimonial-card {
  background: var(--white);
  padding: 24px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  position: relative;
}
.testimonial-card::before { content: '"'; font-size: 3rem; color: var(--primary); opacity: 0.3; position: absolute; top: 8px; left: 16px; }
.testimonial-card p { font-style: italic; margin-bottom: 12px; color: #555; }
.testimonial-author { font-weight: 600; font-size: 0.85rem; color: var(--primary-dark); }

/* ─── FAQ ─── */
.faq-list { max-width: 700px; margin: 0 auto; }
.faq-item {
  background: var(--white);
  border-radius: 8px;
  margin-bottom: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
.faq-q {
  padding: 16px 20px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq-q::after { content: '+'; font-size: 1.2rem; color: var(--primary); }
.faq-q.active::after { content: '−'; }
.faq-a {
  padding: 0 20px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s;
  font-size: 0.9rem;
  color: #555;
}
.faq-a.open { padding: 0 20px 16px; max-height: 200px; }

/* ─── Contact Form ─── */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.contact-info h3 { margin-bottom: 16px; }
.contact-info p { margin-bottom: 12px; color: var(--text-light); }
.contact-info strong { color: var(--text); }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-weight: 500; margin-bottom: 6px; font-size: 0.9rem; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 0.95rem;
  font-family: var(--font);
  transition: border-color 0.2s;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
}

/* ─── Gallery ─── */
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px,1fr)); gap: 16px; }
.gallery-item {
  height: 240px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.6);
  font-size: 2rem;
  cursor: pointer;
  transition: transform 0.3s;
  position: relative;
  overflow: hidden;
}
.gallery-item:hover { transform: scale(1.02); }
.gallery-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 8px 12px;
  background: rgba(0,0,0,0.6);
  color: white;
  font-size: 0.8rem;
}

/* ─── Breadcrumbs ─── */
.breadcrumbs {
  background: var(--white);
  padding: 12px 0;
  border-bottom: 1px solid #eee;
  font-size: 0.85rem;
}
.breadcrumbs a { color: var(--primary); text-decoration: none; }
.breadcrumbs span { color: var(--text-light); }

/* ─── Page Hero (inner) ─── */
.page-hero {
  padding: 80px 20px;
  background: linear-gradient(135deg, #2D2D2D 0%, #1a1a2e 100%);
  color: var(--white);
  text-align: center;
}
.page-hero h1 { font-size: 2.5rem; margin-bottom: 12px; }
.page-hero p { opacity: 0.8; max-width: 600px; margin: 0 auto; }

/* ─── Itinerary ─── */
.itinerary { position: relative; padding-left: 32px; }
.itinerary::before {
  content: '';
  position: absolute;
  left: 11px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: var(--primary);
  opacity: 0.3;
}
.itinerary-item { margin-bottom: 24px; position: relative; }
.itinerary-item::before {
  content: '';
  position: absolute;
  left: -24px;
  top: 6px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--primary);
  border: 2px solid var(--bg);
}
.itinerary-time { font-size: 0.85rem; font-weight: 600; color: var(--primary-dark); margin-bottom: 4px; }
.itinerary-title { font-weight: 600; margin-bottom: 4px; }
.itinerary-desc { font-size: 0.9rem; color: var(--text-light); }

/* ─── Blog Card ─── */
.blog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px,1fr)); gap: 24px; }
.blog-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.3s;
}
.blog-card:hover { transform: translateY(-4px); }
.blog-img { height: 200px; background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%); }
.blog-body { padding: 20px; }
.blog-date { font-size: 0.8rem; color: var(--primary); margin-bottom: 8px; }
.blog-body h3 { font-size: 1.1rem; margin-bottom: 8px; }
.blog-body p { font-size: 0.85rem; color: var(--text-light); margin-bottom: 12px; }
.blog-body a { color: var(--primary); text-decoration: none; font-weight: 600; font-size: 0.85rem; }

/* ─── Footer ─── */
.footer {
  background: var(--bg-dark);
  color: #aaa;
  padding: 60px 20px 30px;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; }
.footer h4 { color: var(--white); margin-bottom: 16px; font-size: 1rem; }
.footer a { color: #aaa; text-decoration: none; display: block; margin-bottom: 8px; font-size: 0.85rem; }
.footer a:hover { color: var(--primary); }
.footer p { font-size: 0.85rem; line-height: 1.7; }
.footer-bottom {
  border-top: 1px solid #333;
  margin-top: 40px;
  padding-top: 20px;
  text-align: center;
  font-size: 0.8rem;
}
.footer-logo { font-size: 1.3rem; font-weight: 800; color: var(--white); margin-bottom: 12px; }
.footer-logo span { color: var(--primary); }
.social-links { display: flex; gap: 12px; margin-top: 16px; }
.social-links a {
  width: 36px; height: 36px;
  border: 1px solid #444;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  font-size: 0.8rem;
}
.social-links a:hover { border-color: var(--primary); color: var(--primary); }

/* ─── WA Float ─── */
.wa-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 56px;
  height: 56px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.6rem;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.3);
  transition: transform 0.3s;
  z-index: 99;
  text-decoration: none;
}
.wa-float:hover { transform: scale(1.1); }

/* ─── Breadcrumb Schema ─── */
.breadcrumb-list { display: flex; gap: 8px; list-style: none; font-size: 0.85rem; }
.breadcrumb-list li:not(:last-child)::after { content: '›'; margin-left: 8px; color: #ccc; }
.breadcrumb-list a { color: var(--primary); text-decoration: none; }

/* ─── Page Content ─── */
.page-content { max-width: 800px; margin: 0 auto; }
.page-content h2 { font-size: 1.8rem; margin: 32px 0 16px; color: var(--secondary); }
.page-content h3 { font-size: 1.3rem; margin: 24px 0 12px; color: var(--secondary); }
.page-content p { margin-bottom: 16px; color: #555; }
.page-content ul, .page-content ol { margin: 0 0 16px 24px; color: #555; }
.page-content li { margin-bottom: 8px; }

/* ─── CTA Section ─── */
.cta-section {
  background: linear-gradient(135deg, var(--secondary) 0%, #1a1a2e 100%);
  color: var(--white);
  text-align: center;
  padding: 60px 20px;
}
.cta-section h2 { font-size: 2rem; margin-bottom: 12px; }
.cta-section p { opacity: 0.8; margin-bottom: 24px; }

/* ─── Price Table ─── */
.price-table { width: 100%; border-collapse: collapse; margin: 24px 0; }
.price-table th, .price-table td { padding: 12px 16px; text-align: left; border-bottom: 1px solid #eee; }
.price-table th { background: var(--primary); color: white; font-weight: 600; font-size: 0.9rem; }
.price-table td { font-size: 0.9rem; }
.price-table tr:hover { background: rgba(200, 164, 92, 0.05); }

/* ─── Include List ─── */
.include-list { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 16px 0; }
.include-item { font-size: 0.9rem; color: #555; }
.include-item::before { content: '✅ '; }

/* ─── Itinerary ─── */
.itinerary { margin: 16px 0; border-left: 3px solid #fbbf24; padding-left: 16px; }
.itin-item { display: flex; gap: 10px; align-items: baseline; padding: 8px 0; border-bottom: 1px dashed #eee; }
.itin-item:last-child { border-bottom: none; }
.itin-time { flex: 0 0 auto; font-weight: 700; color: #f59e0b; font-size: 0.9rem; min-width: 70px; }
.itin-act { color: #444; font-size: 0.92rem; }

/* ─── Responsive ─── */
@media (max-width: 768px) {
  .hero h1 { font-size: 2rem; }
  .hero { height: 60vh; min-height: 400px; }
  .stats { grid-template-columns: repeat(2,1fr); }
  .nav { display: none; }
  .nav.open { display: flex; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: white; padding: 16px; box-shadow: 0 4px 10px rgba(0,0,0,0.1); }
  .nav.open a { margin: 8px 0; }
  .hamburger { display: flex; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .include-list { grid-template-columns: 1fr; }
  .section-title h2 { font-size: 1.6rem; }
  .package-meta { flex-wrap: wrap; }
}

@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .packages { grid-template-columns: 1fr; }
}

/* ─── Utility ─── */
.text-center { text-align: center; }
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.gap-2 { gap: 16px; }
.flex-center { display: flex; align-items: center; justify-content: center; }
