/* Page-owned styles for Pokerové večery */

#pokerove-vecery-page {
  --poker-paper: #F5F5DC;
  --poker-surface: #FFFFFF;
  --poker-primary: #F4C430;
  --poker-secondary: #722F37;
  --poker-accent: #006D77;
  --poker-text: #2D2A26;
  --poker-text-secondary: #5C5A56;
  --poker-border: rgba(114, 47, 55, 0.2);
  --poker-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  --poker-shadow-hover: 0 6px 12px rgba(0, 0, 0, 0.12);
  --poker-radius-small: 4px;
  --poker-radius-medium: 8px;
  --poker-radius-large: 16px;
  --poker-transition: 0.2s ease-in-out;
}

/* Hero */
.poker-hero {
  padding-block: var(--space-3xl);
  background-color: var(--poker-paper);
}

.poker-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: var(--space-2xl);
  align-items: center;
}

.poker-hero__text {
  min-width: 0;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
  align-items: center;
}

.poker-hero__title {
  font-size: clamp(2.25rem, 5vw, 3rem);
  line-height: 1.1;
  font-weight: 700;
  color: var(--poker-text);
  margin-block-end: 0;
  max-width: 12ch;
}

.poker-hero__subtitle {
  font-size: 1.125rem;
  line-height: 1.6;
  color: var(--poker-text-secondary);
  margin-block-end: 0;
  max-width: 42ch;
}

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

.poker-hero__figure {
  min-width: 0;
  margin-block-end: 0;
  position: relative;
}

.poker-hero__image {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  clip-path: polygon(2% 0%, 98% 2%, 100% 96%, 3% 100%, 0% 50%);
  filter: sepia(0.18) saturate(0.95);
  border-radius: var(--poker-radius-medium);
  box-shadow: var(--poker-shadow);
}

/* Intro */
.poker-intro {
  padding-block: var(--space-3xl);
  background-color: var(--poker-surface);
}

.poker-intro__container {
  max-width: 760px;
}

.poker-intro__title {
  font-size: var(--text-h2-size);
  line-height: var(--text-h2-line-height);
  font-weight: 600;
  color: var(--poker-text);
  margin-block-end: var(--space-lg);
}

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

.poker-intro__content p {
  max-width: 68ch;
  margin-block-end: 0;
  color: var(--poker-text-secondary);
}

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

.poker-intro__list li {
  position: relative;
  padding-inline-start: var(--space-lg);
  color: var(--poker-text);
}

.poker-intro__list li::before {
  content: "♠";
  position: absolute;
  left: 0;
  color: var(--poker-secondary);
  font-size: 1.125rem;
}

/* Timeline */
.poker-timeline {
  padding-block: var(--space-3xl);
  background-color: var(--poker-paper);
}

.poker-timeline__title {
  font-size: var(--text-h2-size);
  line-height: var(--text-h2-line-height);
  font-weight: 600;
  color: var(--poker-text);
  margin-block-end: var(--space-xl);
  text-align: center;
}

.poker-timeline__grid {
  list-style: none;
  padding-inline-start: 0;
  margin-block-end: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-xl);
  counter-reset: poker-step;
}

.poker-timeline__step {
  min-width: 0;
  position: relative;
  padding: var(--space-lg);
  background-color: var(--poker-surface);
  border: 1px solid var(--poker-border);
  border-radius: var(--poker-radius-medium);
  box-shadow: var(--poker-shadow);
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.poker-timeline__number {
  position: absolute;
  top: -0.75rem;
  left: -0.75rem;
  width: 2rem;
  height: 2rem;
  background-color: var(--poker-primary);
  color: var(--poker-text);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
  box-shadow: var(--poker-shadow);
}

.poker-timeline__step-title {
  font-size: var(--text-h3-size);
  line-height: var(--text-h3-line-height);
  font-weight: 600;
  color: var(--poker-text);
  margin-block-end: 0;
}

.poker-timeline__step p {
  margin-block-end: 0;
  color: var(--poker-text-secondary);
}

/* Games */
.poker-games {
  padding-block: var(--space-3xl);
  background-color: var(--poker-surface);
}

.poker-games__title {
  font-size: var(--text-h2-size);
  line-height: var(--text-h2-line-height);
  font-weight: 600;
  color: var(--poker-text);
  margin-block-end: var(--space-xl);
  text-align: center;
}

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

.poker-games__card {
  min-width: 0;
  background-color: var(--poker-paper);
  border: 1px solid var(--poker-border);
  border-radius: var(--poker-radius-medium);
  box-shadow: var(--poker-shadow);
  padding: var(--space-lg);
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  transition: transform var(--poker-transition), box-shadow var(--poker-transition);
}

.poker-games__card:hover {
  transform: translateY(-4px);
  box-shadow: var(--poker-shadow-hover);
}

.poker-games__card--highlight {
  background-color: #FFF8E1;
  border-color: var(--poker-primary);
}

.poker-games__card-title {
  font-size: var(--text-h3-size);
  line-height: var(--text-h3-line-height);
  font-weight: 600;
  color: var(--poker-text);
  margin-block-end: 0;
  text-align: center;
}

.poker-games__card p {
  margin-block-end: 0;
  color: var(--poker-text-secondary);
  max-width: 32ch;
}

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

.poker-games__list li {
  position: relative;
  padding-inline-start: var(--space-lg);
  color: var(--poker-text);
}

.poker-games__list li::before {
  content: "♣";
  position: absolute;
  left: 0;
  color: var(--poker-secondary);
}

/* Gallery */
.poker-gallery {
  padding-block: var(--space-3xl);
  background-color: var(--poker-paper);
}

.poker-gallery__title {
  font-size: var(--text-h2-size);
  line-height: var(--text-h2-line-height);
  font-weight: 600;
  color: var(--poker-text);
  margin-block-end: var(--space-lg);
}

.poker-gallery__intro {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  margin-block-end: var(--space-xl);
}

.poker-gallery__intro p {
  margin-block-end: 0;
  color: var(--poker-text-secondary);
  max-width: 68ch;
}

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

.poker-gallery__list li {
  position: relative;
  padding-inline-start: var(--space-lg);
  color: var(--poker-text);
}

.poker-gallery__list li::before {
  content: "♦";
  position: absolute;
  left: 0;
  color: var(--poker-secondary);
}

.poker-gallery__caption {
  font-style: italic;
  color: var(--poker-text-secondary);
}

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

.poker-gallery__figure {
  min-width: 0;
  margin-block-end: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.poker-gallery__link {
  display: block;
  text-decoration: none;
  border-radius: var(--poker-radius-medium);
  overflow: hidden;
  box-shadow: var(--poker-shadow);
  transition: box-shadow var(--poker-transition), transform var(--poker-transition);
}

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

.poker-gallery__image {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  clip-path: polygon(1% 3%, 99% 0%, 100% 97%, 2% 100%);
  filter: sepia(0.18) saturate(0.95);
}

.poker-gallery__figcaption {
  font-size: var(--text-small-size);
  line-height: var(--text-small-line-height);
  color: var(--poker-text-secondary);
  text-align: center;
  margin-block-start: 0;
}

/* FAQ */
.poker-faq {
  padding-block: var(--space-3xl);
  background-color: var(--poker-surface);
}

.poker-faq__title {
  font-size: var(--text-h2-size);
  line-height: var(--text-h2-line-height);
  font-weight: 600;
  color: var(--poker-text);
  margin-block-end: var(--space-xl);
}

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

.poker-faq__item {
  border: 1px solid var(--poker-border);
  border-radius: var(--poker-radius-medium);
  background-color: var(--poker-paper);
  box-shadow: var(--poker-shadow);
  overflow: hidden;
}

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

.poker-faq__question:hover {
  background-color: rgba(244, 196, 48, 0.15);
}

.poker-faq__question[aria-expanded="true"] {
  background-color: rgba(244, 196, 48, 0.25);
}

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

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

.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__question[aria-expanded="true"] .poker-faq__icon::after {
  transform: translateX(-50%) scaleY(0);
}

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

.poker-faq__answer p {
  margin-block-end: 0;
  color: var(--poker-text-secondary);
}

/* Pricing */
.poker-pricing {
  padding-block: var(--space-3xl);
  background-color: var(--poker-paper);
}

.poker-pricing__title {
  font-size: var(--text-h2-size);
  line-height: var(--text-h2-line-height);
  font-weight: 600;
  color: var(--poker-text);
  margin-block-end: var(--space-xl);
}

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

.poker-pricing__dates,
.poker-pricing__prices {
  min-width: 0;
  background-color: var(--poker-surface);
  border: 1px solid var(--poker-border);
  border-radius: var(--poker-radius-medium);
  box-shadow: var(--poker-shadow);
  padding: var(--space-lg);
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.poker-pricing__subtitle {
  font-size: var(--text-h3-size);
  line-height: var(--text-h3-line-height);
  font-weight: 600;
  color: var(--poker-text);
  margin-block-end: 0;
}

.poker-pricing__dates p,
.poker-pricing__prices p {
  margin-block-end: 0;
  color: var(--poker-text-secondary);
}

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

.poker-pricing__list li {
  position: relative;
  padding-inline-start: var(--space-lg);
  color: var(--poker-text);
}

.poker-pricing__list li::before {
  content: "♥";
  position: absolute;
  left: 0;
  color: var(--poker-secondary);
}

.poker-pricing__table {
  width: 100%;
  border-collapse: collapse;
  margin-block-end: 0;
}

.poker-pricing__table th,
.poker-pricing__table td {
  padding: var(--space-sm) var(--space-md);
  text-align: left;
  border-bottom: 1px solid var(--poker-border);
}

.poker-pricing__table th {
  background-color: var(--poker-paper);
  font-weight: 600;
  color: var(--poker-text);
}

.poker-pricing__table td {
  color: var(--poker-text-secondary);
}

.poker-pricing__note {
  font-size: var(--text-small-size);
  color: var(--poker-text-secondary);
  font-style: italic;
}

/* Reservation */
.poker-reservation {
  padding-block: var(--space-3xl);
  background-color: var(--poker-surface);
}

.poker-reservation__title {
  font-size: var(--text-h2-size);
  line-height: var(--text-h2-line-height);
  font-weight: 600;
  color: var(--poker-text);
  margin-block-end: var(--space-lg);
  text-align: center;
}

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

.poker-reservation__form {
  max-width: 600px;
  margin-inline: auto;
  background-color: var(--poker-paper);
  border: 1px solid var(--poker-border);
  border-radius: var(--poker-radius-large);
  box-shadow: var(--poker-shadow);
  padding: var(--space-xl);
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
  clip-path: polygon(0% 1%, 99% 0%, 100% 99%, 1% 100%);
}

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

.poker-reservation__field label {
  font-weight: 600;
  color: var(--poker-text);
}

.poker-reservation__field input,
.poker-reservation__field textarea {
  background-color: var(--poker-surface);
  border: 1px solid var(--poker-border);
  border-radius: var(--poker-radius-small);
  padding: var(--space-sm) var(--space-md);
  width: 100%;
  transition: border-color var(--poker-transition), box-shadow var(--poker-transition);
}

.poker-reservation__field input:focus,
.poker-reservation__field textarea:focus {
  border-color: var(--poker-accent);
  box-shadow: 0 0 0 2px rgba(0, 109, 119, 0.15);
  outline: none;
}

.poker-reservation__error {
  color: var(--color-danger);
  font-size: var(--text-small-size);
  margin-block-end: 0;
}

.poker-reservation__consent {
  font-size: var(--text-small-size);
  color: var(--poker-text-secondary);
  margin-block-end: 0;
}

.poker-reservation__submit {
  align-self: flex-start;
}

.poker-reservation__success {
  color: var(--poker-accent);
  font-weight: 600;
  margin-block-end: 0;
}

/* Contact */
.poker-contact {
  padding-block: var(--space-3xl);
  background-color: var(--poker-paper);
}

.poker-contact__title {
  font-size: var(--text-h2-size);
  line-height: var(--text-h2-line-height);
  font-weight: 600;
  color: var(--poker-text);
  margin-block-end: var(--space-xl);
  text-align: center;
}

.poker-contact__card {
  max-width: 400px;
  margin-inline: auto;
  background-color: var(--poker-surface);
  border: 1px solid var(--poker-border);
  border-radius: var(--poker-radius-medium);
  box-shadow: var(--poker-shadow);
  padding: var(--space-lg);
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.poker-contact__lead {
  margin-block-end: 0;
  color: var(--poker-text-secondary);
}

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

.poker-contact__list li {
  color: var(--poker-text);
}

.poker-contact__list a {
  color: var(--poker-accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.poker-contact__list a:hover {
  color: var(--poker-secondary);
}

/* Responsive */
@media (max-width: 1024px) {
  .poker-hero__grid {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }

  .poker-hero__text {
    order: 1;
  }

  .poker-hero__figure {
    order: 2;
  }

  .poker-games__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .poker-games__card:last-child {
    grid-column: span 2;
  }

  .poker-pricing__grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .poker-hero {
    padding-block: var(--space-2xl);
  }

  .poker-hero__title {
    font-size: clamp(2rem, 8vw, 2.5rem);
  }

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

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

  .poker-games__grid {
    grid-template-columns: 1fr;
  }

  .poker-games__card:last-child {
    grid-column: auto;
  }

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

  .poker-reservation__form {
    padding: var(--space-lg);
  }

  .poker-pricing__grid {
    gap: var(--space-lg);
  }
}

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

  .poker-hero__cta {
    width: 100%;
  }

  .poker-faq__question {
    font-size: 1rem;
    padding: var(--space-sm) var(--space-md);
  }

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

  .poker-reservation__submit {
    width: 100%;
  }
}
