/*
  Gusto Location Page v2 CSS
  Uses tokens from design-system.css
*/

/* ===== HERO ===== */
.loc-hero {
  position: relative;
  min-height: 720px;
  background-size: cover;
  background-position: center;
  color: var(--ds-ivory);
  display: flex;
  align-items: center;
}
.loc-hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(90deg, rgba(8,38,61,0.88) 0%, rgba(8,38,61,0.75) 55%, rgba(8,38,61,0.35) 100%), linear-gradient(0deg, rgba(8,38,61,0.65) 0%, transparent 60%);
}
.loc-hero-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
  text-align: left;
}
.loc-hero-content .ds-display {
  margin-bottom: 24px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
  word-wrap: break-word;
  overflow-wrap: break-word;
}
.loc-hero-sub {
  margin-bottom: 40px;
  max-width: 540px;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.4);
}
.loc-hero-meta {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 36px;
}
.loc-hero-btn {
  background-color: var(--ds-navy, #0A2A3A) !important;
  border-color: var(--ds-navy, #0A2A3A) !important;
  color: #fff !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3) !important;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3) !important;
}
.loc-hero-btn:hover {
  background-color: var(--ds-peach, #E0955E) !important;
  border-color: var(--ds-peach, #E0955E) !important;
  color: var(--ds-navy, #0A2A3A) !important;
  box-shadow: 0 4px 25px rgba(224, 149, 94, 0.4) !important;
}
.loc-meta-item {
  display: flex; align-items: center; gap: 8px;
}

/* ===== INFO STRIP (Key Information Banner) ===== */
.loc-info-strip {
  background: var(--home-lightblue, #D9E6DC);
  padding: 48px 40px;
}
.loc-info-grid {
  max-width: 1380px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 32px;
  align-items: start;
}
@media (max-width: 1024px) {
  .loc-info-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 600px) {
  .loc-info-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}
.loc-info-item {
  display: flex;
  flex-direction: column;
}
.loc-info-item .label,
.loc-info-item .ds-eyebrow {
  font-family: var(--ds-font-neutra);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 10px;
  letter-spacing: 0.3em;
  color: rgba(10, 42, 58, 0.55);
  margin-bottom: 10px;
}
.loc-info-item .value {
  font-family: var(--ds-font-minion);
  font-weight: 400;
  font-size: 18px;
  line-height: 1.4;
  color: var(--ds-navy, #0A2A3A);
  margin-bottom: 0;
}
.loc-info-item .value div {
  margin-bottom: 2px;
}
.loc-info-item .sub {
  font-family: var(--ds-font-neutra-text);
  font-weight: 300;
  font-size: 13px;
  color: rgba(10, 42, 58, 0.65);
  margin-top: 6px;
  line-height: 1.4;
}


/* ===== INTRO ===== */
.loc-intro {
  background: var(--ds-ivory);
}
.loc-intro-grid {
  display: grid;
  grid-template-columns: 0.8fr 1fr;
  gap: 80px;
  align-items: center;
}
.loc-intro-img {
  aspect-ratio: 3/4;
  background-size: cover;
  background-position: center;
  border-top-left-radius: 50% 30%;
  border-top-right-radius: 50% 30%;
  overflow: hidden;
}
.loc-intro-content .ds-heading {
  margin-bottom: 24px;
}
.loc-intro-content p {
  margin-bottom: 24px;
  max-width: 540px;
}
.loc-chef-note {
  margin: 32px 0;
  padding-left: 24px;
  border-left: 2px solid var(--ds-peach);
}
.loc-chef-note .ds-eyebrow {
  margin-top: 12px;
}

/* ===== THE ROOM (Gallery – horizontal carousel) ===== */
.loc-room {
  background: rgba(216, 138, 90, 0.08);
  padding-top: 100px;
  padding-bottom: 100px;
}

/* Carousel track wrapper clips overflow */
.loc-gallery-track-wrapper {
  overflow: hidden;
  border-radius: 4px;
}
.loc-gallery-track {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
  -webkit-overflow-scrolling: touch;
}
.loc-gallery-track::-webkit-scrollbar { display: none; }

/* Each slide: 3-up on desktop */
.loc-gallery-slide {
  flex: 0 0 calc((100% - 48px) / 3); /* 3 visible, 2 gaps */
  aspect-ratio: 4/5;
  background-size: cover;
  background-position: center;
  scroll-snap-align: start;
  border-radius: 4px;
  transition: transform 0.4s ease;
}
.loc-gallery-slide:hover { transform: scale(1.015); }

/* Arrow buttons */
.loc-gallery-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: var(--ds-ivory, #F0EBDD);
  border: none;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  font-size: 1.2rem;
  color: var(--ds-navy, #0A2A3A);
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(10,42,58,0.15);
  z-index: 10;
  transition: background 0.25s, color 0.25s;
  display: flex;
  align-items: center;
  justify-content: center;
}
.loc-gallery-arrow:hover {
  background: var(--ds-navy, #0A2A3A);
  color: var(--ds-ivory, #F0EBDD);
}
.loc-gallery-arrow--prev { left: -24px; }
.loc-gallery-arrow--next { right: -24px; }

/* Tablet: 2-up */
@media (max-width: 1100px) {
  .loc-gallery-slide { flex: 0 0 calc((100% - 24px) / 2); }
  .loc-gallery-arrow--prev { left: -16px; }
  .loc-gallery-arrow--next { right: -16px; }
}
/* Mobile: 1-up, full width */
@media (max-width: 680px) {
  .loc-gallery-slide { flex: 0 0 90%; }
  .loc-gallery-arrow--prev { left: 0; }
  .loc-gallery-arrow--next { right: 0; }
}

/* ===== MENU TEASE ===== */
.loc-menu-tease {
  background: var(--ds-ivory);
}
.loc-menu-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 80px;
  align-items: center;
}
.loc-menu-content .ds-heading {
  margin-bottom: 24px;
}
.loc-menu-content p {
  margin-bottom: 32px;
  max-width: 480px;
}
.loc-menu-links {
  display: flex; gap: 16px; flex-wrap: wrap;
}
.loc-dish-trio {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.loc-dish-img {
  aspect-ratio: 3/4;
  background-size: cover;
  background-position: center;
}

/* ===== EXPERIENCES ===== */
.loc-exp {
  background: var(--ds-sage);
}
.loc-exp-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.loc-exp-card { text-align: center; cursor: pointer; text-decoration: none; color: var(--ds-navy); display: block; }
.loc-exp-img {
  aspect-ratio: 3/4;
  background-size: cover; background-position: center;
  margin-bottom: 24px;
  border-top-left-radius: 50% 30%;
  border-top-right-radius: 50% 30%;
  transition: transform var(--ds-transition-fast);
}
.loc-exp-card:hover .loc-exp-img { transform: translateY(-6px); }
.loc-exp-card .ds-heading-card {
  margin-bottom: 12px;
}
.loc-exp-card p {
  margin-bottom: 16px;
}

/* ===== LOCAL STORY ===== */
.loc-story {
  background: var(--ds-ivory);
}
.loc-story-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 80px;
  align-items: center;
}
.loc-story-img {
  aspect-ratio: 4/5;
  background-size: cover;
  background-position: center;
}
.loc-story-content .ds-eyebrow {
  color: var(--ds-peach);
  margin-bottom: 16px;
}
.loc-story-content .ds-heading {
  margin-bottom: 24px;
}
.loc-story-content p {
  margin-bottom: 20px;
}

/* ===== BOOKING CTA ===== */
.loc-book {
  background: var(--ds-navy);
  color: var(--ds-ivory);
  text-align: center;
}
.loc-book .ds-eyebrow {
  color: var(--ds-peach);
  margin-bottom: 16px;
}
.loc-book .ds-heading {
  max-width: 800px;
  margin: 0 auto 24px;
}
.loc-book p {
  max-width: 600px;
  margin: 0 auto 40px;
  opacity: 0.8;
}

/* ===== OTHER GUSTOS ===== */
.loc-other {
  background: var(--ds-ivory);
}
.loc-other-header {
  text-align: center;
  margin-bottom: 60px;
}
.loc-other-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.loc-other-card {
  cursor: pointer;
  text-decoration: none;
  color: var(--ds-navy);
  display: block;
  transition: transform var(--ds-transition-fast);
}
.loc-other-card:hover { transform: translateY(-4px); }
.loc-other-img {
  aspect-ratio: 4/3;
  background-size: cover;
  background-position: center;
  margin-bottom: 20px;
}
.loc-other-card .ds-heading-card {
  margin-bottom: 8px;
}

/* ===== LOCATION OVERVIEW CTAs ===== */
.loc-overview-ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 36px;
}

/* What's On Carousel Scrollbar Hiding */
.loc-whatson-carousel {
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.loc-whatson-carousel::-webkit-scrollbar {
  display: none;
}

/* Responsive */
@media (max-width: 1200px) {
  /* gallery now handles its own responsive via loc-gallery-slide flex-basis */
}
@media (max-width: 980px) {
  .loc-info-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .loc-intro-grid, .loc-menu-grid, .loc-story-grid { grid-template-columns: 1fr; gap: 48px; }
  .loc-exp-grid, .loc-other-grid { grid-template-columns: 1fr; gap: 40px; }
  .loc-overview-ctas { justify-content: flex-start; }
}
@media (max-width: 768px) {
  .loc-hero { min-height: 540px; padding: 40px 0; }
  .loc-hero::before {
    background: linear-gradient(180deg, rgba(8,38,61,0.6) 0%, rgba(8,38,61,0.88) 60%, rgba(8,38,61,0.95) 100%);
  }
  .loc-hero-content .ds-display {
    font-size: clamp(2.8rem, 10vw, 4rem) !important;
    line-height: 1.05;
  }
}
