/* Home page scoped styles */

/* Hero */
.home-hero {
  position: relative;
  min-height: 560px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background-color: var(--pine-950);
}

.home-hero__media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.home-hero__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.85) contrast(1.05);
}

.home-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(15, 26, 20, 0.72), rgba(15, 26, 20, 0.72));
}

.home-hero__content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  padding: var(--space-7) var(--page-padding-mobile);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-5);
}

.home-hero__heading {
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  font-weight: 700;
  margin: 0;
  color: var(--smoke-100);
}

.home-hero__subtitle {
  font-size: var(--text-body-large);
  line-height: 1.6;
  color: var(--smoke-100);
  margin: 0;
  max-width: 600px;
}

.home-hero__cta {
  min-width: 200px;
}

/* Welcome */
.home-welcome__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: var(--space-7);
  align-items: center;
}

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

.home-welcome__text p {
  max-width: 68ch;
}

.home-welcome__highlights {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-5);
  margin-top: var(--space-6);
}

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

.home-welcome__highlight h3 {
  margin-bottom: var(--space-2);
}

.home-welcome__highlight p {
  margin: 0;
  font-size: var(--text-body-small);
  color: var(--smoke-300);
}

.home-welcome__media {
  min-width: 0;
  border-radius: var(--radius-2);
  overflow: hidden;
  border: var(--border-subtle);
  background-color: var(--pine-900);
}

.home-welcome__image {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 0;
  display: block;
}

/* Dining */
.home-dining__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-5);
}

.home-dining__card {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.home-dining__card h3 {
  margin: 0;
}

.home-dining__card p {
  margin: 0;
  color: var(--smoke-300);
  font-size: var(--text-body-small);
}

/* Poker */
.home-poker__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: var(--space-7);
  align-items: center;
}

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

.home-poker__text p {
  max-width: 68ch;
  color: var(--smoke-100);
}

.home-poker__link {
  display: inline-block;
  margin-top: var(--space-4);
  color: var(--brass-400);
  font-weight: 600;
}

.home-poker__link:hover {
  color: var(--ember-300);
  text-decoration-color: var(--brass-400);
}

.home-poker__media {
  min-width: 0;
  border-radius: var(--radius-2);
  overflow: hidden;
  border: 1px solid var(--pine-800);
  background-color: var(--pine-900);
}

.home-poker__image {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 0;
  display: block;
}

/* Brews */
.home-brews__content {
  max-width: 800px;
  margin-inline: auto;
  text-align: left;
}

.home-brews__content p {
  margin: 0;
}

/* Events */
.home-events__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-5);
}

.home-events__card {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.home-events__card h3 {
  margin: 0;
}

.home-events__card p {
  margin: 0;
  color: var(--smoke-300);
  font-size: var(--text-body-small);
}

/* Gallery */
.home-gallery__intro {
  max-width: 600px;
  margin-inline: auto;
  text-align: center;
  margin-bottom: var(--space-6);
}

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

.home-gallery__item {
  min-width: 0;
  margin: 0;
}

.home-gallery__image {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius-2);
  border: var(--border-subtle);
  display: block;
  background-color: var(--pine-900);
}

.home-gallery__item figcaption {
  text-align: center;
  margin-top: var(--space-2);
  font-size: var(--text-caption);
  color: var(--smoke-300);
}

/* Testimonials */
.home-testimonials__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-5);
}

.home-testimonials__quote {
  min-width: 0;
  background-color: var(--pine-900);
  border: var(--border-subtle);
  border-left: 3px solid var(--brass-400);
  border-radius: var(--radius-2);
  padding: var(--space-5);
  margin: 0;
  font-style: normal;
  color: var(--smoke-100);
}

.home-testimonials__quote p {
  margin: 0 0 var(--space-3);
  font-size: var(--text-body);
  line-height: 1.6;
  color: var(--smoke-100);
}

.home-testimonials__quote footer {
  font-size: var(--text-caption);
  color: var(--brass-400);
  font-weight: 600;
}

/* Booking CTA */
.home-booking__content {
  max-width: 600px;
  margin-inline: auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-4);
}

.home-booking__content h2 {
  margin: 0;
}

.home-booking__content p {
  margin: 0;
}

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

/* Tablet */
@media (min-width: 768px) and (max-width: 1023px) {
  .home-welcome__grid,
  .home-poker__grid {
    grid-template-columns: 1fr;
    gap: var(--space-6);
  }

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

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

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

/* Mobile */
@media (max-width: 767px) {
  .home-hero {
    min-height: 480px;
  }

  .home-hero__content {
    padding: var(--space-6) var(--page-padding-mobile);
  }

  .home-hero__heading {
    font-size: 36px;
  }

  .home-hero__subtitle {
    font-size: var(--text-body);
  }

  .home-hero__cta {
    width: 100%;
  }

  .home-welcome__grid,
  .home-poker__grid {
    grid-template-columns: 1fr;
    gap: var(--space-5);
  }

  .home-welcome__highlights {
    grid-template-columns: 1fr;
    gap: var(--space-4);
  }

  .home-dining__grid,
  .home-events__grid,
  .home-testimonials__grid,
  .home-gallery__grid {
    grid-template-columns: 1fr;
    gap: var(--space-4);
  }

  .home-booking__actions {
    flex-direction: column;
    width: 100%;
  }

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

@media (prefers-reduced-motion: reduce) {
  .home-hero__image {
    filter: none;
  }
}
