/* === Kozosseghub365 homepage === */

.section--hero.bg-bistro {
  background:
    radial-gradient(ellipse 80% 60% at 10% 0%, rgba(240, 207, 138, 0.35), transparent 55%),
    linear-gradient(160deg, var(--color-bg-page) 0%, var(--color-bg-soft) 50%, #fff 100%);
  border-bottom: 1px solid var(--color-border-subtle);
}

.section--hero {
  padding-top: clamp(2.5rem, 6vw, 4.5rem);
  padding-bottom: clamp(2.5rem, 6vw, 4.5rem);
}

.hero-layout.hero-layout--split {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
  align-items: start;
  gap: clamp(1.5rem, 4vw, 2.5rem);
}

.hero-intro {
  max-width: 34rem;
  min-width: 0;
}

.hero-intro h1 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3.6vw, 2.85rem);
  line-height: 1.12;
  margin-top: var(--space-4);
  margin-bottom: var(--space-6);
  color: var(--color-heading);
}

.hero-lead {
  font-size: clamp(1rem, 1.4vw, 1.125rem);
  line-height: var(--line-height-relaxed);
  max-width: 36ch;
}

.hero-ctas {
  margin-top: var(--space-2);
}

.hero-secondary-links {
  font-size: var(--font-size-sm);
}

.hero-secondary-links a {
  color: var(--color-text-muted);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.hero-secondary-links a:hover {
  color: var(--color-primary-dark);
}

/* Hero media mosaic */
.hero-media-wall {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
  min-width: 0;
  align-self: stretch;
}

@media (min-width: 901px) {
  .hero-layout--split .hero-intro,
  .hero-layout--split .hero-media-wall {
    width: 100%;
    max-width: none;
    flex: none;
  }

  .hero-layout--split .hero-intro {
    grid-column: 1;
    justify-self: start;
  }

  .hero-layout--split .hero-media-wall {
    grid-column: 2;
  }
}

.hero-layout--split .hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr);
  grid-template-rows: minmax(220px, 1fr) minmax(140px, 0.72fr);
  gap: var(--space-4);
  min-height: clamp(300px, 42vw, 440px);
}

.hero-media--primary {
  grid-row: 1 / 3;
  grid-column: 1;
  min-height: 0;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.hero-media--primary img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
}

.hero-side-grid {
  display: contents;
}

.hero-media--accent {
  min-height: 0;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.hero-media--accent img {
  width: 100%;
  height: 100%;
  min-height: 120px;
  object-fit: cover;
}

.hero-media--accent:first-of-type {
  grid-column: 2;
  grid-row: 1;
}

.hero-media--accent:last-of-type {
  grid-column: 2;
  grid-row: 2;
}

.hero-panel-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-4);
}

.hero-panel {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: var(--space-4);
  padding: var(--space-6);
  min-height: 100%;
}

.hero-panel__title {
  font-family: var(--font-heading);
  font-size: var(--font-size-lg);
  line-height: var(--line-height-snug);
  margin-bottom: var(--space-2);
}

.btn-outline--invert {
  color: #f5efe4;
  border-color: rgba(245, 239, 228, 0.65);
}

.btn-outline--invert:hover {
  background-color: rgba(245, 239, 228, 0.14);
  color: #fff;
}

/* Bistro section */
.section--bistro {
  background-color: #fff;
}

.section--bistro h2 {
  font-family: var(--font-heading);
}

.bistro-highlights {
  gap: var(--space-6);
}

.bistro-tile {
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius-md);
  background: var(--color-surface);
  box-shadow: var(--shadow-xs);
  transition: box-shadow var(--transition-normal), transform var(--transition-fast);
}

.bistro-tile:hover {
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}

.bistro-tile__media {
  aspect-ratio: 16 / 10;
  margin: 0;
  border-radius: 0;
  border: none;
  border-bottom: 1px solid var(--color-border-subtle);
  box-shadow: none;
}

.bistro-tile__body {
  padding: var(--space-6);
  flex: 1;
}

.bistro-image {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  max-height: none;
}

.bistro-image img {
  width: 100%;
  min-height: 320px;
  max-height: 520px;
  object-fit: cover;
  border-radius: var(--radius-lg);
}

/* Menu preview */
.section--menu {
  background:
    radial-gradient(ellipse 70% 50% at 90% 0%, rgba(240, 207, 138, 0.2), transparent 60%),
    var(--color-bg-soft);
}

.section-header.text-center {
  display: block;
  text-align: center;
  border-bottom: none;
  padding-bottom: 0;
  margin-bottom: var(--space-12);
}

.section-header.text-center p {
  max-width: 52ch;
  margin-inline: auto;
}

.menu-preview-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-6);
  align-items: stretch;
}

.menu-card {
  display: flex;
  flex-direction: column;
  padding: 0;
  overflow: hidden;
  height: 100%;
  box-shadow: var(--shadow-sm);
}

.menu-card__media {
  aspect-ratio: 16 / 9;
  margin: 0;
  border: none;
  border-radius: 0;
  border-bottom: 1px solid var(--color-border-subtle);
  box-shadow: none;
}

.menu-card .card-header,
.menu-card .menu-list {
  padding-inline: var(--space-6);
}

.menu-card .card-header {
  padding-top: var(--space-6);
  margin-bottom: var(--space-4);
}

.menu-card .menu-list {
  padding-bottom: var(--space-6);
  flex: 1;
}

.menu-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
  list-style: none;
  margin: 0;
  padding: 0;
}

.menu-list li {
  padding-bottom: var(--space-4);
  border-bottom: 1px dashed var(--color-border-subtle);
}

.menu-list li:last-child {
  padding-bottom: 0;
  border-bottom: none;
}

.menu-image {
  grid-column: 1 / -1;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  max-height: 340px;
}

.menu-image img {
  width: 100%;
  height: 100%;
  min-height: 220px;
  max-height: 340px;
  object-fit: cover;
}

/* Poker lounge */
.section--poker {
  padding-block: clamp(3rem, 7vw, 5rem);
}

.section--poker .grid-2 {
  align-items: center;
}

.poker-media {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  max-height: none;
}

.poker-media img {
  width: 100%;
  min-height: 300px;
  max-height: 460px;
  object-fit: cover;
  border-radius: var(--radius-lg);
}

.poker-copy h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 2.5vw, 2rem);
}

.poker-details {
  gap: var(--space-4);
}

.poker-details .card {
  background-color: rgba(255, 255, 255, 0.04);
  padding: var(--space-6);
}

.poker-details .card h3 {
  font-size: var(--font-size-md);
  margin-bottom: var(--space-3);
}

/* Tournaments */
.section--tournaments .section-header {
  border-bottom: none;
  padding-bottom: 0;
  margin-bottom: var(--space-8);
  align-items: flex-end;
}

.section--tournaments .section-header h2 {
  margin-bottom: var(--space-3);
}

.menu-tile__title {
  font-family: var(--font-heading);
  font-size: var(--font-size-md);
  margin-bottom: var(--space-2);
}

.card-title {
  font-family: var(--font-heading);
}

.section--tournaments {
  background-color: #fff;
}

.section--tournaments .section-header {
  border-bottom: none;
  padding-bottom: 0;
  margin-bottom: var(--space-8);
}

.tournament-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-6);
}

.tournament-tile {
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius-md);
  background: var(--color-surface);
  box-shadow: var(--shadow-xs);
  transition: box-shadow var(--transition-normal), transform var(--transition-fast);
}

.tournament-tile:hover {
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}

.tournament-tile__media {
  aspect-ratio: 16 / 9;
  margin: 0;
  border: none;
  border-radius: 0;
  border-bottom: 1px solid var(--color-border-subtle);
  box-shadow: none;
}

.tournament-tile__body {
  padding: var(--space-6);
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.tournament-tile__badge {
  display: inline-flex;
  align-self: flex-start;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-pill);
  background: var(--color-primary-soft);
  color: var(--color-primary-dark);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.tournament-cta {
  padding: var(--space-8);
  border: 1px solid var(--color-border-subtle);
  background: linear-gradient(135deg, var(--color-surface) 0%, var(--color-bg-soft) 100%);
}

/* About & story */
.about-image {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.about-image img {
  min-height: 300px;
  max-height: 480px;
  object-fit: cover;
  border-radius: var(--radius-lg);
}

.story-image {
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.story-image img {
  width: 100%;
  min-height: 200px;
  max-height: 320px;
  object-fit: cover;
}

.story-side {
  padding: var(--space-8);
}

.story-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.story-list li {
  padding-left: 1rem;
  border-left: 3px solid var(--color-primary-soft);
}

/* Testimonials */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-6);
  align-items: stretch;
}

.testimonial {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: var(--space-8);
  box-shadow: var(--shadow-xs);
}

.testimonial blockquote p {
  font-family: var(--font-heading);
  font-size: var(--font-size-md);
  line-height: var(--line-height-relaxed);
  font-style: italic;
}

/* Success stories */
.success-grid .card {
  padding: var(--space-6);
  height: 100%;
}

.success-card {
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.success-card__media {
  aspect-ratio: 16 / 10;
  margin: 0;
  border: none;
  border-radius: 0;
  border-bottom: 1px solid var(--color-border-subtle);
  box-shadow: none;
}

.success-card__body {
  padding: var(--space-6);
  flex: 1;
}

/* Booking & FAQ */
.booking-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.booking-list li {
  padding-left: 1.1rem;
  position: relative;
}

.booking-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-primary);
}

.booking-card,
.contact-card {
  padding: var(--space-8);
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-8);
}

.faq-item {
  padding-bottom: var(--space-6);
  border-bottom: 1px solid var(--color-border-subtle);
}

.faq-question {
  font-family: var(--font-heading);
  font-size: var(--font-size-lg);
  margin-bottom: var(--space-3);
}

.nav-link--inline {
  font-size: var(--font-size-sm);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-text-muted);
}

.nav-link--inline:hover {
  color: var(--color-primary-dark);
}

/* Responsive */
@media (max-width: 1024px) {
  .menu-preview-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .tournament-grid,
  .testimonial-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .hero-layout.hero-layout--split {
    grid-template-columns: minmax(0, 1fr);
    align-items: stretch;
  }

  .hero-layout--split .hero-grid {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto;
    min-height: 0;
  }

  .hero-media--primary {
    grid-row: auto;
    grid-column: 1;
  }

  .hero-media--accent:first-of-type,
  .hero-media--accent:last-of-type {
    grid-column: 1;
    grid-row: auto;
  }

  .hero-panel-row {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-intro,
  .hero-media-wall {
    width: 100%;
  }

  .section--poker .poker-media {
    order: -1;
  }

  .tournament-grid,
  .testimonial-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 640px) {
  .hero-lead {
    font-size: var(--font-size-md);
  }

  .hero-panel__title {
    font-size: var(--font-size-md);
  }

  .hero-ctas .btn,
  .poker-copy .btn {
    width: 100%;
    justify-content: center;
  }

  .tournament-cta .flex {
    flex-direction: column;
    align-items: stretch;
  }

  .tournament-cta .btn {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 390px) {
  .container {
    padding-inline: var(--space-4);
  }

  .hero-intro h1 {
    font-size: 1.75rem;
  }

  .hero-media--primary img {
    min-height: 220px;
  }
}
