/* ===========================
   GloboGo — style.css
   Nature Green Mode — Glassmorphism + Cinematic Video + SPA
   Save as: style.css
   =========================== */

/* ---------- RESET ---------- */
*,
*::before,
*::after { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; }
body {
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
  background: #0e0f0d;
  color: #e9f7ef;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* ---------- THEME COLORS (Nature Green Mode) ---------- */
:root {
  --bg: #0e0f0d;
  --glass: rgba(255,255,255,0.04);
  --glass-strong: rgba(255,255,255,0.07);
  --accent-1: #2fa56a;   /* deep green */
  --accent-2: #8ad39b;   /* soft green */
  --accent-3: #c8f3d0;   /* pale green */
  --muted: #bfcfc0;
  --glass-border: rgba(255,255,255,0.06);
  --glass-shadow: rgba(0,0,0,0.6);
  --glass-blur: 10px;
  --transition-fast: 160ms;
  --transition-med: 280ms;
  --max-width: 1200px;
}

/* ---------- GLOBAL HELPERS ---------- */
.container {
  max-width: var(--max-width);
  margin-inline: auto;
  padding: 24px;
}
.small { font-size: 0.86rem; color: var(--muted); }
.lead { color: #d9efe0; line-height: 1.55; }

/* Accessible visually-hidden link */
.sr-only-focusable {
  position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden;
}

/* ---------- GLASS PLATE ---------- */
.glass {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: 14px;
  padding: 16px;
  backdrop-filter: blur(var(--glass-blur)) saturate(1.08);
  box-shadow: 0 14px 40px var(--glass-shadow);
}

/* smaller glass */
.glass.small { padding: 10px; border-radius: 10px; }

/* ---------- VIDEO HERO ---------- */
.video-hero {
  position: relative;
  min-height: 86vh;
  display: block;
  overflow: hidden;
}

/* video fills full screen area */
.bg-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform-origin: center center;
  will-change: transform, filter;
  z-index: -5;
}

/* soft dream blur + brightness overlay (combination of bright & dreamy) */
.video-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7,18,10,0.12), rgba(5,10,6,0.16));
  mix-blend-mode: multiply;
  z-index: -4;
  pointer-events: none;
  backdrop-filter: blur(4px) brightness(1.03) saturate(1.05);
}

/* decorative parallax layers that move with pointer */
.hero-layers { position: absolute; inset: 0; z-index: -3; pointer-events: none; }
.hero-layers .layer {
  position: absolute; inset: 0; transform: translate3d(0,0,0);
  background-repeat: no-repeat; background-position: center; opacity: 0.22;
  filter: blur(36px) saturate(1.05);
}
.hero-layers .layer-1 { background: radial-gradient(circle at 12% 24%, rgba(46,134,84,0.95) 0%, transparent 30%); }
.hero-layers .layer-2 { background: radial-gradient(circle at 88% 78%, rgba(138,211,155,0.85) 0%, transparent 34%); }

/* ---------- TOP BAR / NAV ---------- */
.topbar {
  position: sticky;
  top: 18px;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 28px;
  margin: 12px auto;
  width: calc(100% - 48px);
  max-width: var(--max-width);
  gap: 12px;
  align-self: center;
}
.brand { display: flex; gap: 12px; align-items: flex-start; }
.logo {
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  letter-spacing: 0.04em;
  font-size: 1.15rem;
  color: #f4fff8;
}
.logo .g { background: linear-gradient(90deg, var(--accent-1), var(--accent-2)); -webkit-background-clip: text; color: transparent; }
.tagline { font-size: 0.82rem; color: var(--muted); margin-top: 3px; }

/* nav buttons */
.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}
.nav-btn {
  background: transparent;
  border: none;
  color: #e7f7ee;
  padding: 8px 12px;
  font-weight: 500;
  border-radius: 10px;
  cursor: pointer;
  transition: transform var(--transition-fast) ease, background var(--transition-fast);
}
.nav-btn:hover { transform: translateY(-4px); background: rgba(255,255,255,0.02); box-shadow: 0 12px 28px rgba(0,0,0,0.4); }
.nav-btn.cta { background: linear-gradient(90deg, var(--accent-1), var(--accent-2)); color: #04210d; padding-inline: 14px; font-weight: 600; }

/* cart trigger */
.cart-trigger {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 46px; height: 46px;
  border-radius: 999px;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.04);
  cursor: pointer;
}
.cart-icon { width: 20px; height: 20px; color: var(--accent-2); }
.cart-count {
  position: absolute;
  top: -8px; right: -8px;
  background: var(--accent-1);
  color: #04210d;
  font-weight: 700;
  font-size: 0.75rem;
  padding: 4px 6px;
  border-radius: 999px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.5);
}

/* ---------- HERO CONTENT ---------- */
.hero-section {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 24px;
  min-height: 72vh;
}
.hero-inner {
  display: flex;
  gap: 28px;
  width: 100%;
  max-width: var(--max-width);
  align-items: center;
  justify-content: space-between;
}
.hero-left { flex: 1.1; display: flex; flex-direction: column; gap: 18px; }
.title-plate { padding: 28px; overflow: visible; position: relative; }
.title-svg { width: 100%; height: 86px; display: block; margin-bottom: 6px; }
.lead { margin-top: 8px; font-size: 1rem; color: #e7f9ee; }

/* ctas */
.hero-ctas { margin-top: 18px; display:flex; gap:12px; align-items:center; flex-wrap:wrap; }
.btn {
  display: inline-flex; align-items: center; gap:10px; justify-content:center;
  padding: 12px 18px; border-radius: 999px; border: 1px solid rgba(255,255,255,0.06);
  cursor: pointer; transition: transform var(--transition-fast) cubic-bezier(.2,.9,.2,1), box-shadow var(--transition-fast);
  background: rgba(255,255,255,0.02); color: #eaf9ee; font-family: "Poppins", sans-serif;
}
.btn:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(0,0,0,0.5); }
.btn-primary {
  background: linear-gradient(90deg, var(--accent-1), var(--accent-2));
  color: #04210d; border: none; box-shadow: 0 16px 40px rgba(45,165,100,0.12);
}
.btn-ghost { background: rgba(255,255,255,0.02); }

/* metrics */
.metrics { display:flex; gap:12px; margin-top: 12px; align-items:center; }
.metrics > div { min-width: 120px; display:flex; flex-direction:column; gap:6px; }

/* hero showcase cards (tilt) */
.showcase { width: 420px; display:flex; flex-direction:column; gap:12px; align-items:center; justify-content:center; }
.card { width: 340px; height: 220px; border-radius: 14px; overflow: hidden; position: relative; transition: transform 280ms cubic-bezier(.2,.9,.2,1), box-shadow 220ms; display:flex; align-items:flex-end; justify-content:flex-start; background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01)); }
.card img { width: 100%; height: 100%; object-fit: cover; display:block; mix-blend-mode: normal; filter: saturate(1.04) contrast(1.03); }
.card-badge { position: absolute; top: 12px; left: 12px; padding: 6px 10px; border-radius: 999px; background: linear-gradient(90deg, #c6ffd9, #8ad39b); color: #041c12; font-weight: 700; font-size: 0.85rem; }

/* small note */
.note { font-size: 0.9rem; color: var(--muted); padding: 8px; text-align:center; }

/* ---------- SPA PANEL SECTIONS ---------- */
.app-root { padding-bottom: 80px; background: transparent; }

/* panel base */
.panel { display: none; opacity: 0; transform: translateY(18px); transition: opacity var(--transition-med) ease, transform var(--transition-med) ease; padding: 36px 24px; margin: 28px auto; max-width: var(--max-width); border-radius: 14px; }

/* visible panel */
.panel.active { display: block; opacity: 1; transform: translateY(0); }

/* section head */
.section-head { margin-bottom: 18px; }
.section-head h2 { font-family: "Poppins", sans-serif; font-size: 1.6rem; margin-bottom: 6px; color: #f2fff6; }

/* ---------- DESTINATIONS GRID ---------- */
.dest-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; margin-top: 12px; }
.dest-card { overflow: hidden; border-radius: 12px; padding: 12px; display:flex; flex-direction:column; gap:10px; align-items:flex-start; }
.dest-card img { width:100%; height:140px; object-fit:cover; border-radius:10px; }

/* ---------- PACKAGES GRID (10 cards) ---------- */
.packages-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 18px; margin-top: 18px; align-items: start; }
.package-card { display: flex; flex-direction: column; gap: 12px; border-radius: 12px; overflow: hidden; transition: transform 280ms cubic-bezier(.2,.9,.2,1), box-shadow 280ms; }
.package-card:hover { transform: translateY(-10px); box-shadow: 0 26px 80px rgba(0,0,0,0.6); }
.package-card img { width:100%; height:190px; object-fit: cover; display:block; }

/* package body */
.pkg-body { padding: 12px; display: flex; flex-direction: column; gap: 10px; }
.pkg-body h3 { font-family: "Poppins", sans-serif; font-size: 1.05rem; color: #f9fffb; }
.meta { font-size: 0.9rem; color: var(--muted); }
.desc { color: #eaf5ec; font-size: 0.95rem; line-height: 1.45; }

/* package footer */
.pkg-foot { display:flex; align-items:center; justify-content: space-between; gap: 12px; margin-top: 6px; }
.price { font-weight: 700; color: var(--accent-2); font-size: 1.05rem; }
.add-cart { padding: 8px 12px; border-radius: 10px; background: linear-gradient(90deg, var(--accent-1), var(--accent-2)); border: none; color: #04210d; cursor: pointer; transition: transform var(--transition-fast) ease, box-shadow var(--transition-fast) ease; }
.add-cart:hover { transform: translateY(-4px); box-shadow: 0 16px 36px rgba(47,165,106,0.12); }

/* ---------- TESTIMONIALS CAROUSEL ---------- */
/* Testimonials Grid Layout */
.testi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
  margin-top: 20px;
}

.testi-grid .testi {
  padding: 20px;
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.02));
  box-shadow: 0 8px 26px rgba(0,0,0,0.4);
}
.testi { min-width: 320px; padding: 18px; border-radius: 12px; background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01)); }

/* testimonial text and cite */
.testi p { color: #e9f7ef; line-height: 1.5; }
.testi cite { display: block; margin-top: 8px; color: var(--muted); font-size: 0.9rem; }

/* ---------- ABOUT GRID ---------- */
.about-grid { display:grid; grid-template-columns: repeat(auto-fit,minmax(240px,1fr)); gap: 12px; margin-top: 12px; }
.about-card { padding: 18px; border-radius: 12px; }

/* ---------- CONTACT FORM ---------- */
.contact-form { display:flex; flex-direction: column; gap: 12px; max-width: 700px; margin-top: 12px; }
.contact-form label { display:flex; flex-direction: column; gap: 6px; color: #eaf7ef; font-size: 0.95rem; }
.contact-form input, .contact-form textarea, .contact-form select {
  background: rgba(255,255,255,0.02); border: 1px solid rgba(255,255,255,0.04); color: #e9f7ef; padding: 10px 12px; border-radius: 10px;
}
.contact-form textarea { min-height: 120px; resize: vertical; }
.form-actions { display:flex; gap: 10px; margin-top: 8px; }

/* form status */
.form-status { margin-top: 8px; color: var(--muted); font-size: 0.95rem; }

/* ---------- CART DRAWER ---------- */
.cart-drawer {
  position: fixed;
  right: 20px;
  top: 80px;
  width: 360px;
  max-width: calc(100% - 40px);
  height: calc(100% - 160px);
  transform: translateX(110%);
  transition: transform 420ms cubic-bezier(.2,.9,.2,1);
  z-index: 80;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.cart-drawer.open { transform: translateX(0); }
.cart-header { display:flex; justify-content:space-between; align-items:center; padding: 12px; border-bottom: 1px solid rgba(255,255,255,0.04); }
.cart-items { overflow:auto; padding: 12px; display:flex; flex-direction: column; gap: 10px; }
.cart-item { display:flex; gap:10px; align-items:center; padding:8px; border-radius: 10px; background: rgba(0,0,0,0.18); }
.cart-item img { width:64px; height:48px; object-fit:cover; border-radius:6px; }
.cart-footer { margin-top: auto; padding: 12px; border-top: 1px solid rgba(255,255,255,0.04); display:flex; flex-direction: column; gap: 8px; }
.cart-total { display:flex; justify-content: space-between; align-items:center; font-weight:700; }

/* cart actions */
.cart-actions { display:flex; gap: 8px; justify-content: space-between; }

/* ---------- TOAST (bottom-left) ---------- */
.toast-container {
  position: fixed;
  left: 20px;
  bottom: 20px;
  z-index: 120;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.toast {
  display:flex; gap:10px; align-items:center;
  min-width: 220px; max-width: 360px;
  padding: 12px 14px; border-radius: 12px;
  background: linear-gradient(90deg, rgba(255,255,255,0.03), rgba(255,255,255,0.02));
  border: 1px solid rgba(255,255,255,0.06);
  box-shadow: 0 14px 40px rgba(0,0,0,0.6);
  transform: translateY(16px);
  animation: toastIn 360ms cubic-bezier(.2,.9,.2,1) forwards;
}
@keyframes toastIn { from { opacity: 0; transform: translateY(24px) } to { opacity: 1; transform: translateY(0) } }

/* ---------- CUSTOM CURSOR ---------- */
#cursor-dot, #cursor-ring {
  position: fixed; pointer-events: none; z-index: 99999; transform: translate(-50%,-50%);
}
#cursor-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent-2); mix-blend-mode: screen; transition: transform 120ms linear; }
#cursor-ring { width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.12); transition: width 160ms, height 160ms, opacity 160ms; }

/* ---------- TRANSITION OVERLAY FOR DIRECTIONAL NAV ---------- */
.page-wipe {
  position: fixed; inset: 0; background: linear-gradient(180deg, rgba(3,28,16,0.9), rgba(8,20,12,0.6));
  pointer-events: none; z-index: 90; transform: translateY(-100%); transition: transform 520ms cubic-bezier(.22,.9,.2,1);
}
.page-wipe.show { transform: translateY(0); }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1024px) {
  .hero-inner { flex-direction: column-reverse; align-items: flex-start; gap: 18px; }
  .showcase { width: 100%; display: block; }
  .card { width: 280px; height: 180px; }
  .cart-drawer { width: 92%; right: 4%; top: 80px; height: calc(100% - 160px); }
}
@media (max-width: 640px) {
  .topbar {
    padding-inline: 12px;
    flex-direction: column;
    text-align: center;
    gap: 10px;
  }

  .nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
  }

  .nav-btn {
    padding: 6px 10px;
    font-size: 0.85rem;
  }

  .title-svg {
    height: 58px;
  }

  .packages-grid { grid-template-columns: 1fr; }
  .dest-grid { grid-template-columns: 1fr; }
  .testi { min-width: 100%; }
  .cart-drawer { width: 96%; right: 2%; top: 70px; }
}


/* ---------- SMALL UTILITIES ---------- */
.center { display:flex; align-items:center; justify-content:center; }
.mt-12 { margin-top: 12px; }
.p-12 { padding: 12px; }

/* End of style.css */
/* ---------- PACKAGE MODAL ---------- */
.pkg-modal {
  position: fixed; inset: 0; display: none;
  align-items: center; justify-content: center;
  z-index: 999;
}
.pkg-modal.show { display: flex; }

.pkg-backdrop {
  position: absolute; inset: 0;
  background: rgba(0,0,0,0.65);
  backdrop-filter: blur(6px);
}

.pkg-box {
  position: relative;
  max-width: 900px;
  width: 95%;
  padding: 20px;
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.close-btn { position: absolute; top: 12px; right: 12px; }

.pkg-flex {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 16px;
}

.pkg-img-wrap img {
  width: 100%; height: 320px;
  object-fit: cover; border-radius: 10px;
}

.member-row {
  display: flex; justify-content: space-between;
  margin-top: 10px; align-items: center;
}

.member-controls {
  display: flex; align-items: center;
  gap: 10px; background: rgba(255,255,255,0.05);
  padding: 6px 14px; border-radius: 999px;
}

.member-controls button {
  width: 28px; height: 28px; border-radius: 50%;
  border: none; cursor: pointer; background: rgba(255,255,255,0.1);
  color: #fff; font-size: 18px;
}

.itinerary ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }

.itinerary li {
  background: rgba(255,255,255,0.05);
  padding: 10px; border-radius: 8px;
  font-size: 0.92rem;
}

/* ---------- SLIDESHOW ARROWS (MODAL & CARD FADE) ---------- */
.pkg-img-wrap {
  position: relative;
  overflow: hidden;
}

.pkg-img-wrap img {
  transition: opacity 0.4s ease-in-out;
}

/* Netflix-style arrows on modal image */
.img-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  border: none;
  background: rgba(0,0,0,0.45);
  color: #f8fff9;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.2rem;
  z-index: 2;
}

.img-prev { left: 10px; }
.img-next { right: 10px; }

.img-nav:hover {
  background: rgba(0,0,0,0.7);
}

/* Fade for package card images too */
.package-card img {
  transition: opacity 0.4s ease-in-out;
}
