/* ===== Gdansk Event Lounge – Home Page Styles ===== */

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

.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: linear-gradient(to bottom, rgba(26, 28, 30, 0.55) 0%, rgba(26, 28, 30, 0.75) 60%, rgba(26, 28, 30, 0.92) 100%);
}

.home-hero__content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding: 6rem var(--container-padding-mobile) 4rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-6);
}

.home-hero__text {
  width: 100%;
  max-width: 42rem;
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
}

.home-hero__text h1 {
  font-size: clamp(2rem, 1.5rem + 2.5vw, 3rem);
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--color-off-white);
  margin: 0;
  max-width: 22ch;
}

.home-hero__subtitle {
  font-size: var(--text-body-large-size);
  line-height: var(--text-body-large-line-height);
  color: var(--color-off-white-muted);
  margin: 0;
  max-width: 60ch;
}

.home-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  width: 100%;
  max-width: 42rem;
}

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

.home-hero__address {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-caption-size);
  line-height: var(--text-caption-line-height);
  font-weight: var(--text-caption-weight);
  letter-spacing: var(--text-caption-letter-spacing);
  text-transform: uppercase;
  color: var(--color-off-white-muted);
  margin: 0;
}

.home-hero__address svg {
  flex: 0 0 auto;
  color: var(--color-copper);
}

/* Authenticity */
.home-authenticity {
  background-color: var(--color-graphite);
}

.home-authenticity__header {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  margin-bottom: var(--space-8);
  max-width: 52rem;
}

.home-authenticity__header h2 {
  margin: 0;
}

.home-authenticity__lead {
  font-size: var(--text-body-large-size);
  line-height: var(--text-body-large-line-height);
  color: var(--color-off-white-muted);
  margin: 0;
  max-width: 60ch;
}

.home-authenticity__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-6) var(--space-8);
}

.home-authenticity__item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-4);
  min-width: 0;
}

.home-authenticity__icon {
  flex: 0 0 auto;
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--color-copper);
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius-small);
  background-color: var(--color-slate-black);
}

.home-authenticity__item > div {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.home-authenticity__item h3 {
  margin: 0;
  font-size: var(--text-h4-size);
  line-height: var(--text-h4-line-height);
  font-weight: var(--text-h4-weight);
  letter-spacing: var(--text-h4-letter-spacing);
  color: var(--color-off-white);
}

.home-authenticity__item p {
  margin: 0;
  color: var(--color-off-white-muted);
  max-width: 50ch;
}

.home-authenticity__cta {
  margin-top: var(--space-8);
  display: flex;
  justify-content: flex-start;
}

/* Formats */
.home-formats {
  background-color: var(--color-slate-black);
}

.home-formats__header {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  margin-bottom: var(--space-8);
  max-width: 52rem;
}

.home-formats__header h2 {
  margin: 0;
}

.home-formats__lead {
  font-size: var(--text-body-large-size);
  line-height: var(--text-body-large-line-height);
  color: var(--color-off-white-muted);
  margin: 0;
  max-width: 60ch;
}

.home-formats__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-6);
}

.home-format-card {
  background-color: var(--color-graphite);
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius-medium);
  padding: var(--space-6);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-4);
  min-width: 0;
  transition: border-color var(--transition-fast), transform var(--transition-fast);
}

.home-format-card:hover {
  border-color: var(--color-copper);
  transform: translateY(-2px);
}

.home-format-card__icon {
  width: 3rem;
  height: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  color: var(--color-copper);
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius-small);
  background-color: var(--color-slate-black);
}

.home-format-card h3 {
  margin: 0;
  font-size: var(--text-h3-size);
  line-height: var(--text-h3-line-height);
  font-weight: var(--text-h3-weight);
  color: var(--color-off-white);
}

.home-format-card p {
  margin: 0;
  color: var(--color-off-white-muted);
  max-width: 45ch;
}

.home-format-card .btn-tertiary {
  margin-top: auto;
  padding-inline: 0;
}

/* Poker Room */
.home-poker-room {
  background-color: var(--color-graphite);
}

.home-poker-room__grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: var(--space-8);
  align-items: center;
}

.home-poker-room__content {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
}

.home-poker-room__content h2 {
  margin: 0;
}

.home-poker-room__description {
  font-size: var(--text-body-large-size);
  line-height: var(--text-body-large-line-height);
  color: var(--color-off-white-muted);
  margin: 0;
  max-width: 65ch;
}

.home-poker-room__features {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-3) var(--space-6);
}

.home-poker-room__features li {
  position: relative;
  padding-left: var(--space-5);
  color: var(--color-off-white);
  font-size: var(--text-body-size);
  line-height: var(--text-body-line-height);
  min-width: 0;
}

.home-poker-room__features li::before {
  content: "♠";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--color-copper);
  font-size: 0.875rem;
}

.home-poker-room__media {
  min-width: 0;
  border-radius: var(--radius-large);
  overflow: hidden;
  border: 1px solid var(--color-border-subtle);
}

.home-poker-room__media img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

/* Live Experience */
.home-live-experience {
  background-color: var(--color-slate-black);
}

.home-live-experience__header {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  margin-bottom: var(--space-8);
  max-width: 52rem;
}

.home-live-experience__header h2 {
  margin: 0;
}

.home-live-experience__lead {
  font-size: var(--text-body-large-size);
  line-height: var(--text-body-large-line-height);
  color: var(--color-off-white-muted);
  margin: 0;
  max-width: 60ch;
}

.home-live-experience__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-6);
}

.home-live-experience__item {
  background-color: var(--color-graphite);
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius-medium);
  padding: var(--space-6);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-4);
  min-width: 0;
}

.home-live-experience__icon {
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--color-copper);
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius-small);
  background-color: var(--color-slate-black);
}

.home-live-experience__item h3 {
  margin: 0;
  font-size: var(--text-h4-size);
  line-height: var(--text-h4-line-height);
  font-weight: var(--text-h4-weight);
  color: var(--color-off-white);
}

.home-live-experience__item p {
  margin: 0;
  color: var(--color-off-white-muted);
  max-width: 45ch;
}

/* Events */
.home-events {
  background-color: var(--color-graphite);
}

.home-events__header {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  margin-bottom: var(--space-8);
  max-width: 52rem;
}

.home-events__header h2 {
  margin: 0;
}

.home-events__lead {
  font-size: var(--text-body-large-size);
  line-height: var(--text-body-large-line-height);
  color: var(--color-off-white-muted);
  margin: 0;
  max-width: 60ch;
}

.home-events__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
}

.home-events__item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-4);
  background-color: var(--color-slate-black);
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius-medium);
  padding: var(--space-5);
  min-width: 0;
}

.home-events__icon {
  flex: 0 0 auto;
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--color-copper);
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius-small);
  background-color: var(--color-graphite);
}

.home-events__item > div {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.home-events__item h3 {
  margin: 0;
  font-size: var(--text-h4-size);
  line-height: var(--text-h4-line-height);
  font-weight: var(--text-h4-weight);
  color: var(--color-off-white);
}

.home-events__item p {
  margin: 0;
  color: var(--color-off-white-muted);
  max-width: 65ch;
}

/* Gallery */
.home-gallery {
  background-color: var(--color-slate-black);
}

.home-gallery__header {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  margin-bottom: var(--space-8);
  max-width: 52rem;
}

.home-gallery__header h2 {
  margin: 0;
}

.home-gallery__description {
  font-size: var(--text-body-large-size);
  line-height: var(--text-body-large-line-height);
  color: var(--color-off-white-muted);
  margin: 0;
  max-width: 65ch;
}

.home-gallery__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-4);
}

.home-gallery__item {
  margin: 0;
  min-width: 0;
  border-radius: var(--radius-medium);
  overflow: hidden;
  border: 1px solid var(--color-border-subtle);
  background-color: var(--color-graphite);
  display: flex;
  flex-direction: column;
}

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

.home-gallery__item--square img {
  aspect-ratio: 1 / 1;
}

.home-gallery__item--wide img {
  aspect-ratio: 16 / 9;
}

.home-gallery__item--standard img {
  aspect-ratio: 4 / 3;
}

.home-gallery__item figcaption {
  padding: var(--space-3) var(--space-4);
  margin: 0;
  color: var(--color-off-white-muted);
  font-size: var(--text-caption-size);
  line-height: var(--text-caption-line-height);
  font-weight: var(--text-caption-weight);
  letter-spacing: var(--text-caption-letter-spacing);
  text-transform: uppercase;
}

/* Audience */
.home-audience {
  background-color: var(--color-graphite);
}

.home-audience__header {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  margin-bottom: var(--space-8);
  max-width: 52rem;
}

.home-audience__header h2 {
  margin: 0;
}

.home-audience__lead {
  font-size: var(--text-body-large-size);
  line-height: var(--text-body-large-line-height);
  color: var(--color-off-white-muted);
  margin: 0;
  max-width: 60ch;
}

.home-audience__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-5) var(--space-8);
}

.home-audience__item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-4);
  min-width: 0;
}

.home-audience__icon {
  flex: 0 0 auto;
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--color-copper);
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius-small);
  background-color: var(--color-slate-black);
}

.home-audience__item p {
  margin: 0;
  color: var(--color-off-white);
  max-width: 55ch;
}

/* FAQ */
.home-faq {
  background-color: var(--color-slate-black);
}

.home-faq__header {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  margin-bottom: var(--space-8);
  max-width: 52rem;
}

.home-faq__header h2 {
  margin: 0;
}

.home-faq__lead {
  font-size: var(--text-body-large-size);
  line-height: var(--text-body-large-line-height);
  color: var(--color-off-white-muted);
  margin: 0;
  max-width: 60ch;
}

.home-faq__list {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.home-faq__item {
  background-color: var(--color-graphite);
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius-medium);
  overflow: hidden;
}

.home-faq__question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding: var(--space-5) var(--space-6);
  background: none;
  border: none;
  color: var(--color-off-white);
  font-family: var(--font-body);
  font-size: var(--text-body-size);
  font-weight: 600;
  line-height: var(--text-body-line-height);
  text-align: left;
  cursor: pointer;
  transition: color var(--transition-fast);
}

.home-faq__question:hover {
  color: var(--color-copper);
}

.home-faq__question:focus-visible {
  outline: var(--focus-outline-width) var(--border-style) var(--focus-outline-color);
  outline-offset: var(--focus-outline-offset);
}

.home-faq__icon {
  flex: 0 0 auto;
  width: 1.5rem;
  height: 1.5rem;
  position: relative;
}

.home-faq__icon::before,
.home-faq__icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 1rem;
  height: 2px;
  background-color: var(--color-copper);
  transform: translate(-50%, -50%);
  transition: transform var(--transition-fast);
}

.home-faq__icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.home-faq__item.is-active .home-faq__icon::after {
  transform: translate(-50%, -50%) rotate(0deg);
}

.home-faq__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-slow), padding var(--transition-slow);
}

.home-faq__answer p {
  margin: 0;
  padding: 0 var(--space-6) var(--space-5);
  color: var(--color-off-white-muted);
  max-width: 70ch;
}

.home-faq__item.is-active .home-faq__answer {
  max-height: 20rem;
}

/* Final CTA */
.home-final-cta {
  background-color: var(--color-graphite);
  border-top: 1px solid var(--color-border-subtle);
}

.home-final-cta__content {
  max-width: 40rem;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--space-5);
}

.home-final-cta__content h2 {
  margin: 0;
}

.home-final-cta__subtitle {
  font-size: var(--text-body-large-size);
  line-height: var(--text-body-large-line-height);
  color: var(--color-off-white-muted);
  margin: 0;
  max-width: 60ch;
}

/* ===== Responsive ===== */
@media (max-width: 64rem) {
  .home-poker-room__grid {
    grid-template-columns: 1fr;
    gap: var(--space-6);
  }

  .home-poker-room__media {
    order: -1;
  }

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

  .home-gallery__item--wide {
    grid-column: span 2;
  }
}

@media (max-width: 48rem) {
  .home-hero__content {
    padding: 5rem var(--container-padding-mobile) 3rem;
    gap: var(--space-5);
  }

  .home-hero__text h1 {
    font-size: clamp(1.75rem, 1.4rem + 1.8vw, 2.25rem);
  }

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

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

  .home-authenticity__list,
  .home-formats__grid,
  .home-live-experience__grid,
  .home-audience__list {
    grid-template-columns: 1fr;
  }

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

  .home-gallery__grid {
    grid-template-columns: 1fr;
  }

  .home-gallery__item--wide {
    grid-column: auto;
  }

  .home-events__item {
    flex-direction: column;
    gap: var(--space-3);
  }

  .home-faq__question {
    padding: var(--space-4) var(--space-5);
  }

  .home-faq__answer p {
    padding: 0 var(--space-5) var(--space-4);
  }
}

@media (max-width: 30rem) {
  .home-authenticity__item,
  .home-audience__item {
    flex-direction: column;
    gap: var(--space-3);
  }

  .home-authenticity__icon,
  .home-audience__icon {
    width: 2rem;
    height: 2rem;
    font-size: 1.25rem;
  }
}
