/* ==========================================================================
   LALAHAPA LUXURY STAYS, RIDES & DINING — DESIGN SYSTEM & STYLES
   ========================================================================== */

@import url('./fonts/styles.css');

:root {
  --night: #090d16;
  --night-card: #111827;
  --night-hover: #1f293d;
  --paper: #f8fafc;
  --card-bg: #ffffff;
  --card-border: #e2e8f0;
  --muted: #64748b;
  --text-dark: #0f172a;
  --text-light: #f8fafc;
  
  --gold: #d97706;
  --gold-light: #fbbf24;
  --gold-subtle: #fef3c7;
  
  --teal: #0f766e;
  --teal-light: #14b8a6;
  --teal-subtle: #ccfbf1;
  
  --emerald: #059669;
  --rose: #e11d48;
  
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;
  
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 10px 25px -5px rgba(15, 23, 42, 0.08), 0 8px 10px -6px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 20px 35px -5px rgba(15, 23, 42, 0.14), 0 10px 10px -5px rgba(15, 23, 42, 0.04);
  --shadow-gold: 0 10px 25px -3px rgba(217, 119, 6, 0.25);
}

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

body {
  font-family: 'Ubuntu', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: var(--paper);
  color: var(--text-dark);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  padding-bottom: 70px;
}

a {
  color: inherit;
  text-decoration: none;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
}

/* --------------------------------------------------------------------------
   HEADER & NAVBAR
   -------------------------------------------------------------------------- */
.lh-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(9, 13, 22, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 14px 20px;
  color: #fff;
}

.lh-header-container {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.lh-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.lh-brand-icon {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, #1e293b, var(--teal));
  display: grid;
  place-items: center;
  box-shadow: 0 4px 12px rgba(15, 118, 110, 0.3);
}

.lh-brand-text h1 {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #fff;
  line-height: 1.1;
}

.lh-brand-text span {
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold-light);
  font-weight: 600;
}

.lh-nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.lh-nav-btn {
  background: transparent;
  border: 1px solid transparent;
  color: rgba(255, 255, 255, 0.75);
  padding: 8px 14px;
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
}

.lh-nav-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.lh-nav-btn.active {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.2);
}

.lh-nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.lh-btn-gold {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: var(--night);
  font-weight: 700;
  padding: 9px 18px;
  border-radius: var(--radius-full);
  border: none;
  cursor: pointer;
  box-shadow: var(--shadow-gold);
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.lh-btn-gold:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 28px -2px rgba(217, 119, 6, 0.35);
}

.lh-btn-cart {
  position: relative;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  padding: 9px 15px;
  border-radius: var(--radius-full);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
}

.lh-badge-count {
  position: absolute;
  top: -4px;
  right: -4px;
  background: var(--gold);
  color: var(--night);
  font-size: 10px;
  font-weight: 700;
  width: 19px;
  height: 19px;
  border-radius: 50%;
  display: grid;
  place-items: center;
}

/* ----------------------------------------------------------
   HERO SECTION
   ---------------------------------------------------------- */
.lh-hero {
  position: relative;
  background: linear-gradient(180deg, #090d16 0%, #111827 75%, #0f172a 100%);
  color: #fff;
  padding: 48px 20px 60px;
  overflow: hidden;
}

.lh-hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 40px;
  background: linear-gradient(to top, var(--paper), transparent);
}

.lh-hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 2;
}

.lh-pill-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  background: rgba(251, 191, 36, 0.12);
  border: 1px solid rgba(251, 191, 36, 0.3);
  color: var(--gold-light);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.lh-hero h2 {
  font-size: clamp(34px, 5.5vw, 64px);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.08;
  margin-bottom: 16px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.lh-hero h2 em {
  font-style: normal;
  background: linear-gradient(135deg, #fff 0%, var(--gold-light) 60%, var(--gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.lh-hero p {
  color: rgba(255, 255, 255, 0.75);
  font-size: clamp(15px, 1.8vw, 18px);
  max-width: 680px;
  margin: 0 auto 36px;
  line-height: 1.6;
}

/* Category Filter Tabs in Hero */
.lh-hero-tabs {
  display: inline-flex;
  background: rgba(255, 255, 255, 0.07);
  padding: 6px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.12);
  gap: 4px;
  margin-bottom: 28px;
  max-width: 100%;
  overflow-x: auto;
}

.lh-cat-tab {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: var(--radius-full);
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.7);
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.lh-cat-tab:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
}

.lh-cat-tab.active {
  background: #fff;
  color: var(--night);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
}

/* Quick Search Bar */
.lh-search-bar {
  max-width: 1000px;
  margin: 0 auto;
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 10px;
  box-shadow: var(--shadow-lg);
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr auto;
  gap: 10px;
  align-items: center;
  text-align: left;
}

.lh-search-field {
  padding: 10px 14px;
  border-right: 1px solid var(--card-border);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.lh-search-field:last-of-type {
  border-right: none;
}

.lh-search-field label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.lh-search-field input, .lh-search-field select {
  border: none;
  outline: none;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-dark);
  background: transparent;
  width: 100%;
}

.lh-search-btn {
  background: var(--night);
  color: #fff;
  border: none;
  padding: 16px 28px;
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: background 0.2s ease;
}

.lh-search-btn:hover {
  background: var(--teal);
}

/* ----------------------------------------------------------
   CATALOG & LISTINGS SECTION
   ---------------------------------------------------------- */
.lh-main {
  max-width: 1280px;
  margin: -10px auto 40px;
  padding: 0 20px;
  position: relative;
  z-index: 10;
}

.lh-section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin: 32px 0 20px;
}

.lh-section-header h3 {
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--text-dark);
}

.lh-section-header p {
  color: var(--muted);
  font-size: 13.5px;
}

.lh-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 24px;
}

.lh-card {
  background: var(--card-bg);
  border-radius: var(--radius-md);
  border: 1px solid var(--card-border);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.lh-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.lh-card-img-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #e2e8f0;
}

.lh-card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.lh-card:hover .lh-card-img-wrap img {
  transform: scale(1.05);
}

.lh-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  background: rgba(15, 23, 42, 0.85);
  color: #fff;
  backdrop-filter: blur(6px);
}

.lh-badge.vip {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: var(--night);
}

.lh-badge.top-pick {
  background: var(--teal);
  color: #fff;
}

.lh-card-rating {
  position: absolute;
  bottom: 14px;
  right: 14px;
  background: rgba(255, 255, 255, 0.94);
  padding: 4px 9px;
  border-radius: var(--radius-full);
  font-size: 11px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 4px;
  color: var(--text-dark);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
}

.lh-card-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.lh-card-location {
  font-size: 11px;
  font-weight: 700;
  color: var(--teal);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.lh-card-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 8px;
  line-height: 1.3;
}

.lh-card-desc {
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.5;
  margin-bottom: 14px;
  flex: 1;
}

.lh-amenities-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 18px;
}

.lh-tag {
  background: #f1f5f9;
  color: #475569;
  font-size: 11px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 6px;
}

.lh-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  border-top: 1px solid var(--card-border);
}

.lh-price-block small {
  font-size: 10px;
  color: var(--muted);
  display: block;
}

.lh-price-block strong {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-dark);
}

.lh-btn-add {
  background: var(--night);
  color: #fff;
  border: none;
  padding: 8px 16px;
  border-radius: var(--radius-full);
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.15s ease;
}

.lh-btn-add:hover {
  background: var(--teal);
}

/* ----------------------------------------------------------
   VIP EXPERIENCE & TRUST BANNER
   ---------------------------------------------------------- */
.lh-trust-section {
  background: var(--night);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 40px;
  margin: 50px 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.lh-trust-item {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.lh-trust-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.08);
  display: grid;
  place-items: center;
  font-size: 22px;
  color: var(--gold-light);
}

.lh-trust-item h4 {
  font-size: 18px;
  font-weight: 700;
}

.lh-trust-item p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.6;
}

/* ----------------------------------------------------------
   DRAWER & MODALS
   ---------------------------------------------------------- */
.lh-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 420px;
  max-width: 90vw;
  background: #fff;
  box-shadow: -10px 0 35px rgba(0, 0, 0, 0.25);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  transform: translateX(105%);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.lh-drawer.open {
  transform: translateX(0);
}

.lh-drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  z-index: 999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.lh-drawer-backdrop.show {
  opacity: 1;
  pointer-events: auto;
}

.lh-drawer-header {
  padding: 20px;
  border-bottom: 1px solid var(--card-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.lh-drawer-body {
  padding: 20px;
  flex: 1;
  overflow-y: auto;
}

.lh-drawer-footer {
  padding: 20px;
  border-top: 1px solid var(--card-border);
  background: #f8fafc;
}

/* Modal standard */
dialog.lh-modal {
  margin: auto;
  border: none;
  border-radius: var(--radius-lg);
  padding: 0;
  max-width: 580px;
  width: 92vw;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.35);
  background: #fff;
  outline: none;
}

dialog.lh-modal::backdrop {
  background: rgba(9, 13, 22, 0.75);
  backdrop-filter: blur(6px);
}

.lh-modal-inner {
  padding: 30px;
  position: relative;
}

.lh-close-btn {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--card-border);
  background: #fff;
  cursor: pointer;
  display: grid;
  place-items: center;
  font-size: 16px;
  color: var(--muted);
}

/* ----------------------------------------------------------
   PURCHASESHEET (BOARDING PASS & RECEIPT DESIGN)
   ---------------------------------------------------------- */
.purchasesheet-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 2px dashed var(--gold);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  margin: 15px 0;
}

.ps-header {
  background: linear-gradient(135deg, var(--night), #1e293b);
  color: #fff;
  padding: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.ps-header h3 {
  font-size: 20px;
  font-weight: 700;
  color: #fff;
}

.ps-ref-badge {
  background: var(--gold);
  color: var(--night);
  font-size: 12px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 6px;
  letter-spacing: 0.05em;
}

.ps-body {
  padding: 24px;
}

.ps-guest-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--card-border);
}

.ps-field small {
  display: block;
  font-size: 9.5px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--muted);
  letter-spacing: 0.08em;
}

.ps-field b {
  font-size: 13.5px;
  color: var(--text-dark);
}

.ps-items-table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0;
}

.ps-items-table th, .ps-items-table td {
  padding: 10px 0;
  font-size: 13px;
  text-align: left;
}

.ps-items-table th {
  font-size: 10px;
  text-transform: uppercase;
  color: var(--muted);
  border-bottom: 1px solid var(--card-border);
}

.ps-items-table td:last-child, .ps-items-table th:last-child {
  text-align: right;
}

.ps-total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
  border-top: 2px solid var(--text-dark);
  font-size: 18px;
  font-weight: 700;
}

.ps-barcode-wrap {
  text-align: center;
  padding: 15px 0 5px;
  border-top: 1px dashed var(--card-border);
}

.ps-barcode {
  font-family: monospace;
  font-size: 20px;
  letter-spacing: 4px;
  font-weight: 700;
  color: var(--night);
}

.ps-actions-bar {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 20px;
}

.btn-ps-channel {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
  border: 1px solid var(--card-border);
  background: #fff;
  transition: all 0.15s ease;
}

.btn-ps-channel.whatsapp {
  background: #25d366;
  color: #fff;
  border-color: #25d366;
}

.btn-ps-channel.sms {
  background: var(--night);
  color: #fff;
}

.btn-ps-channel:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

/* ----------------------------------------------------------
   MOBILE BOTTOM NAVIGATION BAR
   ---------------------------------------------------------- */
.lh-mobile-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 64px;
  background: rgba(9, 13, 22, 0.97);
  backdrop-filter: blur(12px);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  z-index: 900;
  justify-content: space-around;
  align-items: center;
  padding: 0 10px;
}

.lh-mob-btn {
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.6);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  font-size: 10px;
  font-weight: 600;
  cursor: pointer;
}

.lh-mob-btn i {
  font-size: 18px;
  font-style: normal;
}

.lh-mob-btn.active {
  color: var(--gold-light);
}

/* Form controls */
.lh-form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}

.lh-form-group label {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--text-dark);
}

.lh-form-group input, .lh-form-group select, .lh-form-group textarea {
  padding: 12px 14px;
  border: 1px solid var(--card-border);
  border-radius: var(--radius-sm);
  outline: none;
}

.lh-form-group input:focus, .lh-form-group select:focus, .lh-form-group textarea:focus {
  border-color: var(--teal);
}

/* Toast */
.lh-toast {
  position: fixed;
  bottom: 80px;
  right: 20px;
  background: var(--night);
  color: #fff;
  padding: 12px 20px;
  border-radius: var(--radius-md);
  font-size: 13px;
  font-weight: 600;
  box-shadow: var(--shadow-lg);
  z-index: 2000;
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.lh-toast.show {
  transform: translateY(0);
  opacity: 1;
}

/* Responsive */
@media (max-width: 900px) {
  .lh-search-bar {
    grid-template-columns: 1fr;
  }
  .lh-search-field {
    border-right: none;
    border-bottom: 1px solid var(--card-border);
  }
  .lh-trust-section {
    grid-template-columns: 1fr;
  }
  .lh-nav-links {
    display: none;
  }
  .lh-mobile-bar {
    display: flex;
  }
}

@media (max-width: 600px) {
  .lh-grid {
    grid-template-columns: 1fr;
  }
  .ps-guest-row {
    grid-template-columns: 1fr;
  }
  .ps-actions-bar {
    grid-template-columns: 1fr;
  }
}
