/* ── Variables ─────────────────────────────────────────────────────── */
:root {
  --navy:   #0a2540;
  --teal:   #00bbb6;
  --teal-d: #008a86;
  --blue:   #1565c0;
  --gold:   #f5a623;
  --gold-d: #d4870a;
  --light:  #f8f9fa;
  --text:   #1a1a2e;
  --muted:  #6c757d;
  --border: #e5e9f0;
  --white:  #ffffff;
  --radius: 12px;
  --shadow: 0 4px 20px rgba(0,138,134,0.12);
}

/* ── Reset ─────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Inter', system-ui, sans-serif; color: var(--text); background: var(--white); line-height: 1.6; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
input, select, textarea, button { font-family: inherit; font-size: 1rem; }

/* ── Layout ─────────────────────────────────────────────────────────── */
.container { max-width: 1100px; margin: 0 auto; padding: 0 1.5rem; }

/* ── Nav ─────────────────────────────────────────────────────────────── */
.nav { position: sticky; top: 0; z-index: 100; background: rgba(0,138,134,0.97); backdrop-filter: blur(8px); }
.nav-inner { display: flex; align-items: center; gap: 1.5rem; max-width: 1100px; margin: 0 auto; padding: 0 1.5rem; height: 64px; }
.nav-logo { display: flex; align-items: center; gap: 10px; color: var(--white); font-weight: 600; line-height: 1.2; }
.logo-icon { font-size: 24px; }
.logo-text small { font-size: 11px; font-weight: 400; opacity: 0.7; display: block; }
.nav-logo-img { height: 48px; width: 48px; border-radius: 8px; display: block; }
.nav-links { display: flex; gap: 1.5rem; margin-left: 1rem; }
.nav-links a { color: rgba(255,255,255,0.8); font-size: 14px; font-weight: 500; transition: color .2s; }
.nav-links a:hover { color: var(--gold); }
.lang-switcher { margin-left: auto; display: flex; gap: 4px; }
.lang-btn { font-size: 11px; font-weight: 600; color: rgba(255,255,255,0.5); padding: 3px 6px; border-radius: 4px; transition: all .2s; }
.lang-btn:hover, .lang-btn.active { color: var(--white); background: rgba(255,255,255,0.15); }
.nav-burger { display: none; background: none; border: none; color: var(--white); font-size: 22px; cursor: pointer; margin-left: 8px; }

/* ── Hero ──────────────────────────────────────────────────────────── */
.hero { position: relative; min-height: 85vh; display: flex; align-items: center; }
.hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; background-color: var(--teal); }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(135deg, rgba(0,100,96,0.70) 0%, rgba(0,187,182,0.30) 100%); }
.hero-content { position: relative; z-index: 1; max-width: 680px; padding: 2rem 1.5rem 2rem 6vw; }
.hero-logo { width: 150px; height: 150px; border-radius: 18px; margin-bottom: 1.75rem; box-shadow: 0 6px 32px rgba(0,0,0,0.18); }
.hero-content h1 { font-size: clamp(2rem, 5vw, 3.2rem); font-weight: 700; color: var(--white); line-height: 1.15; margin-bottom: 1rem; }
.hero-content p { font-size: 1.15rem; color: rgba(255,255,255,0.85); margin-bottom: 2rem; }

/* ── Buttons ───────────────────────────────────────────────────────── */
.btn { display: inline-block; padding: 12px 28px; border-radius: 8px; font-weight: 600; font-size: 15px; cursor: pointer; border: 2px solid transparent; transition: all .2s; text-align: center; }
.btn-gold { background: var(--gold); color: var(--navy); border-color: var(--gold); }
.btn-gold:hover { background: var(--gold-d); border-color: var(--gold-d); transform: translateY(-1px); }
.btn-outline { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: var(--white); }
.btn-block { display: block; width: 100%; }
.btn-lg { padding: 15px 36px; font-size: 17px; }
.btn-link { background: none; border: none; cursor: pointer; color: var(--blue); font-size: 14px; }
.btn-link:hover { text-decoration: underline; }

/* ── Section titles ─────────────────────────────────────────────────── */
.section-title { font-size: clamp(1.5rem, 3vw, 2.2rem); font-weight: 700; text-align: center; margin-bottom: 2.5rem; color: var(--navy); }

/* ── Why us ─────────────────────────────────────────────────────────── */
.why-us { padding: 5rem 0; background: var(--light); }
.why-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.5rem; }
.why-card { background: var(--white); border-radius: var(--radius); padding: 2rem; text-align: center; box-shadow: var(--shadow); }
.why-icon { font-size: 2.5rem; margin-bottom: 1rem; }
.why-card h3 { font-size: 1.1rem; font-weight: 600; margin-bottom: .5rem; color: var(--navy); }
.why-card p { color: var(--muted); font-size: .95rem; }

/* ── Tours section ──────────────────────────────────────────────────── */
.tours-section { padding: 5rem 0; }
.tours-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 2rem; }
.tour-card { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--border); transition: transform .2s, box-shadow .2s; }
.tour-card:hover { transform: translateY(-4px); box-shadow: 0 8px 32px rgba(10,37,64,0.14); }
.tour-card-img { height: 220px; background-size: cover; background-position: center; background-color: var(--navy); position: relative; }
.tour-card-img-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(10,37,64,0.3), transparent); }
.tour-card-body { padding: 1.5rem; }
.tour-card-body h3 { font-size: 1.2rem; font-weight: 700; color: var(--navy); margin-bottom: .5rem; }
.tour-short-desc { color: var(--muted); font-size: .9rem; margin-bottom: 1rem; }
.tour-meta { display: flex; gap: 1rem; font-size: .85rem; color: var(--muted); margin-bottom: 1rem; flex-wrap: wrap; }
.tour-price { margin-bottom: 1.25rem; }
.price-from { font-size: .85rem; color: var(--muted); }
.price-amount { font-size: 2rem; font-weight: 700; color: var(--navy); }
.price-pp { font-size: .85rem; color: var(--muted); }
.tour-card-actions { display: flex; gap: .75rem; }
.tour-card-actions .btn { flex: 1; padding: 10px; font-size: 14px; }

/* ── How it works ───────────────────────────────────────────────────── */
.how-it-works { padding: 5rem 0; background: var(--teal-d); }
.how-it-works .section-title { color: var(--white); }
.steps-grid { display: flex; align-items: center; justify-content: center; gap: .5rem; flex-wrap: wrap; }
.step { text-align: center; padding: 1rem; max-width: 180px; }
.step-num { width: 52px; height: 52px; border-radius: 50%; background: var(--gold); color: var(--navy); font-size: 1.3rem; font-weight: 700; display: flex; align-items: center; justify-content: center; margin: 0 auto 0.75rem; }
.step p { color: rgba(255,255,255,0.85); font-size: .9rem; }
.step-arrow { color: var(--gold); font-size: 1.5rem; opacity: .6; }

/* ── Tour detail ─────────────────────────────────────────────────────── */
.tour-hero { position: relative; height: 420px; background-size: cover; background-position: center; background-color: var(--navy); }
.tour-hero-overlay { position: absolute; inset: 0; background: rgba(10,37,64,0.55); }
.tour-hero-content { position: relative; z-index: 1; height: 100%; display: flex; align-items: flex-end; padding-bottom: 2.5rem; }
.tour-hero-content h1 { color: var(--white); font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 700; }
.tour-detail { display: grid; grid-template-columns: 1fr 340px; gap: 3rem; padding: 3rem 1.5rem; }
.tour-desc { font-size: 1.05rem; color: var(--text); margin-bottom: 2rem; line-height: 1.8; }
.tour-highlights h2, .tour-itinerary h2 { font-size: 1.1rem; font-weight: 600; color: var(--navy); margin-bottom: 1rem; }
.includes-list { list-style: none; display: flex; flex-direction: column; gap: .5rem; }
.includes-list li { color: var(--text); font-size: .95rem; }
.tour-itinerary { margin-top: 2rem; }
.tour-itinerary p { color: var(--muted); font-size: .9rem; line-height: 1.9; }
.booking-box { background: var(--white); border-radius: var(--radius); border: 2px solid var(--border); padding: 1.5rem; position: sticky; top: 80px; }
.booking-box-price { margin-bottom: 1.25rem; }
.booking-box-meta { display: flex; flex-direction: column; gap: .5rem; font-size: .9rem; color: var(--muted); margin-bottom: 1.5rem; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 1rem 0; }
.booking-box-meta div { display: flex; gap: .5rem; }
.booking-box-meta strong { color: var(--text); min-width: 80px; }

/* ── Booking form ────────────────────────────────────────────────────── */
.booking-page { padding: 2.5rem 1.5rem; }
.booking-header { margin-bottom: 1.5rem; }
.back-link { font-size: .9rem; color: var(--blue); display: block; margin-bottom: .5rem; }
.booking-header h1 { font-size: 1.8rem; font-weight: 700; color: var(--navy); }
.booking-layout { display: grid; grid-template-columns: 1fr 340px; gap: 3rem; }
.form-section { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.5rem; margin-bottom: 1rem; }
.form-section h2 { font-size: 1rem; font-weight: 600; color: var(--navy); margin-bottom: 1.25rem; }
.form-group { margin-bottom: 1rem; }
.form-group label { display: block; font-size: 13px; font-weight: 500; color: var(--text); margin-bottom: 5px; }
.form-group input, .form-group select, .form-group textarea { width: 100%; padding: 10px 12px; border: 1.5px solid var(--border); border-radius: 8px; font-size: 15px; background: var(--light); transition: border-color .2s; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { outline: none; border-color: var(--blue); background: var(--white); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-hint { font-size: 12px; color: var(--muted); margin-top: .25rem; }
.booking-total-bar { display: flex; justify-content: space-between; align-items: center; background: var(--teal-d); color: var(--white); border-radius: 8px; padding: 14px 20px; margin: 1.5rem 0 1rem; font-weight: 600; }
.total-amount { font-size: 1.5rem; }
.booking-summary { }
.booking-box-tour { font-size: 1.1rem; font-weight: 700; color: var(--navy); margin-bottom: 1.25rem; }
.includes-list-sm { display: flex; flex-direction: column; gap: .4rem; font-size: .85rem; color: var(--muted); }

/* ── Success page ────────────────────────────────────────────────────── */
.success-page { text-align: center; padding: 4rem 1.5rem; max-width: 580px; margin: 0 auto; }
.success-icon { font-size: 4rem; margin-bottom: 1rem; }
.success-page h1 { font-size: 2rem; font-weight: 700; color: var(--navy); margin-bottom: .5rem; }
.success-subtitle { font-size: 1.1rem; color: var(--muted); margin-bottom: .5rem; }
.booking-summary-card { background: var(--light); border-radius: var(--radius); padding: 1.5rem; text-align: left; margin: 2rem 0; }
.summary-row { display: flex; justify-content: space-between; padding: .6rem 0; border-bottom: 1px solid var(--border); font-size: .9rem; }
.summary-row:last-child { border-bottom: none; }
.summary-row.highlight { background: rgba(245,166,35,0.1); padding: .6rem .5rem; border-radius: 6px; margin-top: .25rem; }

/* ── Alerts ──────────────────────────────────────────────────────────── */
.alert { padding: 12px 16px; border-radius: 8px; margin-bottom: 1rem; font-size: .9rem; }
.alert-error { background: #fee; color: #c0392b; border: 1px solid #fcc; }

/* ── Footer ──────────────────────────────────────────────────────────── */
.footer { background: var(--teal-d); color: rgba(255,255,255,0.7); padding: 3rem 0 0; margin-top: 4rem; }
.footer-inner { display: flex; gap: 3rem; flex-wrap: wrap; max-width: 1100px; margin: 0 auto; padding: 0 1.5rem 2rem; }
.footer-brand { flex: 2; min-width: 200px; }
.footer-brand strong { color: var(--white); font-size: 1rem; display: block; margin-bottom: .5rem; }
.footer-brand p { font-size: .85rem; margin-bottom: .25rem; }
.footer-brand a { color: var(--gold); }
.footer-links { flex: 1; min-width: 120px; display: flex; flex-direction: column; gap: .75rem; font-size: .9rem; }
.footer-links a:hover { color: var(--white); }
.footer-langs { display: flex; gap: 8px; flex-wrap: wrap; align-items: flex-start; }
.footer-langs a { font-size: 11px; font-weight: 600; color: rgba(255,255,255,0.4); }
.footer-langs a.active, .footer-langs a:hover { color: var(--gold); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding: 1rem 1.5rem; text-align: center; font-size: .8rem; color: rgba(255,255,255,0.4); }

/* ── Admin ───────────────────────────────────────────────────────────── */
.admin-body { background: #f1f3f7; min-height: 100vh; }
.admin-login-wrap { display: flex; align-items: center; justify-content: center; min-height: 100vh; }
.admin-login-box { background: var(--white); border-radius: var(--radius); padding: 2.5rem; width: 100%; max-width: 380px; box-shadow: var(--shadow); text-align: center; }
.admin-login-box h1 { font-size: 1.8rem; color: var(--navy); margin-bottom: .5rem; }
.admin-nav { background: var(--navy); color: var(--white); padding: .75rem 1.5rem; display: flex; align-items: center; justify-content: space-between; font-size: .9rem; }
.admin-nav .btn-link { color: rgba(255,255,255,0.7); }
.admin-container { max-width: 1200px; margin: 0 auto; padding: 1.5rem; }
.admin-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 1rem; margin-bottom: 1.5rem; }
.admin-stat { background: var(--white); border-radius: var(--radius); padding: 1.25rem; border-left: 4px solid var(--border); }
.admin-stat.paid { border-left-color: #2d7a4f; }
.admin-stat.pending { border-left-color: var(--gold); }
.stat-val { font-size: 1.8rem; font-weight: 700; color: var(--navy); }
.stat-label { font-size: .8rem; color: var(--muted); }
.admin-toolbar { margin-bottom: 1rem; }
.admin-search-form { display: flex; gap: .5rem; flex-wrap: wrap; }
.admin-search-form input { padding: 8px 12px; border: 1px solid var(--border); border-radius: 8px; font-size: .9rem; flex: 1; min-width: 200px; }
.admin-search-form select { padding: 8px 12px; border: 1px solid var(--border); border-radius: 8px; font-size: .9rem; }
.admin-table-wrap { background: var(--white); border-radius: var(--radius); overflow: auto; }
.admin-table { width: 100%; border-collapse: collapse; font-size: .875rem; }
.admin-table th { text-align: left; font-size: 11px; font-weight: 600; text-transform: uppercase; color: var(--muted); padding: 10px 12px; border-bottom: 1px solid var(--border); }
.admin-table td { padding: 10px 12px; border-bottom: 1px solid #f5f5f5; }
.admin-table tr:last-child td { border-bottom: none; }
.status-badge { padding: 3px 10px; border-radius: 20px; font-size: 11px; font-weight: 600; text-transform: uppercase; }
.status-paid { background: #e8f5ee; color: #2d7a4f; }
.status-pending { background: #fff8e7; color: #b7600a; }
.status-cancelled { background: #fee; color: #c0392b; }
.status-refunded { background: #f0f0f0; color: #666; }
.admin-detail-card { background: var(--white); border-radius: var(--radius); padding: 2rem; }
.detail-header { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.5rem; }
.detail-header h1 { font-size: 1.4rem; color: var(--navy); }
.detail-table { width: 100%; border-collapse: collapse; font-size: .9rem; margin-bottom: 1.5rem; }
.detail-table th { text-align: left; color: var(--muted); font-weight: 500; padding: 8px 0; border-bottom: 1px solid var(--border); width: 160px; }
.detail-table td { padding: 8px 0; border-bottom: 1px solid #f5f5f5; }
.detail-status-form { display: flex; gap: .75rem; align-items: center; }
.detail-status-form select { padding: 8px 12px; border: 1px solid var(--border); border-radius: 8px; font-size: .9rem; }

/* ── Responsive ──────────────────────────────────────────────────────── */
@media (max-width: 768px) {
  .nav-links { display: none; position: absolute; top: 64px; left: 0; right: 0; background: var(--teal-d); flex-direction: column; padding: 1rem 1.5rem; gap: .75rem; }
  .nav-links.open { display: flex; }
  .nav-burger { display: block; }
  .lang-switcher { margin-left: auto; }
  .hero-content { padding: 2rem 1.5rem; }
  .tour-detail { grid-template-columns: 1fr; }
  .booking-layout { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .steps-grid { flex-direction: column; gap: 0; }
  .step-arrow { transform: rotate(90deg); }
  .booking-summary { order: -1; }
  .booking-box { position: static; }
  .tour-card-actions { flex-direction: column; }
}
