/* Location landing pages — extends index.css with page-specific layout */

.location-page-header {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

/* Hero fade into page background (light + dark) */
.location-page .location-hero.hero-section::after {
  background: linear-gradient(to top, var(--bg-primary), transparent);
  height: 80px;
}

/* Hero & CTA button rows — Tailwind build omits sm:space-x-4 / lg:justify-start */
.location-hero-actions,
.location-cta-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  width: 100%;
}

@media (min-width: 640px) {
  .location-hero-actions,
  .location-cta-actions {
    flex-direction: row;
    gap: 1rem;
  }
}

@media (min-width: 992px) {
  .location-hero-actions {
    justify-content: flex-start;
  }
}

/* Solid Book Online CTA — matches Call / WhatsApp sizing on gradient backgrounds */
.location-hero-actions .btn-primary,
.location-hero-actions .btn-success,
.location-cta-actions .btn-primary,
.location-cta-actions .btn-success,
.location-hero-actions .btn-book-online,
.location-cta-actions .btn-book-online {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2rem;
  border-radius: 0.5rem;
  font-weight: 600;
  font-size: 1.125rem;
  line-height: 1;
  color: #fff;
  text-decoration: none;
  text-align: center;
  white-space: nowrap;
  border: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.location-hero-actions .btn-book-online,
.location-cta-actions .btn-book-online {
  color: #4c51bf;
  background: #fff;
  border: 2px solid #fff;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.14);
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.location-hero-actions .btn-book-online:hover,
.location-cta-actions .btn-book-online:hover {
  background: #f8fafc;
  color: #4338ca;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
}

.location-cta-actions .btn-primary,
.location-cta-actions .btn-success,
.location-cta-actions .btn-book-online {
  font-weight: 700;
  padding: 1rem 2.5rem;
}

/* Legacy outline style — kept for any older markup */
.location-hero-actions .btn-outline-light,
.location-cta-actions .btn-outline-light {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2rem;
  border-radius: 0.5rem;
  font-weight: 600;
  font-size: 1.125rem;
  line-height: 1;
  color: #fff;
  text-decoration: none;
  text-align: center;
  white-space: nowrap;
  background: rgba(255, 255, 255, 0.14);
  border: 2px solid rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
  transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.location-hero-actions .btn-outline-light:hover,
.location-cta-actions .btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.24);
  border-color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
}

.location-cta-actions .btn-outline-light {
  font-weight: 700;
  padding: 1rem 2.5rem;
}

/* Hero: homepage pulse + parallax, compact header (no promo bar) */
.location-hero.hero-section {
  margin-top: 0;
  padding-top: 6.5rem;
  padding-bottom: 4rem;
  min-height: auto;
}

@media (min-width: 768px) {
  .location-hero.hero-section {
    padding-top: 7.5rem;
    padding-bottom: 5rem;
  }
}

.location-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 2rem;
  align-items: center;
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 992px) {
  .location-hero-grid {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 2.5rem;
    padding: 0 1.5rem;
  }
}

.location-hero-text {
  text-align: center;
}

@media (min-width: 992px) {
  .location-hero-text {
    text-align: left;
  }
}

.location-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.35rem 0.5rem;
  font-size: 0.8125rem;
  margin-bottom: 1rem;
}

@media (min-width: 992px) {
  .location-breadcrumb {
    justify-content: flex-start;
  }
}

.location-breadcrumb a {
  color: rgba(255, 255, 255, 0.88);
  text-decoration: none;
  transition: color 0.2s;
}

.location-breadcrumb a:hover {
  color: #fff;
  text-decoration: underline;
}

.location-breadcrumb .sep {
  color: rgba(255, 255, 255, 0.45);
}

.location-breadcrumb .current {
  color: #fff;
  font-weight: 600;
}

.location-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.35rem 0.85rem;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(8px);
  margin-bottom: 0.85rem;
}

.location-hero h1 {
  font-size: clamp(1.75rem, 4.5vw, 2.65rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 1rem;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.18);
}

.location-lead {
  font-size: 1.0625rem;
  color: rgba(255, 255, 255, 0.94);
  line-height: 1.75;
  margin-bottom: 0.75rem;
}

.location-keyword-line {
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.location-keyword {
  color: #fde68a;
  font-weight: 700;
}

.location-hero-visual {
  display: flex;
  justify-content: center;
}

.location-hero-figure {
  position: relative;
  width: 100%;
  max-width: 420px;
  margin: 0;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.26);
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(15, 23, 42, 0.35);
  transition: box-shadow 0.3s ease;
}

.location-hero-figure:hover {
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.3);
}

.location-hero-media {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: rgba(15, 23, 42, 0.45);
}

.location-hero-slide {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0;
  transition: opacity 0.85s ease;
  will-change: opacity;
  backface-visibility: hidden;
  transform: translateZ(0);
}

.location-hero-slide.is-active {
  opacity: 1;
  z-index: 1;
}

.location-hero-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2;
  padding: 0.85rem 1rem;
  font-size: 0.875rem;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(to top, rgba(15, 23, 42, 0.94) 0%, rgba(15, 23, 42, 0.55) 55%, transparent 100%);
  letter-spacing: 0.02em;
  pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
  .location-hero-slide {
    transition: none;
  }
}

.location-body {
  max-width: 80rem;
  margin: 0 auto;
  padding: 3rem 1rem 4rem;
}

@media (min-width: 768px) {
  .location-body {
    padding: 4rem 1.5rem 5rem;
  }
}

.location-section-header {
  text-align: center;
  margin-bottom: 2rem;
}

.location-section-header h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  margin-bottom: 0.5rem;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.location-section-header p {
  font-size: 1.0625rem;
  color: var(--text-secondary);
  max-width: 42rem;
  margin: 0 auto;
  line-height: 1.65;
}

.location-services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .location-services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .location-services-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Stat cards — no emoji, clean numbers */
.loc-stat-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

@media (min-width: 768px) {
  .loc-stat-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
  }
}

.loc-stat-card {
  padding: 1.5rem 1rem;
  border-radius: 1rem;
  text-align: center;
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
  border: 1px solid rgba(102, 126, 234, 0.15);
}

.loc-stat-value {
  display: block;
  font-size: 1.5rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 0.35rem;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.loc-stat-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-secondary);
  line-height: 1.4;
}

.nearby-section-wrap {
  max-width: 56rem;
  margin: 0 auto;
}

.nearby-section-wrap .service-area-card {
  transform: none;
}

.nearby-section-wrap .service-area-card:hover,
.nearby-section-wrap .card.service-area-card:hover {
  transform: none !important;
  border-color: rgba(102, 126, 234, 0.5);
  box-shadow: 0 0 0 1px rgba(102, 126, 234, 0.12), 0 10px 36px rgba(102, 126, 234, 0.14);
}

[data-theme="dark"] .location-section-header p {
  color: var(--text-secondary) !important;
}

[data-theme="dark"] .loc-stat-card {
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.14) 0%, rgba(118, 75, 162, 0.12) 100%);
  border-color: rgba(139, 156, 245, 0.2);
}

[data-theme="dark"] .location-keyword {
  color: #fde68a !important;
}

.loc-stat-card.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(102, 126, 234, 0.2);
}

.location-services-grid .card:hover {
  transform: translateY(-10px) scale(1.02);
}

[data-theme="dark"] footer {
  background: var(--footer-bg) !important;
}

.location-faq-list {
  display: grid;
  gap: 1rem;
  max-width: 48rem;
  margin: 0 auto;
}

.location-faq-item {
  text-align: left;
}

.location-faq-q {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 0.75rem;
  line-height: 1.45;
}

.location-faq-a {
  font-size: 0.975rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin: 0;
}

.location-faq-more {
  text-align: center;
  margin-top: 1.25rem;
  font-size: 0.9375rem;
  color: var(--text-secondary);
}

.location-faq-more a {
  color: #667eea;
  font-weight: 600;
  text-decoration: none;
}

.location-faq-more a:hover {
  text-decoration: underline;
}

[data-theme="dark"] .location-faq-q {
  color: var(--text-primary) !important;
}

[data-theme="dark"] .location-faq-a,
[data-theme="dark"] .location-faq-more {
  color: var(--text-secondary) !important;
}
