/* Home page styles */

.section {
  padding-block: var(--space-3xl);
}

@media (min-width: 1024px) {
  .section {
    padding-block: var(--space-4xl);
  }
}

/* Hero */
.home-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background-color: var(--bg-base);
}

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

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

.home-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background-color: rgba(14, 21, 18, 0.6);
}

.home-hero__content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--container-standard);
  margin-inline: auto;
  padding-inline: var(--gutter-mobile);
  display: flex;
  justify-content: flex-start;
}

.home-hero__text {
  max-width: 600px;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.home-hero__text h1 {
  font-size: var(--text-4xl);
  line-height: var(--leading-4xl);
  margin-block-end: 0;
}

.home-hero__lead {
  font-size: var(--text-lg);
  line-height: var(--leading-lg);
  color: var(--text-secondary);
  margin-block-end: 0;
}

.home-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  margin-block-start: var(--space-md);
}

.home-hero__actions .btn {
  flex: 0 1 auto;
}

.home-hero__meta {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  margin-block-start: var(--space-md);
  margin-block-end: 0;
}

@media (min-width: 768px) {
  .home-hero__content {
    padding-inline: var(--gutter-tablet);
  }

  .home-hero__text h1 {
    font-size: var(--text-5xl);
    line-height: var(--leading-5xl);
  }
}

@media (min-width: 1024px) {
  .home-hero__content {
    padding-inline: var(--gutter-desktop);
  }
}

@media (max-width: 479px) {
  .home-hero__text h1 {
    font-size: var(--text-3xl);
    line-height: var(--leading-3xl);
  }

  .home-hero__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .home-hero__actions .btn {
    width: 100%;
  }
}

/* Offline Poker */
.home-offline-poker__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-2xl);
}

.home-offline-poker__text {
  min-width: 0;
}

.home-offline-poker__text h2 {
  margin-block-end: var(--space-md);
}

.home-offline-poker__lead {
  font-size: var(--text-lg);
  line-height: var(--leading-lg);
  color: var(--text-secondary);
  margin-block-end: var(--space-md);
}

.home-offline-poker__note {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  margin-block-start: var(--space-md);
  margin-block-end: 0;
}

.home-offline-poker__features {
  min-width: 0;
}

.home-feature-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  padding-inline-start: var(--space-lg);
  list-style: disc;
  color: var(--text-secondary);
}

.home-feature-list li {
  padding-inline-start: var(--space-xs);
}

@media (min-width: 768px) {
  .home-offline-poker__grid {
    grid-template-columns: 3fr 2fr;
  }
}

/* Poker Room / Tables */
.home-poker-tables__content,
.home-poker-room__content,
.home-card-lounge__content,
.home-live-casino__content,
.home-responsible__content {
  max-width: 70%;
  margin-inline: 0;
  text-align: left;
}

.home-poker-tables__content h2,
.home-poker-room__content h2,
.home-card-lounge__content h2,
.home-live-casino__content h2,
.home-responsible__content h2 {
  margin-block-end: var(--space-md);
}

.home-poker-tables__content h3 {
  margin-block-start: var(--space-lg);
  margin-block-end: var(--space-sm);
}

.home-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  margin-block-start: var(--space-lg);
  padding-inline-start: 0;
  list-style: none;
}

.home-highlights li {
  background-color: var(--bg-elevated);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-sm);
  padding: var(--space-xs) var(--space-md);
  font-size: var(--text-sm);
  color: var(--text-primary);
}

@media (max-width: 767px) {
  .home-poker-tables__content,
  .home-poker-room__content,
  .home-card-lounge__content,
  .home-live-casino__content,
  .home-responsible__content {
    max-width: 100%;
  }
}

/* Why offline poker */
.home-why-offline__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
}

.home-why-offline__card {
  background-color: var(--bg-elevated);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  transition: background-color var(--transition-fast), border-color var(--transition-fast);
}

.home-why-offline__card:hover {
  background-color: var(--bg-subtle);
  border-color: var(--border-strong);
}

.home-why-offline__card h3 {
  font-size: var(--text-xl);
  line-height: var(--leading-xl);
  margin-block-end: 0;
}

.home-why-offline__card p {
  font-size: var(--text-base);
  line-height: var(--leading-base);
  color: var(--text-secondary);
  margin-block-end: 0;
}

@media (min-width: 768px) {
  .home-why-offline__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

/* Poker Room */
.home-poker-room__features {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-sm);
  margin-block-start: var(--space-lg);
  padding-inline-start: 0;
  list-style: none;
}

.home-poker-room__features li {
  background-color: var(--bg-elevated);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-sm);
  padding: var(--space-sm) var(--space-md);
  font-size: var(--text-sm);
  color: var(--text-primary);
}

@media (max-width: 479px) {
  .home-poker-room__features {
    grid-template-columns: 1fr;
  }
}

/* Stoły pokerowe detail */
.home-poker-tables-detail__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-2xl);
}

.home-poker-tables-detail__text {
  min-width: 0;
}

.home-poker-tables-detail__media {
  min-width: 0;
}

.home-poker-tables-detail__media img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-md);
}

@media (min-width: 768px) {
  .home-poker-tables-detail__grid {
    grid-template-columns: 3fr 2fr;
  }
}

/* Experience */
.home-experience__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
}

.home-experience__card {
  background-color: var(--bg-elevated);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  transition: background-color var(--transition-fast), border-color var(--transition-fast);
}

.home-experience__card:hover {
  background-color: var(--bg-subtle);
  border-color: var(--border-strong);
}

.home-experience__card h3 {
  font-size: var(--text-xl);
  line-height: var(--leading-xl);
  margin-block-end: 0;
}

.home-experience__card p {
  font-size: var(--text-base);
  line-height: var(--leading-base);
  color: var(--text-secondary);
  margin-block-end: 0;
}

@media (min-width: 768px) {
  .home-experience__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

/* Poker events */
.home-event-categories {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  margin-block-start: var(--space-lg);
  padding-inline-start: 0;
  list-style: none;
}

.home-event-categories li {
  background-color: var(--bg-elevated);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-sm);
  padding: var(--space-xs) var(--space-md);
  font-size: var(--text-sm);
  color: var(--text-primary);
}

/* Restaurant */
.home-restaurant__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-2xl);
}

.home-restaurant__text {
  min-width: 0;
}

.home-restaurant__media {
  min-width: 0;
}

.home-restaurant__media img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-md);
}

@media (min-width: 768px) {
  .home-restaurant__grid {
    grid-template-columns: 3fr 2fr;
  }
}

/* Location */
.home-location__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-2xl);
}

.home-location__text {
  min-width: 0;
}

.home-location__text address {
  margin-block-end: var(--space-md);
}

.home-location__map {
  min-width: 0;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-default);
}

.home-location__map iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

@media (min-width: 768px) {
  .home-location__grid {
    grid-template-columns: 2fr 3fr;
  }

  .home-location__map {
    aspect-ratio: auto;
    height: 400px;
  }
}

/* Responsible */
.home-responsible__list {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  margin-block-start: var(--space-md);
  padding-inline-start: var(--space-lg);
  list-style: disc;
  color: var(--text-secondary);
}

.home-responsible__list li {
  padding-inline-start: var(--space-xs);
}

.home-responsible__content p:last-child {
  margin-block-start: var(--space-lg);
  font-size: var(--text-sm);
  color: var(--text-secondary);
}
