/* Texas Hold’em page styles */

.section-pad {
  padding-block: var(--space-8);
}

/* Hero */
.th-hero {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  min-height: 70vh;
  background-color: var(--surface-cork);
  overflow: hidden;
}

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

.th-hero__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: sepia(0.35) saturate(0.85) contrast(0.95);
}

.th-hero__content {
  position: relative;
  z-index: 1;
  align-self: end;
  justify-self: start;
  max-width: 600px;
  width: calc(100% - var(--space-8));
  margin: var(--space-8);
  padding: var(--space-6);
  background-color: rgba(255, 253, 208, 0.92);
  border: 1px solid var(--color-cork);
  border-radius: var(--radius-sharp);
  box-shadow: var(--shadow-lift);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  text-align: left;
}

.th-hero__eyebrow {
  font-family: var(--font-heading);
  font-size: var(--text-h3);
  line-height: var(--line-h3);
  color: var(--color-teal);
  margin: 0;
}

.th-hero__content h1 {
  font-size: var(--text-h1);
  line-height: var(--line-h1);
  margin: 0;
  color: var(--color-cherry);
}

.th-hero__lead {
  font-size: var(--text-body);
  line-height: var(--line-body);
  color: var(--color-ink);
  margin: 0;
  max-width: 60ch;
}

.th-hero__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.th-hero__list li {
  padding-inline-start: var(--space-5);
  position: relative;
  color: var(--color-ink);
}

.th-hero__list li::before {
  content: '';
  position: absolute;
  inset-inline-start: 0;
  inset-block-start: 0.6em;
  width: 8px;
  height: 8px;
  background-color: var(--color-cherry);
  border-radius: 50%;
}

.th-hero__cta {
  align-self: flex-start;
  margin-top: var(--space-2);
}

/* Intro */
.th-intro {
  background-color: var(--surface-cream);
}

.th-intro__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: var(--space-7);
  align-items: start;
}

.th-intro__text {
  min-width: 0;
}

.th-intro__text h2,
.th-intro__text h3 {
  margin-block-end: var(--space-4);
}

.th-intro__text p {
  max-width: 65ch;
}

.th-intro__note {
  font-style: italic;
  color: var(--color-cherry);
  border-inline-start: 3px solid var(--color-teal);
  padding-inline-start: var(--space-4);
  margin-block: var(--space-4);
}

.th-intro__illustration {
  min-width: 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

.th-intro__illustration svg {
  width: 100%;
  max-width: 320px;
  height: auto;
}

/* Flow */
.th-flow {
  background-color: var(--surface-cork);
}

.th-flow__heading {
  text-align: center;
  margin-block-end: var(--space-6);
}

.th-flow__grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: var(--space-5);
  align-items: start;
}

.th-flow__card {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  padding: var(--space-4) var(--space-3);
  text-align: center;
}

.th-flow__card h3 {
  margin: 0;
  font-size: var(--text-h3);
}

.th-flow__card p {
  margin: 0;
  max-width: 40ch;
  margin-inline: auto;
  font-size: var(--text-small);
  line-height: var(--line-small);
}

.th-flow__card .content-list {
  margin: 0;
  gap: var(--space-2);
  text-align: left;
}

.th-flow__card .content-list li {
  font-size: var(--text-small);
  line-height: var(--line-small);
}

/* Hands */
.th-hands {
  background-color: var(--surface-cream);
}

.th-hands h2 {
  text-align: center;
  margin-block-end: var(--space-6);
}

.th-hands__grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: var(--space-5);
  align-items: start;
}

.th-hands__card {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  padding: var(--space-4) var(--space-3);
  text-align: center;
}

.th-hands__card h3 {
  margin: 0;
  font-size: var(--text-h3);
  line-height: var(--line-h3);
}

.th-hands__card p {
  margin: 0;
  max-width: 30ch;
  margin-inline: auto;
  font-size: var(--text-small);
  line-height: var(--line-small);
}

/* Evenings */
.th-evenings {
  background-color: var(--surface-cork);
}

.th-evenings__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-6);
  align-items: start;
}

.th-evenings__heading {
  grid-column: 1 / -1;
  text-align: center;
  margin-block-end: var(--space-2);
}

.th-evenings__card {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.th-evenings__card h3 {
  margin: 0;
}

.th-evenings__card p {
  margin: 0;
  max-width: 65ch;
}

.th-evenings__note {
  font-style: italic;
  color: var(--color-cherry);
}

/* Room */
.th-room {
  background-color: var(--surface-cream);
}

.th-room__grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
  gap: var(--space-7);
  align-items: center;
}

.th-room__media {
  min-width: 0;
  margin: 0;
}

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

.th-room__text {
  min-width: 0;
}

.th-room__text h2,
.th-room__text h3 {
  margin-block-end: var(--space-4);
}

.th-room__text p {
  max-width: 65ch;
}

/* Rules */
.th-rules {
  background-color: var(--surface-cork);
}

.th-rules__container {
  max-width: 800px;
}

.th-rules__content {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.th-rules__content h3 {
  margin: 0;
}

.th-rules__content p {
  margin: 0;
  max-width: 65ch;
}

.th-rules__note {
  font-style: italic;
  color: var(--color-cherry);
}

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

.th-reservation__grid {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
  gap: var(--space-7);
  align-items: start;
}

.th-reservation__form {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.th-reservation__form h2 {
  margin: 0;
}

.th-reservation__form > p {
  margin: 0;
  max-width: 50ch;
}

.th-reservation__form-element {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.th-reservation__field {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.th-reservation__field label {
  margin: 0;
  max-width: 50ch;
}

.th-reservation__consent {
  margin: 0;
  font-size: var(--text-small);
  line-height: var(--line-small);
  color: var(--color-ink);
}

.th-reservation__status {
  margin: 0;
  font-weight: 700;
  color: var(--color-teal);
  min-height: 1.6em;
}

.th-reservation__status.error {
  color: var(--color-cherry);
}

.th-reservation__contact {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.th-reservation__contact h3 {
  margin: 0;
}

.th-reservation__contact p {
  margin: 0;
  max-width: 65ch;
}

/* FAQ */
.th-faq {
  background-color: var(--surface-cream);
}

.th-faq__container {
  max-width: 800px;
}

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

.th-faq__item {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.th-faq__item h3 {
  margin: 0;
}

.th-faq__trigger {
  font-family: var(--font-heading);
  font-size: var(--text-h3);
  line-height: var(--line-h3);
  color: var(--color-cherry);
  text-align: left;
  width: 100%;
  padding: 0;
  background: none;
  border: none;
  cursor: pointer;
  transition: color var(--transition-fast);
}

.th-faq__trigger:hover {
  color: var(--color-teal);
}

.th-faq__panel {
  padding-block-start: var(--space-2);
}

.th-faq__panel p {
  margin: 0;
  max-width: 65ch;
}

/* CTA */
.th-cta {
  padding-block: var(--space-8);
  text-align: center;
}

.th-cta__container {
  max-width: 600px;
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  align-items: center;
}

.th-cta h2 {
  color: var(--color-cream-on-dark);
  margin: 0;
}

.th-cta p {
  color: var(--color-cream-on-dark);
  margin: 0;
  max-width: 50ch;
}

.th-cta__button {
  margin-top: var(--space-2);
}

/* Responsive */
@media (max-width: 1024px) {
  .th-flow__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

  .th-intro__grid,
  .th-room__grid,
  .th-reservation__grid {
    grid-template-columns: 1fr;
  }

  .th-evenings__grid {
    grid-template-columns: 1fr;
  }

  .th-evenings__heading {
    grid-column: auto;
  }

  .th-intro__illustration {
    order: 2;
  }

  .th-intro__text {
    order: 1;
  }
}

@media (max-width: 768px) {
  .th-hero {
    min-height: auto;
    display: flex;
    flex-direction: column;
  }

  .th-hero__media {
    position: relative;
    height: 60vh;
  }

  .th-hero__content {
    position: static;
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: var(--space-6);
    background-color: var(--surface-cream);
    border: none;
    box-shadow: none;
  }

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

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

@media (max-width: 560px) {
  .th-flow__grid,
  .th-hands__grid {
    grid-template-columns: 1fr;
  }

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

  .th-hero__content h1 {
    font-size: var(--text-h2);
  }

  .th-intro__grid,
  .th-room__grid,
  .th-reservation__grid,
  .th-evenings__grid {
    gap: var(--space-5);
  }
}

@media (max-width: 480px) {
  .section-pad {
    padding-block: var(--space-6);
  }

  .th-hero__media {
    height: 50vh;
  }

  .th-hero__content {
    padding: var(--space-4);
  }

  .th-flow__card,
  .th-hands__card {
    padding: var(--space-3) var(--space-2);
  }

  .th-reservation__form,
  .th-reservation__contact {
    padding: var(--space-4);
  }
}

@media (prefers-reduced-motion: reduce) {
  .th-hero__content,
  .th-flow__card,
  .th-hands__card {
    transition: none;
  }
}
