/* ================= LOCATIONS HERO ================= */
.locationsHero {
  position: relative;
  height: 440px;
  margin-top: 64px;
  overflow: hidden;
  background: var(--bg-soft); /* optional beige background behind image */
}

.locationsHero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.locationsHero h1 {
  position: absolute;
  inset: 0;
  z-index: 2;

  display: flex;
  align-items: center;
  justify-content: center;

  font-family: "Cormorant", serif;
  font-size: 76px;
  font-style: italic;
  font-weight: 500;
  color: #fff;
}

/* ================= LOCATION TABS ================= */
.locationTabsSection {
  padding: 58px 8% 36px;
  background: var(--bg-soft);
}

.locationTabsScroller {
  max-width: 900px;
  margin: 0 auto;
  overflow-x: auto;
  scrollbar-width: none;
}

.locationTabsScroller::-webkit-scrollbar {
  display: none;
}

.locationTabs {
  width: max-content;
  min-width: 100%;

  display: flex;
  justify-content: center;
  gap: 38px;
}

.locationTab {
  padding: 12px 28px;

  border-radius: var(--btn-radius);
  border: 3px solid var(--btn-orange);

  background: transparent;
  color: var(--btn-orange);

  font-size: var(--text-xs);
  font-weight: 700;

  white-space: nowrap;
  transition: all 0.25s ease;
}

.locationTab:not(.disabled):hover,
.locationTab.active {
  background: var(--btn-orange);
  color: var(--btn-orange-text);
}

.locationTab.disabled {
  opacity: 0.45;
  cursor: not-allowed;
  pointer-events: none;
}


/* ================= LOCATION CARD ================= */
.locationPanel {
  display: none;
  background: var(--bg-soft);
  padding: 0 8% 80px;
  position: relative;
  z-index: 0;
}

.locationPanel.active {
  display: block;
}

.locationCard {
  max-width: 1120px;
  margin: 0 auto;

  padding: 52px 70px;

  background:rgba(255, 250, 244, 0.82);

  border-radius: var(--radius-main);
  box-shadow: 0 8px 24px rgba(110,55,27,0.16);

  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 70px;
  align-items: center;
  position: relative;
  z-index: 2;
}
.locationCardText {
  text-align: center;
}

.locationCardText h2 {
  font-family: "Cormorant", serif;
    font-size: var(--title-md);
  font-weight: 500;
  line-height: 1.05;
  margin-bottom: 20px;
}

.locationCardText h2 span {
  font-style: italic;
}

.locationCardText p {
  font-size: var(--text-sm);
  line-height: 1.55;
  max-width: 560px;
  margin: 0 auto 16px;
}

.locationAddress {
  margin: 22px auto 24px !important;
  font-weight: 500;
}

.locationButtons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 18px;
}
.locationHoursBtn {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 11px 28px;

  border-radius: var(--btn-radius);
  border: 3px solid var(--text-brown);

  background: transparent;
  color: var(--text-brown);

  font-size: var(--text-xs);
  font-weight: 700;
  line-height: 1;

  transition: all 0.3s ease;
  cursor: pointer;
}
.locationHoursBtn {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 11px 28px;

  border-radius: var(--btn-radius);
  border: 3px solid var(--text-brown);

  background: transparent;
  color: var(--text-brown);

  font-size: var(--text-xs);
  font-weight: 700;
  line-height: 1;

  transition: all 0.3s ease;
  cursor: pointer;
}

/* hover → solid brown */
.locationHoursBtn:hover {
  background: var(--text-brown);
  color: #fff;
}

.locationDirections {
  border: 3px solid var(--btn-orange);
  background: var(--btn-orange);
  color: var(--btn-orange-text);
}

.locationDirections:hover {
  background: transparent;
  color: var(--btn-orange);
}

.locationHoursBtn:hover {
  background: var(--text-brown);
  color: #fff;
}
.locationPhone {
  display: block;
  margin-top: 14px;
  color: var(--text-brown);
  font-size: var(--text-sm);
  font-weight: 500;
  text-decoration: underline;
}
.locationCardImage {
  height: 340px;
  border-radius: 0;
  overflow: hidden;
}

.locationCardImage img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}


/* ================= MOVING STRIP ================= */
.movingStrip {
  background: var(--brown-main);
  overflow: hidden;
  width: 100%;
}

.movingStripTrack {
  display: flex;
  align-items: center;
  gap: 46px;
  width: max-content;
  animation: movingStripLoop 30s linear infinite;
  padding: 14px 40px;
}

.movingStripTrack span {
  font-family: "Cormorant", serif;
  font-style: italic;
  font-weight: 500;
  font-size: 20px;
  color: var(--beige-text);
  white-space: nowrap;
}

.movingStripTrack img {
  width: 60px;
  height: auto;
  object-fit: contain;
  flex-shrink: 0;
}

@keyframes movingStripLoop {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}


/* ================= MAP SECTION ================= */
.mapSection {
  padding: 45px 8% 90px;
  background: var(--bg-light);
  text-align: center;
}

.mapSection h2 {
  font-family: "Cormorant", serif;
    font-size: var(--title-md);
  font-weight: 500;
  margin-bottom: 40px;
}

.mapSection h2 span {
  font-style: italic;
}

.mapEmbed {
  max-width: 860px;
  height: 420px;
  margin: 0 auto;

  border-radius: var(--radius-main);
  overflow: hidden;
  box-shadow: 0 16px 34px rgba(110,55,27,0.18);
}

.mapEmbed iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* ================= QUESTIONS ================= */
.questionsSection {
  padding: 85px 8%;
  background: var(--bg-soft);

  display: flex; /* use flex instead of grid */
  flex-direction: row;
  align-items: center; /* vertically center the group */
  justify-content: center; /* center the whole row */
  gap: 40px; /* space between image and text */
  flex-wrap: wrap; /* wrap on smaller screens */
}

.questionsImage {
  max-width: 550px;
  height: auto; /* let height scale automatically */
  border-radius: 0;
  overflow: hidden;
  flex-shrink: 0; /* prevent shrinking */
}

.questionsImage img {
  width: 100%; /* fill container */
  height: auto;
  object-fit: contain;
  display: block;
  margin: 0 auto;
}

.questionsText {
  max-width: 430px; /* keep text readable */
  text-align: left; /* text aligned left but group centered */
}

.questionsText h2 {
  font-family: "Cormorant", serif;
  font-size: var(--title-md);
  font-weight: 500;
  line-height: 1.08;
  margin-bottom: 14px;
}

.questionsText h2 span {
  font-style: italic;
}

.questionsText p {
  font-size: var(--text-md);
  font-weight: 500;
  margin-bottom: 22px;
}

.questionsText a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 30px;
  border-radius: var(--btn-radius);
  border: 3px solid var(--btn-green);
  background: var(--btn-green);
  color: var(--btn-green-text);
  font-size: var(--text-xs);
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
}

.questionsText a:hover {
  background: transparent;
  color: var(--btn-green);
}

/* ================= RESPONSIVE ================= */
@media screen and (max-width: 900px) {
  .questionsSection {
    flex-direction: column; /* stack image and text */
    text-align: center;
    gap: 30px;
  }

  .questionsText {
    max-width: 100%;
  }

  .questionsImage {
    max-width: 80%;
    height: auto;
  }
}
/* ================= LOCATION FAQ ================= */
.locationsFaqSection {
  padding: 80px 8% 110px;
  background: var(--bg-light);
}

.locationsFaqContainer {
  max-width: 980px;
  margin: 0 auto;

  display: flex;
  flex-direction: column;
  gap: 18px;
}

.locationsFaqQuestion {
  width: 100%;

  padding: 20px 24px;

  border-radius: var(--btn-radius);
  border: none;

  background: var(--btn-green);
  color: var(--btn-green-text);

  display: flex;
  align-items: center;
  justify-content: space-between;

  font-size: var(--text-sm);
  font-weight: 600;
  text-align: left;

  transition: all 0.3s ease;
}

.locationsFaqItem.active .locationsFaqQuestion {
  background: #fff;
  color: var(--text-brown);
}

.faqCircleArrow {
  width: 34px;
  height: 34px;

  border-radius: 50%;
  background: rgba(255,255,255,0.25);

  display: flex;
  align-items: center;
  justify-content: center;

  transition: all 0.3s ease;
}

.locationsFaqItem.active .faqCircleArrow {
  background: rgba(0,0,0,0.08);
  transform: rotate(180deg);
}

.locationsFaqAnswer {
  padding: 20px 28px 6px;
}

.locationsFaqAnswer p {
  font-size: var(--text-sm);
  line-height: 1.7;
}


/* ================= OPENING HOURS LIGHTBOX ================= */
.hoursLightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;

  display: none;
  align-items: center;
  justify-content: center;
}

.hoursLightbox.is-open {
  display: flex;
}

.hoursOverlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.45);
}

.hoursBox {
  position: relative;
  z-index: 1;

  width: min(90%, 460px);

  background: var(--bg-light);
  color: var(--text-brown);

  border-radius: var(--radius-main);
  padding: 42px 38px 34px;

  box-shadow: 0 20px 60px rgba(0,0,0,0.25);
}

.hoursClose {
  position: absolute;
  top: 18px;
  right: 22px;

  width: 34px;
  height: 34px;
  padding: 0;

  border: none;
  background: var(--btn-orange);
  color: var(--btn-orange-text);

  border-radius: 50%;
  font-size: 26px;
  line-height: 1;
}

.hoursTitle {
  font-family: "Cormorant", serif;
  font-size: var(--title-sm);
  font-weight: 500;
  margin-bottom: 24px;
  text-align: center;
}

.hoursList {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.hoursList div {
  display: flex;
  justify-content: space-between;
  gap: 24px;

  font-size: var(--text-sm);
  font-weight: 500;

  padding-bottom: 10px;
  border-bottom: 1px solid rgba(110,55,27,0.18);
}


/* ================= FOOTER ================= */
.locationsFooter {
  background: var(--brown-main);
  padding-top: 90px;
}


/* ================= TABLET ================= */
@media screen and (max-width: 1100px) {
  .locationsHero {
    height: 300px;
  }

  .locationCard,
  .questionsSection {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .locationCard {
    gap: 40px;
  }

  .locationCardImage,
  .questionsImage {
    justify-self: center;
  }

  .locationTabs {
    justify-content: flex-start;
  }
}


/* ================= MOBILE ================= */
@media screen and (max-width: 600px) {
  .locationsHero {
    height: 190px;
    margin-top: 0;
  }

  .locationsHero h1 {
    font-size: 42px;
    line-height: 0.95;
    text-align: center;
  }

  .locationsHero::after {
    height: 45px;
  }

  .locationTabsSection {
    padding: 34px 26px 28px;
  }

  .locationTabsScroller {
    padding: 0;
  }

  .locationTabs {
    gap: 10px;
  }

  .locationTab {
    padding: 8px 14px;
    min-width: 110px;
    font-size: 8px;
  }

  .locationPanel {
    padding: 0 26px 52px;
  }

  .locationCard {
    padding: 28px 22px;
    gap: 24px;
    border-radius: 24px;
  }

  .locationCardText {
    order: 2;
  }

  .locationCardText h2 {
    font-size: 30px;
  }

  .locationCardText p {
    font-size: 9px;
  }

  .locationButtons {
    gap: 8px;
  }

  .locationPhone {
    font-size: 9px;
  }

  .locationCardImage {
    order: 1;
    height: 165px;
    width: 100%;
  }

  .movingStripTrack {
    gap: 30px;
    padding: 11px 24px;
  }

  .movingStripTrack span {
    font-size: 13px;
  }

  .movingStripTrack img {
    width: 44px;
  }

  .mapSection {
    padding: 52px 26px;
  }

  .mapSection h2 {
    font-size: 30px;
    margin-bottom: 28px;
  }

  .mapEmbed {
    height: 260px;
    border-radius: 22px;
  }

  .questionsSection {
    padding: 52px 26px;
    gap: 28px;
  }

  .questionsText {
    order: 1;
  }

  .questionsImage {
    order: 2;
    width: 100%;
    height: 160px;
  }

  .questionsText h2 {
    font-size: 30px;
  }

  .questionsText p {
    font-size: 10px;
  }

  .questionsText a {
    padding: 9px 20px;
    font-size: 9px;
  }

  .locationsFaqSection {
    padding: 50px 26px 70px;
  }

  .locationsFaqQuestion {
    padding: 14px 16px;
    font-size: 9px;
  }

  .faqCircleArrow {
    width: 24px;
    height: 24px;
    font-size: 10px;
  }

  .locationsFaqAnswer {
    padding: 16px 12px 4px;
  }

  .locationsFaqAnswer p {
    font-size: 9px;
  }

  .locationsFooter {
    padding-top: 60px;
  }
}