/* ===========================
   MALTALOCKERS – LOCATION.CSS
   Shared styles for all 3 location pages
   =========================== */

/* ===== LOCATION HERO ===== */
.loc-hero {
  position: relative;
  padding: 160px 0 80px;
  background: linear-gradient(135deg, #0a1f3c 0%, #0f3060 50%, #1a4a7e 100%);
  overflow: hidden;
}
.loc-hero::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0; right: 0;
  height: 80px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 80'%3E%3Cpath fill='%23f7f5f0' fill-opacity='1' d='M0,40L120,45C240,50,480,60,720,58C960,56,1200,42,1320,38L1440,34L1440,80L0,80Z'/%3E%3C/svg%3E") no-repeat bottom / cover;
}
.loc-hero-bg-shape {
  position: absolute;
  top: -100px; right: -100px;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(253,202,11,0.1) 0%, transparent 65%);
  pointer-events: none;
}
.loc-hero-inner {
  position: relative;
  z-index: 2;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}
.loc-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.5);
  margin-bottom: 20px;
}
.loc-breadcrumb a {
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  transition: color 0.2s;
}
.loc-breadcrumb a:hover { color: var(--gold); }
.loc-breadcrumb span { color: rgba(255,255,255,0.3); }

.loc-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(253,202,11,0.15);
  border: 1px solid rgba(253,202,11,0.3);
  color: var(--gold-light);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 100px;
  margin-bottom: 18px;
}
.badge-dot-green {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 0 3px rgba(74,222,128,0.25);
  animation: pulse 2s infinite;
}

.loc-hero h1 {
  color: var(--white);
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  margin-bottom: 18px;
  max-width: 700px;
}
.loc-hero h1 em {
  font-style: normal;
  color: var(--gold);
}
.loc-hero-desc {
  color: rgba(255,255,255,0.7);
  font-size: 1.05rem;
  max-width: 600px;
  line-height: 1.7;
  margin-bottom: 32px;
}
.loc-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
.loc-meta-item {
  display: flex;
  align-items: center;
  gap: 9px;
  color: rgba(255,255,255,0.65);
  font-size: 0.9rem;
}
.loc-meta-item .meta-icon {
  font-size: 1.1rem;
}
.loc-meta-item strong { color: var(--white); }

/* ===== MAIN CONTENT ===== */
.loc-body {
  background: var(--off-white);
}

.loc-content {
  max-width: 1180px;
  margin: 0 auto;
  padding: 60px 24px 100px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 36px;
  align-items: start;
}

/* Prevent main column from overflowing grid */
.loc-main {
  min-width: 0;
  overflow: hidden;
}

/* ===== PRICING TABLES ===== */
.loc-pricing { }
.loc-section-title {
  font-family: var(--font-head);
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 28px;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 12px;
}
.loc-section-title::after {
  content: '';
  flex: 1;
  height: 2px;
  background: var(--border);
  border-radius: 2px;
}

.pricing-cards {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 48px;
}

.pricing-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1.5px solid var(--border);
  overflow: hidden;
  transition: var(--transition);
  box-shadow: var(--shadow);
  min-width: 0;
}
.pricing-card:hover {
  border-color: var(--gold);
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}
.pricing-card.featured-card { border-color: var(--navy); }

.pricing-card-header {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 22px 26px;
  background: var(--navy);
  color: var(--white);
}
.pricing-card.featured-card .pricing-card-header {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
}
.pricing-card-icon { font-size: 2rem; flex-shrink: 0; }
.pricing-card-header h3 { font-size: 1.15rem; color: var(--white); margin-bottom: 2px; }
.pricing-card-header p  { font-size: 0.82rem; color: rgba(255,255,255,0.55); }

.pricing-note {
  padding: 12px 26px;
  background: rgba(253,202,11,0.08);
  border-bottom: 1px solid rgba(253,202,11,0.15);
  font-size: 0.82rem;
  color: var(--text-light);
  font-style: italic;
  line-height: 1.5;
}

/* ── Scroll wrapper ─────────────────────────────────────────────
   Always scrollable horizontally. The inner grid uses fixed-width
   columns so cells never squish regardless of container width.
   A fade-shadow on the right edge signals there is more to scroll.
───────────────────────────────────────────────────────────────── */
.pricing-scroll-wrap-outer {
  position: relative;
  width: 100%;
}
/* The actual scrollable track */
.pricing-scroll-wrap {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
  /* Hide native scrollbar — arrows handle navigation */
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.pricing-scroll-wrap::-webkit-scrollbar { display: none; }

/* Arrow buttons */
.pricing-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: none;
  background: var(--navy);
  color: var(--white);
  font-size: 1rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.25);
  transition: background 0.2s, opacity 0.2s;
  opacity: 0;
  pointer-events: none;
}
.pricing-arrow.visible {
  opacity: 1;
  pointer-events: auto;
}
.pricing-arrow:hover { background: var(--gold); color: var(--navy); }
.pricing-arrow.left  { left: 4px; }
.pricing-arrow.right { right: 4px; }
/* Fade edges to hint scroll */
.pricing-scroll-wrap-outer::before,
.pricing-scroll-wrap-outer::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 40px;
  z-index: 5;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s;
}
.pricing-scroll-wrap-outer::before {
  left: 0;
  background: linear-gradient(to right, rgba(255,255,255,0.9), transparent);
}
.pricing-scroll-wrap-outer.can-scroll-right::after  { opacity: 1; }
.pricing-scroll-wrap-outer.can-scroll-left::before  { opacity: 1; }

.pricing-grid {
  display: grid;
  width: 100%;
  min-width: max-content;
}
/* Column widths — px so they never shrink */
/* Columns are fixed px — wide enough to read comfortably.
   Scroll wrapper handles overflow. */
.pricing-grid.cols-3 { grid-template-columns: repeat(3, minmax(100px, 1fr)); }
.pricing-grid.cols-5 { grid-template-columns: repeat(5, minmax(100px, 1fr)); }
.pricing-grid.cols-6 { grid-template-columns: repeat(6, minmax(100px, 1fr)); }
.pricing-grid.cols-7 { grid-template-columns: repeat(7, minmax(100px, 1fr)); }
.pricing-grid.cols-8 { grid-template-columns: repeat(8, minmax(100px, 1fr)); }
.pricing-grid.cols-9 { grid-template-columns: repeat(9, minmax(96px, 1fr)); }

.price-cell {
  padding: 14px 6px;
  text-align: center;
  min-width: 0;
  overflow: hidden;
  border-bottom: none;
}
.price-cell:not(:last-child) { border-right: 1px solid var(--border); }
.price-cell .duration {
  display: block;
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-light);
  margin-bottom: 5px;
  white-space: nowrap;
}
.price-cell .amount {
  display: block;
  font-family: var(--font-head);
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--navy);
  white-space: nowrap;
}
.price-cell.highlight { background: rgba(253,202,11,0.06); }
.price-cell.highlight .amount { color: var(--gold); }
.price-cell.day-rate { background: rgba(10,31,60,0.04); }
.price-cell.day-rate .amount { color: var(--navy-light); }

/* ===== TRANSPORT ===== */
.loc-transport {
  margin-bottom: 48px;
}
.transport-cards {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.transport-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 16px 20px;
}
.transport-icon {
  font-size: 1.4rem;
  flex-shrink: 0;
  width: 40px;
  text-align: center;
}
.transport-item strong {
  display: block;
  font-size: 0.9rem;
  margin-bottom: 3px;
}
.transport-item p {
  font-size: 0.85rem;
  color: var(--text-light);
  line-height: 1.5;
}

/* ===== WHY USE ===== */
.loc-why {
  margin-bottom: 48px;
}
.loc-why-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.loc-why-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 16px;
  transition: var(--transition);
}
.loc-why-item:hover {
  border-color: var(--gold);
  background: rgba(253,202,11,0.04);
}
.loc-why-icon { font-size: 1.4rem; flex-shrink: 0; }
.loc-why-item strong { display: block; font-size: 0.88rem; margin-bottom: 2px; }
.loc-why-item span { font-size: 0.82rem; color: var(--text-light); }

/* ===== SIDEBAR ===== */
.loc-sidebar {
  position: sticky;
  top: 100px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* Map */
.sidebar-map {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1.5px solid var(--border);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.sidebar-map h3 {
  padding: 18px 20px 14px;
  font-size: 1rem;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 8px;
}
.map-frame {
  width: 100%;
  height: 280px;
  border: none;
  display: block;
  max-width: 100%;
}
.map-address {
  padding: 14px 20px;
  font-size: 0.85rem;
  color: var(--text-light);
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 8px;
  line-height: 1.5;
}
.map-cta {
  display: block;
  text-align: center;
  padding: 13px;
  background: var(--navy);
  color: var(--white);
  font-weight: 700;
  font-size: 0.88rem;
  transition: var(--transition);
}
.map-cta:hover { background: var(--navy-light); }

/* Quick contact */
.sidebar-contact {
  background: var(--navy);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow);
}
.sidebar-contact h3 {
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 16px;
}
.sidebar-contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.7);
  font-size: 0.88rem;
  text-decoration: none;
  transition: color 0.2s;
}
.sidebar-contact-item:last-of-type { border-bottom: none; }
.sidebar-contact-item:hover { color: var(--gold-light); }
.sidebar-contact-item .sc-icon { font-size: 1rem; width: 20px; text-align: center; }
.sidebar-contact .btn-primary {
  width: 100%;
  justify-content: center;
  margin-top: 16px;
}

/* Other locations */
.sidebar-other {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1.5px solid var(--border);
  padding: 22px;
  box-shadow: var(--shadow);
}
.sidebar-other h3 {
  font-size: 1rem;
  margin-bottom: 14px;
  color: var(--text);
}
.other-loc-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 0;
  border-bottom: 1px solid var(--border);
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s;
}
.other-loc-link:last-child { border-bottom: none; }
.other-loc-link:hover { color: var(--gold); }
.other-loc-link span { color: var(--text-light); font-size: 0.78rem; font-weight: 400; }

/* ===== GALLERY STRIP ===== */
.loc-gallery {
  padding: 0 24px 60px;
  max-width: 1180px;
  margin: 0 auto;
}
.loc-gallery h2 {
  font-size: 1.6rem;
  margin-bottom: 20px;
  color: var(--text);
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  min-width: 0;
}
.gallery-item {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 3/4;
  background: var(--navy-mid);
  position: relative;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  transition: transform 0.4s ease;
}
.gallery-item:hover img { transform: scale(1.06); }
.gallery-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #1a3d6e, #0a1f3c);
  color: rgba(255,255,255,0.3);
  font-size: 0.75rem;
  text-align: center;
  padding: 12px;
}

/* ===== REVIEWS MINI ===== */
.loc-reviews {
  background: var(--white);
  padding: 60px 0;
}
.loc-reviews-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .loc-content {
    grid-template-columns: 1fr;
  }
  .loc-sidebar {
    position: static;
  }
  .gallery-grid, .gallery-grid-6 {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 640px) {
  .loc-why-list { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .loc-hero-meta { flex-direction: column; gap: 10px; }
}

  
}

/* Ensure consistent corners - header is clipped by card overflow:hidden */
.pricing-card-header { border-radius: 0; }
.pricing-note { border-radius: 0; }

