/* ===== Poker page styles ===== */

/* Hero */
.poker-hero {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.poker-hero__media-frame {
  position: absolute;
  inset: 0;
  z-index: 0;
}

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

.poker-hero__media-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background-color: var(--color-granat-photo-overlay);
  pointer-events: none;
}

.poker-hero__content {
  position: relative;
  z-index: 1;
  width: 100%;
  display: flex;
  justify-content: center;
  padding: var(--space-7) var(--container-padding-mobile);
}

.poker-hero__text {
  max-width: 600px;
  margin-inline: auto;
  text-align: center;
  color: var(--color-tekst-na-ciemnym);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-5);
}

.poker-hero__text h1 {
  color: var(--color-tekst-na-ciemnym);
  margin-block-end: 0;
}

.poker-hero__text p {
  color: var(--color-tekst-na-ciemnym);
  margin-block-end: 0;
  font-size: var(--text-body-large);
  line-height: var(--leading-body-large);
}

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

/* Intro */
.poker-intro {
  background-color: var(--color-tlo-kosc);
}

.poker-intro__container {
  display: flex;
  justify-content: flex-start;
}

.poker-intro__content {
  max-width: 680px;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.poker-intro__content h2 {
  margin-block-end: 0;
}

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

/* Atmosfera */
.poker-atmosfera {
  background-color: var(--color-granat);
}

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

.poker-atmosfera__text {
  max-width: 500px;
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.poker-atmosfera__text h2,
.poker-atmosfera__text p,
.poker-atmosfera__text li {
  color: var(--color-tekst-na-ciemnym);
}

.poker-atmosfera__text h2 {
  margin-block-end: 0;
}

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

.poker-atmosfera__list {
  margin-block-end: 0;
}

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

.poker-atmosfera__media img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  display: block;
  border-radius: var(--radius-0);
}

/* Elementy stołu */
.poker-elementy {
  background-color: var(--color-kosc-ciemna);
}

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

.poker-elementy__header {
  text-align: left;
}

.poker-elementy__header h2 {
  margin-block-end: 0;
}

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

.poker-elementy__card {
  background-color: var(--color-tlo-kosc);
  border: var(--border-1);
  border-radius: var(--radius-2);
  padding: var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  min-width: 0;
}

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

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

.poker-elementy__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border: 1px solid var(--color-terakota);
  border-radius: var(--radius-round);
}

.poker-elementy__icon-shape {
  display: block;
  width: 24px;
  height: 24px;
  background-color: var(--color-terakota);
  border-radius: var(--radius-round);
}

.poker-elementy__icon-shape--sukno {
  border-radius: var(--radius-1);
  background-color: var(--color-zielen-przygaszona);
}

.poker-elementy__icon-shape--karty {
  border-radius: var(--radius-1);
  background-color: var(--color-terakota);
  transform: rotate(45deg);
}

.poker-elementy__icon-shape--zetony {
  border-radius: var(--radius-round);
  background-color: var(--color-wisniowy-braz);
}

/* Miejsca graczy */
.poker-miejsca {
  background-color: var(--color-tlo-kosc);
}

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

.poker-miejsca__header h2 {
  margin-block-end: 0;
}

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

.poker-miejsca__column {
  max-width: 400px;
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  min-width: 0;
}

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

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

.poker-miejsca__column .content-list {
  margin-block-end: 0;
}

/* Zasady */
.poker-zasady {
  background-color: var(--color-wisniowy-braz);
}

.poker-zasady__container {
  display: grid;
  grid-template-columns: 4fr 8fr;
  gap: var(--space-7);
  align-items: start;
}

.poker-zasady__icon {
  display: flex;
  justify-content: center;
  align-items: center;
}

.poker-zasady__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 96px;
  height: 96px;
  border: 2px solid var(--color-tekst-na-ciemnym);
  border-radius: var(--radius-round);
  color: var(--color-tekst-na-ciemnym);
  font-family: var(--font-heading);
  font-size: 2.25rem;
  font-weight: var(--weight-heading);
  line-height: 1;
}

.poker-zasady__text {
  max-width: 600px;
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.poker-zasady__text h2,
.poker-zasady__text p,
.poker-zasady__text li {
  color: var(--color-tekst-na-ciemnym);
}

.poker-zasady__text h2 {
  margin-block-end: 0;
}

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

.poker-zasady__list {
  margin-block-end: 0;
}

/* Wieczór */
.poker-wieczor {
  background-color: var(--color-tlo-kosc);
}

.poker-wieczor__container {
  display: flex;
  align-items: flex-start;
  gap: var(--space-6);
}

.poker-wieczor__line {
  flex-shrink: 0;
  width: 1px;
  align-self: stretch;
  background-color: var(--color-terakota);
  min-height: 200px;
}

.poker-wieczor__content {
  max-width: 680px;
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.poker-wieczor__content h2 {
  margin-block-end: 0;
}

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

/* Rezerwacja */
.poker-rezerwacja {
  background-color: var(--color-granat);
}

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

.poker-rezerwacja__content {
  max-width: 500px;
  margin-inline: auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-5);
}

.poker-rezerwacja__content h2,
.poker-rezerwacja__content p {
  color: var(--color-tekst-na-ciemnym);
}

.poker-rezerwacja__content h2 {
  margin-block-end: 0;
}

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

.poker-rezerwacja__kontakt {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  width: 100%;
}

.poker-rezerwacja__link {
  color: var(--color-tekst-na-ciemnym);
  text-decoration: underline;
  text-decoration-color: var(--color-terakota);
  text-underline-offset: 3px;
  font-size: var(--text-body-large);
  line-height: var(--leading-body-large);
  transition: color 200ms ease, text-decoration-color 200ms ease;
}

.poker-rezerwacja__link:hover {
  color: var(--color-kosc-ciemna);
  text-decoration-color: var(--color-kosc-ciemna);
}

.poker-rezerwacja__adres {
  color: var(--color-tekst-na-ciemnym);
  font-style: normal;
}

.poker-rezerwacja__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  justify-content: center;
}

.poker-rezerwacja__btn {
  min-width: 160px;
}

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

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

  .poker-atmosfera__media img {
    aspect-ratio: 4 / 5;
  }

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

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

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

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

  .poker-zasady__icon {
    justify-content: flex-start;
  }
}

@media (max-width: 767px) {
  .poker-hero {
    min-height: 70vh;
  }

  .poker-hero__content {
    padding: var(--space-6) var(--container-padding-mobile);
  }

  .poker-hero__text h1 {
    font-size: 2rem;
    line-height: 1.1;
  }

  .poker-hero__text p {
    font-size: var(--text-body);
    line-height: var(--leading-body);
  }

  .poker-intro__content,
  .poker-wieczor__content {
    max-width: 100%;
  }

  .poker-wieczor__container {
    flex-direction: column;
    gap: var(--space-4);
  }

  .poker-wieczor__line {
    width: 100%;
    height: 1px;
    min-height: 1px;
    align-self: auto;
  }

  .poker-rezerwacja__actions {
    flex-direction: column;
    width: 100%;
  }

  .poker-rezerwacja__btn {
    width: 100%;
  }

  .poker-zasady__badge {
    width: 72px;
    height: 72px;
    font-size: 1.75rem;
  }
}
