/* Page-owned styles for poker page */
.poker-page {
  width: 100%;
  overflow-x: hidden;
}

/* Section base spacing */
.poker-page .poker-hero,
.poker-page .poker-table-section,
.poker-page .poker-face-section,
.poker-page .poker-adult-section,
.poker-page .poker-dining-section,
.poker-page .poker-faq-section,
.poker-page .poker-responsible-section,
.poker-page .poker-booking-section {
  padding-block: var(--section-vertical-desktop);
}

@media (max-width: 1024px) {
  .poker-page .poker-hero,
  .poker-page .poker-table-section,
  .poker-page .poker-face-section,
  .poker-page .poker-adult-section,
  .poker-page .poker-dining-section,
  .poker-page .poker-faq-section,
  .poker-page .poker-responsible-section,
  .poker-page .poker-booking-section {
    padding-block: var(--section-vertical-tablet);
  }
}

@media (max-width: 640px) {
  .poker-page .poker-hero,
  .poker-page .poker-table-section,
  .poker-page .poker-face-section,
  .poker-page .poker-adult-section,
  .poker-page .poker-dining-section,
  .poker-page .poker-faq-section,
  .poker-page .poker-responsible-section,
  .poker-page .poker-booking-section {
    padding-block: var(--section-vertical-mobile);
  }
}

/* Hero section */
.poker-hero {
  background-color: var(--color-warm-ivory);
}

.poker-hero__inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-5);
}

.poker-hero__title {
  max-width: 700px;
  margin-block-end: 0;
  color: var(--color-dark-forest);
}

.poker-hero__lead {
  max-width: 700px;
  margin-block-end: 0;
  font-size: var(--text-body-large-size);
  line-height: var(--text-body-large-line-height);
  color: var(--color-graphite);
}

.poker-hero__cta {
  margin-block-start: var(--space-3);
  flex-shrink: 0;
}

/* Fizyczny stół section */
.poker-table-section {
  background-color: var(--color-sandstone);
}

.poker-table-section__inner {
  display: grid;
  grid-template-columns: minmax(0, 55fr) minmax(0, 45fr);
  gap: var(--space-7);
  align-items: start;
}

.poker-table-section__copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
}

.poker-table-section__title {
  margin-block-end: 0;
  color: var(--color-dark-forest);
}

.poker-table-section__lead {
  max-width: 600px;
  margin-block-end: 0;
  color: var(--color-graphite);
}

.poker-table-section__units {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
  margin-block-start: var(--space-2);
}

.poker-table-unit {
  min-width: 0;
}

.poker-table-unit__title {
  margin-block-end: var(--space-3);
  color: var(--color-dark-forest);
}

.poker-table-unit__text {
  margin-block-end: 0;
  color: var(--color-graphite);
}

.poker-table-section__media {
  min-width: 0;
  align-self: start;
}

.poker-table-section__image {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  object-fit: cover;
  aspect-ratio: 4 / 3;
}

/* Gra twarzą w twarz section */
.poker-face-section {
  background-color: var(--color-warm-ivory);
}

.poker-face-section__inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-5);
}

.poker-face-section__title {
  max-width: 700px;
  margin-block-end: 0;
  color: var(--color-dark-forest);
}

.poker-face-section__lead {
  max-width: 700px;
  margin-block-end: 0;
  color: var(--color-graphite);
}

.poker-face-section__units {
  width: 100%;
  max-width: 700px;
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
  margin-block-start: var(--space-2);
}

.poker-face-unit {
  min-width: 0;
}

.poker-face-unit__title {
  margin-block-end: var(--space-3);
  color: var(--color-dark-forest);
}

.poker-face-unit__text {
  margin-block-end: 0;
  color: var(--color-graphite);
}

/* Przestrzeń dla dorosłych section */
.poker-adult-section {
  background-color: var(--color-sage);
}

.poker-adult-section__inner {
  display: flex;
  justify-content: center;
}

.poker-adult-section__block {
  max-width: 600px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-5);
  text-align: center;
}

.poker-adult-section__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background-color: var(--color-dark-forest);
  color: var(--color-warm-ivory);
  font-family: var(--font-body);
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.poker-adult-section__title {
  margin-block-end: 0;
  color: var(--color-dark-forest);
}

.poker-adult-section__text {
  margin-block-end: 0;
  color: var(--color-dark-forest);
}

/* Restauracja & poker section */
.poker-dining-section {
  background-color: var(--color-dark-forest);
}

.poker-dining-section__inner {
  display: grid;
  grid-template-columns: minmax(0, 45fr) minmax(0, 55fr);
  gap: var(--space-7);
  align-items: start;
}

.poker-dining-section__media {
  min-width: 0;
  align-self: start;
}

.poker-dining-section__image {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  object-fit: cover;
  aspect-ratio: 4 / 3;
}

.poker-dining-section__copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
}

.poker-dining-section__title {
  margin-block-end: 0;
  color: var(--color-warm-ivory);
}

.poker-dining-section__lead {
  max-width: 600px;
  margin-block-end: 0;
  color: var(--color-warm-ivory);
}

.poker-dining-section__units {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
  margin-block-start: var(--space-2);
}

.poker-dining-unit {
  min-width: 0;
}

.poker-dining-unit__title {
  margin-block-end: var(--space-3);
  color: var(--color-sage);
}

.poker-dining-unit__text {
  margin-block-end: 0;
  color: var(--color-warm-ivory);
}

/* FAQ section */
.poker-faq-section {
  background-color: var(--color-warm-ivory);
}

.poker-faq-section__inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-5);
}

.poker-faq-section__title {
  max-width: 700px;
  margin-block-end: 0;
  color: var(--color-dark-forest);
}

.poker-faq-section__lead {
  max-width: 700px;
  margin-block-end: 0;
  color: var(--color-graphite);
}

.poker-faq-list {
  width: 100%;
  max-width: 700px;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  margin-block-start: var(--space-2);
}

.poker-faq-item {
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-md);
  background-color: var(--color-soft-white);
  overflow: hidden;
}

.poker-faq-item__question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding: var(--space-4) var(--space-5);
  font-family: var(--font-body);
  font-size: var(--text-body-size);
  font-weight: 600;
  color: var(--color-dark-forest);
  text-align: left;
  transition: background-color var(--transition-fast), color var(--transition-fast);
  min-height: 48px;
}

.poker-faq-item__question:hover {
  background-color: var(--color-sandstone);
}

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

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

.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-fast);
}

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

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

.poker-faq-item__answer {
  display: none;
  padding: 0 var(--space-5) var(--space-5);
}

.poker-faq-item.active .poker-faq-item__answer {
  display: block;
}

.poker-faq-item__answer p {
  margin-block-end: 0;
  color: var(--color-graphite);
}

/* Odpowiedzialna gra section */
.poker-responsible-section {
  background-color: var(--color-sandstone);
}

.poker-responsible-section__inner {
  display: flex;
  justify-content: center;
}

.poker-responsible-section__block {
  max-width: 600px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-5);
  text-align: center;
}

.poker-responsible-section__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background-color: var(--color-dark-forest);
  color: var(--color-warm-ivory);
}

.poker-responsible-section__icon svg {
  width: 32px;
  height: 32px;
}

.poker-responsible-section__title {
  margin-block-end: 0;
  color: var(--color-dark-forest);
}

.poker-responsible-section__text {
  margin-block-end: 0;
  color: var(--color-graphite);
}

/* Rezerwacja stołu section */
.poker-booking-section {
  background-color: var(--color-dark-forest);
}

.poker-booking-section__inner {
  display: flex;
  justify-content: center;
}

.poker-booking-section__block {
  max-width: 600px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-5);
  text-align: center;
}

.poker-booking-section__title {
  margin-block-end: 0;
  color: var(--color-warm-ivory);
}

.poker-booking-section__text {
  margin-block-end: 0;
  color: var(--color-warm-ivory);
}

.poker-booking-section__cta {
  margin-block-start: var(--space-3);
  flex-shrink: 0;
}

/* Tablet breakpoint */
@media (max-width: 900px) {
  .poker-table-section__inner,
  .poker-dining-section__inner {
    grid-template-columns: 1fr;
    gap: var(--space-6);
  }

  .poker-table-section__media,
  .poker-dining-section__media {
    width: 100%;
  }

  .poker-table-section__copy,
  .poker-dining-section__copy {
    width: 100%;
  }

  .poker-table-section__lead,
  .poker-dining-section__lead {
    max-width: 100%;
  }
}

/* Mobile breakpoint */
@media (max-width: 640px) {
  .poker-page .poker-hero,
  .poker-page .poker-table-section,
  .poker-page .poker-face-section,
  .poker-page .poker-adult-section,
  .poker-page .poker-dining-section,
  .poker-page .poker-faq-section,
  .poker-page .poker-responsible-section,
  .poker-page .poker-booking-section {
    padding-block: var(--section-vertical-mobile);
  }

  .poker-hero__inner {
    gap: var(--space-4);
  }

  .poker-hero__title {
    font-size: clamp(2.25rem, 1.5rem + 3vw, 2.5rem);
  }

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

  .poker-hero__cta {
    width: 100%;
  }

  .poker-table-section__inner,
  .poker-dining-section__inner {
    gap: var(--space-5);
  }

  .poker-table-section__copy,
  .poker-dining-section__copy {
    gap: var(--space-4);
  }

  .poker-table-section__units,
  .poker-dining-section__units,
  .poker-face-section__units {
    gap: var(--space-4);
  }

  .poker-face-section__inner,
  .poker-faq-section__inner {
    gap: var(--space-4);
  }

  .poker-adult-section__block,
  .poker-responsible-section__block,
  .poker-booking-section__block {
    gap: var(--space-4);
  }

  .poker-adult-section__icon,
  .poker-responsible-section__icon {
    width: 48px;
    height: 48px;
  }

  .poker-adult-section__icon {
    font-size: 1rem;
  }

  .poker-responsible-section__icon svg {
    width: 24px;
    height: 24px;
  }

  .poker-faq-item__question {
    padding: var(--space-3) var(--space-4);
    font-size: var(--text-body-size);
  }

  .poker-faq-item__answer {
    padding: 0 var(--space-4) var(--space-4);
  }

  .poker-booking-section__cta {
    width: 100%;
  }
}

@media (max-width: 390px) {
  .poker-hero__title {
    font-size: 2rem;
  }

  .poker-table-section__title,
  .poker-face-section__title,
  .poker-faq-section__title,
  .poker-dining-section__title,
  .poker-booking-section__title {
    font-size: 1.75rem;
  }
}
