/* css/index_styles4.css */

:root {
  --primary-blue: #0b57d0;
  --dark-blue: #0842a0;
  --accent-yellow: #fbbc04;
  --bg-gray: #f8fafc;
  --card-bg: #ffffff;
  --text-main: #1f2937;
  --text-muted: #6b7280;
  --border-color: #e5e7eb;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  -webkit-tap-highlight-color: transparent;
}

body {
  background-color: var(--bg-gray);
  color: var(--text-main);
  padding-bottom: calc(76px + env(safe-area-inset-bottom));
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

header {
  background: linear-gradient(180deg, #094cb5 0%, var(--primary-blue) 100%);
  color: white;
  padding: 10px 16px;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  max-width: 1200px;
  margin: 0 auto;
}

.brand {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  flex-shrink: 0;
}

.brand-logo-img {
  height: 38px;
  width: auto;
  object-fit: contain;
  border-radius: 6px;
}

.brand-icon-fallback {
  background: var(--accent-yellow);
  color: var(--primary-blue);
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  flex-shrink: 0;
}

.brand-text {
  font-size: 1.25rem;
  font-weight: 700;
  color: white;
  display: none;
}

/* Search Container with Autocomplete */
.search-wrapper {
  flex: 1;
  min-width: 0;
  position: relative;
}

.search-bar {
  background: white;
  border-radius: 30px;
  display: flex;
  align-items: center;
  padding: 7px 14px;
  gap: 8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
}

.search-bar i {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.search-bar input {
  border: none;
  outline: none;
  width: 100%;
  font-size: 0.88rem;
  color: var(--text-main);
  background: transparent;
}

/* Search Suggestions Box (Hidden by default to remove white line gap) */
.search-suggestions-box {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  background: white;
  border-radius: 16px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
  border: 1px solid var(--border-color);
  overflow: hidden;
  display: none;
  flex-direction: column;
  z-index: 500;
  max-height: 420px;
}

.search-suggestions-box.open {
  display: flex;
}

#suggestionsListContent {
  max-height: 330px;
  overflow-y: auto;
  overscroll-behavior: contain;
}

#suggestionsListContent::-webkit-scrollbar {
  width: 6px;
}

#suggestionsListContent::-webkit-scrollbar-track {
  background: #f1f5f9;
  border-radius: 4px;
}

#suggestionsListContent::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px;
}

#suggestionsListContent::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

@media (max-width: 767px) {
  .search-suggestions-box {
    position: fixed;
    top: 64px;
    left: 12px;
    right: 12px;
    width: auto;
    max-width: calc(100vw - 24px);
    border-radius: 14px;
  }
}

.suggestion-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  border-bottom: 1px solid #f8fafc;
  transition: background 0.15s ease;
}

.suggestion-item:hover {
  background-color: #f1f5f9;
}

.suggestion-thumb {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
}

.suggestion-info {
  flex: 1;
  min-width: 0;
}

.suggestion-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: #0f172a;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.suggestion-subtitle {
  font-size: 0.76rem;
  color: #64748b;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-top: 2px;
}

.suggestion-tag {
  font-size: 0.68rem;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
  background: #eff6ff;
  color: var(--primary-blue);
  text-transform: uppercase;
  flex-shrink: 0;
}

.ai-suggestion-cta {
  padding: 10px 14px;
  background: #eff6ff;
  border-top: 1px solid #dbeafe;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #0b57d0;
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
}

.ai-suggestion-cta:hover {
  background: #dbeafe;
}

.suggestion-footer {
  background: #f8fafc;
  padding: 12px 14px;
  border-top: 1px solid #e2e8f0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-decoration: none;
  font-size: 0.82rem;
  color: var(--primary-blue);
  font-weight: 700;
}

.suggestion-footer:hover {
  background: #eff6ff;
  text-decoration: underline;
}

.desktop-nav {
  display: none;
}

.user-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.notif-wrapper {
  display: none;
  position: relative;
  cursor: pointer;
  font-size: 1.15rem;
}

.notif-badge {
  position: absolute;
  top: -2px;
  right: -2px;
  width: 8px;
  height: 8px;
  background-color: #ef4444;
  border-radius: 50%;
  border: 1.5px solid white;
}

@keyframes blinkGlow {
  0% {
    opacity: 1;
    transform: scale(1);
    box-shadow: 0 0 0 rgba(56, 189, 248, 0.4);
    border-color: rgba(255, 255, 255, 0.3);
  }
  50% {
    opacity: 0.82;
    transform: scale(1.04);
    box-shadow: 0 0 12px rgba(56, 189, 248, 0.9);
    border-color: #38bdf8;
  }
  100% {
    opacity: 1;
    transform: scale(1);
    box-shadow: 0 0 0 rgba(56, 189, 248, 0.4);
    border-color: rgba(255, 255, 255, 0.3);
  }
}

.btn-play-store {
  background: #0f172a;
  color: white;
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.76rem;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  animation: blinkGlow 2s infinite ease-in-out;
}

.btn-play-store:hover {
  background: #1e293b;
  color: #38bdf8;
}

.btn-play-store i {
  color: #38bdf8;
  font-size: 0.9rem;
}

.profile-avatar-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 2px solid white;
  object-fit: cover;
  cursor: pointer;
  display: block;
}

.user-icon-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 2px solid white;
  background: rgba(255, 255, 255, 0.2);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  cursor: pointer;
}

.btn-login-header {
  display: none;
  background: white;
  color: var(--primary-blue);
  border: none;
  padding: 7px 16px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  align-items: center;
  gap: 6px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.btn-login-header:hover {
  background: #f8fafc;
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: 240px;
  background: white;
  border-radius: var(--radius-md);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  border: 1px solid var(--border-color);
  display: none;
  flex-direction: column;
  overflow: hidden;
  z-index: 300;
}

.dropdown-menu.active {
  display: flex;
}

.dropdown-header {
  padding: 12px 14px;
  border-bottom: 1px solid #f3f4f6;
}

.dropdown-header p {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-main);
}

.dropdown-header span {
  font-size: 0.74rem;
  color: var(--text-muted);
}

.badge-pill {
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  padding: 3px 8px;
  font-size: 0.72rem;
  font-weight: 600;
  display: inline-block;
  margin-top: 4px;
  color: var(--primary-blue);
}

.dropdown-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  color: #374151;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
}

.dropdown-item:hover {
  background-color: #f8fafc;
  color: var(--primary-blue);
}

main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px;
  flex: 1;
  width: 100%;
}

.view-page {
  display: none;
}

.view-page.active {
  display: block;
}

/* Hero Slider Container Styles */
.hero-slider-container {
  position: relative;
  border-radius: var(--radius-lg, 20px);
  overflow: hidden;
  min-height: 250px;
  margin-bottom: 20px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
}

.hero-slide {
  display: none;
  position: relative;
  width: 100%;
  min-height: 250px;
  align-items: center;
  padding: 28px 24px;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  animation: heroFade 0.7s ease-in-out;
}

.hero-slide.active {
  display: flex;
}

@keyframes heroFade {
  from { opacity: 0.4; }
  to { opacity: 1; }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.94) 0%, rgba(255, 255, 255, 0.7) 60%, rgba(255, 255, 255, 0) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 380px;
}

.hero-content h1 {
  font-size: 1.55rem;
  line-height: 1.25;
  color: var(--dark-blue);
  margin-bottom: 6px;
}

.hero-content p {
  font-size: 0.88rem;
  color: #374151;
  margin-bottom: 14px;
  font-weight: 500;
}

.hero-slider-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.85);
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--primary-blue, #0b57d0);
  font-size: 0.95rem;
  z-index: 10;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  transition: all 0.2s ease;
}

.hero-slider-nav:hover {
  background: white;
  transform: translateY(-50%) scale(1.1);
}

.hero-slider-prev { left: 14px; }
.hero-slider-next { right: 14px; }

.hero-slider-dots {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  z-index: 10;
}

.hero-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.55);
  cursor: pointer;
  transition: all 0.2s ease;
}

.hero-dot.active {
  width: 22px;
  border-radius: 6px;
  background: var(--primary-blue, #0b57d0);
}

@media (max-width: 640px) {
  .hero-slider-container, .hero-slide { min-height: 220px; }
  .hero-slider-nav { display: none; }
}

.btn-primary {
  background-color: var(--primary-blue);
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.88rem;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  display: inline-block;
}

.btn-primary:hover {
  background-color: var(--dark-blue);
}

.categories-strip {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding: 14px 10px;
  background: white;
  border-radius: var(--radius-md);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
  margin-bottom: 24px;
  scrollbar-width: none;
}

.categories-strip::-webkit-scrollbar {
  display: none;
}

.category-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  min-width: 72px;
  flex-shrink: 0;
}

.category-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  background-color: #f1f5f9;
  color: var(--primary-blue);
  transition: all 0.2s ease;
}

.category-item.active .category-icon {
  background-color: var(--primary-blue);
  color: white;
  transform: translateY(-2px);
}

.category-item span {
  font-size: 0.72rem;
  font-weight: 600;
  text-align: center;
}

.regional-tabs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  margin-bottom: 14px;
  padding-bottom: 4px;
  scrollbar-width: none;
}

.regional-tabs::-webkit-scrollbar {
  display: none;
}

.region-pill {
  background: white;
  border: 1px solid var(--border-color);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  color: #4b5563;
}

.region-pill.active {
  background: var(--primary-blue);
  color: white;
  border-color: var(--primary-blue);
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  margin-top: 8px;
}

.section-header h2 {
  font-size: 1.15rem;
  font-weight: 700;
  color: #111827;
}

.destinations-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 24px;
}

.destination-card {
  position: relative;
  height: 170px;
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.06);
}

.destination-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.destination-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 35%, rgba(0, 0, 0, 0.85) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 10px 12px;
  color: white;
}

.destination-overlay h3 {
  font-size: 0.95rem;
  font-weight: 700;
}

.destination-overlay span {
  font-size: 0.72rem;
  opacity: 0.9;
}

.guides-list-container {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}

.guide-row-card {
  background: white;
  border-radius: var(--radius-md);
  padding: 14px;
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
  border: 1px solid var(--border-color);
}

.guide-row-card .guide-avatar-box {
  width: 76px;
  height: 76px;
  border-radius: 12px;
  overflow: hidden;
  flex-shrink: 0;
  background: #e2e8f0;
  cursor: pointer;
}

.guide-row-card .guide-avatar-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.guide-row-card .guide-details-box {
  flex: 1;
  min-width: 0;
  cursor: pointer;
}

.guide-row-card .guide-details-box h3 {
  font-size: 1rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 2px;
}

.guide-row-card .guide-subline {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.guide-row-card .guide-rating-row {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.78rem;
  font-weight: 700;
}

.guide-row-card .guide-rating-row .stars {
  color: var(--accent-yellow);
}

.guide-row-card .tours-count {
  font-size: 0.74rem;
  color: #64748b;
  margin-top: 2px;
}

.guide-action-box {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
  flex-shrink: 0;
}

.hourly-rate-pill {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--primary-blue);
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  padding: 3px 8px;
  border-radius: 6px;
}

.btn-view-profile-card {
  background: white;
  color: var(--primary-blue, #0b57d0);
  border: 1.5px solid var(--primary-blue, #0b57d0);
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.btn-view-profile-card:hover {
  background: var(--primary-blue, #0b57d0);
  color: white;
}

/* Attraction List View */
.destination-list-item {
  background: white;
  border-radius: var(--radius-md);
  padding: 14px;
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 14px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
  border: 1px solid var(--border-color);
  transition: box-shadow 0.2s ease;
}

.destination-list-item:hover {
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.06);
}

.destination-list-item img {
  width: 90px;
  height: 90px;
  border-radius: 12px;
  object-fit: cover;
  flex-shrink: 0;
  cursor: pointer;
}

.destination-list-item .details {
  flex: 1;
  min-width: 0;
  cursor: pointer;
}

.destination-list-item .details h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 3px;
}

.destination-list-item .details p {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.meta-badges-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 4px;
}

.guide-count-badge {
  font-size: 0.72rem;
  font-weight: 700;
  color: #15803d;
  background: #dcfce7;
  border: 1px solid #bbf7d0;
  padding: 3px 8px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.ticket-badge {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--primary-blue);
}

.destination-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
  flex-shrink: 0;
}

.btn-fav-icon {
  background: white;
  border: 1.5px solid #cbd5e1;
  border-radius: 20px;
  padding: 6px 14px;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
  color: #475569;
}

.btn-fav-icon.active {
  background: #fef2f2;
  border-color: #fca5a5;
  color: #dc2626;
}

.btn-fav-icon:hover {
  transform: scale(1.02);
}

.btn-view-details {
  background: var(--primary-blue);
  color: white;
  border: none;
  padding: 7px 16px;
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: background 0.2s;
}

.btn-view-details:hover {
  background: var(--dark-blue);
}

@media (max-width: 767px) {
  .destination-list-item {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    padding: 12px;
  }

  .destination-list-item img {
    width: 100%;
    height: 150px;
    border-radius: 10px;
  }

  .destination-actions {
    flex-direction: row;
    justify-content: space-between;
    width: 100%;
    align-items: center;
    border-top: 1px solid var(--border-color);
    padding-top: 10px;
    margin-top: 2px;
  }

  .btn-fav-icon,
  .btn-view-details {
    flex: 1;
    justify-content: center;
    text-align: center;
    padding: 8px 12px;
  }

  .guide-row-card {
    flex-wrap: wrap;
  }

  .guide-row-card .guide-action-box {
    width: 100%;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--border-color);
    padding-top: 8px;
    margin-top: 4px;
  }
}

/* MOBILE APP-LIKE BOTTOM BAR */
.mobile-bottom-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 64px;
  padding-bottom: env(safe-area-inset-bottom);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid rgba(229, 231, 235, 0.8);
  display: flex;
  justify-content: space-around;
  align-items: center;
  z-index: 999;
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.05);
}

.nav-tab {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  padding: 6px 12px;
  gap: 3px;
  cursor: pointer;
  text-decoration: none;
  color: #64748b;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  flex: 1;
  height: 100%;
}

.nav-tab .icon-box {
  font-size: 1.25rem;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease, color 0.2s ease;
}

.nav-tab span {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  transition: color 0.2s ease, font-weight 0.2s ease;
}

.nav-tab.active {
  color: var(--primary-blue);
}

.nav-tab.active .icon-box {
  transform: translateY(-2px) scale(1.08);
  color: var(--primary-blue);
}

.nav-tab.active span {
  font-weight: 700;
  color: var(--primary-blue);
}

.nav-tab.active::after {
  content: '';
  position: absolute;
  bottom: calc(4px + env(safe-area-inset-bottom));
  width: 14px;
  height: 3px;
  background-color: var(--primary-blue);
  border-radius: 4px;
}

/* ======================================================== */
/* DESKTOP-SPECIFIC STYLES & PC FOOTER                      */
/* ======================================================== */
.desktop-footer {
  display: none;
}

@media (min-width: 768px) {
  body {
    padding-bottom: 0;
  }

  header {
    padding: 12px 40px;
  }

  .brand-text {
    display: inline;
  }

  .search-wrapper {
    max-width: 440px;
  }

  .notif-wrapper {
    display: block;
  }

  .btn-login-header {
    display: inline-flex;
  }

  .desktop-nav {
    display: flex;
    align-items: center;
    gap: 24px;
  }

  .desktop-nav button,
  .desktop-nav a {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.95rem;
    cursor: pointer;
    text-decoration: none;
    padding-bottom: 4px;
    position: relative;
    transition: color 0.2s;
  }

  .desktop-nav button:hover,
  .desktop-nav a:hover {
    color: white;
  }

  .desktop-nav button.active,
  .desktop-nav a.active {
    color: white;
    font-weight: 700;
  }

  .desktop-nav button.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background-color: var(--accent-yellow);
    border-radius: 2px;
  }

  .mobile-bottom-bar {
    display: none;
  }

  main {
    padding: 28px 20px;
  }

  .destinations-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
  }

  /* PC View Footer */
  .desktop-footer {
    display: block;
    background-color: #0f172a;
    color: #94a3b8;
    font-size: 0.85rem;
    border-top: 1px solid #1e293b;
    margin-top: 40px;
  }

  .desktop-footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 48px 24px 28px;
  }

  .desktop-footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
    gap: 36px;
    margin-bottom: 36px;
  }

  .footer-col h4 {
    color: #ffffff;
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 14px;
  }

  .footer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #ffffff;
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 12px;
  }

  .footer-col p {
    font-size: 0.82rem;
    line-height: 1.6;
    color: #94a3b8;
    margin-bottom: 12px;
  }

  .footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
  }

  .footer-links a {
    color: #94a3b8;
    text-decoration: none;
    font-size: 0.82rem;
    transition: color 0.15s ease;
  }

  .footer-links a:hover {
    color: #ffffff;
  }

  .footer-desk-box {
    background: #1e293b;
    border: 1px solid #334155;
    border-radius: 12px;
    padding: 14px;
  }

  .footer-desk-box p {
    margin-bottom: 8px;
  }

  .footer-mail-link {
    color: #38bdf8;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.82rem;
  }

  .footer-mail-link:hover {
    text-decoration: underline;
  }

  .desktop-footer-bottom {
    padding-top: 24px;
    border-top: 1px solid #1e293b;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.78rem;
    color: #64748b;
  }
}

.icon-badge-wrapper {
  position: relative;
  display: inline-flex;
}

.unread-chat-dot {
  position: absolute;
  top: -4px;
  right: -7px;
  background: #ef4444;
  color: white;
  font-size: 0.65rem;
  font-weight: 800;
  min-width: 16px;
  height: 16px;
  line-height: 16px;
  border-radius: 10px;
  text-align: center;
  padding: 0 4px;
  border: 1.5px solid white;
}

.dropdown-item .badge-count {
  margin-left: auto;
  background: #ef4444;
  color: white;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 10px;
}

.dropdown-item .wallet-balance-pill {
  margin-left: auto;
  color: #16a34a;
  font-weight: 700;
  font-size: 0.8rem;
}

/* Guide action buttons layout */
.guide-buttons-row {
  display: flex;
  align-items: center;
  gap: 6px;
}

.btn-chat-guide-card {
  background: #10b981;
  color: white;
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s;
  flex-shrink: 0;
}

.btn-chat-guide-card:hover {
  background: #059669;
  transform: scale(1.05);
  color: white;
}

/* ========================================================= */
/* SMALL GOLDEN CORNER RIBBON: POPULAR                       */
/* ========================================================= */
.corner-ribbon-wrapper {
  width: 65px;
  height: 65px;
  overflow: hidden;
  position: absolute;
  top: 0;
  right: 0;
  z-index: 10;
  pointer-events: none;
}

.corner-ribbon-wrapper .corner-ribbon {
  position: absolute;
  display: block;
  width: 90px;
  padding: 2.5px 0;
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 60%, #d97706 100%);
  box-shadow: 0 1.5px 5px rgba(0, 0, 0, 0.25);
  color: #592200;
  font-size: 0.58rem;
  font-weight: 900;
  text-transform: uppercase;
  text-align: center;
  left: -6px;
  top: 13px;
  transform: rotate(45deg);
  letter-spacing: 0.6px;
  line-height: 1.1;
}

/* ========================================================= */
/* ATTRACTIONS SCREEN FILTER TOOLBAR & SEARCH POPUP MODAL    */
/* ========================================================= */
.attractions-filter-toolbar {
  background: white;
  border: 1px solid var(--border-color, #e2e8f0);
  border-radius: 12px;
  padding: 12px 16px;
  margin-bottom: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.03);
}

.filter-group-left {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  flex: 1;
}

.filter-btn-trigger {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 0.84rem;
  font-weight: 600;
  color: #334155;
  cursor: pointer;
  transition: all 0.2s;
}

.filter-btn-trigger:hover {
  background: #eff6ff;
  border-color: #93c5fd;
  color: #0b57d0;
}

.filter-select {
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 0.84rem;
  font-weight: 600;
  color: #334155;
  outline: none;
  cursor: pointer;
}

.filter-select:focus {
  border-color: #0b57d0;
  background: white;
}

.btn-clear-filters {
  background: none;
  border: none;
  color: #ef4444;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  padding: 6px 10px;
  display: none;
  align-items: center;
  gap: 4px;
}

.btn-clear-filters:hover {
  text-decoration: underline;
}

/* Modal Popup Styling */
.location-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(3px);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.location-modal-overlay.open {
  display: flex;
}

.location-modal-box {
  background: white;
  width: 100%;
  max-width: 520px;
  border-radius: 16px;
  box-shadow: 0 20px 35px rgba(0, 0, 0, 0.18);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  max-height: 85vh;
  animation: modalFadeIn 0.2s ease-out;
}

@keyframes modalFadeIn {
  from {
    opacity: 0;
    transform: scale(0.96);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.location-modal-header {
  padding: 16px 20px;
  border-bottom: 1px solid #e2e8f0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #f8fafc;
}

.location-modal-header h3 {
  font-size: 1.05rem;
  color: #0f172a;
  display: flex;
  align-items: center;
  gap: 8px;
}

.location-modal-close {
  background: none;
  border: none;
  font-size: 1.25rem;
  color: #64748b;
  cursor: pointer;
}

.location-modal-search {
  padding: 12px 18px;
  border-bottom: 1px solid #e2e8f0;
}

.location-search-input {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  font-size: 0.9rem;
  outline: none;
}

.location-search-input:focus {
  border-color: #0b57d0;
  box-shadow: 0 0 0 3px rgba(11, 87, 208, 0.1);
}

.location-modal-list {
  flex: 1;
  overflow-y: auto;
  padding: 8px 12px;
  list-style: none;
  margin: 0;
}

.location-modal-item {
  padding: 10px 12px;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background 0.15s;
}

.location-modal-item:hover {
  background: #eff6ff;
}

.location-modal-item strong {
  font-size: 0.9rem;
  color: #1e293b;
}

.location-modal-item span {
  font-size: 0.76rem;
  background: #f1f5f9;
  color: #475569;
  padding: 3px 8px;
  border-radius: 12px;
  font-weight: 600;
}

.location-modal-item.active {
  background: #dbeafe;
}

.location-modal-item.active strong {
  color: #0b57d0;
}

@media (max-width: 640px) {
  .attractions-filter-toolbar {
    flex-direction: column;
    align-items: stretch;
  }

  .filter-group-left {
    flex-direction: column;
  }

  .filter-btn-trigger,
  .filter-select {
    width: 100%;
    justify-content: space-between;
  }
}

/* ========================================================= */
/* MOBILE SETTINGS SLIDE-UP MODAL SHEET                      */
/* ========================================================= */
.settings-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 1050;
  display: none;
  align-items: flex-end;
  justify-content: center;
}

.settings-modal-overlay.open {
  display: flex;
}

.settings-modal-box {
  background: #ffffff;
  width: 100%;
  max-width: 500px;
  border-radius: 20px 20px 0 0;
  padding: 12px 18px 24px;
  box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.2);
  animation: settingsSlideUp 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  max-height: 82vh;
  display: flex;
  flex-direction: column;
}

@keyframes settingsSlideUp {
  from { transform: translateY(100%); }
  to { transform: translateY(0); }
}

.settings-drag-handle {
  width: 36px;
  height: 4px;
  background-color: #cbd5e1;
  border-radius: 4px;
  margin: 0 auto 12px;
}

.settings-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 12px;
  border-bottom: 1px solid #f1f5f9;
}

.settings-user-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.settings-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--primary-blue, #0b57d0);
}

.settings-guest-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #f1f5f9;
  color: #64748b;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}

.settings-user-info h4 {
  font-size: 0.95rem;
  color: #0f172a;
  font-weight: 700;
}

.settings-user-info p {
  font-size: 0.74rem;
  color: #64748b;
}

.settings-close-btn {
  background: none;
  border: none;
  font-size: 1.5rem;
  color: #94a3b8;
  cursor: pointer;
  padding: 0 4px;
  line-height: 1;
}

.settings-menu-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 10px;
  overflow-y: auto;
  padding-bottom: calc(10px + env(safe-area-inset-bottom));
}

.settings-menu-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 12px;
  border-radius: 10px;
  text-decoration: none;
  color: #1e293b;
  transition: background 0.15s;
}

.settings-menu-item:hover,
.settings-menu-item:active {
  background-color: #f8fafc;
}

.settings-menu-item i:first-child {
  font-size: 1.15rem;
  width: 22px;
  text-align: center;
  flex-shrink: 0;
}

.settings-menu-item .menu-label {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.settings-menu-item .menu-label span {
  font-size: 0.88rem;
  font-weight: 600;
}

.settings-menu-item .menu-label small {
  font-size: 0.72rem;
  color: #64748b;
  margin-top: 1px;
}

.settings-menu-item .arrow-icon {
  font-size: 0.75rem;
  color: #cbd5e1;
}

.settings-menu-item.item-logout {
  color: #dc2626;
  border-top: 1px solid #f1f5f9;
  margin-top: 4px;
  padding-top: 12px;
}

.settings-menu-item.item-logout i {
  color: #dc2626;
}

/* AI Floating Chatbot Styles */
.ai-chat-trigger-btn {
  position: fixed;
  right: 20px;
  bottom: 24px;
  z-index: 180;
  background: linear-gradient(135deg, #0b57d0 0%, #1e40af 100%);
  color: #ffffff;
  border: 2px solid #ffffff;
  border-radius: 30px;
  padding: 8px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(11, 87, 208, 0.35);
  font-weight: 700;
  font-size: 0.88rem;
  transition: transform 0.2s, box-shadow 0.2s;
}

.ai-chat-trigger-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(11, 87, 208, 0.45);
}

.ai-chat-trigger-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid #ffffff;
  background: #ffffff;
}

.ai-chat-popup-card {
  position: fixed;
  right: 20px;
  bottom: 80px;
  width: 360px;
  max-width: calc(100vw - 32px);
  height: 480px;
  max-height: calc(100vh - 120px);
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.25);
  border: 1px solid #e2e8f0;
  display: none;
  flex-direction: column;
  z-index: 190;
  overflow: hidden;
  animation: slideUpAi 0.25s ease-out;
}

@keyframes slideUpAi {
  from { transform: translateY(16px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.ai-chat-popup-card.open {
  display: flex;
}

.ai-chat-header {
  background: #0b57d0;
  color: #ffffff;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.ai-chat-header-user {
  display: flex;
  align-items: center;
  gap: 10px;
}

.ai-chat-header-user img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #ffffff;
  border: 2px solid rgba(255, 255, 255, 0.7);
}

.ai-chat-header-user h4 {
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.2;
}

.ai-chat-header-user span {
  font-size: 0.72rem;
  opacity: 0.85;
  display: flex;
  align-items: center;
  gap: 4px;
}

.ai-chat-close-btn {
  background: none;
  border: none;
  color: #ffffff;
  font-size: 1.25rem;
  cursor: pointer;
  padding: 4px;
  line-height: 1;
}

.ai-chat-messages-body {
  flex: 1;
  padding: 14px;
  overflow-y: auto;
  background: #f8fafc;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ai-msg {
  max-width: 82%;
  padding: 10px 14px;
  border-radius: 12px;
  font-size: 0.84rem;
  line-height: 1.45;
  word-wrap: break-word;
}

.ai-msg.bot {
  background: #ffffff;
  color: #1e293b;
  align-self: flex-start;
  border: 1px solid #e2e8f0;
  border-bottom-left-radius: 4px;
}

.ai-msg.user {
  background: #0b57d0;
  color: #ffffff;
  align-self: flex-end;
  border-bottom-right-radius: 4px;
}

.ai-msg.typing {
  font-style: italic;
  color: #64748b;
  font-size: 0.78rem;
}

.ai-chat-footer {
  padding: 10px 12px;
  background: #ffffff;
  border-top: 1px solid #e2e8f0;
  display: flex;
  gap: 8px;
  align-items: center;
}

.ai-chat-footer input {
  flex: 1;
  border: 1px solid #cbd5e1;
  border-radius: 20px;
  padding: 8px 14px;
  outline: none;
  font-size: 0.84rem;
}

.ai-chat-footer input:focus {
  border-color: #0b57d0;
}

.ai-chat-send-btn {
  background: #0b57d0;
  color: #ffffff;
  border: none;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.82rem;
  transition: background 0.15s;
}

.ai-chat-send-btn:hover {
  background: #0842a0;
}

@media (max-width: 600px) {
  .ai-chat-trigger-btn {
    bottom: 70px;
    right: 12px;
    padding: 6px 12px;
    font-size: 0.78rem;
  }
  .ai-chat-popup-card {
    bottom: 120px;
    right: 12px;
    left: 12px;
    width: auto;
    height: 420px;
  }
}