/* Texas Hold’em page styles */

.th-hero {
  position: relative;
  background-color: var(--color-forest-900);
  color: var(--color-white);
  overflow: hidden;
}

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

.th-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.45;
}

.th-hero__content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-sm);
  padding-block: var(--space-2xl);
  max-width: 1200px;
}

.th-hero h1 {
  color: var(--color-white);
  font-size: var(--text-display-size);
  line-height: var(--text-display-line-height);
  letter-spacing: var(--text-display-letter-spacing);
  max-width: 60%;
  margin-block-end: 0;
}

.th-hero__subtitle {
  color: rgba(255, 255, 255, 0.85);
  font-size: var(--text-h3-size);
  line-height: var(--text-h3-line-height);
  max-width: 50%;
  margin-block-end: 0;
}

.th-hero__cta {
  margin-block-start: var(--space-3xs);
}

.th-intro {
  background-color: var(--color-ivory-50);
}

.th-intro__inner {
  max-width: 800px;
  margin-inline: auto;
}

.th-intro h2 {
  margin-block-end: var(--space-xs);
}

.th-intro p {
  max-width: 65ch;
  margin-block-end: var(--space-2xs);
}

.th-intro p:last-child {
  margin-block-end: 0;
}

.th-ambiance {
  background-color: var(--color-forest-900);
}

.th-ambiance h2 {
  color: var(--color-white);
  margin-block-end: var(--space-md);
}

.th-ambiance__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-sm);
}

.th-ambiance__card {
  min-width: 0;
  background-color: var(--color-forest-700);
  padding: var(--space-sm);
  border-radius: var(--radius-medium);
  box-shadow: var(--shadow-card-dark);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.th-ambiance__card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

.th-ambiance__card h3 {
  color: var(--color-white);
  margin-block-end: var(--space-2xs);
}

.th-ambiance__card p {
  color: rgba(255, 255, 255, 0.85);
  margin-block-end: 0;
}

.th-formats {
  background-color: var(--color-ivory-100);
}

.th-formats__inner {
  max-width: 800px;
  margin-inline: auto;
}

.th-formats h2 {
  margin-block-end: var(--space-md);
}

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

.th-formats__item {
  max-width: 700px;
  padding-inline-start: var(--space-xs);
  border-inline-start: 3px solid var(--color-blush-500);
}

.th-formats__item h3 {
  margin-block-end: var(--space-3xs);
}

.th-formats__item p {
  margin-block-end: 0;
}

.th-gallery {
  background-color: var(--color-ivory-50);
}

.th-gallery h2 {
  margin-block-end: var(--space-md);
}

.th-gallery__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-sm);
}

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

.th-gallery__figure img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-medium);
  border-top-left-radius: 48px;
  border-bottom-right-radius: 48px;
  box-shadow: var(--shadow-card-light);
}

.th-gallery__figure figcaption {
  text-align: center;
  margin-block-start: var(--space-3xs);
  max-width: 100%;
}

.th-rules {
  background-color: var(--color-ivory-50);
}

.th-rules__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-md);
}

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

.th-rules__col h2 {
  margin-block-end: var(--space-2xs);
}

.th-rules__col p {
  max-width: 65ch;
  margin-block-end: 0;
}

.th-legal {
  background-color: var(--color-forest-900);
}

.th-legal__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-sm);
}

.th-legal__block {
  min-width: 0;
  background-color: var(--color-forest-700);
  padding: var(--space-sm);
  border-radius: var(--radius-medium);
  box-shadow: var(--shadow-card-dark);
}

.th-legal__block h2 {
  color: var(--color-white);
  margin-block-end: var(--space-2xs);
}

.th-legal__block p {
  color: rgba(255, 255, 255, 0.85);
  margin-block-end: 0;
}

.th-testimonials {
  background-color: var(--color-ivory-100);
}

.th-testimonials h2 {
  margin-block-end: var(--space-md);
}

.th-testimonials__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-sm);
}

.th-testimonials__quote {
  min-width: 0;
  margin: 0;
  padding: var(--space-sm);
  background-color: var(--color-ivory-50);
  border-radius: var(--radius-medium);
  box-shadow: var(--shadow-card-light);
  border-inline-start: 3px solid var(--color-blush-500);
}

.th-testimonials__quote p {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: var(--text-h3-size);
  line-height: var(--text-h3-line-height);
  color: var(--color-forest-700);
  margin-block-end: var(--space-2xs);
}

.th-testimonials__quote cite {
  display: block;
  font-style: normal;
  font-family: var(--font-body);
  font-size: var(--text-small-size);
  color: var(--color-ink-700);
}

.th-faq {
  background-color: var(--color-ivory-50);
}

.th-faq__inner {
  max-width: 800px;
  margin-inline: auto;
}

.th-faq h2 {
  margin-block-end: var(--space-md);
}

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

.th-faq__item {
  border: 1px solid var(--border-color-subtle);
  border-radius: var(--radius-medium);
  background-color: var(--color-ivory-100);
  overflow: hidden;
}

.th-faq__question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-2xs);
  width: 100%;
  padding: var(--space-2xs) var(--space-xs);
  font-family: var(--font-body);
  font-size: var(--text-body-size);
  font-weight: 600;
  color: var(--color-forest-700);
  text-align: left;
  background: none;
  border: none;
  cursor: pointer;
}

.th-faq__question:hover {
  color: var(--color-terracotta-500);
}

.th-faq__icon {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  position: relative;
}

.th-faq__icon::before,
.th-faq__icon::after {
  content: '';
  position: absolute;
  background-color: currentColor;
  border-radius: 1px;
  transition: transform var(--transition-fast);
}

.th-faq__icon::before {
  top: 7px;
  left: 2px;
  width: 12px;
  height: 2px;
}

.th-faq__icon::after {
  top: 2px;
  left: 7px;
  width: 2px;
  height: 12px;
  transition: transform var(--transition-fast), opacity var(--transition-fast);
}

.th-faq__item.is-open .th-faq__icon::after {
  transform: rotate(90deg);
  opacity: 0;
}

.th-faq__answer {
  padding: 0 var(--space-xs) var(--space-2xs);
}

.th-faq__answer p {
  margin-block-end: 0;
  max-width: 65ch;
}

.th-reservation {
  background-color: var(--color-forest-900);
}

.th-reservation__inner {
  max-width: 600px;
  margin-inline: auto;
  background-color: var(--color-ivory-50);
  padding: var(--space-sm);
  border-radius: var(--radius-large);
  box-shadow: var(--shadow-card-dark);
}

.th-reservation h2 {
  color: var(--color-forest-700);
  margin-block-end: var(--space-2xs);
}

.th-reservation__inner > p {
  color: var(--color-ink-700);
  margin-block-end: var(--space-sm);
}

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

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

.th-reservation__field label {
  color: var(--color-ink-700);
}

.th-reservation__field input,
.th-reservation__field textarea {
  background-color: var(--color-ivory-100);
  border: none;
  border-bottom: 2px solid var(--border-color-subtle);
  border-radius: 0;
  padding: var(--space-3xs) 0;
  transition: border-color var(--transition-fast);
}

.th-reservation__field input:focus,
.th-reservation__field textarea:focus {
  outline: none;
  border-bottom-color: var(--color-forest-500);
  box-shadow: none;
}

.th-reservation__submit {
  align-self: flex-start;
  margin-block-start: var(--space-3xs);
}

.th-reservation__confirmation {
  color: var(--color-forest-700);
  font-weight: 600;
  margin-block-start: var(--space-3xs);
}

.th-final-cta {
  background-color: var(--color-ivory-100);
  text-align: center;
}

.th-final-cta__inner {
  max-width: 600px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2xs);
}

.th-final-cta h2 {
  margin-block-end: 0;
}

.th-final-cta p {
  margin-block-end: 0;
}

.th-final-cta__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-2xs);
  margin-block-start: var(--space-3xs);
}

@media (max-width: 900px) {
  .th-hero h1 {
    max-width: 80%;
  }

  .th-hero__subtitle {
    max-width: 70%;
  }

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

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

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

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

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

@media (max-width: 768px) {
  .th-hero__content {
    padding-block: var(--space-lg);
  }

  .th-hero h1 {
    font-size: var(--text-h1-size);
    line-height: var(--text-h1-line-height);
    max-width: 100%;
  }

  .th-hero__subtitle {
    font-size: var(--text-body-size);
    line-height: var(--text-body-line-height);
    max-width: 100%;
  }

  .th-hero__media {
    position: relative;
    height: 300px;
  }

  .th-hero__media img {
    opacity: 0.7;
  }

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

  .th-intro__inner {
    max-width: 100%;
  }

  .th-intro p {
    max-width: 100%;
  }

  .th-formats__inner {
    max-width: 100%;
  }

  .th-formats__item {
    max-width: 100%;
  }

  .th-faq__inner {
    max-width: 100%;
  }

  .th-reservation__inner {
    max-width: 100%;
    padding: var(--space-xs);
  }

  .th-final-cta__actions {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }

  .th-final-cta__actions .btn {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .th-hero__media {
    height: 240px;
  }

  .th-hero h1 {
    font-size: 2rem;
    line-height: 1.2;
  }

  .th-ambiance__card,
  .th-legal__block,
  .th-testimonials__quote {
    padding: var(--space-xs);
  }

  .th-reservation__inner {
    padding: var(--space-2xs);
  }
}
