/* Page-owned styles for Restauracja page */

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

.restaurant-hero__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
  z-index: 0;
}

.restaurant-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(var(--color-deep-green-rgb), 0.3) 0%, rgba(var(--color-dark-walnut-rgb), 0.7) 100%);
  z-index: 1;
}

.restaurant-hero__content {
  position: relative;
  z-index: 2;
  max-width: 600px;
  margin-inline: auto;
  text-align: center;
  padding: var(--space-2xl) var(--space-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-lg);
}

.restaurant-hero__title {
  color: var(--color-warm-ivory);
  font-size: var(--text-display);
  line-height: var(--leading-display);
  margin-block-end: 0;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.restaurant-hero__lead {
  color: var(--color-ivory-light);
  font-size: 1.125rem;
  line-height: 1.6;
  margin-block-end: 0;
  max-width: 520px;
}

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

/* Philosophy */
.restaurant-philosophy {
  padding-block: var(--space-4xl);
}

.restaurant-philosophy__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-xl);
  align-items: center;
}

.restaurant-philosophy__text {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.restaurant-philosophy__lead,
.restaurant-philosophy__copy {
  max-width: 500px;
  margin-block-end: 0;
}

.restaurant-philosophy__card {
  max-width: 500px;
  padding: var(--space-lg);
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.restaurant-philosophy__card-title {
  margin-block-end: 0;
}

.restaurant-philosophy__card-copy {
  margin-block-end: 0;
}

.restaurant-philosophy__list {
  margin-block-end: 0;
}

.restaurant-philosophy__figure {
  margin-block-end: 0;
  min-width: 0;
}

.restaurant-philosophy__image {
  width: 100%;
  max-width: 400px;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius-lg);
  margin-inline: auto;
}

/* Menu */
.restaurant-menu {
  padding-block: var(--space-4xl);
  background-color: var(--color-ivory-light);
}

.restaurant-menu__title {
  text-align: center;
  margin-block-end: var(--space-2xl);
}

.restaurant-menu__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-lg);
}

.restaurant-menu__card {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--space-md);
  padding: var(--space-lg);
  transition: box-shadow var(--transition-hover), transform var(--transition-hover);
}

.restaurant-menu__card:hover {
  box-shadow: var(--shadow-medium);
  transform: translateY(-2px);
}

.restaurant-menu__icon {
  font-size: 1.75rem;
  color: var(--color-burgundy);
  line-height: 1;
}

.restaurant-menu__card-title {
  margin-block-end: 0;
}

.restaurant-menu__card-copy {
  max-width: 300px;
  margin-block-end: 0;
}

.restaurant-menu__list {
  max-width: 300px;
  margin-block-end: 0;
  text-align: start;
  padding-inline-start: 1.25rem;
}

/* Spaces */
.restaurant-spaces {
  padding-block: var(--space-4xl);
}

.restaurant-spaces__title {
  text-align: center;
  margin-block-end: var(--space-2xl);
}

.restaurant-spaces__row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-xl);
  align-items: center;
  margin-block-end: var(--space-3xl);
}

.restaurant-spaces__row:last-child {
  margin-block-end: 0;
}

.restaurant-spaces__text {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.restaurant-spaces__subtitle {
  margin-block-end: 0;
}

.restaurant-spaces__copy {
  max-width: 450px;
  margin-block-end: 0;
}

.restaurant-spaces__list {
  max-width: 450px;
  margin-block-end: 0;
}

.restaurant-spaces__figure {
  margin-block-end: 0;
  min-width: 0;
}

.restaurant-spaces__image {
  width: 100%;
  max-width: 400px;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: var(--radius-lg);
  margin-inline: auto;
}

.restaurant-spaces__row--private .restaurant-spaces__text {
  order: 1;
}

.restaurant-spaces__row--private .restaurant-spaces__figure {
  order: 0;
}

/* Poker Lounge */
.restaurant-poker {
  padding-block: var(--space-4xl);
  background-color: var(--color-deep-green);
  color: var(--color-warm-ivory);
}

.restaurant-poker__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-xl);
}

.restaurant-poker__column {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--space-md);
  padding: var(--space-lg);
  background-color: rgba(var(--color-burgundy-rgb), 0.15);
  border-radius: var(--radius-lg);
}

.restaurant-poker__icon {
  font-size: 2rem;
  color: var(--color-burgundy);
  line-height: 1;
}

.restaurant-poker__title {
  color: var(--color-warm-ivory);
  margin-block-end: 0;
}

.restaurant-poker__copy {
  color: var(--color-ivory-light);
  max-width: 500px;
  margin-block-end: 0;
}

.restaurant-poker__note {
  color: var(--color-ivory-light);
  max-width: 500px;
  font-size: var(--text-small);
  line-height: var(--leading-small);
  margin-block-end: 0;
  opacity: 0.9;
}

/* Testimonials */
.restaurant-testimonials {
  padding-block: var(--space-4xl);
}

.restaurant-testimonials__title {
  text-align: center;
  margin-block-end: var(--space-2xl);
}

.restaurant-testimonials__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-lg);
}

.restaurant-testimonials__card {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--space-md);
  padding: var(--space-lg);
  transition: box-shadow var(--transition-hover);
}

.restaurant-testimonials__card:hover {
  box-shadow: var(--shadow-medium);
}

.restaurant-testimonials__icon {
  font-size: 1.5rem;
  color: var(--color-burgundy);
  line-height: 1;
}

.restaurant-testimonials__quote {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 1.125rem;
  line-height: 1.5;
  color: var(--color-dark-walnut);
  max-width: 300px;
  margin-block-end: 0;
  border-inline-start: none;
  padding-inline-start: 0;
}

.restaurant-testimonials__author {
  font-size: var(--text-small);
  line-height: var(--leading-small);
  color: var(--color-green-dark);
  max-width: 300px;
  margin-block-end: 0;
}

/* Reservations */
.restaurant-reservations {
  padding-block: var(--space-4xl);
  background-color: var(--color-ivory-light);
}

.restaurant-reservations__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-xl);
}

.restaurant-reservations__column {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.restaurant-reservations__copy {
  max-width: 450px;
  margin-block-end: 0;
}

.restaurant-reservations__list,
.restaurant-reservations__hours {
  max-width: 450px;
  margin-block-end: 0;
}

.restaurant-reservations__cta {
  align-self: flex-start;
  margin-block-start: var(--space-sm);
}

/* Final CTA */
.restaurant-final-cta {
  padding-block: var(--space-4xl);
  background-color: var(--color-deep-green);
  color: var(--color-warm-ivory);
}

.restaurant-final-cta__content {
  max-width: 600px;
  margin-inline: auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-lg);
}

.restaurant-final-cta__title {
  color: var(--color-warm-ivory);
  margin-block-end: 0;
}

.restaurant-final-cta__copy {
  color: var(--color-ivory-light);
  margin-block-end: 0;
}

.restaurant-final-cta__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-md);
}

.restaurant-final-cta__contact {
  color: var(--color-ivory-light);
  font-size: var(--text-small);
  line-height: var(--leading-small);
  margin-block-end: 0;
}

.restaurant-final-cta__contact a {
  color: var(--color-warm-ivory);
  text-decoration: underline;
}

.restaurant-final-cta__contact a:hover {
  color: var(--color-burgundy);
}

/* Responsive */
@media (max-width: 1024px) {
  .restaurant-philosophy__grid,
  .restaurant-spaces__row,
  .restaurant-poker__grid,
  .restaurant-reservations__grid {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

  .restaurant-philosophy__figure,
  .restaurant-spaces__figure {
    order: 0;
  }

  .restaurant-philosophy__text,
  .restaurant-spaces__text {
    order: 1;
  }

  .restaurant-spaces__row--private .restaurant-spaces__text {
    order: 1;
  }

  .restaurant-spaces__row--private .restaurant-spaces__figure {
    order: 0;
  }

  .restaurant-menu__grid,
  .restaurant-testimonials__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .restaurant-philosophy__image,
  .restaurant-spaces__image {
    max-width: 100%;
  }
}

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

  .restaurant-hero__content {
    padding: var(--space-xl) var(--space-md);
    gap: var(--space-md);
  }

  .restaurant-hero__title {
    font-size: 2rem;
    line-height: 1.2;
  }

  .restaurant-hero__lead {
    font-size: 0.875rem;
    line-height: 1.5;
  }

  .restaurant-hero__cta {
    width: 100%;
  }

  .restaurant-philosophy,
  .restaurant-menu,
  .restaurant-spaces,
  .restaurant-poker,
  .restaurant-testimonials,
  .restaurant-reservations,
  .restaurant-final-cta {
    padding-block: var(--space-2xl);
  }

  .restaurant-menu__grid,
  .restaurant-testimonials__grid {
    grid-template-columns: 1fr;
  }

  .restaurant-menu__card,
  .restaurant-testimonials__card {
    padding: var(--space-md);
  }

  .restaurant-menu__card-copy,
  .restaurant-menu__list,
  .restaurant-testimonials__quote,
  .restaurant-testimonials__author {
    max-width: 100%;
  }

  .restaurant-poker__column {
    padding: var(--space-md);
  }

  .restaurant-reservations__cta {
    align-self: stretch;
    text-align: center;
  }

  .restaurant-final-cta__actions {
    flex-direction: column;
    width: 100%;
  }

  .restaurant-final-cta__primary,
  .restaurant-final-cta__secondary {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .restaurant-hero__title {
    font-size: 1.75rem;
  }

  .restaurant-philosophy__card,
  .restaurant-menu__card,
  .restaurant-testimonials__card,
  .restaurant-poker__column {
    padding: var(--space-sm);
  }

  .restaurant-philosophy__list,
  .restaurant-menu__list,
  .restaurant-spaces__list,
  .restaurant-reservations__list,
  .restaurant-reservations__hours {
    padding-inline-start: 1.25rem;
  }
}
