/* Card Hut Geelong — Home Page Styles */

/* Section heading pattern */
.home-section-heading {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  margin-block-end: var(--space-xl);
}

.home-section-heading__rule {
  display: block;
  width: 64px;
  height: 2px;
  background-color: var(--color-oxide-red);
}

.home-section-heading__rule--violet {
  background-color: var(--color-muted-violet);
}

.home-section-heading h2 {
  margin-block-end: 0;
}

.home-section-heading--on-deep-olive h2 {
  color: var(--color-warm-limestone);
}

.home-section-heading--on-light h2 {
  color: var(--color-bay-midnight);
}

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

.home-hero__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.home-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(11, 22, 32, 0.4) 0%, rgba(11, 22, 32, 0.6) 100%);
}

.home-hero__content {
  position: relative;
  z-index: 1;
  width: 100%;
  padding-block-end: var(--space-4xl);
}

.home-hero__text {
  max-width: 800px;
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
  align-items: flex-start;
}

.home-hero__heading {
  color: var(--color-warm-limestone);
  margin-block-end: 0;
  max-width: 1000px;
}

.home-hero__lead {
  color: var(--color-fog-white);
  margin-block-end: 0;
  max-width: 65ch;
}

.home-hero__actions {
  margin-block-start: var(--space-sm);
}

/* Poker-First Introduction */


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



.home-intro__unit h3 {
  margin-block-end: var(--space-sm);
}

/* Poker Room */
.home-poker-room__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--space-xl);
  align-items: stretch;
}

.home-poker-room__media {
  grid-column: 1 / 8;
  min-width: 0;
}

.home-poker-room__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-0);
  border: var(--border-structural);
}

.home-poker-room__content {
  grid-column: 8 / 13;
  background-color: var(--color-deep-olive);
  padding: var(--space-xl);
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}

.home-poker-room__units {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.home-poker-room__unit p {
  max-width: 55ch;
  margin-block-end: 0;
}

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

/* Card Lounge */


.home-card-lounge__units {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}



.home-card-lounge__unit h3 {
  margin-block-end: var(--space-sm);
}

/* Physical Poker Tables */
.home-tables__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--space-xl);
  align-items: stretch;
}

.home-tables__content {
  grid-column: 1 / 6;
  background-color: var(--color-bay-midnight);
  padding: var(--space-xl);
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}

.home-tables__media {
  grid-column: 6 / 13;
  min-width: 0;
}

.home-tables__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-0);
  border: var(--border-structural);
}

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

.home-tables__unit p {
  max-width: 55ch;
  margin-block-end: 0;
}

.home-tables__unit h3 {
  margin-block-end: var(--space-sm);
}

/* Texas Hold'em and Poker Nights */


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



.home-holdem__unit h3 {
  margin-block-end: var(--space-sm);
}

/* Restaurant */
.home-restaurant__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--space-xl);
  align-items: stretch;
}

.home-restaurant__media {
  grid-column: 1 / 5;
  min-width: 0;
}

.home-restaurant__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-0);
  border: var(--border-structural);
}

.home-restaurant__content {
  grid-column: 5 / 13;
  background-color: var(--color-textured-limestone);
  color: var(--color-bay-midnight);
  padding: var(--space-xl);
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}

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

.home-restaurant__unit p {
  max-width: 65ch;
  margin-block-end: 0;
  color: var(--color-bay-midnight);
}

.home-restaurant__unit h3 {
  margin-block-end: var(--space-sm);
  color: var(--color-bay-midnight);
}

/* Visit Planning */


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



.home-visit__unit h3 {
  margin-block-end: var(--space-sm);
}

.home-visit__contact {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  margin-block-start: var(--space-md);
}

.home-visit__contact p {
  margin-block-end: 0;
}

.home-visit__note {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.02em;
  text-transform: none;
  color: rgba(232, 224, 210, 0.7);
  margin-block-start: var(--space-2xs);
}

/* Final CTA */



.home-final__actions {
  margin-block-start: var(--space-sm);
}

/* Reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity var(--transition-reveal), transform var(--transition-reveal);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 1024px) {
  .home-poker-room__grid,
  .home-tables__grid,
  .home-restaurant__grid {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

  .home-poker-room__media,
  .home-poker-room__content,
  .home-tables__content,
  .home-tables__media,
  .home-restaurant__media,
  .home-restaurant__content {
    grid-column: 1 / -1;
  }

  .home-poker-room__media img,
  .home-tables__media img,
  .home-restaurant__media img {
    height: 60vh;
    min-height: 320px;
  }

  .home-poker-room__content,
  .home-tables__content,
  .home-restaurant__content {
    padding: var(--space-lg);
  }
}

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

  .home-hero__content {
    padding-block-end: var(--space-3xl);
  }

  .home-hero__text {
    max-width: 100%;
  }

  .home-hero__heading {
    font-size: clamp(2rem, 6vw, 2.5rem);
    line-height: 1.05;
  }

  .home-hero__lead {
    font-size: 1.125rem;
    line-height: 1.6;
  }

  .home-hero__actions,
  .home-final__actions {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }

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

  .home-section-heading {
    margin-block-end: var(--space-lg);
  }

  .home-intro__units,
  .home-card-lounge__units,
  .home-holdem__units,
  .home-visit__units,
  .home-poker-room__units,
  .home-tables__units,
  .home-restaurant__units {
    gap: var(--space-md);
  }

  .home-intro__unit p,
  .home-card-lounge__unit p,
  .home-holdem__unit p,
  .home-visit__unit p,
  .home-poker-room__unit p,
  .home-tables__unit p,
  .home-restaurant__unit p,
  .home-final__message {
    font-size: 1.125rem;
    line-height: 1.6;
  }

  .home-poker-room__content,
  .home-tables__content,
  .home-restaurant__content {
    padding: var(--space-md);
  }
}

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

  .home-hero__heading {
    font-size: clamp(1.75rem, 8vw, 2.25rem);
    line-height: 1.05;
  }

  .home-poker-room__media img,
  .home-tables__media img,
  .home-restaurant__media img {
    height: 50vh;
    min-height: 240px;
  }

  .home-section-heading__rule {
    width: 48px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
