/* =====================================================
   TripTight - Clean Mobile-First Customer Stylesheet
   Dark Cyberpunk Minimal Aesthetic
   ===================================================== */

/* Top Navigation */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background: rgba(0, 0, 0, 0.85);
  border-bottom: 1px solid var(--border-subtle);
  padding: 12px 20px;
  transition: all var(--motion-fast) var(--ease-in-out);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.brand-wrapper {
  display: flex;
  align-items: center;
  text-decoration: none;
  min-width: 0;
}

.brand-logo-img {
  height: 50px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.45));
  transition: transform var(--motion-fast) var(--ease-in-out);
}

.brand-logo-img:hover {
  transform: scale(1.03);
}

.brand-text-col {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.brand-name {
  font-size: 17px;
  font-weight: 800;
  color: var(--text-white);
  letter-spacing: -0.3px;
  white-space: nowrap;
}

.brand-tagline {
  font-size: 10.5px;
  font-weight: 500;
  color: var(--accent-lavender);
  letter-spacing: 0.5px;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.btn-instagram {
  background: linear-gradient(135deg, #833ab4, #fd1d1d, #fcb045);
  color: #ffffff;
  border: none;
  box-shadow: 0 4px 12px rgba(253, 29, 29, 0.25);
}

.btn-instagram:hover {
  filter: brightness(1.1);
  transform: translateY(-1px);
}

/* Main Bold Hero Header */
.main-hero {
  padding: 40px 20px 24px;
  text-align: center;
  position: relative;
}

.hero-container {
  max-width: 820px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--accent-lavender);
  background: rgba(168, 85, 247, 0.12);
  border: 1px solid rgba(168, 85, 247, 0.3);
  padding: 5px 16px;
  border-radius: var(--radius-pill);
  margin-bottom: 16px;
  box-shadow: 0 4px 16px rgba(168, 85, 247, 0.15);
}

.hero-headline {
  font-size: clamp(28px, 5vw, 44px);
  font-weight: 900;
  color: #ffffff;
  letter-spacing: -0.8px;
  line-height: 1.2;
  margin-bottom: 10px;
  background: linear-gradient(135deg, #ffffff 40%, var(--accent-lavender) 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtext {
  font-size: clamp(13px, 2.5vw, 15px);
  color: var(--text-secondary);
  line-height: 1.5;
  max-width: 600px;
  margin: 0 auto;
}

/* Legacy Hero Section */
.hero-section {
  position: relative;
  padding: 48px 16px 36px;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--surface-raised);
  border: 1px solid var(--border-hover);
  padding: 5px 14px;
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 500;
  color: var(--accent-lavender);
  box-shadow: 0 4px 16px rgba(168, 85, 247, 0.15);
  margin-bottom: 16px;
  animation: fadeInUp var(--motion-normal) var(--ease-in-out);
}

.hero-title {
  font-size: clamp(26px, 5vw, 44px);
  font-weight: 800;
  line-height: 1.2;
  color: var(--text-white);
  letter-spacing: -0.5px;
  margin-bottom: 12px;
  animation: fadeInUp var(--motion-normal) var(--ease-in-out) 50ms backwards;
}

.hero-title .gradient-text {
  background: linear-gradient(135deg, #ffffff 0%, #d8b4fe 60%, #a855f7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: clamp(14px, 2vw, 16px);
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto 24px;
  line-height: 1.5;
  animation: fadeInUp var(--motion-normal) var(--ease-in-out) 100ms backwards;
}

/* Trust Badges Bar */
.trust-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  animation: fadeInUp var(--motion-normal) var(--ease-in-out) 150ms backwards;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(16, 18, 35, 0.7);
  border: 1px solid var(--border-subtle);
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  font-size: 12px;
  color: var(--text-primary);
  backdrop-filter: blur(8px);
}

/* Category Filter Tabs */
/* Filter Slider Wrapper & Nav Buttons */
.filter-slider-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
}

.filter-nav-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  min-width: 32px;
  border-radius: 50%;
  background: rgba(16, 18, 35, 0.95);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  cursor: pointer;
  flex-shrink: 0;
  transition: all 0.2s ease;
  z-index: 2;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

.filter-nav-btn:hover {
  color: var(--text-white);
  border-color: var(--accent-purple);
  background: var(--surface-raised);
}

.filter-pills {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 6px 4px 8px;
  width: 100%;
  scrollbar-width: thin;
  scrollbar-color: rgba(168, 85, 247, 0.4) transparent;
  -webkit-overflow-scrolling: touch;
}

.filter-pills::-webkit-scrollbar {
  height: 4px;
}

.filter-pills::-webkit-scrollbar-track {
  background: transparent;
}

.filter-pills::-webkit-scrollbar-thumb {
  background: rgba(168, 85, 247, 0.4);
  border-radius: 4px;
}

.filter-container {
  max-width: 1200px;
  margin: 0 auto 20px;
  padding: 0 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.filter-pills {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 6px;
  max-width: 100%;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.filter-pills::-webkit-scrollbar {
  display: none;
}

.filter-pill {
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  background: var(--surface-raised);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
  transition: all var(--motion-instant) var(--ease-in-out);
}

.filter-pill:hover, .filter-pill.active {
  background: rgba(168, 85, 247, 0.18);
  color: var(--text-white);
  border-color: var(--accent-purple);
  box-shadow: 0 4px 15px rgba(168, 85, 247, 0.25);
}

/* Destinations Grid */
.destinations-grid {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px 48px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 20px;
}

.destination-card {
  cursor: pointer;
  display: flex;
  flex-direction: column;
  background: var(--surface-raised);
  border-radius: var(--radius-card);
  border: 1px solid var(--border-subtle);
  overflow: hidden;
  transition: transform var(--motion-instant) var(--ease-in-out),
              box-shadow var(--motion-instant) var(--ease-in-out),
              border-color var(--motion-instant) var(--ease-in-out);
  position: relative;
}

.destination-card:hover {
  transform: translateY(-3px);
  border-color: rgba(216, 180, 254, 0.35);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.8), 0 0 20px rgba(168, 85, 247, 0.3);
}

.card-media {
  position: relative;
  width: 100%;
  height: 200px;
  overflow: hidden;
  background: var(--surface-strong);
}

.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms var(--ease-in-out);
}

.destination-card:hover .card-media img {
  transform: scale(1.05);
}

.card-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border-glass);
  color: #ffffff;
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
}

.card-price-tag {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: rgba(16, 18, 35, 0.9);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border-hover);
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.card-price-tag .prefix {
  font-size: 11px;
  color: var(--text-secondary);
}

.card-price-tag .amount {
  font-size: 15px;
  font-weight: 700;
  color: var(--accent-lavender);
}

.card-content {
  padding: 18px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.card-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 4px;
}

.card-tagline {
  font-size: 12.5px;
  color: var(--text-secondary);
  margin-bottom: 14px;
  line-height: 1.4;
}

.card-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 18px;
  flex: 1;
}

.highlight-tag {
  font-size: 11px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-primary);
  border: 1px solid var(--border-subtle);
  padding: 3px 8px;
  border-radius: var(--radius-sm);
}

.card-action-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--border-subtle);
  padding-top: 14px;
  margin-top: auto;
}

.action-hint {
  font-size: 12px;
  color: var(--accent-lavender);
  font-weight: 500;
}

/* Process Section */
.process-section {
  max-width: 1200px;
  margin: 0 auto 48px;
  padding: 0 16px;
}

.section-header {
  text-align: center;
  margin-bottom: 28px;
}

.section-title {
  font-size: 24px;
  font-weight: 800;
  color: var(--text-white);
  margin-bottom: 6px;
}

.section-desc {
  font-size: 14px;
  color: var(--text-secondary);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.step-card {
  background: var(--surface-raised);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-card);
  padding: 20px;
  box-shadow: var(--shadow-card);
}

.step-num {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  color: var(--accent-lavender);
  background: rgba(168, 85, 247, 0.15);
  border: 1px solid rgba(168, 85, 247, 0.3);
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}

.step-card h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 6px;
}

.step-card p {
  font-size: 12.5px;
  color: var(--text-secondary);
  line-height: 1.4;
}

/* Operator / Owner About Section */
.owner-section {
  max-width: 900px;
  margin: 0 auto 48px;
  padding: 0 16px;
}

.owner-card {
  background: var(--surface-raised);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-card);
  padding: 24px;
  box-shadow: var(--shadow-card), var(--glass-inner-glow);
}

.owner-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}

.owner-avatar {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  object-fit: cover;
  border: 2px solid var(--border-hover);
  box-shadow: 0 4px 15px rgba(168, 85, 247, 0.2);
}

.owner-name {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-white);
}

.owner-title {
  font-size: 12px;
  color: var(--accent-lavender);
}

.owner-bio {
  font-size: 13.5px;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 18px;
}

.owner-socials {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.social-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  color: #fff;
  transition: transform 200ms ease;
}

.social-btn:hover {
  transform: translateY(-2px);
}

.btn-insta {
  background: linear-gradient(135deg, #833ab4, #fd1d1d, #fcb045);
}

.btn-yt {
  background: #ff0000;
}

.btn-fb {
  background: #1877f2;
}

/* Modal Overlay & Dialog */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--motion-fast) var(--ease-in-out),
              visibility var(--motion-fast) var(--ease-in-out);
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-dialog {
  background: var(--surface-raised);
  border: 1px solid var(--border-hover);
  border-radius: var(--radius-card);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.95), var(--shadow-glow), var(--glass-inner-glow);
  width: 100%;
  max-width: 520px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  transform: scale(0.96) translateY(10px);
  transition: transform var(--motion-fast) var(--ease-spring);
}

.modal-overlay.active .modal-dialog {
  transform: scale(1) translateY(0);
}

.modal-header {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(6, 7, 13, 0.7);
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(10px);
}

.modal-header-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.modal-dest-thumb {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  object-fit: cover;
  border: 1px solid var(--border-glass);
}

.modal-header-text h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-white);
}

.modal-header-text p {
  font-size: 11.5px;
  color: var(--accent-lavender);
}

.modal-close-btn {
  background: transparent;
  border: none;
  color: var(--text-secondary);
  font-size: 22px;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.modal-body {
  padding: 20px;
}

/* Stepper Counters */
.stepper-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.counter-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--surface-strong);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 8px 12px;
}

.counter-label {
  display: flex;
  flex-direction: column;
}

.counter-label .name {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-white);
}

.counter-label .sub {
  font-size: 10.5px;
  color: var(--text-muted);
}

.stepper-controls {
  display: flex;
  align-items: center;
  gap: 8px;
}

.step-btn {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--surface-raised);
  border: 1px solid var(--border-glass);
  color: var(--text-white);
  font-size: 15px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.step-btn:hover {
  background: var(--accent-purple);
  border-color: var(--accent-lavender);
}

.step-value {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-accent);
  min-width: 16px;
  text-align: center;
}

.chips-group {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(90px, 1fr));
  gap: 6px;
  margin-top: 4px;
}

.chip-btn {
  background: var(--surface-strong);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-pill);
  padding: 8px 12px;
  font-size: 12px;
  font-weight: 500;
  color: var(--text-primary);
  text-align: center;
  cursor: pointer;
  transition: all var(--motion-instant) var(--ease-in-out);
}

.chip-btn:hover {
  border-color: var(--border-hover);
  color: var(--text-accent);
}

.chip-btn.active {
  background: rgba(168, 85, 247, 0.2);
  border-color: var(--accent-purple);
  color: var(--text-white);
  box-shadow: 0 2px 8px rgba(168, 85, 247, 0.3);
  font-weight: 600;
}

.phone-prefix {
  display: flex;
  align-items: center;
  padding: 0 14px;
  background: var(--surface-strong);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  font-weight: 600;
  color: var(--accent-lavender);
  font-size: 13.5px;
}

/* Success Dialog */
.success-dialog {
  max-width: 440px;
  text-align: center;
  padding: 32px 24px;
}

.success-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.15);
  border: 2px solid var(--accent-emerald);
  color: var(--accent-emerald);
  font-size: 26px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  box-shadow: 0 0 20px rgba(16, 185, 129, 0.3);
}

.success-title {
  font-size: 20px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 6px;
}

.success-ref {
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 12px;
}

.success-desc {
  font-size: 13.5px;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 24px;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border-subtle);
  background: var(--surface-strong);
  padding: 32px 16px;
  text-align: center;
  margin-top: 48px;
}

.footer-content {
  max-width: 800px;
  margin: 0 auto;
}

.footer-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 10px;
}

.footer-copy {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Mobile Responsiveness Overrides */
@media (max-width: 600px) {
  .navbar {
    padding: 10px 14px;
  }
  .brand-logo-img {
    height: 40px;
    width: auto;
    max-width: 140px;
  }
  .main-hero {
    padding: 24px 16px 16px;
  }
  .brand-name {
    font-size: 15px;
  }
  .brand-tagline {
    font-size: 10px;
  }
  .nav-link-text {
    display: none;
  }
  .hero-section {
    padding: 32px 14px 24px;
  }
  .destinations-grid {
    grid-template-columns: 1fr;
    padding: 0 12px 36px;
  }
  .card-media {
    height: 180px;
  }
  .stepper-grid {
    grid-template-columns: 1fr;
  }
  .chips-group {
    grid-template-columns: 1fr 1fr;
  }
  .modal-dialog {
    max-height: 92vh;
  }
}


/* Mobile Input Zoom Prevention (iOS 16px rule) */
@media screen and (max-width: 768px) {
  input, select, textarea, .form-input, .form-select {
    font-size: 16px !important;
  }
}


/* ==========================================================================
   PERMANENT MOBILE ZERO-ZOOM LOCK (Prevents iOS & Android from ever zooming)
   ========================================================================== */
html, body {
  touch-action: pan-x pan-y !important;
  -webkit-touch-callout: none !important;
  -webkit-text-size-adjust: 100% !important;
}

*, *::before, *::after {
  touch-action: manipulation;
}

input, select, textarea, .form-input, .form-select {
  font-size: 16px !important; /* iOS Safari forces auto-zoom if < 16px */
  touch-action: manipulation !important;
}

button, a, .chip-btn, .filter-pill, .destination-card {
  touch-action: manipulation !important;
  -webkit-tap-highlight-color: transparent;
}
