/* ============================================
   ALOHA TICKETS — Mobile-first stylesheet
   Base: 390px (iPhone 14). Scale up for tablet/desktop.
   ============================================ */

/* TOKENS */
:root {
  --ocean:      #042C53;
  --ocean-mid:  #185FA5;
  --ocean-lite: #E6F1FB;
  --teal:       #1D9E75;
  --teal-dark:  #0F6E56;
  --teal-lite:  #E1F5EE;
  --sand:       #FAEEDA;
  --sand-dark:  #633806;
  --amber:      #BA7517;
  --text-1:     #1a1a1a;
  --text-2:     #5a5a5a;
  --text-3:     #909090;
  --border:     rgba(0,0,0,0.10);
  --bg:         #ffffff;
  --bg-2:       #f7f7f5;
  --radius-sm:  8px;
  --radius-md:  12px;
  --radius-lg:  16px;
  --radius-xl:  20px;
  --nav-h:      56px;
  --bottom-nav-h: 64px;
  --font-display: 'DM Serif Display', Georgia, serif;
  --font-body:    'DM Sans', system-ui, sans-serif;
}

/* RESET */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; -webkit-text-size-adjust: 100%; overflow-x: hidden; }

body {
  font-family: var(--font-body);
  color: var(--text-1);
  background: var(--bg);
  padding-top: var(--nav-h);
  padding-bottom: var(--bottom-nav-h);
  min-height: 100vh;
  overflow-x: hidden;
  max-width: 100vw;
}
a { color: inherit; text-decoration: none; }
img { display: block; width: 100%; height: 100%; object-fit: cover; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
ul { list-style: none; }

/* SCROLLBAR hide on scroll-rows */
.scroll-row {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  overflow-y: visible;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 0 16px;
  /* Prevent scroll from bleeding to page */
  overscroll-behavior-x: contain;
}
.scroll-row::-webkit-scrollbar { display: none; }

/* ============================================
   NAV
   ============================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  z-index: 100;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 17px;
  color: var(--text-1);
  letter-spacing: -0.01em;
}
.nav-logo strong { color: var(--teal); font-weight: 600; }
.nav-menu {
  width: 40px; height: 40px;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 5px;
}
.nav-menu span {
  display: block; width: 22px; height: 1.5px;
  background: var(--text-1); border-radius: 2px;
  transition: transform 0.2s;
}

/* ============================================
   DRAWER
   ============================================ */
.drawer {
  position: fixed;
  top: 0; right: 0;
  width: min(300px, 85vw);
  height: 100%;
  background: var(--bg);
  z-index: 200;
  transform: translateX(100%);
  transition: transform 0.28s cubic-bezier(0.4,0,0.2,1);
  padding: 20px 20px 40px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.drawer.open { transform: translateX(0); }
.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.drawer-close {
  font-size: 18px;
  color: var(--text-2);
  padding: 8px;
}
.drawer-links { display: flex; flex-direction: column; gap: 4px; }
.drawer-links a {
  display: block;
  padding: 12px 8px;
  font-size: 16px;
  color: var(--text-1);
  border-bottom: 1px solid var(--border);
}
.drawer-cta { margin-top: auto; text-align: center; }
.drawer-backdrop {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.4);
  z-index: 199;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s;
}
.drawer-backdrop.visible { opacity: 1; pointer-events: all; }

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 12px 20px;
  border-radius: var(--radius-md);
  font-size: 15px;
  font-weight: 500;
  font-family: var(--font-body);
  transition: opacity 0.15s, transform 0.1s;
}
.btn:active { transform: scale(0.97); opacity: 0.9; }
.btn-primary { background: var(--teal); color: #fff; }
.btn-outline {
  background: transparent;
  color: var(--teal);
  border: 1.5px solid var(--teal);
}

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  height: 62vh;
  min-height: 380px;
  max-height: 520px;
  overflow: hidden;
  width: 100%;
  max-width: 100vw;
}
.hero-img-wrap {
  position: absolute; inset: 0;
}
.hero-img-wrap.hero-img-fallback {
  background: linear-gradient(160deg, var(--ocean) 0%, var(--teal) 100%);
}
.hero-img { width: 100%; height: 100%; object-fit: cover; }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(2,20,40,0.1) 0%,
    rgba(2,20,40,0.25) 40%,
    rgba(2,20,40,0.72) 100%
  );
}
.hero-content {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 24px 20px 32px;
}
.hero-eyebrow {
  font-size: 11px;
  font-weight: 500;
  color: #9FE1CB;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.hero-title {
  font-family: var(--font-display);
  font-size: 36px;
  line-height: 1.1;
  color: #fff;
  margin-bottom: 8px;
}
.hero-title em { font-style: italic; color: #9FE1CB; }
.hero-sub {
  font-size: 14px;
  color: rgba(255,255,255,0.82);
  margin-bottom: 20px;
  line-height: 1.5;
}
.hero-btn {
  font-size: 14px;
  padding: 11px 18px;
}

/* ============================================
   ISLAND PILLS
   ============================================ */
.island-pills-section {
  padding: 14px 0 0;
}
.pill {
  flex-shrink: 0;
  padding: 7px 18px;
  border-radius: 99px;
  font-size: 13px;
  font-weight: 500;
  border: 1.5px solid var(--border);
  color: var(--text-2);
  background: transparent;
  white-space: nowrap;
  font-family: var(--font-body);
  transition: all 0.15s;
}
.pill-active {
  background: var(--ocean);
  color: #fff;
  border-color: var(--ocean);
}

/* ============================================
   SEARCH BAR
   ============================================ */
.search-section { padding: 12px 16px 0; }
.search-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 12px 14px;
  cursor: pointer;
  text-decoration: none;
}
.search-placeholder {
  flex: 1;
  font-size: 14px;
  color: var(--text-3);
  font-family: var(--font-body);
}
.search-filter-btn {
  width: 32px; height: 32px;
  background: var(--teal-lite);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}

/* ============================================
   SECTIONS
   ============================================ */
.section { padding: 24px 0; }
.section-tinted { background: var(--bg-2); }
.section-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 0 16px;
  margin-bottom: 14px;
  gap: 8px;
}
.section-title {
  font-size: 18px;
  font-weight: 500;
  color: var(--text-1);
  letter-spacing: -0.01em;
}
.section-subtitle {
  font-size: 12px;
  color: var(--text-3);
  margin-top: 2px;
}
.see-all {
  font-size: 13px;
  color: var(--ocean-mid);
  white-space: nowrap;
  flex-shrink: 0;
  padding-top: 3px;
}

/* ============================================
   CATEGORY CHIPS
   ============================================ */
.cat-row { gap: 8px; }
.cat-chip {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
  padding: 8px 14px;
  border-radius: 99px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-1);
  background: var(--bg-2);
  border: 1px solid var(--border);
  white-space: nowrap;
  text-decoration: none;
}
.cat-chip-active {
  background: var(--ocean-lite);
  border-color: var(--ocean-mid);
  color: var(--ocean);
}
.cat-chip-icon { font-size: 15px; }
.seasonal-chip {
  background: var(--sand);
  color: var(--sand-dark);
  font-size: 10px;
  font-weight: 500;
  padding: 1px 6px;
  border-radius: 99px;
  margin-left: 2px;
}

/* ============================================
   ACTIVITY CARDS
   ============================================ */
.card-row { gap: 12px; padding-bottom: 4px; }
.act-card {
  flex-shrink: 0;
  width: 220px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--bg);
  overflow: hidden;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  transition: transform 0.15s;
}
.act-card:active { transform: scale(0.98); }
.act-card-featured { border-color: var(--ocean-mid); border-width: 1.5px; }

.act-img-wrap {
  position: relative;
  height: 140px;
  background: var(--bg-2);
  overflow: hidden;
}
.act-img { width: 100%; height: 100%; object-fit: cover; }
.act-img-fallback {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 44px;
}

.act-badge {
  position: absolute;
  top: 8px; left: 8px;
  background: rgba(2,20,40,0.72);
  color: #fff;
  font-size: 10px;
  font-weight: 500;
  padding: 3px 8px;
  border-radius: 99px;
  letter-spacing: 0.02em;
}
.act-badge-green { background: var(--teal); }
.act-badge-amber { background: #854F0B; }

.act-body {
  padding: 11px 12px 13px;
  display: flex;
  flex-direction: column;
  gap: 3px;
  flex: 1;
}
.act-island {
  font-size: 10px;
  font-weight: 500;
  color: var(--ocean-mid);
  text-transform: uppercase;
  letter-spacing: 0.07em;
}
.act-name {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-1);
  line-height: 1.35;
}
.act-provider {
  font-size: 11px;
  color: var(--text-3);
}
.act-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 4px;
}
.act-stars { font-size: 11px; color: var(--amber); }
.act-rating { font-weight: 500; color: var(--text-1); }
.act-rcount { color: var(--text-3); font-weight: 400; }
.act-price { font-size: 13px; font-weight: 500; color: var(--text-1); }
.act-per { font-size: 11px; color: var(--text-3); font-weight: 400; }

/* ============================================
   SEASONAL BANNER
   ============================================ */
.seasonal-banner {
  margin: 0 16px;
  background: var(--ocean-lite);
  border: 1px solid rgba(24,95,165,0.2);
  border-radius: var(--radius-lg);
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.seasonal-banner-icon { font-size: 32px; flex-shrink: 0; }
.seasonal-banner-text { flex: 1; }
.seasonal-banner-title {
  font-size: 14px;
  font-weight: 500;
  color: var(--ocean);
  margin-bottom: 3px;
}
.seasonal-banner-sub {
  font-size: 12px;
  color: var(--ocean-mid);
  line-height: 1.5;
}
.seasonal-banner-btn {
  flex-shrink: 0;
  font-size: 12px;
  padding: 8px 12px;
  border-color: var(--ocean-mid);
  color: var(--ocean-mid);
}

/* ============================================
   TRUST STRIP
   ============================================ */
.trust-section {
  display: flex;
  flex-direction: column;
  gap: 1px;
  background: var(--border);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin-top: 8px;
}
.trust-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  background: var(--bg);
}
.trust-icon {
  width: 36px; height: 36px;
  background: var(--teal-lite);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 17px;
  color: var(--teal-dark);
  flex-shrink: 0;
}
.trust-title {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-1);
  margin-bottom: 1px;
}
.trust-desc { font-size: 12px; color: var(--text-3); }

/* ============================================
   BOTTOM NAV
   ============================================ */
.bottom-nav {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  height: var(--bottom-nav-h);
  background: var(--bg);
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-around;
  z-index: 100;
  padding-bottom: env(safe-area-inset-bottom);
}
.bottom-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  flex: 1;
  padding: 6px 0;
  color: var(--text-3);
  text-decoration: none;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: color 0.15s;
}
.bottom-nav-active { color: var(--teal); }
.bottom-nav-item svg { flex-shrink: 0; }

/* ============================================
   TABLET & DESKTOP (768px+)
   ============================================ */
@media (min-width: 768px) {
  body { padding-bottom: 0; }
  .bottom-nav { display: none; }
  .nav-menu { display: none; }

  .nav {
    padding: 0 32px;
    max-width: 1200px;
    margin: 0 auto;
    left: 50%; transform: translateX(-50%);
    right: auto; width: 100%;
  }

  .scroll-row {
    overflow-x: visible;
    flex-wrap: wrap;
    padding: 0 32px;
  }

  .card-row {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding: 0 32px;
  }

  .act-card { width: 240px; }

  .section { padding: 32px 0; }
  .section-header { padding: 0 32px; margin-bottom: 18px; }
  .search-section { padding: 16px 32px 0; }
  .island-pills-section { padding: 18px 0 0; }
  .seasonal-banner { margin: 0 32px; }

  .hero-title { font-size: 48px; }
  .hero { min-height: 480px; max-height: 600px; }
  .hero-content { padding: 32px 40px 48px; max-width: 600px; }

  .trust-section {
    flex-direction: row;
    margin: 0;
  }
  .trust-card { flex: 1; border-right: 1px solid var(--border); }
  .trust-card:last-child { border-right: none; }

  .section-title { font-size: 20px; }
}

@media (min-width: 1024px) {
  body { max-width: 1200px; margin: 0 auto; }
  .nav { position: sticky; left: 0; transform: none; max-width: 100%; }
  .cat-row { flex-wrap: wrap; overflow-x: visible; }
}
