/* Page-owned styles for Pókerasztalok */
.pokerasztalok-page {
  --poker-section-space: var(--space-3xl);
  --poker-card-gap: var(--space-2xl);
  --poker-card-padding: var(--space-lg);
  --poker-card-radius: var(--radius-card);
  --poker-border: 1px solid var(--color-gold);
  --poker-border-low: 1px solid rgba(201, 162, 39, 0.35);
  --poker-overlay-strong: rgba(0, 0, 0, 0.6);
  --poker-overlay-soft: rgba(0, 0, 0, 0.4);
  --poker-panel-bg: rgba(30, 30, 30, 0.85);
  --poker-panel-radius: var(--radius-panel);
  --poker-panel-padding: var(--space-2xl);
  --poker-panel-padding-mobile: var(--space-md);
  --poker-copy-max: 65ch;
  --poker-copy-max-narrow: 60ch;
  --poker-copy-max-card: 55ch;
  --poker-copy-max-list: 40ch;
  --poker-copy-max-center: 700px;
  --poker-copy-max-center-narrow: 800px;
}

.poker-container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-padding-mobile);
}

.poker-section {
  padding-block: var(--section-space-mobile);
}

.poker-section--graphite {
  background-color: var(--color-graphite);
}

.poker-section--deep-green {
  background-color: var(--color-deep-green);
}

.poker-section__title {
  text-align: center;
  margin-block-end: var(--space-xl);
}

/* Hero */
.poker-hero {
  position: relative;
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background-color: var(--color-deep-green);
}

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

.poker-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.poker-hero__overlay {
  position: absolute;
  inset: 0;
  background-color: var(--poker-overlay-soft);
  pointer-events: none;
}

.poker-hero__panel {
  position: relative;
  z-index: 1;
  width: min(100% - 2rem, 700px);
  margin-inline: auto;
  background-color: var(--poker-panel-bg);
  border-radius: var(--poker-panel-radius);
  padding: var(--poker-panel-padding-mobile);
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  text-align: center;
}

.poker-hero__eyebrow {
  font-size: var(--text-caption);
  line-height: var(--leading-caption);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-gold);
  margin: 0;
}

.poker-hero__panel h1 {
  margin: 0;
  font-size: var(--text-h1);
  line-height: var(--leading-h1);
  font-weight: var(--weight-h1);
  color: var(--color-ivory);
}

.poker-hero__lead {
  font-size: var(--text-body-large);
  line-height: var(--leading-body-large);
  font-weight: 600;
  color: var(--color-gold);
  margin: 0;
}

.poker-hero__message {
  max-width: var(--poker-copy-max-narrow);
  margin-inline: auto;
  color: var(--color-ivory);
  margin: 0;
}

/* Asztaltípusok */
.poker-table-types {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
}

.poker-type-card {
  background-color: var(--color-graphite);
  border: var(--poker-border-low);
  border-radius: var(--poker-card-radius);
  padding: var(--poker-card-padding);
  box-shadow: var(--shadow-soft);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  min-width: 0;
}

.poker-type-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-card-hover);
}

.poker-type-card h3 {
  color: var(--color-gold);
  margin: 0;
  font-size: var(--text-h3);
  line-height: var(--leading-h3);
}

.poker-type-card p {
  max-width: var(--poker-copy-max-card);
  margin: 0;
  color: var(--color-ivory);
}

.poker-type-card__details {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
  margin: 0;
  padding-inline-start: var(--space-lg);
  list-style: disc;
  color: var(--color-muted-gold);
}

.poker-type-card__details li {
  margin: 0;
}

/* Anyagok és kivitelezés */
.poker-materials {
  display: flex;
  flex-direction: column;
  gap: var(--space-2xl);
}

.poker-materials__item {
  display: flex;
  flex-direction: column;
  gap: var(--space-xl);
  align-items: stretch;
}

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

.poker-materials__text h3 {
  color: var(--color-gold);
  margin: 0;
}

.poker-materials__text p {
  max-width: var(--poker-copy-max-narrow);
  margin: 0;
  color: var(--color-ivory);
}

.poker-materials__text ul {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
  margin: 0;
  padding-inline-start: var(--space-lg);
  list-style: disc;
  color: var(--color-muted-gold);
}

.poker-materials__text li {
  margin: 0;
}

.poker-materials__media {
  min-width: 0;
  width: 100%;
  border-radius: var(--radius-image);
  overflow: hidden;
  border: 1px solid var(--color-gold);
  aspect-ratio: 4 / 3;
}

.poker-materials__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Méretek és elrendezések */
.poker-sizes {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
  margin-block-end: var(--space-2xl);
}

.poker-size-card {
  background-color: var(--color-graphite);
  border: var(--poker-border-low);
  border-radius: var(--poker-card-radius);
  padding: var(--poker-card-padding);
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  text-align: center;
  min-width: 0;
}

.poker-size-card h3 {
  color: var(--color-gold);
  margin: 0;
  font-size: var(--text-h4);
  line-height: var(--leading-h4);
}

.poker-size-card p {
  max-width: var(--poker-copy-max-list);
  margin-inline: auto;
  color: var(--color-ivory);
  margin: 0;
}

.poker-layout-copy {
  max-width: var(--poker-copy-max-center);
  margin-inline: auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.poker-layout-copy h3 {
  color: var(--color-gold);
  margin: 0;
}

.poker-layout-copy p {
  max-width: var(--poker-copy-max);
  margin-inline: auto;
  color: var(--color-ivory);
  margin: 0;
}

/* Az élmény */
.poker-experience {
  position: relative;
  overflow: hidden;
  background-color: var(--color-deep-green);
}

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

.poker-experience__background img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.poker-experience__overlay {
  position: absolute;
  inset: 0;
  background-color: var(--poker-overlay-strong);
  pointer-events: none;
}

.poker-experience__content {
  position: relative;
  z-index: 1;
  padding-block: var(--section-space-mobile);
}

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

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

.poker-experience__column h3 {
  color: var(--color-gold);
  margin: 0;
}

.poker-experience__column p {
  max-width: var(--poker-copy-max-narrow);
  color: var(--color-ivory);
  margin: 0;
}

/* Kapcsolat az étteremmel */
.poker-restaurant {
  display: flex;
  flex-direction: column;
  gap: var(--space-xl);
  align-items: center;
}

.poker-restaurant__media {
  width: 100%;
  max-width: 800px;
  border-radius: var(--radius-image);
  overflow: hidden;
  border: 1px solid var(--color-gold);
  aspect-ratio: 16 / 9;
}

.poker-restaurant__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.poker-restaurant__copy {
  max-width: var(--poker-copy-max-center);
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.poker-restaurant__copy h3 {
  color: var(--color-gold);
  margin: 0;
}

.poker-restaurant__copy p {
  max-width: var(--poker-copy-max);
  margin-inline: auto;
  color: var(--color-ivory);
  margin: 0;
}

/* Foglalási folyamat */
.poker-booking {
  display: flex;
  flex-direction: column;
  gap: var(--space-xl);
  align-items: center;
  text-align: center;
}

.poker-booking__copy {
  max-width: var(--poker-copy-max-center);
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.poker-booking__copy h3 {
  color: var(--color-gold);
  margin: 0;
}

.poker-booking__copy p {
  max-width: var(--poker-copy-max);
  margin-inline: auto;
  color: var(--color-ivory);
  margin: 0;
}

.poker-booking__cta {
  align-self: center;
}

/* GYIK */
.poker-faq {
  display: flex;
  flex-direction: column;
  gap: var(--space-xl);
  align-items: center;
}

.poker-faq__list {
  width: 100%;
  max-width: 800px;
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.poker-faq-item {
  background-color: var(--color-graphite);
  border: var(--poker-border-low);
  border-radius: var(--poker-card-radius);
  overflow: hidden;
  transition: border-color var(--transition-base);
}

.poker-faq-item.is-open {
  border-color: var(--color-muted-gold);
}

.poker-faq-item__trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  padding: var(--space-md) var(--space-lg);
  background: none;
  border: none;
  cursor: pointer;
  color: var(--color-gold);
  font-family: var(--font-body);
  font-size: var(--text-body);
  font-weight: 600;
  text-align: left;
  transition: color var(--transition-base);
}

.poker-faq-item__trigger:hover {
  color: var(--color-muted-gold);
}

.poker-faq-item__trigger:focus-visible {
  outline: var(--focus-ring);
  outline-offset: -2px;
}

.poker-faq-item__icon {
  position: relative;
  flex-shrink: 0;
  width: 20px;
  height: 20px;
}

.poker-faq-item__icon::before,
.poker-faq-item__icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 2px;
  background-color: currentColor;
  transform: translate(-50%, -50%);
  transition: transform var(--transition-base);
}

.poker-faq-item__icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.poker-faq-item.is-open .poker-faq-item__icon::after {
  transform: translate(-50%, -50%) rotate(0deg);
}

.poker-faq-item__panel {
  padding: 0 var(--space-lg) var(--space-lg);
  color: var(--color-ivory);
}

.poker-faq-item__panel p {
  max-width: var(--poker-copy-max-narrow);
  margin: 0;
}

/* Végső CTA */
.poker-final-cta {
  background-color: var(--color-graphite);
  border-top: 1px solid var(--color-gold);
  border-bottom: 1px solid var(--color-gold);
}

.poker-final-cta__inner {
  display: flex;
  flex-direction: column;
  gap: var(--space-xl);
  align-items: center;
  text-align: center;
}

.poker-final-cta__message {
  max-width: var(--poker-copy-max-narrow);
  margin-inline: auto;
  color: var(--color-ivory);
  margin: 0;
}

.poker-final-cta__actions {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  width: 100%;
  align-items: center;
}

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

/* Tablet */
@media (min-width: 768px) {
  .poker-container {
    padding-inline: var(--container-padding-tablet);
  }

  .poker-section {
    padding-block: var(--section-space-desktop);
  }

  .poker-hero {
    min-height: 80vh;
  }

  .poker-hero__panel {
    padding: var(--poker-panel-padding);
  }

  .poker-table-types {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--poker-card-gap);
  }

  .poker-materials__item {
    flex-direction: row;
    align-items: center;
  }

  .poker-materials__item--text-first .poker-materials__text {
    flex: 1 1 50%;
    min-width: 0;
  }

  .poker-materials__item--text-first .poker-materials__media {
    flex: 1 1 50%;
    min-width: 0;
  }

  .poker-materials__item--media-first {
    flex-direction: row-reverse;
  }

  .poker-materials__item--media-first .poker-materials__text {
    flex: 1 1 50%;
    min-width: 0;
  }

  .poker-materials__item--media-first .poker-materials__media {
    flex: 1 1 50%;
    min-width: 0;
  }

  .poker-sizes {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--poker-card-gap);
  }

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

  .poker-restaurant {
    flex-direction: column;
  }

  .poker-restaurant__media {
    max-width: 800px;
  }

  .poker-final-cta__actions {
    flex-direction: row;
    justify-content: center;
    width: auto;
  }

  .poker-final-cta__actions .btn {
    width: auto;
  }
}

/* Desktop */
@media (min-width: 1024px) {
  .poker-container {
    padding-inline: var(--container-padding-desktop);
  }

  .poker-table-types {
    gap: var(--space-2xl);
  }

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

/* Mobile refinements */
@media (max-width: 767px) {
  .poker-hero__panel h1 {
    font-size: 2.5rem;
    line-height: 1.2;
  }

  .poker-hero__lead {
    font-size: 1rem;
  }

  .poker-type-card {
    padding: var(--space-md);
  }

  .poker-size-card {
    padding: var(--space-md);
  }

  .poker-faq-item__trigger {
    padding: var(--space-sm) var(--space-md);
  }

  .poker-faq-item__panel {
    padding: 0 var(--space-md) var(--space-md);
  }
}

@media (max-width: 480px) {
  .poker-container {
    padding-inline: var(--space-md);
  }

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

  .poker-hero__panel h1 {
    font-size: 2rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .poker-type-card:hover {
    transform: none;
    box-shadow: var(--shadow-soft);
  }

  .poker-faq-item__icon::before,
  .poker-faq-item__icon::after {
    transition: none;
  }
}
