/* Page-owned styles for poker-tables page */

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

.poker-tables-hero__image-wrapper {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

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

.poker-tables-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(44, 44, 44, 0.55) 0%, rgba(44, 44, 44, 0.75) 100%);
  z-index: 1;
}

.poker-tables-hero__content {
  position: relative;
  z-index: 2;
  padding-block: var(--space-2xl) var(--space-xl);
  color: var(--color-off-white);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-md);
  max-width: 600px;
  margin-inline: 0;
}

.poker-tables-hero__label {
  color: var(--color-off-white);
  margin-block-end: 0;
}

.poker-tables-hero__title {
  color: var(--color-off-white);
  font-size: var(--text-display);
  letter-spacing: var(--tracking-display);
  line-height: var(--leading-display);
  margin-block-end: 0;
  max-width: 15ch;
}

.poker-tables-hero__lead {
  font-size: var(--text-body-large);
  line-height: var(--leading-body);
  max-width: 45ch;
  margin-block-end: 0;
}

.poker-tables-hero__support {
  font-size: var(--text-small);
  line-height: var(--leading-small);
  max-width: 45ch;
  margin-block-end: 0;
  color: var(--color-muted-sand);
}

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

/* Around the table section */
.poker-tables-around {
  background-color: var(--color-concrete);
}

.poker-tables-around__grid {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
  gap: var(--space-xl);
  align-items: start;
}

.poker-tables-around__text {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.poker-tables-around__text .technical-label {
  margin-block-end: 0;
}

.poker-tables-around__text h2 {
  margin-block-end: 0;
}

.poker-tables-around__text p {
  max-width: 65ch;
  margin-block-end: 0;
}

.poker-tables-around__list {
  list-style: none;
  padding-inline-start: 0;
  margin-block-end: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.poker-tables-around__list li {
  position: relative;
  padding-inline-start: var(--space-md);
}

.poker-tables-around__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 0.5rem;
  height: 1px;
  background-color: var(--color-deep-felt);
}

.poker-tables-around__subheading {
  margin-block-start: var(--space-md);
  margin-block-end: 0;
}

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

.poker-tables-around__media img {
  width: 100%;
  height: auto;
  display: block;
  border: var(--border-thin);
}

/* Cards on the felt section */
.poker-tables-cards {
  background-color: var(--color-muted-sand);
}

.poker-tables-cards__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-lg);
}

.poker-tables-cards__text {
  max-width: 800px;
  width: 100%;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.poker-tables-cards__text .technical-label {
  margin-block-end: 0;
}

.poker-tables-cards__text h2 {
  margin-block-end: 0;
}

.poker-tables-cards__text p {
  max-width: 60ch;
  margin-inline: auto;
  margin-block-end: 0;
}

.poker-tables-cards__quote {
  border-inline-start: 2px solid var(--color-deep-felt);
  padding-inline-start: var(--space-md);
  margin-block-end: 0;
  text-align: left;
  max-width: 60ch;
  margin-inline: auto;
}

.poker-tables-cards__quote p {
  font-family: var(--font-heading);
  font-size: var(--text-h4);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: var(--tracking-h4);
  color: var(--color-deep-felt);
  max-width: none;
  margin-inline: 0;
}

.poker-tables-cards__subheading {
  margin-block-start: var(--space-md);
  margin-block-end: 0;
}

.poker-tables-cards__media {
  margin-block-end: 0;
  width: 70%;
  max-width: 500px;
}

.poker-tables-cards__media img {
  width: 100%;
  height: auto;
  display: block;
  border: var(--border-thin);
}

/* Players face-to-face section */
.poker-tables-face {
  background-color: var(--color-concrete);
}

.poker-tables-face__grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
  gap: var(--space-xl);
  align-items: start;
}

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

.poker-tables-face__media img {
  width: 100%;
  height: auto;
  display: block;
  border: var(--border-thin);
}

.poker-tables-face__text {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.poker-tables-face__text .technical-label {
  margin-block-end: 0;
}

.poker-tables-face__text h2 {
  margin-block-end: 0;
}

.poker-tables-face__text p {
  max-width: 65ch;
  margin-block-end: 0;
}

.poker-tables-face__subheading {
  margin-block-start: var(--space-md);
  margin-block-end: 0;
}

/* Inside the room section */
.poker-tables-room {
  background-color: var(--color-muted-sand);
}

.poker-tables-room__text {
  max-width: 80%;
  margin-inline: auto;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.poker-tables-room__text .technical-label {
  margin-block-end: 0;
}

.poker-tables-room__text h2 {
  margin-block-end: 0;
}

.poker-tables-room__text p {
  max-width: 65ch;
  margin-block-end: 0;
}

.poker-tables-room__subheading {
  margin-block-start: var(--space-md);
  margin-block-end: 0;
}

.poker-tables-room__media {
  margin-block-start: var(--space-xl);
  margin-block-end: 0;
  width: 100%;
}

.poker-tables-room__media img {
  width: 100%;
  height: auto;
  display: block;
  border: var(--border-thin);
}

/* Gallery section */
.poker-tables-gallery {
  background-color: var(--color-concrete);
}

.poker-tables-gallery__intro {
  max-width: 800px;
  margin-inline: auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  margin-block-end: var(--space-xl);
}

.poker-tables-gallery__intro .technical-label {
  margin-block-end: 0;
}

.poker-tables-gallery__intro h2 {
  margin-block-end: 0;
}

.poker-tables-gallery__intro p {
  max-width: 60ch;
  margin-inline: auto;
  margin-block-end: 0;
}

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

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

.poker-tables-gallery__item--large {
  grid-column: span 7;
}

.poker-tables-gallery__item:not(.poker-tables-gallery__item--large):not(.poker-tables-gallery__item--full) {
  grid-column: span 5;
}

.poker-tables-gallery__item--full {
  grid-column: span 12;
}

.poker-tables-gallery__link {
  display: block;
  border: var(--border-thin);
  overflow: hidden;
  text-decoration: none;
}

.poker-tables-gallery__link img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform var(--transition-fast);
}

.poker-tables-gallery__link:hover img {
  transform: scale(1.02);
}

.poker-tables-gallery__item figcaption {
  font-size: var(--text-small);
  line-height: var(--leading-small);
  color: var(--color-eucalyptus);
  text-align: center;
  max-width: 40ch;
  margin-inline: auto;
  margin-block-start: var(--space-xs);
}

/* Why physical tables matter section */
.poker-tables-why {
  background-color: var(--color-deep-felt);
  color: var(--color-off-white);
}

.poker-tables-why__inner {
  max-width: 70%;
  margin-inline: auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  padding-block: var(--space-2xl);
}

.poker-tables-why__label {
  color: var(--color-off-white);
  margin-block-end: 0;
}

.poker-tables-why__title {
  color: var(--color-off-white);
  margin-block-end: 0;
}

.poker-tables-why__text {
  max-width: 50ch;
  margin-inline: auto;
  margin-block-end: 0;
  font-size: var(--text-body-large);
  line-height: var(--leading-body);
}

/* Reserve your seat section */
.poker-tables-reserve {
  background-color: var(--color-concrete);
}

.poker-tables-reserve__inner {
  max-width: 60%;
  margin-inline: auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  padding-block: var(--space-xl);
  border-block-start: var(--border-thin);
  border-block-end: var(--border-thin);
}

.poker-tables-reserve__inner .technical-label {
  margin-block-end: 0;
}

.poker-tables-reserve__inner h2 {
  margin-block-end: 0;
}

.poker-tables-reserve__text {
  max-width: 60ch;
  margin-inline: auto;
  margin-block-end: 0;
}

.poker-tables-reserve__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-sm);
}

.poker-tables-reserve__actions .btn {
  min-width: 160px;
}

.poker-tables-reserve__contact {
  font-size: var(--text-small);
  line-height: var(--leading-small);
  color: var(--color-eucalyptus);
  max-width: 60ch;
  margin-inline: auto;
  margin-block-end: 0;
}

/* Lightbox styles */
.poker-tables-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(44, 44, 44, 0.9);
  padding: var(--space-md);
}

.poker-tables-lightbox__content {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  background-color: var(--color-off-white);
  padding: var(--space-sm);
  border: var(--border-thin);
}

.poker-tables-lightbox__image {
  max-width: 100%;
  max-height: 70vh;
  object-fit: contain;
  display: block;
}

.poker-tables-lightbox__caption {
  font-size: var(--text-small);
  line-height: var(--leading-small);
  color: var(--color-charcoal);
  text-align: center;
  margin-block-end: 0;
}

.poker-tables-lightbox__close {
  position: absolute;
  top: var(--space-xs);
  right: var(--space-xs);
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-off-white);
  border: var(--border-thin);
  border-radius: var(--radius-interactive);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: var(--text-body);
  color: var(--color-charcoal);
  cursor: pointer;
}

.poker-tables-lightbox__close:hover {
  background-color: var(--color-muted-sand);
}

/* Responsive adjustments */
@media (max-width: 1100px) {
  .poker-tables-around__grid,
  .poker-tables-face__grid {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

  .poker-tables-around__media,
  .poker-tables-face__media {
    order: 2;
  }

  .poker-tables-around__text,
  .poker-tables-face__text {
    order: 1;
  }

  .poker-tables-gallery__item--large {
    grid-column: span 12;
  }

  .poker-tables-gallery__item:not(.poker-tables-gallery__item--large):not(.poker-tables-gallery__item--full) {
    grid-column: span 6;
  }

  .poker-tables-gallery__item--full {
    grid-column: span 12;
  }
}

@media (max-width: 700px) {
  .poker-tables-hero {
    min-height: 70vh;
    align-items: flex-end;
  }

  .poker-tables-hero__content {
    padding-block: var(--space-xl) var(--space-lg);
    align-items: center;
    text-align: center;
    margin-inline: auto;
    max-width: 100%;
  }

  .poker-tables-hero__title {
    font-size: var(--text-h1);
    max-width: 100%;
  }

  .poker-tables-hero__lead,
  .poker-tables-hero__support {
    max-width: 100%;
  }

  .poker-tables-hero__cta {
    align-self: center;
  }

  .poker-tables-around__grid,
  .poker-tables-face__grid {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

  .poker-tables-around__media,
  .poker-tables-face__media {
    order: 2;
  }

  .poker-tables-around__text,
  .poker-tables-face__text {
    order: 1;
  }

  .poker-tables-cards__inner {
    gap: var(--space-md);
  }

  .poker-tables-cards__media {
    width: 100%;
  }

  .poker-tables-room__text {
    max-width: 100%;
  }

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

  .poker-tables-gallery__item--large,
  .poker-tables-gallery__item:not(.poker-tables-gallery__item--large):not(.poker-tables-gallery__item--full),
  .poker-tables-gallery__item--full {
    grid-column: span 1;
  }

  .poker-tables-why__inner {
    max-width: 90%;
    padding-block: var(--space-xl);
  }

  .poker-tables-reserve__inner {
    max-width: 90%;
    padding-block: var(--space-lg);
  }

  .poker-tables-reserve__actions {
    flex-direction: column;
    align-items: center;
  }

  .poker-tables-reserve__actions .btn {
    width: 100%;
    max-width: 300px;
  }
}

@media (max-width: 480px) {
  .poker-tables-hero {
    min-height: 65vh;
  }

  .poker-tables-hero__content {
    padding-block: var(--space-lg) var(--space-md);
  }

  .poker-tables-hero__title {
    font-size: var(--text-h2);
  }

  .poker-tables-hero__lead {
    font-size: var(--text-body);
  }

  .poker-tables-cards__text,
  .poker-tables-gallery__intro,
  .poker-tables-why__text,
  .poker-tables-reserve__text,
  .poker-tables-reserve__contact {
    max-width: 100%;
  }

  .poker-tables-cards__quote p {
    font-size: var(--text-body);
  }
}
