/* Page-owned styles for The Restaurant at Crown & Marquee */

#restaurant-main {
  --restaurant-gap-sm: 1rem;
  --restaurant-gap-md: 1.5rem;
  --restaurant-gap-lg: 2rem;
  --restaurant-gap-xl: 3rem;
}

/* Hero Section */
.restaurant-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background-color: var(--color-midnight-plum);
}

.restaurant-hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.restaurant-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.restaurant-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(to bottom, rgba(21, 20, 22, 0.45), rgba(21, 20, 22, 0.75));
}

.restaurant-hero__content {
  position: relative;
  z-index: 2;
  max-width: 37.5rem;
  width: calc(100% - 3rem);
  margin-inline: auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--restaurant-gap-md);
  padding-block: var(--space-6);
}

.restaurant-hero__title {
  color: var(--color-antique-cream);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  line-height: 1.1;
  max-width: 15ch;
  margin-block-end: 0;
  text-wrap: balance;
}

.restaurant-hero__lead {
  color: var(--color-antique-cream);
  font-size: 1.125rem;
  line-height: 1.6;
  max-width: 28rem;
  margin-block-end: 0;
  text-wrap: pretty;
}

.restaurant-hero__cta {
  margin-block-start: var(--restaurant-gap-sm);
}

/* Theatrical Dining Salon Section */
.restaurant-salon {
  background-color: var(--color-antique-cream);
  color: var(--color-midnight-plum);
}

.restaurant-salon__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--restaurant-gap-xl);
  align-items: start;
}

.restaurant-salon__content {
  min-width: 0;
}

.restaurant-salon__title,
.restaurant-salon__subtitle {
  color: var(--color-midnight-plum);
}

.restaurant-salon__title {
  margin-block-end: var(--space-4);
}

.restaurant-salon__subtitle {
  margin-block-start: var(--space-5);
  margin-block-end: var(--space-3);
}

.restaurant-salon__text {
  color: var(--color-midnight-plum);
  max-width: 70ch;
}

.restaurant-salon__figure {
  margin-block-end: 0;
  border: 1px solid var(--color-aged-bronze);
  border-radius: var(--radius-medium);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.restaurant-salon__figure:hover {
  transform: scale(1.01);
  box-shadow: var(--shadow-elevated);
}

.restaurant-salon__figure img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

.restaurant-salon__figure figcaption {
  padding: var(--space-3);
  color: var(--color-smoked-gray);
  background-color: var(--color-antique-cream);
  border-top: 1px solid var(--color-aged-bronze);
}

/* Culinary Philosophy Section */
.restaurant-philosophy {
  background-color: var(--color-midnight-plum);
  color: var(--color-antique-cream);
}

.restaurant-philosophy__container {
  max-width: 50rem;
  margin-inline: auto;
  text-align: center;
}

.restaurant-philosophy__title {
  color: var(--color-antique-cream);
  margin-block-end: var(--space-5);
}

.restaurant-philosophy__content {
  display: flex;
  flex-direction: column;
  gap: var(--restaurant-gap-lg);
  align-items: center;
}

.restaurant-philosophy__subtitle {
  color: var(--color-antique-cream);
  margin-block-end: var(--space-3);
}

.restaurant-philosophy__text {
  max-width: 55ch;
  margin-inline: auto;
  text-align: center;
}

.restaurant-philosophy__list {
  list-style: none;
  padding-inline-start: 0;
  margin-block-end: 0;
  display: flex;
  flex-direction: column;
  gap: var(--restaurant-gap-sm);
  max-width: 30rem;
  margin-inline: auto;
  text-align: left;
}

.restaurant-philosophy__list li {
  padding-inline-start: var(--space-4);
  position: relative;
  border-left: 2px solid var(--color-aged-bronze);
  color: var(--color-antique-cream);
}

.restaurant-philosophy__list li::before {
  content: "\2660";
  position: absolute;
  left: -0.6rem;
  top: 0;
  color: var(--color-aged-bronze);
  font-size: 0.9rem;
}

/* Signature Dishes Gallery Section */
.restaurant-gallery {
  background-color: var(--color-midnight-plum);
  color: var(--color-antique-cream);
}

.restaurant-gallery__title {
  color: var(--color-antique-cream);
  margin-block-end: var(--space-4);
}

.restaurant-gallery__intro {
  color: var(--color-antique-cream);
  max-width: 65ch;
  margin-block-end: var(--space-6);
}

.restaurant-gallery__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--restaurant-gap-lg);
  align-items: start;
}

.restaurant-gallery__item {
  margin-block-end: 0;
  display: flex;
  flex-direction: column;
  min-width: 0;
  border: 1px solid var(--color-aged-bronze);
  border-radius: var(--radius-medium);
  overflow: hidden;
  background-color: var(--color-near-black);
  box-shadow: var(--shadow-card);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.restaurant-gallery__item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-elevated);
  border-color: var(--color-oxblood);
}

.restaurant-gallery__link {
  display: block;
  overflow: hidden;
  width: 100%;
}

.restaurant-gallery__link img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.restaurant-gallery__item:hover .restaurant-gallery__link img {
  transform: scale(1.03);
}

.restaurant-gallery__caption {
  padding: var(--space-4);
  color: var(--color-antique-cream);
  display: flex;
  flex-direction: column;
  gap: var(--restaurant-gap-sm);
}

.restaurant-gallery__caption h3 {
  color: var(--color-antique-cream);
  margin-block-end: 0;
  font-size: var(--text-h4);
}

.restaurant-gallery__caption p {
  color: var(--color-antique-cream);
  font-size: var(--text-small);
  line-height: 1.5;
  margin-block-end: 0;
  max-width: 35ch;
}

/* Card Lounge Connection Section */
.restaurant-lounge {
  position: relative;
  overflow: hidden;
  background-color: var(--color-midnight-plum);
  padding-block: var(--space-8);
}

.restaurant-lounge__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.restaurant-lounge__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.restaurant-lounge__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(to right, rgba(21, 20, 22, 0.85), rgba(21, 20, 22, 0.55));
}

.restaurant-lounge__content {
  position: relative;
  z-index: 2;
  max-width: 31.25rem;
  margin-inline: 0;
  padding-block: var(--space-6);
  color: var(--color-antique-cream);
}

.restaurant-lounge__title {
  color: var(--color-antique-cream);
  margin-block-end: var(--space-4);
}

.restaurant-lounge__subtitle {
  color: var(--color-antique-cream);
  margin-block-start: var(--space-5);
  margin-block-end: var(--space-3);
}

.restaurant-lounge__text {
  color: var(--color-antique-cream);
  max-width: 55ch;
}

.restaurant-lounge__list {
  list-style: none;
  padding-inline-start: 0;
  margin-block-end: 0;
  display: flex;
  flex-direction: column;
  gap: var(--restaurant-gap-sm);
}

.restaurant-lounge__list li {
  padding-inline-start: var(--space-4);
  position: relative;
  color: var(--color-antique-cream);
}

.restaurant-lounge__list li::before {
  content: "\2663";
  position: absolute;
  left: 0;
  color: var(--color-aged-bronze);
}

/* Private Dining & Poker Evenings Section */
.restaurant-private {
  background-color: var(--color-antique-cream);
  color: var(--color-midnight-plum);
}

.restaurant-private__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--restaurant-gap-xl);
  align-items: start;
}

.restaurant-private__content {
  min-width: 0;
}

.restaurant-private__title,
.restaurant-private__subtitle {
  color: var(--color-midnight-plum);
}

.restaurant-private__title {
  margin-block-end: var(--space-4);
}

.restaurant-private__subtitle {
  margin-block-start: var(--space-5);
  margin-block-end: var(--space-3);
}

.restaurant-private__text {
  color: var(--color-midnight-plum);
  max-width: 70ch;
}

.restaurant-private__list {
  color: var(--color-midnight-plum);
  padding-inline-start: var(--space-4);
  margin-block-end: 0;
  display: flex;
  flex-direction: column;
  gap: var(--restaurant-gap-sm);
}

.restaurant-private__figure {
  margin-block-end: 0;
  border: 1px solid var(--color-aged-bronze);
  border-radius: var(--radius-medium);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.restaurant-private__figure:hover {
  transform: scale(1.01);
  box-shadow: var(--shadow-elevated);
}

.restaurant-private__figure img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.restaurant-private__figure figcaption {
  padding: var(--space-3);
  color: var(--color-smoked-gray);
  background-color: var(--color-antique-cream);
  border-top: 1px solid var(--color-aged-bronze);
}

/* Reservation Call-to-Action Section */
.restaurant-reserve {
  background-color: var(--color-midnight-plum);
  color: var(--color-antique-cream);
  border-top: 1px solid var(--color-aged-bronze);
  border-bottom: 1px solid var(--color-aged-bronze);
}

.restaurant-reserve__container {
  max-width: 37.5rem;
  margin-inline: auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--restaurant-gap-lg);
}

.restaurant-reserve__title {
  color: var(--color-antique-cream);
  margin-block-end: 0;
}

.restaurant-reserve__text {
  color: var(--color-antique-cream);
  max-width: 55ch;
  margin-block-end: 0;
}

.restaurant-reserve__contact {
  display: flex;
  flex-direction: column;
  gap: var(--restaurant-gap-sm);
  color: var(--color-antique-cream);
}

.restaurant-reserve__contact p {
  margin-block-end: 0;
}

.restaurant-reserve__contact a {
  color: var(--color-aged-bronze);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.restaurant-reserve__contact a:hover {
  color: var(--color-antique-cream);
}

.restaurant-reserve__cta {
  margin-block-start: var(--restaurant-gap-sm);
}

/* Lightbox */
.restaurant-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background-color: rgba(21, 20, 22, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-4);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.restaurant-lightbox.is-open {
  opacity: 1;
  pointer-events: auto;
}

.restaurant-lightbox__image {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  border: 1px solid var(--color-aged-bronze);
  box-shadow: var(--shadow-elevated);
}

.restaurant-lightbox__close {
  position: absolute;
  top: var(--space-4);
  right: var(--space-4);
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-oxblood);
  color: var(--color-antique-cream);
  border: 1px solid var(--color-aged-bronze);
  border-radius: var(--radius-small);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.restaurant-lightbox__close:hover {
  background-color: var(--color-aged-bronze);
}

/* Responsive adjustments */
@media (min-width: 48rem) {
  .restaurant-salon__grid {
    grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
  }

  .restaurant-private__grid {
    grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
  }
}

@media (max-width: 47.99rem) {
  .restaurant-hero {
    min-height: 60vh;
  }

  .restaurant-hero__content {
    padding-block: var(--space-5);
  }

  .restaurant-gallery__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: var(--restaurant-gap-xl);
  }

  .restaurant-lounge__content {
    max-width: 100%;
    padding-inline: var(--container-gutter-mobile);
  }

  .restaurant-lounge {
    padding-block: var(--space-7);
  }
}

@media (max-width: 29.99rem) {
  .restaurant-hero__title {
    font-size: 2.25rem;
  }

  .restaurant-hero__lead {
    font-size: 1rem;
  }

  .restaurant-philosophy__text,
  .restaurant-lounge__text,
  .restaurant-reserve__text {
    max-width: 100%;
  }

  .restaurant-gallery__caption p {
    max-width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .restaurant-hero__media img,
  .restaurant-lounge__media img {
    transition: none;
  }

  .restaurant-salon__figure,
  .restaurant-private__figure,
  .restaurant-gallery__item {
    transition: none;
  }

  .restaurant-gallery__link img {
    transition: none;
  }
}
