/* Pokerový salonek page styles */

#pokerovy-salonek-page {
  --poker-section-gap: var(--space-lg);
}

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

.poker-hero__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 65%;
  z-index: 0;
}

.poker-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(31, 61, 43, 0.15) 0%, rgba(31, 61, 43, 0.45) 45%, rgba(31, 61, 43, 0.82) 100%);
  z-index: 1;
}

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

.poker-hero__content .kicker {
  color: var(--color-terracotta);
  margin-block-end: 0;
}

.poker-hero__content h1 {
  color: var(--color-cream);
  font-size: clamp(2.5rem, 6vw, 4rem);
  line-height: 1.1;
  max-width: 600px;
  margin-block-end: 0;
}

.poker-hero__lead {
  max-width: 600px;
  color: var(--color-cream);
  opacity: 0.92;
  font-size: clamp(1.125rem, 2vw, 1.375rem);
  line-height: 1.6;
  margin-block-end: 0;
}

.poker-hero__facts {
  list-style: none;
  padding-inline-start: 0;
  margin-block-end: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-3xs);
  max-width: 600px;
  color: var(--color-cream);
  opacity: 0.9;
}

.poker-hero__facts li {
  position: relative;
  padding-inline-start: var(--space-xs);
}

.poker-hero__facts li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--color-terracotta);
}

.poker-hero__content .btn {
  min-width: 160px;
  margin-block-start: var(--space-2xs);
}

/* Atmosphere section */
.poker-atmosphere {
  background-color: var(--surface-primary);
}

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

.poker-atmosphere__content {
  min-width: 0;
}

.poker-atmosphere__content .kicker {
  margin-block-end: var(--space-3xs);
}

.poker-atmosphere__content h2 {
  max-width: 700px;
  margin-block-end: var(--space-xs);
}

.poker-atmosphere__content p {
  max-width: 700px;
}

.poker-atmosphere__content h3 {
  margin-block-start: var(--space-sm);
  margin-block-end: var(--space-2xs);
}

.poker-atmosphere__list {
  list-style: none;
  padding-inline-start: 0;
  margin-block-end: var(--space-xs);
  display: flex;
  flex-direction: column;
  gap: var(--space-3xs);
  max-width: 700px;
}

.poker-atmosphere__list li {
  position: relative;
  padding-inline-start: var(--space-xs);
}

.poker-atmosphere__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--color-terracotta);
}

.poker-atmosphere__figure {
  margin-block-end: 0;
  min-width: 0;
}

.poker-atmosphere__image {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius-md);
}

.poker-atmosphere__figure figcaption {
  margin-block-start: var(--space-3xs);
  font-size: var(--text-small);
  line-height: var(--leading-small);
  color: var(--color-dark-oak);
  opacity: 0.8;
}

/* Tables section */
.poker-tables {
  background-color: var(--color-deep-green);
  color: var(--color-cream);
}

.poker-tables .kicker {
  color: var(--color-terracotta);
  margin-block-end: var(--space-3xs);
}

.poker-tables h2 {
  color: var(--color-cream);
  margin-block-end: var(--space-md);
}

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

.poker-table-card {
  background-color: rgba(245, 240, 230, 0.06);
  border: 1px solid rgba(245, 240, 230, 0.2);
  border-radius: var(--radius-md);
  padding: var(--space-xs);
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-2xs);
  transition: transform var(--transition-fast), border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.poker-table-card:hover {
  transform: translateY(-2px);
  border-color: var(--color-terracotta);
  box-shadow: var(--shadow-lift);
}

.poker-table-card h3 {
  color: var(--color-cream);
  margin-block-end: 0;
}

.poker-table-card p {
  color: var(--color-cream);
  opacity: 0.9;
  margin-block-end: 0;
}

.poker-table-card ul {
  list-style: none;
  padding-inline-start: 0;
  margin-block-end: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-3xs);
  color: var(--color-cream);
  opacity: 0.85;
}

.poker-table-card li {
  position: relative;
  padding-inline-start: var(--space-xs);
}

.poker-table-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--color-terracotta);
}

/* Rules section */
.poker-rules {
  background-color: var(--surface-alt);
}

.poker-rules .kicker {
  margin-block-end: var(--space-3xs);
}

.poker-rules h2 {
  margin-block-end: var(--space-md);
}

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

.poker-rules__column {
  min-width: 0;
}

.poker-rules__column h3 {
  margin-block-end: var(--space-2xs);
}

.poker-rules__column p {
  max-width: 600px;
}

.poker-rules__column ul {
  list-style: none;
  padding-inline-start: 0;
  margin-block-end: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-3xs);
  max-width: 600px;
}

.poker-rules__column li {
  position: relative;
  padding-inline-start: var(--space-xs);
}

.poker-rules__column li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--color-terracotta);
}

/* Events section */
.poker-events {
  background-color: var(--surface-primary);
}

.poker-events .kicker {
  margin-block-end: var(--space-3xs);
}

.poker-events h2 {
  margin-block-end: var(--space-md);
}

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

.poker-event-card {
  background-color: var(--surface-card);
  border: var(--border-subtle);
  border-radius: var(--radius-md);
  padding: var(--space-xs);
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-2xs);
  transition: transform var(--transition-fast), border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.poker-event-card:hover {
  transform: translateY(-2px);
  border-color: var(--color-terracotta);
  box-shadow: var(--shadow-lift);
}

.poker-event-card .badge {
  align-self: flex-start;
  margin-block-end: 0;
}

.poker-event-card h3 {
  margin-block-end: 0;
}

.poker-event-card p {
  margin-block-end: 0;
}

.poker-event-card ul {
  list-style: none;
  padding-inline-start: 0;
  margin-block-end: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-3xs);
}

.poker-event-card li {
  position: relative;
  padding-inline-start: var(--space-xs);
}

.poker-event-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--color-terracotta);
}

.badge--burgundy {
  color: var(--color-burgundy);
  border-color: var(--color-burgundy);
}

.badge--green {
  color: var(--color-deep-green);
  border-color: var(--color-deep-green);
}

/* Safety section */
.poker-safety {
  background-color: var(--color-burgundy);
  color: var(--color-cream);
}

.poker-safety .kicker {
  color: var(--color-terracotta);
  margin-block-end: var(--space-3xs);
}

.poker-safety h2 {
  color: var(--color-cream);
  margin-block-end: var(--space-md);
}

.poker-safety__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-lg);
}

.poker-safety__column {
  min-width: 0;
}

.poker-safety__column h3 {
  color: var(--color-cream);
  margin-block-end: var(--space-2xs);
}

.poker-safety__column p {
  color: var(--color-cream);
  opacity: 0.9;
  max-width: 800px;
}

.poker-safety__column ul {
  list-style: none;
  padding-inline-start: 0;
  margin-block-end: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-3xs);
  color: var(--color-cream);
  opacity: 0.9;
  max-width: 800px;
}

.poker-safety__column li {
  position: relative;
  padding-inline-start: var(--space-xs);
}

.poker-safety__column li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--color-terracotta);
}

/* Reservation section */
.poker-reservation {
  background-color: var(--surface-primary);
}

.poker-reservation__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-lg);
  align-items: start;
}

.poker-reservation__content {
  min-width: 0;
}

.poker-reservation__content .kicker {
  margin-block-end: var(--space-3xs);
}

.poker-reservation__content h2 {
  margin-block-end: var(--space-xs);
}

.poker-reservation__content h3 {
  margin-block-start: var(--space-sm);
  margin-block-end: var(--space-2xs);
}

.poker-reservation__content p {
  max-width: 600px;
}

.poker-reservation__contacts {
  list-style: none;
  padding-inline-start: 0;
  margin-block-end: var(--space-xs);
  display: flex;
  flex-direction: column;
  gap: var(--space-3xs);
  max-width: 600px;
}

.poker-reservation__contacts li {
  position: relative;
  padding-inline-start: var(--space-xs);
}

.poker-reservation__contacts li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--color-terracotta);
}

.poker-reservation__content .btn {
  margin-block-start: var(--space-2xs);
}

.poker-reservation__form-wrap {
  min-width: 0;
}

.poker-reservation-form {
  background-color: var(--surface-card);
  border: var(--border-subtle);
  border-radius: var(--radius-md);
  padding: var(--space-sm);
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.poker-reservation-form h3 {
  margin-block-end: 0;
}

.poker-reservation-form__field {
  display: flex;
  flex-direction: column;
  gap: var(--space-3xs);
  min-width: 0;
}

.poker-reservation-form__field label {
  margin-block-end: 0;
}

.poker-reservation-form__field input,
.poker-reservation-form__field select,
.poker-reservation-form__field textarea {
  width: 100%;
  min-width: 0;
}

.poker-reservation-form .btn {
  align-self: flex-start;
  margin-block-start: var(--space-2xs);
}

.poker-reservation-form__status {
  min-height: 1.5em;
  font-size: var(--text-small);
  line-height: var(--leading-small);
  color: var(--color-terracotta);
  margin-block-end: 0;
}

.poker-reservation-form__status[data-success="true"] {
  color: var(--color-deep-green);
}

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

.poker-faq .kicker {
  margin-block-end: var(--space-3xs);
}

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

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

.poker-faq__item {
  background-color: var(--surface-card);
  border: var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color var(--transition-fast);
}

.poker-faq__item:hover {
  border-color: var(--color-terracotta);
}

.poker-faq__question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-2xs);
  padding: var(--space-2xs) var(--space-xs);
  background-color: transparent;
  border: none;
  border-radius: 0;
  font-family: var(--font-heading);
  font-size: var(--text-h3);
  line-height: var(--leading-h3);
  font-weight: 700;
  color: var(--color-dark-oak);
  text-align: left;
  cursor: pointer;
  transition: color var(--transition-fast);
}

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

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

.poker-faq__icon {
  flex-shrink: 0;
  width: 1.25rem;
  height: 1.25rem;
  position: relative;
  display: inline-block;
}

.poker-faq__icon::before,
.poker-faq__icon::after {
  content: "";
  position: absolute;
  background-color: currentColor;
  transition: transform var(--transition-fast);
}

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

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

.poker-faq__item[data-open="true"] .poker-faq__icon::after {
  transform: translateX(-50%) scaleY(0);
}

.poker-faq__answer {
  padding: 0 var(--space-xs) var(--space-xs);
  color: var(--color-dark-oak);
}

.poker-faq__answer p {
  margin-block-end: var(--space-2xs);
}

.poker-faq__answer ul {
  list-style: none;
  padding-inline-start: 0;
  margin-block-end: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-3xs);
}

.poker-faq__answer li {
  position: relative;
  padding-inline-start: var(--space-xs);
}

.poker-faq__answer li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--color-terracotta);
}

/* Tablet breakpoint */
@media (max-width: 64rem) {
  .poker-hero {
    min-height: 70vh;
  }

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

  .poker-atmosphere__figure {
    order: 2;
  }

  .poker-atmosphere__content {
    order: 1;
  }

  .poker-tables__grid,
  .poker-events__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--space-sm);
  }

  .poker-rules__grid,
  .poker-safety__grid,
  .poker-reservation__grid {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }

  .poker-reservation__form-wrap {
    order: 2;
  }

  .poker-reservation__content {
    order: 1;
  }
}

/* Mobile breakpoint */
@media (max-width: 48rem) {
  .poker-hero {
    min-height: 70vh;
  }

  .poker-hero__content {
    padding-block: var(--space-lg) var(--space-md);
    gap: var(--space-xs);
  }

  .poker-hero__content h1 {
    font-size: clamp(2rem, 10vw, 2.5rem);
    max-width: 100%;
  }

  .poker-hero__lead {
    max-width: 100%;
    font-size: var(--text-body);
  }

  .poker-hero__facts {
    max-width: 100%;
  }

  .poker-atmosphere__content h2,
  .poker-atmosphere__content p,
  .poker-atmosphere__list {
    max-width: 100%;
  }

  .poker-tables__grid,
  .poker-events__grid {
    grid-template-columns: 1fr;
    gap: var(--space-xs);
  }

  .poker-rules__column p,
  .poker-rules__column ul,
  .poker-safety__column p,
  .poker-safety__column ul,
  .poker-reservation__content p,
  .poker-reservation__contacts {
    max-width: 100%;
  }

  .poker-reservation-form {
    padding: var(--space-xs);
  }

  .poker-faq__question {
    font-size: var(--text-h3);
    padding: var(--space-2xs);
  }

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

@media (prefers-reduced-motion: reduce) {
  .poker-table-card,
  .poker-event-card,
  .poker-faq__item,
  .poker-faq__question,
  .poker-faq__icon::before,
  .poker-faq__icon::after {
    transition: none;
  }

  .poker-table-card:hover,
  .poker-event-card:hover {
    transform: none;
  }
}
