/* ===== Texas Hold'em page styles ===== */

.texas-section-title {
  font-size: var(--text-h2);
  line-height: var(--leading-h2);
  font-weight: var(--weight-h2);
  color: var(--color-aubergine);
  margin-block-end: var(--space-sm);
}

.texas-rule {
  width: 48px;
  height: 2px;
  background-color: var(--color-amande);
  margin-block-end: var(--space-lg);
}

.texas-subtitle {
  font-size: var(--text-h3);
  line-height: var(--leading-h3);
  font-weight: var(--weight-h3);
  color: var(--color-aubergine);
  margin-block-start: var(--space-lg);
  margin-block-end: var(--space-sm);
}

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

.texas-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.texas-hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: 0;
}

.texas-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.65) 0%, rgba(0, 0, 0, 0.25) 60%, rgba(0, 0, 0, 0.1) 100%);
}

.texas-hero__content {
  position: relative;
  z-index: 2;
  padding-block: var(--space-2xl);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-lg);
  width: 100%;
}

.texas-hero__title {
  font-size: var(--text-display);
  line-height: var(--leading-display);
  font-weight: var(--weight-display);
  color: var(--color-ivoire);
  max-width: 80%;
  margin-block-end: 0;
  text-wrap: balance;
}

.texas-hero__subtitle {
  font-size: var(--text-body);
  line-height: var(--leading-body);
  color: var(--color-ivoire);
  max-width: 65ch;
  margin-block-end: 0;
}

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

/* Introduction */
.texas-intro {
  background-color: var(--color-ivoire);
}

.texas-intro__inner {
  max-width: 65ch;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.texas-intro__lead,
.texas-intro__text {
  margin-block-end: 0;
}

/* Ambiance */
.texas-ambiance {
  background-color: #F5F5DC;
}

.texas-ambiance__grid {
  display: grid;
  grid-template-columns: 60% 40%;
  gap: var(--space-xl);
  align-items: start;
}

.texas-ambiance__content {
  min-width: 0;
}

.texas-ambiance__content p {
  max-width: 65ch;
}

.texas-ambiance__figure {
  width: 100%;
  max-width: 100%;
  margin-block-end: 0;
}

.texas-ambiance__figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: sepia(0.1) saturate(1.1);
}

/* Rules */
.texas-rules {
  background-color: var(--color-ivoire);
}

.texas-rules__inner {
  max-width: 65ch;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.texas-rules__inner p,
.texas-rules__inner ol {
  margin-block-end: 0;
}

.texas-steps {
  list-style: decimal;
  padding-inline-start: var(--space-lg);
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

/* Evening */
.texas-evening {
  background-color: #F5F5DC;
}

.texas-evening__grid {
  display: grid;
  grid-template-columns: 60% 40%;
  gap: var(--space-xl);
  align-items: start;
}

.texas-evening__content {
  min-width: 0;
}

.texas-evening__content p {
  max-width: 65ch;
}

.texas-evening__figure {
  width: 100%;
  max-width: 100%;
  margin-block-end: 0;
}

.texas-evening__figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: sepia(0.1) saturate(1.1);
}

.texas-timeline {
  list-style: none;
  padding-inline-start: 0;
  margin-block-end: var(--space-md);
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.texas-timeline li {
  margin-block-end: 0;
}

/* Equipment */
.texas-equipment {
  background-color: var(--color-ivoire);
}

.texas-equipment__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-lg);
  margin-block-start: var(--space-lg);
}

.texas-equipment__card {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  transition: transform var(--transition-smooth), box-shadow var(--transition-smooth);
}

.texas-equipment__card:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.texas-equipment__card h3 {
  margin-block-end: 0;
}

.texas-equipment__card p {
  margin-block-end: 0;
}

.texas-equipment__card .content-list {
  margin-block-end: 0;
}

/* Gastronomy */
.texas-gastronomy {
  background-color: #F5F5DC;
}

.texas-gastronomy__inner {
  max-width: 65ch;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.texas-gastronomy__inner p,
.texas-gastronomy__list {
  margin-block-end: 0;
}

.texas-gastronomy__list {
  list-style: disc;
  padding-inline-start: var(--space-lg);
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

/* Legal */
.texas-legal {
  background-color: var(--color-ivoire);
}

.texas-legal__inner {
  max-width: 65ch;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.texas-legal__inner p {
  margin-block-end: 0;
}

.texas-legal__badge-row {
  display: flex;
  gap: var(--space-sm);
  margin-block-end: var(--space-sm);
}

/* FAQ */
.texas-faq {
  background-color: #F5F5DC;
}

.texas-faq__inner {
  max-width: 65ch;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

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

.texas-faq__item {
  border: 1px solid var(--color-rose-poudre);
  border-radius: var(--radius-md);
  background-color: var(--color-blanc);
  overflow: hidden;
  transition: border-color var(--transition-smooth), box-shadow var(--transition-smooth);
}

.texas-faq__item:hover {
  border-color: var(--color-amande);
  box-shadow: var(--shadow-card);
}

.texas-faq__question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  width: 100%;
  padding: var(--space-md) var(--space-lg);
  background-color: transparent;
  color: var(--color-aubergine);
  font-weight: 600;
  text-align: left;
  min-height: 44px;
  border: none;
  cursor: pointer;
}

.texas-faq__question:hover {
  background-color: var(--color-rose-poudre);
  box-shadow: none;
}

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

.texas-faq__icon::before,
.texas-faq__icon::after {
  content: '';
  position: absolute;
  background-color: var(--color-amande-foncee);
  transition: transform var(--transition-smooth);
}

.texas-faq__icon::before {
  top: 50%;
  left: 0;
  width: 100%;
  height: 2px;
  transform: translateY(-50%);
}

.texas-faq__icon::after {
  top: 0;
  left: 50%;
  width: 2px;
  height: 100%;
  transform: translateX(-50%);
}

.texas-faq__item.is-open .texas-faq__icon::after {
  transform: translateX(-50%) scaleY(0);
}

.texas-faq__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-in-out;
}

.texas-faq__answer p {
  padding: 0 var(--space-lg) var(--space-md);
  margin-block-end: 0;
}

/* CTA */
.texas-cta {
  background-color: var(--color-amande);
  padding-block: var(--space-3xl);
}

.texas-cta__inner {
  max-width: 65ch;
  margin-inline: auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-lg);
}

.texas-cta__inner h2 {
  color: var(--color-ivoire);
  margin-block-end: 0;
}

.texas-cta__inner p {
  color: var(--color-ivoire);
  margin-block-end: 0;
}

.texas-cta__inner a {
  color: var(--color-ivoire);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.texas-cta__inner a:hover {
  color: var(--color-rose-poudre);
}

.texas-cta__button {
  background-color: var(--color-blanc);
  color: var(--color-amande-foncee);
  box-shadow: var(--shadow-card);
}

.texas-cta__button:hover {
  background-color: var(--color-rose-poudre);
  color: var(--color-aubergine);
  box-shadow: var(--shadow-button-hover);
}

/* Responsive */
@media (max-width: 900px) {
  .texas-ambiance__grid,
  .texas-evening__grid {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

  .texas-ambiance__figure,
  .texas-evening__figure {
    order: -1;
  }

  .texas-ambiance__content,
  .texas-evening__content {
    width: 100%;
  }

  .texas-ambiance__content p,
  .texas-evening__content p {
    max-width: 100%;
  }

  .texas-equipment__grid {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }

  .texas-hero {
    min-height: 60vh;
  }

  .texas-hero__title {
    max-width: 100%;
  }
}

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

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

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

  .texas-hero__subtitle {
    font-size: var(--text-small);
  }

  .texas-hero__cta {
    width: 100%;
    justify-content: center;
  }

  .texas-intro__inner,
  .texas-rules__inner,
  .texas-gastronomy__inner,
  .texas-legal__inner,
  .texas-faq__inner,
  .texas-cta__inner {
    max-width: 100%;
  }

  .texas-cta__button {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .texas-hero {
    min-height: 50vh;
  }

  .texas-hero__title {
    font-size: 1.75rem;
  }

  .texas-section-title {
    font-size: 1.5rem;
  }

  .texas-subtitle {
    font-size: 1.25rem;
  }

  .texas-faq__question {
    padding: var(--space-sm) var(--space-md);
    gap: var(--space-sm);
  }

  .texas-faq__answer p {
    padding: 0 var(--space-md) var(--space-sm);
  }
}
