/* Poker Room page styles */

/* Hero */
.poker-hero {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background-color: var(--color-navy-deep);
}

.poker-hero__media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.poker-hero__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.poker-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, var(--color-navy-deep) 0%, rgba(11, 19, 32, 0.6) 60%, rgba(11, 19, 32, 0.2) 100%);
}

.poker-hero__content {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-pad-mobile);
  padding-block-end: var(--space-3xl);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-lg);
}

.poker-hero__text {
  max-width: 600px;
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.poker-hero__text .eyebrow {
  margin-block-end: 0;
}

.poker-hero__text h1 {
  margin-block-end: 0;
  color: var(--color-cream);
}

.poker-hero__lead {
  font-size: var(--text-body-large-size);
  line-height: var(--text-body-large-leading);
  color: var(--color-cream-muted);
  margin-block-end: 0;
}

.poker-hero__cta {
  min-width: 160px;
}

/* Atmosphere */
.poker-atmosphere {
  background-color: var(--color-navy-deep);
}

.poker-atmosphere__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-2xl);
  align-items: start;
}

.poker-atmosphere__content {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
  min-width: 0;
}

.poker-atmosphere__content .eyebrow,
.poker-atmosphere__content h2,
.poker-atmosphere__intro {
  margin-block-end: 0;
}

.poker-atmosphere__intro {
  max-width: 68ch;
  color: var(--color-cream-muted);
}

.poker-atmosphere__features {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.poker-atmosphere__features h3 {
  margin-block-end: 0;
}

.poker-atmosphere__list {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xs);
  margin-block-end: 0;
}

.poker-atmosphere__list li {
  margin-block-end: 0;
  padding-inline-start: var(--space-md);
  position: relative;
}

.poker-atmosphere__list li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--color-old-gold);
}

.poker-atmosphere__figure {
  margin-block-end: 0;
  min-width: 0;
}

.poker-atmosphere__image {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius-0);
}

.poker-atmosphere__figure figcaption {
  margin-block-start: var(--space-xs);
}

/* Games */
.poker-games {
  background-color: var(--color-navy-soft);
}

.poker-games .eyebrow,
.poker-games h2 {
  margin-block-end: var(--space-lg);
}

.poker-games__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
}

.poker-game-card {
  background-color: var(--color-navy-soft);
  border: var(--border-dark);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  min-width: 0;
  transition: transform 200ms ease, border-color 200ms ease;
}

.poker-game-card:hover {
  transform: translateY(-4px);
  border-color: var(--color-old-gold);
}

.poker-game-card__icon {
  font-size: 2rem;
  color: var(--color-old-gold);
  line-height: 1;
}

.poker-game-card h3 {
  margin-block-end: 0;
}

.poker-game-card p {
  margin-block-end: 0;
  color: var(--color-cream-muted);
  max-width: 320px;
}

/* Professionalism */
.poker-professionalism {
  background-color: var(--color-navy-deep);
}

.poker-professionalism .eyebrow,
.poker-professionalism h2 {
  margin-block-end: var(--space-lg);
}

.poker-professionalism__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
}

.poker-professionalism__item {
  padding-block: var(--space-md);
  border-bottom: 1px solid var(--color-old-gold-soft);
  transition: background-color 200ms ease;
  min-width: 0;
}

.poker-professionalism__item:hover {
  background-color: var(--color-navy-soft);
}

.poker-professionalism__item h3 {
  margin-block-end: var(--space-xs);
}

.poker-professionalism__item p {
  margin-block-end: 0;
  color: var(--color-cream-muted);
  max-width: 400px;
}

/* Rules */
.poker-rules {
  background-color: var(--color-cream);
  color: var(--color-ink);
}

.poker-rules__container {
  max-width: 800px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
  text-align: center;
}

.poker-rules__container .eyebrow,
.poker-rules__container h2,
.poker-rules__intro,
.poker-rules__box,
.poker-rules__regulation {
  margin-block-end: 0;
}

.poker-rules__intro {
  max-width: 68ch;
  margin-inline: auto;
}

.poker-rules__box {
  border: 1px solid var(--color-walnut-light);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.poker-rules__box h3 {
  margin-block-end: 0;
  color: var(--color-ink);
}

.poker-rules__list {
  margin-block-end: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.poker-rules__list li {
  margin-block-end: 0;
}

.poker-rules__regulation {
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.poker-rules__regulation h3 {
  margin-block-end: 0;
  color: var(--color-ink);
}

.poker-rules__regulation p {
  margin-block-end: 0;
}

.poker-rules__regulation a {
  color: var(--color-burgundy);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.poker-rules__regulation a:hover {
  color: var(--color-burgundy-deep);
}

/* Reservation */
.poker-reservation {
  background-color: var(--color-burgundy);
  color: var(--color-cream);
}

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

.poker-reservation__container .eyebrow,
.poker-reservation__container h2,
.poker-reservation__text,
.poker-reservation__contacts {
  margin-block-end: 0;
}

.poker-reservation__container .eyebrow {
  color: var(--color-old-gold);
}

.poker-reservation__text {
  max-width: 600px;
}

.poker-reservation__contacts {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.poker-reservation__contact {
  color: var(--color-cream);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.poker-reservation__contact:hover {
  color: var(--color-cream-muted);
}

.poker-reservation__cta {
  min-width: 200px;
  background-color: var(--color-cream);
  color: var(--color-burgundy);
}

.poker-reservation__cta:hover {
  background-color: var(--color-cream-muted);
  color: var(--color-burgundy-deep);
}

/* Hours */
.poker-hours {
  background-color: var(--color-navy-soft);
}

.poker-hours__container {
  max-width: 400px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
  text-align: center;
}

.poker-hours__container .eyebrow,
.poker-hours__container h2,
.poker-hours__intro,
.poker-hours__table {
  margin-block-end: 0;
}

.poker-hours__table {
  border: 1px solid var(--color-old-gold-soft);
  border-radius: var(--radius-md);
  overflow: hidden;
  text-align: left;
}

.poker-hours__table th,
.poker-hours__table td {
  padding: var(--space-sm) var(--space-md);
  border-bottom: 1px solid var(--color-old-gold-soft);
}

.poker-hours__table tr:last-child th,
.poker-hours__table tr:last-child td {
  border-bottom: none;
}

/* Gallery */
.poker-gallery {
  background-color: var(--color-navy-deep);
}

.poker-gallery .eyebrow,
.poker-gallery h2,
.poker-gallery__intro {
  margin-block-end: var(--space-lg);
  text-align: center;
}

.poker-gallery__intro {
  max-width: 600px;
  margin-inline: auto;
}

.poker-gallery__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
}

.poker-gallery__figure {
  margin-block-end: 0;
  min-width: 0;
}

.poker-gallery__link {
  display: block;
  overflow: hidden;
  border-radius: var(--radius-0);
}

.poker-gallery__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 200ms ease, opacity 200ms ease;
}

.poker-gallery__link:hover .poker-gallery__image {
  transform: scale(1.03);
  opacity: 0.85;
}

.poker-gallery__figure--large .poker-gallery__image {
  aspect-ratio: 3 / 2;
}

.poker-gallery__figure:not(.poker-gallery__figure--large) .poker-gallery__image {
  aspect-ratio: 4 / 5;
}

.poker-gallery__figure:nth-child(3) .poker-gallery__image {
  aspect-ratio: 1 / 1;
}

.poker-gallery__figure figcaption {
  margin-block-start: var(--space-xs);
}

/* Testimonials */
.poker-testimonials {
  background-color: var(--color-cream);
  color: var(--color-ink);
}

.poker-testimonials .eyebrow,
.poker-testimonials h2 {
  margin-block-end: var(--space-lg);
  text-align: center;
}

.poker-testimonials__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
}

.poker-testimonial {
  margin-block-end: 0;
  border-inline-start: 2px solid var(--color-old-gold);
  padding-inline-start: var(--space-lg);
  max-width: 600px;
  margin-inline: auto;
}

.poker-testimonial p {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: var(--text-h3-size);
  line-height: var(--text-h3-leading);
  color: var(--color-ink);
  margin-block-end: var(--space-sm);
}

.poker-testimonial footer {
  font-size: var(--text-small-size);
  color: var(--color-walnut-light);
}

/* FAQ */
.poker-faq {
  background-color: var(--color-navy-soft);
}

.poker-faq__container {
  max-width: 800px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.poker-faq__container .eyebrow,
.poker-faq__container h2 {
  margin-block-end: 0;
}

.poker-faq__list {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.poker-faq__item {
  min-width: 0;
}

.poker-faq__item h3 {
  margin-block-end: var(--space-xs);
}

.poker-faq__item p {
  margin-block-end: 0;
  color: var(--color-cream-muted);
  max-width: 68ch;
}

.poker-faq__item a {
  color: var(--color-old-gold);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.poker-faq__item a:hover {
  color: var(--color-old-gold-soft);
}

/* Tablet and desktop */
@media (min-width: 768px) {
  .poker-hero__content {
    padding-inline: var(--container-pad-desktop);
    padding-block-end: var(--space-4xl);
  }

  .poker-atmosphere__grid {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: var(--space-lg);
  }

  .poker-atmosphere__content {
    grid-column: span 5;
  }

  .poker-atmosphere__figure {
    grid-column: span 7;
  }

  .poker-atmosphere__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .poker-games__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

  .poker-reservation__contacts {
    flex-direction: row;
    justify-content: center;
    gap: var(--space-lg);
  }

  .poker-gallery__grid {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: var(--space-lg);
  }

  .poker-gallery__figure--large {
    grid-column: span 8;
  }

  .poker-gallery__figure:not(.poker-gallery__figure--large) {
    grid-column: span 4;
  }

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

  .poker-testimonial {
    margin-inline: 0;
  }
}

@media (min-width: 1024px) {
  .poker-hero__content {
    padding-block-end: var(--space-5xl);
  }

  .poker-atmosphere__grid {
    gap: var(--space-xl);
  }

  .poker-games__grid {
    gap: var(--space-xl);
  }

  .poker-professionalism__grid {
    gap: var(--space-2xl) var(--space-3xl);
  }

  .poker-gallery__grid {
    gap: var(--space-xl);
  }
}

@media (max-width: 767px) {
  .poker-hero {
    min-height: 70vh;
  }

  .poker-hero__image {
    object-position: center 70%;
  }

  .poker-hero__content {
    padding-block-end: var(--space-2xl);
  }

  .poker-hero__cta {
    width: 100%;
  }

  .poker-atmosphere__grid,
  .poker-games__grid,
  .poker-professionalism__grid,
  .poker-gallery__grid,
  .poker-testimonials__grid {
    grid-template-columns: 1fr;
  }

  .poker-atmosphere__list {
    grid-template-columns: 1fr;
  }

  .poker-reservation__cta {
    width: 100%;
  }
}
