/* ========================================
   VENUE LISTING PAGE STYLES
   ======================================== */

/* Global overflow prevention */
html,
body {
  overflow-x: hidden;
}

/* ========================================
   BASE LISTING STYLES
   ======================================== */

.venue-listing {
  min-height: 100dvh;
  background-color: var(--main-color);
}

/* ========================================
   HERO SECTION
   ======================================== */

.venue-hero {
  position: relative;
  height: 45dvh;
  min-height: 500px;
  max-height: 700px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  background: #000;
}

.venue-hero__image-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.venue-hero__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  will-change: auto;
  transform: translateZ(0);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  -webkit-transform: translateZ(0);
  -webkit-perspective: 1000px;
  perspective: 1000px;
}

.venue-hero__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.4) 0%,
    rgba(0, 0, 0, 0.6) 40%,
    rgba(0, 0, 0, 0.85) 100%
  );
  z-index: 2;
}

.venue-hero__content {
  position: relative;
  z-index: 3;
  width: 100%;
  padding: 2rem;
  color: white;
  max-width: 1200px;
  margin: 0 auto;
}

/* Hero content responsive padding */
@media (max-width: 1024px) {
  .venue-hero__content {
    padding: 1.5rem 1.75rem 1.25rem 1.75rem;
    align-self: flex-end;
  }
}

@media (max-width: 768px) {
  .venue-hero__content {
    padding: 1rem 1.5rem 1rem 1.5rem;
    align-self: flex-end;
  }
}

/* ========================================
   BREADCRUMB
   ======================================== */

.venue-breadcrumb {
  margin-bottom: 0.75rem;
}

.venue-breadcrumb__list {
  display: flex;
  align-items: center;
  gap: clamp(0.2rem, 1vw, 0.375rem);
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: clamp(0.5rem, 2vw, 0.7rem);
  text-transform: uppercase;
  letter-spacing: 0.25px;
  font-weight: 400;
  flex-wrap: nowrap;
  white-space: nowrap;
}

.venue-breadcrumb__item {
  color: rgba(255, 255, 255, 0.6);
  white-space: nowrap;
  flex-shrink: 0;
}

.venue-breadcrumb__item:not(:last-child)::after {
  content: "/";
  margin-left: clamp(0.15rem, 1vw, 0.375rem);
  color: rgba(255, 255, 255, 0.4);
  font-size: clamp(0.45rem, 1.8vw, 0.7rem);
}

.venue-breadcrumb__link {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  transition: color 0.3s ease;
}

.venue-breadcrumb__link:hover {
  color: rgba(255, 255, 255, 0.8);
}

.venue-breadcrumb__item--current {
  color: rgba(255, 255, 255, 0.8);
  font-weight: 500;
}

/* ========================================
   HERO HEADER
   ======================================== */

.venue-hero__header {
  margin-bottom: 1rem;
}

.venue-hero__title {
  font-family: var(--secondary-font);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 600;
  line-height: 1.1;
  margin: 0 0 0.5rem 0;
  letter-spacing: -0.02em;
}

.venue-hero__subtitle {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  font-size: 0.85rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.25px;
  color: rgba(255, 255, 255, 0.85);
}

.venue-hero__separator {
  color: rgba(255, 255, 255, 0.4);
  font-weight: 300;
  font-size: 0.8rem;
}

.venue-hero__cuisine,
.venue-hero__price,
.venue-hero__location,
.venue-hero__feature {
  white-space: nowrap;
}

/* ========================================
   HERO ACTIONS
   ======================================== */

.venue-hero__actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.venue-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.625rem 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 2px;
  text-decoration: none;
  font-family: var(--primary-font);
  font-size: 0.8rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.25px;
  transition: all 0.2s ease;
  cursor: pointer;
  white-space: nowrap;
  background-color: rgba(255, 255, 255, 0.1);
  color: white;
  backdrop-filter: blur(10px);
}

.venue-btn--primary {
  background-color: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.4);
}

.venue-btn--primary:hover {
  background-color: rgba(255, 255, 255, 0.25);
  border-color: rgba(255, 255, 255, 0.6);
}

.venue-btn--secondary {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.3);
}

.venue-btn--secondary:hover {
  background-color: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.5);
}

/* ========================================
   SHARE ICON STYLES
   ======================================== */

.venue-share-icon {
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  margin-top: 2.5rem;
  z-index: 10;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background-color: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  font-size: 0;
  color: white;
  transition: all 0.2s ease;
}

.venue-share-icon:hover {
  background-color: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.5);
  transform: scale(1.05);
}

.venue-share-icon:active {
  background-color: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.4);
}

.venue-share-icon:focus-visible {
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
}

.share-icon {
  width: 1.5rem;
  height: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  margin: 0;
  background: transparent;
}

.share-icon svg {
  width: 1.25rem;
  height: 1.25rem;
  stroke: white;
  stroke-width: 2;
  display: block;
  transition: stroke 0.35s ease, transform 0.35s ease;
  transform-origin: center center;
  will-change: transform, stroke;
  backface-visibility: hidden;
}

.venue-share-icon:hover .share-icon svg {
  stroke: white;
  transform: scale(1.03);
}

/* Share icon styles for hero actions button */
.venue-share-btn .share-icon {
  width: 1rem;
  height: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  margin: 0;
  background: transparent;
}

.venue-share-btn .share-icon svg {
  width: 0.875rem;
  height: 0.875rem;
  stroke: currentColor;
  stroke-width: 2;
  display: block;
  transition: stroke 0.35s ease, transform 0.35s ease;
  transform-origin: center center;
  will-change: transform, stroke;
  backface-visibility: hidden;
}

.venue-share-btn:hover .share-icon svg {
  stroke: currentColor;
  transform: scale(1.03);
}

/* Hide share icon on larger screens where buttons are horizontal */
@media (min-width: 601px) {
  .venue-share-icon {
    display: none;
  }
}

/* Hide share button in actions on smaller screens */
@media (max-width: 600px) {
  .venue-share-btn {
    display: none;
  }
}

/* Adjust share icon for very small screens */
@media (max-width: 480px) {
  .venue-share-icon {
    top: 0.75rem;
    right: 1rem;
    margin-top: 2rem;
    width: 2.75rem;
    height: 2.75rem;
  }

  .share-icon svg {
    width: 1.1rem;
    height: 1.1rem;
  }
}

@media (max-width: 320px) {
  .venue-share-icon {
    top: 0.5rem;
    right: 0.75rem;
    margin-top: 1.75rem;
    width: 2.5rem;
    height: 2.5rem;
  }

  .share-icon svg {
    width: 1rem;
    height: 1rem;
  }
}

/* ========================================
   MAIN CONTENT
   ======================================== */

.venue-content {
  padding: 4rem 0;
}

.venue-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Tablet padding adjustments */
@media (max-width: 1024px) {
  .venue-container {
    padding: 0 1.5rem;
  }
}

.venue-layout {
  display: grid;
  grid-template-columns: 1fr 350px;
  gap: 4rem;
}

/* ========================================
   PRIMARY CONTENT
   ======================================== */

.venue-primary {
  min-width: 0;
  /* Prevents grid overflow */
}

.venue-section {
  margin-bottom: 3rem;
}

.venue-section__header {
  margin-bottom: 1.5rem;
}

.venue-section__title {
  font-family: var(--primary-font);
  font-size: 1.125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--primary-color);
  margin: 0;
  position: relative;
}

.venue-section__title::after {
  content: "";
  position: absolute;
  bottom: -0.5rem;
  left: 0;
  width: 2rem;
  height: 2px;
  background-color: var(--primary-color);
}

.venue-section__content {
  line-height: 1.7;
  color: #333;
}

/* ========================================
   STORY & DESCRIPTION
   ======================================== */

.venue-story {
  margin-bottom: 1rem;
}

.venue-story__text {
  font-size: 1.03125rem;
  font-style: italic;
  color: #333;
  margin: 0;
  line-height: 1.6;
}

.venue-description__text {
  font-size: 1rem;
  margin: 0;
  line-height: 1.7;
  color: #333;
}

/* ========================================
   FACILITIES
   ======================================== */

.venue-facilities {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 0.75rem;
}

.venue-facility {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem;
  background-color: #f8f9fa;
  border-radius: 4px;
  border-left: 3px solid var(--primary-color);
}

.venue-facility__icon {
  color: var(--primary-color);
  font-size: 1rem;
  flex-shrink: 0;
}

.venue-facility__text {
  font-size: 0.9rem;
  font-weight: 500;
  color: #333;
}

/* ========================================
   OPENING HOURS
   ======================================== */

.venue-hours {
  background-color: white;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  overflow: hidden;
}

.venue-hours__day {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid #f3f4f6;
  transition: all 0.2s ease;
}

.venue-hours__day:last-child {
  border-bottom: none;
}

.venue-hours__day:nth-child(odd) {
  background-color: #fafafa;
}

.venue-hours__day.current-day {
  background-color: rgba(46, 74, 125, 0.1);
  border-left: 4px solid var(--primary-color);
  font-weight: 600;
  position: relative;
}

.venue-hours__day.current-day .venue-hours__label {
  font-weight: 700;
}

.venue-hours__label {
  font-weight: 600;
  color: var(--primary-color);
  font-size: 0.9rem;
}

.venue-hours__time {
  font-weight: 500;
  color: #333;
  font-size: 0.9rem;
}

.venue-hours__note {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin-top: 1rem;
  padding: 1rem;
  background-color: #f8f9fa;
  border-radius: 6px;
  font-size: 0.875rem;
  color: #666;
  line-height: 1.5;
}

.venue-hours__note i {
  color: var(--primary-color);
  margin-top: 0.125rem;
  flex-shrink: 0;
}

/* ========================================
   SIDEBAR
   ======================================== */

.venue-sidebar {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.venue-card {
  background-color: #fefefe !important;
  border: 1px solid #e8e8e8 !important;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.03) !important;
}

.venue-card__header {
  padding: 1.25rem 1.5rem 0.75rem 1.5rem;
  border-bottom: 1px solid #f3f4f6;
}

.venue-card__title {
  font-family: var(--primary-font);
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--primary-color);
  margin: 0;
}

.venue-card__content {
  padding: 1.5rem;
}

/* ========================================
   INFO ITEMS
   ======================================== */

.venue-info {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.venue-info__item {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #f3f4f6;
}

.venue-info__item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.venue-info__label {
  font-size: 0.875rem;
  font-weight: 500;
  color: #666;
  flex-shrink: 0;
}

.venue-info__value {
  font-size: 0.875rem;
  font-weight: 600;
  color: #1a1a1a;
  text-align: right;
}

/* ========================================
   CONTACT
   ======================================== */

.venue-contact {
  font-style: normal;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.venue-contact__item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.venue-contact__icon {
  color: var(--primary-color);
  font-size: 1rem;
  margin-top: 0.125rem;
  flex-shrink: 0;
}

.venue-contact__text,
.venue-contact__link {
  font-size: 0.9rem;
  line-height: 1.5;
}

.venue-contact__link {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.venue-contact__link:hover {
  color: var(--primary-color-hover);
}

/* ========================================
   MAP
   ======================================== */

.venue-map {
  border-radius: 6px;
  overflow: hidden;
}

.venue-map iframe {
  display: block;
  width: 100%;
}

/* ========================================
   PAYMENT
   ======================================== */

.venue-payment {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.venue-payment__item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.venue-payment__icon {
  color: var(--primary-color);
  font-size: 1rem;
  flex-shrink: 0;
}

.venue-payment__text {
  font-size: 0.9rem;
  font-weight: 500;
  color: #333;
}

.venue-payment__note {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin-top: 1rem;
  padding: 1rem;
  background-color: #f8f9fa;
  border-radius: 6px;
  font-size: 0.875rem;
  color: #666;
  line-height: 1.5;
}

.venue-payment__note i {
  color: var(--primary-color);
  margin-top: 0.125rem;
  flex-shrink: 0;
}

/* ========================================
   RELATED SECTION
   ======================================== */

.venue-related {
  background-color: #f8f9fa;
  padding: 4rem 0;
}

.venue-related__header {
  margin-bottom: 2.5rem;
  text-align: center;
}

.venue-related__title {
  font-family: var(--secondary-font);
  font-size: 2rem;
  font-weight: 600;
  color: var(--primary-color);
  margin: 0;
  letter-spacing: -0.01em;
}

.venue-related__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.venue-related__card {
  background-color: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.venue-related__card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.venue-related__link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.venue-related__image {
  height: 200px;
  overflow: hidden;
}

.venue-related__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.venue-related__card:hover .venue-related__img {
  transform: scale(1.05);
}

.venue-related__content {
  padding: 1.5rem;
}

.venue-related__name {
  font-family: var(--secondary-font);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--primary-color);
  margin: 0 0 0.75rem 0;
  line-height: 1.3;
}

.venue-related__meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  font-size: 0.875rem;
  color: #666;
}

.venue-related__separator {
  color: #999;
}

.venue-related__cuisine,
.venue-related__price,
.venue-related__service,
.venue-related__feature {
  white-space: nowrap;
}

/* ========================================
   UPDATED INFO
   ======================================== */

.venue-updated {
  border-top: 1px solid #e5e7eb;
  padding: 1rem 0 2rem 0;
  background-color: var(--main-color);
}

.venue-updated__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  font-size: 0.875rem;
  text-align: center;
}

.venue-updated__date-section {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.venue-updated__label {
  color: #666;
}

.venue-updated__date {
  color: var(--primary-color);
  font-weight: 600;
}

.venue-updated__report-section {
  display: flex;
  justify-content: center;
}

.venue-updated__report {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.venue-updated__report:hover {
  color: var(--primary-color-hover);
  text-decoration: underline;
}

/* ========================================
   PAYMENT LOGOS
   ======================================== */

.payment-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.payment-logos img {
  height: 32px;
  width: auto;
  max-width: 60px;
  object-fit: contain;
  border-radius: 4px;
  transition: opacity 0.2s ease;
}

.payment-logos img:hover {
  opacity: 0.8;
}

/* ========================================
   HERO RESPONSIVE MARGINS (NAVBAR CLEARANCE)
   ======================================== */

/* Desktop - standard navbar height */
@media (min-width: 1024px) {
  .venue-hero {
    margin-top: 70px;
  }
}

/* Tablet - navbar + mobile search */
@media (max-width: 1023px) and (min-width: 769px) {
  .venue-hero {
    margin-top: 120px;
    /* navbar (70px) + mobile search (~50px) */
  }
}

/* Mobile - navbar + mobile search */
@media (max-width: 768px) {
  .venue-hero {
    margin-top: 115px;
    /* navbar (70px) + mobile search (~45px) */
  }

  /* Remove transform and will-change properties for mobile */
  .venue-hero__image-container {
    transform: none;
    will-change: auto;
    -webkit-transform: none;
  }

  .venue-hero__image {
    transform: none;
    will-change: auto;
    -webkit-transform: none;
  }
}

/* Small mobile - adjust for smaller mobile search */
@media (max-width: 480px) {
  .venue-hero {
    margin-top: 110px;
    /* navbar (70px) + mobile search (~40px) */
  }

  /* Remove transform and will-change properties for mobile */
  .venue-hero__image-container {
    transform: none;
    will-change: auto;
    -webkit-transform: none;
  }

  .venue-hero__image {
    transform: none;
    will-change: auto;
    -webkit-transform: none;
  }
}

/* ========================================
   MOBILE RESPONSIVE STYLES
   ======================================== */

/* Tablet Styles */
@media (max-width: 1024px) {
  .venue-layout {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
  }

  /* Make both primary and sidebar use flex for reordering */
  .venue-primary {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
  }

  .venue-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
  }

  /* Mix primary and sidebar sections together using display: contents */
  .venue-layout > * {
    display: contents;
  }

  /* Reorder all sections for mobile with custom spacing */
  .venue-sidebar .venue-card:nth-child(1) {
    /* Quick Info */
    order: 1;
    margin-bottom: 2.5rem;
    /* Larger gap after Quick Info */
  }

  .venue-primary .venue-section:nth-child(1) {
    /* About */
    order: 2;
    margin-bottom: 1.75rem;
    /* Good gap after About */
  }

  .venue-primary .venue-section:nth-child(2) {
    /* Facilities */
    order: 3;
    margin-bottom: 1.75rem;
    /* Good gap after Facilities */
  }

  .venue-primary .venue-section:nth-child(3) {
    /* Opening Hours */
    order: 4;
    margin-bottom: 1.75rem;
    /* Good gap after Opening Hours */
  }

  .venue-sidebar .venue-card:nth-child(2) {
    /* Contact */
    order: 5;
    margin-bottom: 1.5rem;
    /* Gap after Contact */
  }

  .venue-sidebar .venue-card:nth-child(4) {
    /* Payment Methods */
    order: 6;
    margin-bottom: 1.5rem;
    /* Gap after Payment Methods */
  }

  .venue-sidebar .venue-card:nth-child(3) {
    /* Location */
    order: 7;
  }

  .venue-hero {
    height: 60dvh;
    min-height: 400px;
  }

  .venue-content {
    padding: 3rem 0;
  }
}

/* Small Screen Button Layout - Only when buttons can't fit horizontally */
@media (max-width: 600px) {
  .venue-hero__actions {
    flex-direction: column;
    gap: 0.5rem;
    align-items: flex-start;
    margin-top: 1rem;
    margin-left: 0;
    margin-right: 0;
    width: 100%;
  }

  .venue-btn {
    padding: 0.5rem 1rem;
    font-size: 0.75rem;
    background-color: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
    opacity: 0.9;
    width: 100%;
    max-width: 400px;
    justify-content: center;
  }

  .venue-btn:hover {
    opacity: 1;
    background-color: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.4);
  }
}

/* Mobile Styles */
@media (max-width: 768px) {
  .venue-container {
    padding: 0 1.75rem;
  }

  .venue-layout {
    gap: 0;
    /* Remove default gap since we're using custom margins */
  }

  .venue-primary {
    gap: 0;
    /* Remove default gap since we're using custom margins */
  }

  .venue-sidebar {
    gap: 0;
    /* Remove default gap since we're using custom margins */
  }

  /* Adjust mobile spacing */
  .venue-sidebar .venue-card:nth-child(1) {
    margin-bottom: 2.25rem;
    /* Good gap on mobile */
  }

  .venue-primary .venue-section:nth-child(1),
  .venue-primary .venue-section:nth-child(2),
  .venue-primary .venue-section:nth-child(3) {
    margin-bottom: 1.5rem;
    /* Better spacing on mobile */
  }

  .venue-sidebar .venue-card:nth-child(2) {
    margin-bottom: 1.25rem;
    /* Gap after Contact on mobile */
  }

  .venue-sidebar .venue-card:nth-child(4) {
    margin-bottom: 1.25rem;
    /* Gap after Payment Methods on mobile */
  }

  .venue-hero__content {
    padding: 1rem 1.5rem 0.75rem 1.5rem;
    align-self: flex-end;
  }

  .venue-hero__header {
    margin-left: 0;
    margin-right: 0;
  }

  .venue-breadcrumb {
    margin-left: 0;
    padding-left: 0;
  }

  .venue-breadcrumb__list {
    padding-left: 0;
    margin-left: 0;
  }

  .venue-hero__title {
    font-size: clamp(2rem, 5vw, 3rem);
    margin-bottom: 0.375rem;
  }

  .venue-hero__subtitle {
    flex-direction: row;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.8rem;
    flex-wrap: wrap;
  }

  .venue-breadcrumb {
    margin-bottom: 0.5rem;
  }

  .venue-breadcrumb__list {
    gap: clamp(0.25rem, 1vw, 0.375rem);
  }

  .venue-facilities {
    grid-template-columns: 1fr;
  }

  .payment-logos {
    gap: 0.5rem;
  }

  .payment-logos img {
    height: 28px;
    max-width: 50px;
  }

  .venue-related__grid {
    grid-template-columns: 1fr;
  }

  .venue-related__title {
    font-size: 1.75rem;
  }

  .venue-updated__content {
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    text-align: center;
    padding: 0 1rem;
  }

  .venue-updated {
    padding: 0.5rem 0 1.5rem 0;
  }
}

/* Small Mobile Styles */
@media (max-width: 480px) {
  .venue-layout {
    gap: 0;
    /* Remove default gap since we're using custom margins */
  }

  .venue-primary {
    gap: 0;
    /* Remove default gap since we're using custom margins */
  }

  .venue-sidebar {
    gap: 0;
    /* Remove default gap since we're using custom margins */
  }

  /* Adjust small mobile spacing */
  .venue-sidebar .venue-card:nth-child(1) {
    margin-bottom: 2rem;
    /* Good gap on small mobile */
  }

  .venue-primary .venue-section:nth-child(1),
  .venue-primary .venue-section:nth-child(2),
  .venue-primary .venue-section:nth-child(3) {
    margin-bottom: 1.25rem;
    /* Better spacing on small mobile */
  }

  .venue-sidebar .venue-card:nth-child(2) {
    margin-bottom: 1rem;
    /* Gap after Contact on small mobile */
  }

  .venue-sidebar .venue-card:nth-child(4) {
    margin-bottom: 1rem;
    /* Gap after Payment Methods on small mobile */
  }
}

/* Small Mobile Styles */
@media (max-width: 480px) {
  .venue-container {
    padding: 0 1.5rem;
  }

  .venue-hero {
    height: 50dvh;
    min-height: 350px;
  }

  .venue-hero__content {
    padding: 1rem 1.5rem 0.75rem 1.5rem;
    align-self: flex-end;
  }

  .venue-hero__header {
    margin-left: 0;
    margin-right: 0;
  }

  .venue-breadcrumb {
    margin-left: 0;
    padding-left: 0;
  }

  .venue-breadcrumb__list {
    padding-left: 0;
    margin-left: 0;
  }

  .venue-content {
    padding: 2rem 0;
  }

  .venue-section {
    margin-bottom: 2rem;
  }

  .venue-card__header {
    padding: 1rem 1.25rem 0.5rem 1.25rem;
  }

  .venue-card__content {
    padding: 1.25rem;
  }

  .venue-related__header {
    margin-bottom: 2rem;
  }

  .venue-related__title {
    font-size: 1.5rem;
  }

  .venue-updated {
    padding: 1rem 0;
  }

  .venue-updated__content {
    padding: 0 1rem;
    font-size: 0.8rem;
  }

  .venue-hero__title {
    font-size: clamp(1.75rem, 5vw, 2.5rem);
    word-wrap: break-word;
    hyphens: auto;
  }
}

/* Extra small mobile devices (320px and below) */
@media (max-width: 320px) {
  .venue-hero__content {
    padding: 0.75rem 1.25rem 0.625rem 1.25rem;
    align-self: flex-end;
  }

  .venue-hero__title {
    font-size: clamp(1.75rem, 4.5vw, 2.5rem);
  }
}

/* Additional safety padding for very small screens */
@media (max-width: 400px) {
  .venue-hero__content {
    padding: 0.75rem 1.5rem 0.625rem 1.5rem;
    align-self: flex-end;
  }
}

/* ========================================
   ACCESSIBILITY & MOTION PREFERENCES
   ======================================== */

@media (prefers-reduced-motion: reduce) {
  .venue-btn,
  .venue-related__card,
  .venue-related__img,
  .venue-contact__link {
    transition: none;
  }

  .venue-related__card:hover {
    transform: none;
  }

  .venue-related__card:hover .venue-related__img {
    transform: none;
  }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  .venue-card,
  .venue-hours {
    border-width: 2px;
    border-color: #000;
  }

  .venue-section__title::after {
    background-color: #000;
  }

  .venue-facility {
    border-left-color: #000;
  }
}

/* Focus management for keyboard navigation */
.venue-btn:focus-visible,
.venue-breadcrumb__link:focus-visible,
.venue-contact__link:focus-visible,
.venue-related__link:focus-visible,
.venue-updated__report:focus-visible {
  outline: 2px solid #3b82f6;
  outline-offset: 2px;
}

/* ========================================
   DOG ACCESS POPUP
   ======================================== */

.dog-access-clickable {
  cursor: pointer;
  transition: color 0.2s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.dog-access-clickable:hover {
  color: var(--primary-color-hover);
}

.dog-access-clickable i {
  font-size: 0.875rem;
  color: var(--primary-color);
  transition: color 0.2s ease;
}

.dog-access-clickable:hover i {
  color: var(--primary-color-hover);
}

.dog-access-popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 99999999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease-out, visibility 0.2s ease-out;
}

.dog-access-popup.active {
  opacity: 1;
  visibility: visible;
}

.dog-access-popup__content {
  background: white;
  border-radius: 8px;
  padding: 2rem;
  max-width: 500px;
  width: 90%;
  max-height: 80dvh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.close-btn {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: #666;
  padding: 0.5rem;
  border-radius: 4px;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.close-btn:hover {
  background-color: #f3f4f6;
  color: #333;
}

.dog-access-rating {
  margin-top: 2rem;
  margin-bottom: 1.5rem;
  padding: 1.5rem;
  background: #f8f9fa;
  border-radius: 8px;
}

.dog-access-rating__level {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 0.75rem;
}

.dog-access-rating__description {
  color: #555;
  line-height: 1.6;
  margin-bottom: 0;
}

.dog-access-learn-more {
  margin-bottom: 0.5rem;
  text-align: center;
}

.learn-more-btn {
  background: none;
  border: none;
  color: var(--primary-color);
  padding: 0;
  cursor: pointer;
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: underline;
  transition: color 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.learn-more-btn:hover {
  color: var(--primary-color-hover);
}

.learn-more-icon {
  font-size: 0.75rem;
}

.dog-access-all-ratings {
  border-top: 1px solid #eee;
  padding-top: 1rem;
}

.dog-access-all-ratings h4 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--primary-color);
  margin: 0 0 0.75rem 0;
}

.dog-access-rating-item {
  margin-bottom: 0.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid #f3f4f6;
}

.dog-access-rating-item:last-child {
  border-bottom: none;
  margin-bottom: 0;
}

.dog-access-rating-item strong {
  color: var(--primary-color);
  font-weight: 600;
}

/* ========================================
   FACILITIES EXPAND/COLLAPSE
   ======================================== */

.venue-facilities {
  position: relative;
}

.venue-facility.hidden {
  display: none;
}

.facilities-toggle {
  margin: 1rem auto 0 auto;
  padding: 0.5rem 0;
  background: transparent;
  border: none;
  color: var(--primary-color);
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.375rem;
  text-decoration: underline;
  text-decoration-style: solid;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}

.facilities-toggle:hover {
  color: var(--primary-color-hover);
  text-decoration-color: var(--primary-color-hover);
}

.facilities-toggle i {
  font-size: 0.7rem;
  transition: transform 0.2s ease;
  text-decoration: none;
}

.facilities-toggle.expanded i {
  transform: rotate(180deg);
}

/* Print styles */
@media print {
  .venue-hero__actions,
  .venue-related,
  .venue-updated,
  .dog-access-popup,
  .facilities-toggle,
  .venue-share-icon {
    display: none;
  }

  .venue-hero {
    height: auto;
    min-height: auto;
    page-break-inside: avoid;
  }

  .venue-layout {
    display: block;
  }

  .venue-sidebar {
    margin-top: 2rem;
  }

  .venue-card {
    box-shadow: none;
    border: 1px solid #000;
    page-break-inside: avoid;
    margin-bottom: 1rem;
  }

  .venue-facility.hidden {
    display: flex;
  }
}

/* ========================================
   iOS SAFARI SCROLLING JITTER FIX
   ======================================== */
@supports (-webkit-touch-callout: none) {
  /* iOS Safari specific fixes */
  .venue-hero__image-container {
    transform: none !important;
    will-change: auto !important;
    -webkit-transform: none !important;
    -webkit-backface-visibility: visible !important;
    backface-visibility: visible !important;
    -webkit-perspective: none !important;
    perspective: none !important;
  }

  .venue-hero__image {
    transform: none !important;
    will-change: auto !important;
    -webkit-transform: none !important;
    -webkit-backface-visibility: visible !important;
    backface-visibility: visible !important;
    -webkit-perspective: none !important;
    perspective: none !important;
    /* Additional iOS-specific optimizations */
    -webkit-transform-style: flat !important;
    transform-style: flat !important;
    -webkit-transform-origin: 50% 50% !important;
    transform-origin: 50% 50% !important;
  }

  /* Ensure smooth scrolling on iOS */
  .venue-hero {
    -webkit-overflow-scrolling: touch;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
  }
}
