/* ===================================================
   Style for All Locations Directory (Glassmorphism & Mesh Glow)
   =================================================== */

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

:root {
  --primary-coral: #FF6B4A;
  --primary-coral-hover: #fa5530;
  --accent-purple: #8B5CF6;
  --accent-pink: #EC4899;
  --accent-amber: #F59E0B;
  --text-main: #1E293B;
  --text-muted: #64748B;
  --glass-bg: rgba(255, 255, 255, 0.76);
  --glass-border: rgba(255, 255, 255, 0.9);
  --glass-shadow: 0 25px 60px -15px rgba(30, 41, 59, 0.12), 0 10px 25px -5px rgba(0, 0, 0, 0.04);
}

body.all-site-body {
  margin: 0;
  padding: 0;
  min-height: 100vh;
  font-family: 'Prompt', 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--text-main);
  background-color: #FAF7F5;
  background-image: 
    radial-gradient(circle at 10% 15%, rgba(255, 127, 80, 0.32) 0%, transparent 40%),
    radial-gradient(circle at 90% 10%, rgba(139, 92, 246, 0.28) 0%, transparent 45%),
    radial-gradient(circle at 50% 50%, rgba(236, 72, 153, 0.2) 0%, transparent 45%),
    radial-gradient(circle at 20% 85%, rgba(245, 158, 11, 0.25) 0%, transparent 40%),
    radial-gradient(circle at 85% 85%, rgba(59, 130, 246, 0.22) 0%, transparent 45%),
    linear-gradient(135deg, #FFF9F6 0%, #F5EEF9 50%, #EEF4FF 100%);
  background-attachment: fixed;
  position: relative;
  overflow-x: hidden;
}

/* Ambient Floating Glow Blobs in Background */
.ambient-glow-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.6;
  animation: orbFloat 18s ease-in-out infinite alternate;
}

.glow-orb-1 {
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, rgba(255, 120, 80, 0.6) 0%, rgba(255, 180, 120, 0.1) 70%);
  top: -100px;
  left: -50px;
}

.glow-orb-2 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(147, 51, 234, 0.45) 0%, rgba(192, 132, 252, 0.1) 70%);
  top: 30%;
  right: -150px;
  animation-duration: 22s;
  animation-delay: -5s;
}

.glow-orb-3 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(244, 114, 182, 0.45) 0%, rgba(251, 146, 60, 0.15) 70%);
  bottom: -100px;
  left: 15%;
  animation-duration: 20s;
  animation-delay: -10s;
}

@keyframes orbFloat {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(40px, 30px) scale(1.08); }
  100% { transform: translate(-30px, -20px) scale(0.95); }
}

/* Main Page Container */
.all-site-wrapper {
  position: relative;
  z-index: 1;
  max-width: 1060px;
  margin: 0 auto;
  padding: 16px 20px 80px;
}

/* Top Navigation / Header */
.all-site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 36px;
  padding: 12px 24px;
  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: 50px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
}

.brand-badge {
  display: flex;
  align-items: center;
  gap: 16px;
  text-decoration: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.brand-badge:hover {
  transform: translateY(-1px);
  opacity: 0.96;
}

.brand-logo-s3 {
  height: 64px;
  width: auto;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 6px 14px rgba(180, 130, 40, 0.28));
  transition: transform 0.3s ease;
}

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

.brand-badge-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.brand-badge-name {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: 0.8px;
  white-space: nowrap;
  background: linear-gradient(135deg, #664614 0%, #997022 28%, #BF942B 50%, #8A6017 76%, #5C3D0C 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-transform: uppercase;
  line-height: 1.15;
  filter: drop-shadow(0 1px 1px rgba(255, 255, 255, 0.95)) drop-shadow(0 2px 4px rgba(70, 45, 10, 0.22));
}

.brand-badge-subtext {
  font-family: 'Outfit', -apple-system, sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #64748B;
}

.lang-switch {
  display: inline-flex;
  background: rgba(241, 245, 249, 0.8);
  padding: 4px;
  border-radius: 30px;
  border: 1px solid rgba(255, 255, 255, 0.9);
}

.lang-btn {
  padding: 6px 14px;
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: 20px;
  text-decoration: none;
  color: var(--text-muted);
  transition: all 0.25s ease;
}

.lang-btn.active {
  background: #FFFFFF;
  color: var(--primary-coral);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.lang-btn:hover:not(.active) {
  color: var(--text-main);
}

/* Page Hero Section */
.hero-title-section {
  text-align: center;
  margin-bottom: 40px;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 16px;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(255, 107, 74, 0.25);
  border-radius: 30px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary-coral);
  margin-bottom: 14px;
  box-shadow: 0 4px 15px rgba(255, 107, 74, 0.1);
}

.hero-title {
  font-size: 2.35rem;
  font-weight: 700;
  color: #0F172A;
  margin: 0 0 10px;
  letter-spacing: -0.5px;
  line-height: 1.25;
}

.hero-subtitle {
  font-size: 1.05rem;
  color: #475569;
  max-width: 680px;
  margin: 0 auto;
  line-height: 1.6;
  font-weight: 400;
  text-wrap: balance;
}

.text-nowrap {
  white-space: nowrap;
}

/* Glassmorphism Table Card */
.glass-table-card {
  background: var(--glass-bg);
  backdrop-filter: blur(28px) saturate(180%);
  -webkit-backdrop-filter: blur(28px) saturate(180%);
  border: 1px solid var(--glass-border);
  border-radius: 28px;
  box-shadow: var(--glass-shadow);
  overflow: hidden;
  position: relative;
  transition: box-shadow 0.3s ease;
}

.glass-table-card:hover {
  box-shadow: 0 30px 70px -15px rgba(30, 41, 59, 0.16), 0 12px 30px -5px rgba(0, 0, 0, 0.05);
}

/* The Table */
.locations-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.locations-table th {
  padding: 20px 28px;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: #64748B;
  background: rgba(255, 255, 255, 0.5);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
}

.locations-table th:first-child {
  padding-left: 36px;
  width: 72%;
}

.locations-table th:last-child {
  padding-right: 36px;
  text-align: right;
  width: 28%;
}

.locations-table td {
  padding: 22px 28px;
  vertical-align: middle;
  border-bottom: 1px solid rgba(241, 245, 249, 0.9);
  transition: all 0.25s ease;
}

.locations-table td:first-child {
  padding-left: 36px;
}

.locations-table td:last-child {
  padding-right: 36px;
  text-align: right;
}

.locations-table tbody tr {
  transition: all 0.25s ease;
  position: relative;
}

.locations-table tbody tr:last-child td {
  border-bottom: none;
}

.locations-table tbody tr:hover {
  background: rgba(255, 255, 255, 0.65);
}

.locations-table tbody tr:hover td {
  transform: translateY(-1px);
}

/* Hotel Details with Thumbnail & Integrated Location Badge */
.hotel-card-item {
  display: flex;
  align-items: center;
  gap: 20px;
}

.hotel-thumb-wrapper {
  position: relative;
  flex-shrink: 0;
  width: 90px;
  height: 90px;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08), 0 2px 6px rgba(0, 0, 0, 0.04);
  border: 2px solid #FFFFFF;
  background: #F1F5F9;
}

.hotel-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.locations-table tbody tr:hover .hotel-thumb {
  transform: scale(1.08);
}

.hotel-info {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.hotel-meta-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 2px;
}

/* Location Badge Component */
.loc-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 10px;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  color: #334155;
  white-space: nowrap;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
  transition: all 0.2s ease;
  width: fit-content;
}

.loc-pin {
  font-size: 0.95rem;
  line-height: 1;
}

.loc-pin-svg {
  width: 13px;
  height: 13px;
  color: var(--primary-coral);
  flex-shrink: 0;
}

.locations-table tbody tr:hover .loc-badge {
  border-color: rgba(255, 107, 74, 0.3);
  background: #FFFFFF;
}

.hotel-name {
  font-size: 1.15rem;
  font-weight: 700;
  color: #0F172A;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: color 0.2s ease;
}

.hotel-name:hover {
  color: var(--primary-coral);
}

.hotel-tag-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 2px 7px;
  border-radius: 6px;
  line-height: 1.2;
  vertical-align: middle;
  background: #EFF6FF;
  color: #2563EB;
  border: 1px solid #DBEAFE;
}

.tag-new {
  background: linear-gradient(135deg, #FFFBEB 0%, #FEF3C7 100%);
  color: #B45309 !important;
  border: 1px solid #FCD34D;
  box-shadow: 0 1px 3px rgba(217, 119, 6, 0.15);
}

.hotel-desc {
  font-size: 0.88rem;
  color: #64748B;
  line-height: 1.48;
  margin: 0;
  max-width: 600px;
}

/* Action Button */
.btn-action {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: 14px;
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
  color: #FFFFFF !important;
  background: linear-gradient(135deg, #FF6B4A 0%, #FA4C23 100%);
  box-shadow: 0 4px 14px rgba(255, 107, 74, 0.35);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn-action::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transform: skewX(-20deg);
  transition: left 0.6s ease;
}

.btn-action:hover::after {
  left: 150%;
}

.btn-action:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(255, 107, 74, 0.45);
  color: #FFFFFF !important;
}

.btn-action:active {
  transform: translateY(0);
}

.btn-action-booking {
  background: linear-gradient(135deg, #8B5CF6 0%, #6D28D9 100%);
  box-shadow: 0 4px 14px rgba(139, 92, 246, 0.35);
}

.btn-action-booking:hover {
  box-shadow: 0 8px 20px rgba(139, 92, 246, 0.45);
}

.btn-action svg {
  width: 14px;
  height: 14px;
  transition: transform 0.2s ease;
}

.btn-action:hover svg {
  transform: translateX(4px);
}

/* Footer Section */
.all-site-footer {
  text-align: center;
  margin-top: 48px;
  color: #64748B;
  font-size: 0.9rem;
}

.footer-back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--primary-coral);
  font-weight: 600;
  text-decoration: none;
  padding: 8px 18px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.9);
  transition: all 0.2s ease;
  margin-bottom: 16px;
}

.footer-back-link:hover {
  background: #FFFFFF;
  transform: translateX(-3px);
  color: #1E293B;
}

/* ===================================================
   Responsive Mobile Optimization
   =================================================== */
@media (max-width: 768px) {
  .all-site-wrapper {
    padding: 24px 16px 60px;
  }

  .all-site-header {
    flex-direction: column;
    gap: 14px;
    padding: 16px 20px;
    border-radius: 24px;
  }

  .brand-logo-s3 {
    height: 54px;
  }

  .brand-badge-name {
    font-size: 1.3rem;
  }

  .brand-badge-subtext {
    font-size: 0.72rem;
    letter-spacing: 1.4px;
  }

  .hero-title {
    font-size: 1.85rem;
  }

  .hero-subtitle {
    font-size: 0.95rem;
  }

  /* Transform table into card rows on mobile */
  .locations-table,
  .locations-table tbody,
  .locations-table tr,
  .locations-table td {
    display: block;
    width: 100% !important;
    box-sizing: border-box;
  }

  .locations-table thead {
    display: none; /* Hide table headers on mobile */
  }

  .glass-table-card {
    background: transparent;
    border: none;
    box-shadow: none;
    border-radius: 0;
  }

  .glass-table-card:hover {
    box-shadow: none;
  }

  .locations-table tbody tr {
    background: rgba(255, 255, 255, 0.82);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.9);
    border-radius: 20px;
    padding: 20px;
    margin-bottom: 16px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.04);
  }

  .locations-table tbody tr:hover {
    background: rgba(255, 255, 255, 0.95);
    transform: translateY(-2px);
  }

  .locations-table td {
    padding: 0 !important;
    border: none !important;
    text-align: left !important;
  }

  .locations-table td:first-child {
    margin-bottom: 16px;
  }

  .hotel-card-item {
    align-items: flex-start;
    gap: 14px;
  }

  .hotel-thumb-wrapper {
    width: 72px;
    height: 72px;
    border-radius: 14px;
  }

  .locations-table td:last-child {
    text-align: left !important;
  }

  .btn-action {
    display: flex;
    width: 100%;
    box-sizing: border-box;
    padding: 12px 20px;
    font-size: 0.95rem;
  }
}

@media (max-width: 480px) {
  .all-site-wrapper {
    padding: 16px 12px 50px;
  }

  .locations-table tbody tr {
    padding: 16px;
    border-radius: 18px;
  }

  .hotel-card-item {
    gap: 12px;
  }

  .hotel-thumb-wrapper {
    width: 64px;
    height: 64px;
    border-radius: 12px;
  }

  .hotel-name {
    font-size: 1.05rem;
  }

  .btn-action {
    padding: 12px 14px;
    font-size: 0.9rem;
  }
}
