/* Page-owned styles for pokerove-vecery */

.pokerove-vecery-page {
  --pv-hero-height: 80vh;
  --pv-hero-min-height: 560px;
  --pv-hero-max-height: 820px;
  --pv-hero-overlay: linear-gradient(180deg, rgba(37, 54, 45, 0.28) 0%, rgba(37, 54, 45, 0.78) 100%);
  --pv-card-border: 1px solid rgba(112, 70, 51, 0.24);
  --pv-card-shadow: 0 4px 12px rgba(36, 35, 33, 0.08), 0 8px 24px rgba(36, 35, 33, 0.06);
  --pv-card-shadow-hover: 0 8px 20px rgba(36, 35, 33, 0.12), 0 16px 40px rgba(36, 35, 33, 0.1);
  --pv-transition: 0.25s ease;
}

.pokerove-vecery-page .container {
  width: 100%;
  max-width: var(--container-max-width);
  margin-inline: auto;
  padding-inline: var(--container-padding);
}

/* Hero */
.poker-hero {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: 1fr;
  min-height: var(--pv-hero-min-height);
  height: var(--pv-hero-height);
  max-height: var(--pv-hero-max-height);
  overflow: hidden;
  background-color: var(--color-forest-green);
}

.poker-hero__media,
.poker-hero__overlay,
.poker-hero__content {
  grid-column: 1;
  grid-row: 1;
}

.poker-hero__media {
  width: 100%;
  height: 100%;
}

.poker-hero__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  filter: saturate(0.82) sepia(0.08) contrast(1.02);
}

.poker-hero__overlay {
  width: 100%;
  height: 100%;
  background: var(--pv-hero-overlay);
  pointer-events: none;
}

.poker-hero__content {
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  padding-block-end: clamp(2rem, 6vw, 5rem);
  z-index: 1;
}

.poker-hero__text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-lg);
  width: min(600px, 100%);
  min-width: 0;
}

.poker-hero__title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(2.5rem, 5vw + 1rem, 4rem);
  line-height: 1.1;
  color: var(--color-warm-cream);
  margin: 0;
  max-width: 15ch;
  text-wrap: balance;
}

.poker-hero__lead {
  font-size: var(--text-body-large-size);
  line-height: 1.6;
  color: var(--color-warm-cream);
  margin: 0;
  max-width: 42ch;
}

.poker-hero__cta {
  margin: 0;
}

/* About */
.poker-about {
  background-color: var(--color-bg);
}

.poker-about__content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-lg);
  max-width: 800px;
  min-width: 0;
}

.poker-about__content h2 {
  margin: 0;
  max-width: 20ch;
}

.poker-about__content p {
  max-width: 75ch;
  margin: 0;
}

.poker-about__list {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  margin: 0;
  padding: 0;
  list-style: none;
  width: 100%;
  max-width: 75ch;
}

.poker-about__list li {
  position: relative;
  padding-inline-start: var(--space-xl);
  margin: 0;
  min-width: 0;
}

.poker-about__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background-color: var(--color-muted-amber);
}

/* Flow */
.poker-flow {
  background-color: var(--color-forest-green);
  color: var(--color-warm-cream);
}

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

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

.poker-flow__description h2 {
  color: var(--color-warm-cream);
  margin: 0;
  max-width: 18ch;
}

.poker-flow__description p {
  color: var(--color-warm-cream);
  max-width: 70ch;
  margin: 0;
}

.poker-flow__perks {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  margin: 0;
  padding: 0;
  list-style: none;
  width: 100%;
  max-width: 70ch;
}

.poker-flow__perks li {
  position: relative;
  padding-inline-start: var(--space-xl);
  margin: 0;
  min-width: 0;
}

.poker-flow__perks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background-color: var(--color-muted-amber);
}

.poker-flow__timeline {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  margin: 0;
  padding: 0;
  list-style: none;
  border-inline-start: 2px solid var(--color-muted-amber);
  padding-inline-start: var(--space-lg);
  min-width: 0;
}

.poker-flow__step {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
  padding-block: var(--space-sm);
  border-radius: var(--radius-sm);
  transition: background-color var(--pv-transition);
  min-width: 0;
}

.poker-flow__step:hover {
  background-color: rgba(244, 239, 228, 0.08);
}

.poker-flow__time {
  font-family: var(--font-heading);
  font-size: var(--text-body-large-size);
  font-weight: 700;
  color: var(--color-muted-amber);
  line-height: 1.4;
}

.poker-flow__label {
  color: var(--color-warm-cream);
  line-height: 1.5;
}

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

.poker-rules .container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-xl);
}

.poker-rules h2 {
  margin: 0;
  max-width: 20ch;
}

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

.poker-rules__card {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  min-width: 0;
  background-color: var(--color-warm-cream);
  border: var(--pv-card-border);
  box-shadow: var(--pv-card-shadow);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
}

.poker-rules__card h3 {
  margin: 0;
  max-width: 20ch;
}

.poker-rules__card p {
  margin: 0;
  max-width: 75ch;
}

.poker-rules__card--wide {
  grid-column: 1 / -1;
}

.poker-rules__list,
.poker-rules__etiquette {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  margin: 0;
  padding: 0;
  list-style: none;
  min-width: 0;
}

.poker-rules__list {
  counter-reset: rule-counter;
}

.poker-rules__list li {
  position: relative;
  padding-inline-start: var(--space-xl);
  margin: 0;
  min-width: 0;
}

.poker-rules__list li::before {
  counter-increment: rule-counter;
  content: counter(rule-counter);
  position: absolute;
  left: 0;
  top: 0.1em;
  width: 1.5rem;
  height: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--color-warm-cream);
  background-color: var(--color-chestnut-brown);
  border-radius: 50%;
  font-size: var(--text-caption-size);
}

.poker-rules__etiquette li {
  position: relative;
  padding-inline-start: var(--space-xl);
  margin: 0;
  min-width: 0;
}

.poker-rules__etiquette li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background-color: var(--color-muted-amber);
}

/* Schedule */
.poker-schedule {
  background-color: var(--color-bg);
}

.poker-schedule .container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-xl);
}

.poker-schedule h2 {
  margin: 0;
  max-width: 22ch;
}

.poker-schedule__intro {
  margin: 0;
  max-width: 75ch;
}

.poker-schedule__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--space-lg);
  width: 100%;
}

.poker-schedule__card {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  min-width: 0;
  background-color: var(--color-warm-cream);
  border: var(--pv-card-border);
  box-shadow: var(--pv-card-shadow);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  transition: transform var(--pv-transition), box-shadow var(--pv-transition);
}

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

.poker-schedule__date {
  font-family: var(--font-heading);
  font-size: var(--text-body-large-size);
  font-weight: 700;
  color: var(--color-muted-amber);
  margin: 0;
  line-height: 1.4;
}

.poker-schedule__card h3 {
  margin: 0;
  max-width: 18ch;
  font-size: var(--text-h3-size);
  line-height: 1.4;
}

.poker-schedule__card p:last-child {
  margin: 0;
  max-width: 60ch;
}

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

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

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

.poker-atmosphere__text h2 {
  margin: 0;
  max-width: 20ch;
}

.poker-atmosphere__text p {
  margin: 0;
  max-width: 70ch;
}

.poker-atmosphere__list {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  margin: 0;
  padding: 0;
  list-style: none;
  width: 100%;
  max-width: 70ch;
}

.poker-atmosphere__list li {
  position: relative;
  padding-inline-start: var(--space-xl);
  margin: 0;
  min-width: 0;
}

.poker-atmosphere__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background-color: var(--color-muted-amber);
}

.poker-atmosphere__figure {
  margin: 0;
  min-width: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--pv-card-shadow);
}

.poker-atmosphere__image {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
  filter: saturate(0.82) sepia(0.08) contrast(1.02);
}

.poker-atmosphere__figure figcaption {
  padding: var(--space-sm) var(--space-md);
  background-color: var(--color-warm-cream);
  color: var(--color-accent);
  font-size: var(--text-caption-size);
  line-height: 1.4;
}

/* Gallery */
.poker-gallery {
  background-color: var(--color-bg);
}

.poker-gallery .container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-xl);
}

.poker-gallery h2 {
  margin: 0;
  max-width: 22ch;
}

.poker-gallery__intro {
  margin: 0;
  max-width: 70ch;
}

.poker-gallery__grid {
  display: grid;
  grid-template-columns: 3fr 4fr 3fr;
  gap: var(--space-lg);
  width: 100%;
}

.poker-gallery__item {
  margin: 0;
  min-width: 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--pv-card-shadow);
  background-color: var(--color-warm-cream);
}

.poker-gallery__image {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
  transition: transform var(--pv-transition);
  filter: saturate(0.82) sepia(0.08) contrast(1.02);
}

.poker-gallery__item--one .poker-gallery__image {
  aspect-ratio: 1 / 1;
}

.poker-gallery__item--two .poker-gallery__image {
  aspect-ratio: 3 / 2;
}

.poker-gallery__item--three .poker-gallery__image {
  aspect-ratio: 4 / 3;
}

.poker-gallery__item:hover .poker-gallery__image {
  transform: scale(1.03);
}

.poker-gallery__item figcaption {
  padding: var(--space-sm) var(--space-md);
  color: var(--color-accent);
  font-size: var(--text-caption-size);
  line-height: 1.4;
}

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

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

.poker-faq h2 {
  margin: 0;
  max-width: 20ch;
}

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

.poker-faq__item {
  border: var(--pv-card-border);
  border-radius: var(--radius-md);
  background-color: var(--color-warm-cream);
  box-shadow: var(--pv-card-shadow);
  overflow: hidden;
  min-width: 0;
}

.poker-faq__question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  width: 100%;
  padding: var(--space-md) var(--space-lg);
  font-family: var(--font-heading);
  font-size: var(--text-body-large-size);
  font-weight: 700;
  color: var(--color-forest-green);
  text-align: left;
  background: none;
  border: none;
  cursor: pointer;
  min-height: 44px;
  transition: color var(--pv-transition);
}

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

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

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

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

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

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

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

.poker-faq__answer[hidden] {
  display: none;
}

.poker-faq__answer p {
  margin: 0;
  max-width: 75ch;
}

/* Reservation */
.poker-reservation {
  background-color: var(--color-forest-green);
  color: var(--color-warm-cream);
}

.poker-reservation__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 300px);
  gap: var(--space-3xl);
  align-items: start;
}

.poker-reservation__form-wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-lg);
  min-width: 0;
  max-width: 600px;
}

.poker-reservation__form-wrap h2 {
  color: var(--color-warm-cream);
  margin: 0;
  max-width: 22ch;
}

.poker-reservation__form-wrap > p {
  color: var(--color-warm-cream);
  margin: 0;
  max-width: 70ch;
}

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

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

.poker-reservation__field label {
  color: var(--color-warm-cream);
  font-weight: 600;
  margin: 0;
}

.poker-reservation__field input,
.poker-reservation__field select,
.poker-reservation__field textarea {
  width: 100%;
  min-width: 0;
  background-color: rgba(244, 239, 228, 0.1);
  border: 1px solid rgba(244, 239, 228, 0.3);
  color: var(--color-warm-cream);
  border-radius: var(--radius-sm);
  padding: var(--space-sm) var(--space-md);
  font-family: var(--font-body);
  font-size: var(--text-body-size);
  line-height: 1.6;
}

.poker-reservation__field input::placeholder,
.poker-reservation__field textarea::placeholder {
  color: rgba(244, 239, 228, 0.5);
}

.poker-reservation__field input:focus,
.poker-reservation__field select:focus,
.poker-reservation__field textarea:focus {
  border-color: var(--color-muted-amber);
  box-shadow: 0 0 0 2px rgba(180, 122, 58, 0.25);
  outline: none;
}

.poker-reservation__field select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23B47A3A' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right var(--space-md) center;
  padding-inline-end: var(--space-xl);
}

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

.poker-reservation__notice {
  margin: 0;
  font-size: var(--text-caption-size);
  line-height: 1.4;
  color: rgba(244, 239, 228, 0.75);
  max-width: 70ch;
}

.poker-reservation__message {
  margin: 0;
  font-weight: 600;
  color: var(--color-muted-amber);
  min-height: 1.5em;
}

.poker-reservation__contacts {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  min-width: 0;
  background-color: rgba(244, 239, 228, 0.08);
  border: 1px solid rgba(244, 239, 228, 0.2);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
}

.poker-reservation__contacts h3 {
  color: var(--color-warm-cream);
  margin: 0;
  max-width: 20ch;
}

.poker-reservation__contacts p {
  color: var(--color-warm-cream);
  margin: 0;
  max-width: 40ch;
  overflow-wrap: anywhere;
}

.poker-reservation__contacts a {
  color: var(--color-muted-amber);
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.poker-reservation__contacts a:hover {
  color: var(--color-warm-cream);
}

/* Contact */
.poker-contact {
  background-color: var(--color-bg);
}

.poker-contact__card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-lg);
  max-width: 500px;
  min-width: 0;
  background-color: var(--color-warm-cream);
  border: var(--pv-card-border);
  box-shadow: var(--pv-card-shadow);
  border-radius: var(--radius-md);
  padding: var(--space-xl);
}

.poker-contact__card h2 {
  margin: 0;
  max-width: 20ch;
}

.poker-contact__card p {
  margin: 0;
  max-width: 70ch;
}

.poker-contact__list {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  margin: 0;
  padding: 0;
  list-style: none;
  width: 100%;
  min-width: 0;
}

.poker-contact__list li {
  margin: 0;
  min-width: 0;
  overflow-wrap: anywhere;
}

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

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

/* Responsive */
@media (max-width: 1100px) {
  .poker-schedule__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .poker-atmosphere__figure {
    width: 100%;
    max-width: 640px;
  }

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

  .poker-reservation__contacts {
    max-width: 600px;
  }
}

@media (max-width: 900px) {
  .poker-flow__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: var(--space-2xl);
  }

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

  .poker-rules__card--wide {
    grid-column: auto;
  }

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

  .poker-gallery__item--one .poker-gallery__image,
  .poker-gallery__item--two .poker-gallery__image,
  .poker-gallery__item--three .poker-gallery__image {
    aspect-ratio: 16 / 10;
  }
}

@media (max-width: 700px) {
  .poker-hero {
    height: auto;
    min-height: 0;
    max-height: none;
    aspect-ratio: 4 / 5;
  }

  .poker-hero__content {
    align-items: flex-start;
    padding-block-start: var(--space-2xl);
    padding-block-end: var(--space-xl);
  }

  .poker-hero__text {
    width: 100%;
    gap: var(--space-md);
  }

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

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

  .poker-hero__cta {
    width: 100%;
  }

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

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

  .poker-gallery__grid {
    gap: var(--space-md);
  }

  .poker-reservation__form-wrap {
    max-width: 100%;
  }

  .poker-reservation__submit {
    width: 100%;
  }

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

@media (max-width: 480px) {
  .poker-about__content,
  .poker-flow__description,
  .poker-rules .container,
  .poker-schedule .container,
  .poker-gallery .container,
  .poker-faq .container,
  .poker-reservation__form-wrap,
  .poker-contact__card {
    gap: var(--space-md);
  }

  .poker-rules__card,
  .poker-schedule__card,
  .poker-faq__item,
  .poker-reservation__contacts,
  .poker-contact__card {
    padding: var(--space-md);
  }

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

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