/* Page-owned styles for Akce page */

.akce-hero {
  background-color: var(--color-walnut);
  color: var(--color-cream);
  padding-block: var(--space-xxxl);
  position: relative;
  overflow: hidden;
}

.akce-hero__inner {
  display: grid;
  grid-template-columns: 60% 40%;
  align-items: center;
  gap: var(--space-xxl);
}

.akce-hero__text {
  min-width: 0;
}

.akce-hero__title {
  font-size: var(--text-display-size);
  line-height: var(--text-display-line-height);
  font-weight: var(--text-display-weight);
  letter-spacing: -0.01em;
  margin-block-end: var(--space-lg);
  max-width: 800px;
}

.akce-hero__lead {
  font-size: var(--text-body-size);
  line-height: var(--text-body-line-height);
  max-width: 60ch;
  margin-block-end: var(--space-xl);
}

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

.akce-hero__media {
  min-width: 0;
}

.akce-hero__image {
  width: 100%;
  height: auto;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  object-fit: cover;
}

.akce-events {
  background-color: var(--color-cream);
  color: var(--color-text-on-light);
  padding-block: var(--space-xxxl);
}

.akce-events__title {
  text-align: center;
  margin-block-end: var(--space-xxl);
}

.akce-events__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-lg);
}

.akce-event-card {
  padding: var(--space-xl);
  border-radius: var(--radius-md);
  border: var(--border-width) solid var(--border-color);
  transition: box-shadow var(--transition-duration) var(--transition-ease),
    border-color var(--transition-duration) var(--transition-ease),
    transform var(--transition-duration) var(--transition-ease);
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.akce-event-card:hover {
  box-shadow: var(--shadow-hover);
  border-color: var(--color-burgundy);
  transform: translateY(-2px);
}

.akce-event-card--forest {
  background-color: var(--color-forest);
  color: var(--color-cream);
}

.akce-event-card--cream {
  background-color: var(--color-cream);
  color: var(--color-text-on-light);
}

.akce-event-card__title {
  font-size: var(--text-h3-size);
  line-height: var(--text-h3-line-height);
  font-weight: var(--text-h3-weight);
  margin-block-end: 0;
}

.akce-event-card__date {
  font-size: var(--text-small-size);
  line-height: var(--text-small-line-height);
  font-weight: 600;
  margin-block-end: 0;
}

.akce-event-card__text {
  font-size: var(--text-body-size);
  line-height: var(--text-body-line-height);
  max-width: 60ch;
  margin-block-end: 0;
}

.akce-holdem {
  background-color: var(--color-forest);
  color: var(--color-cream);
  padding-block: var(--space-xxxl);
}

.akce-holdem__inner {
  display: grid;
  grid-template-columns: 60% 40%;
  gap: var(--space-xxl);
  align-items: center;
}

.akce-holdem__content {
  min-width: 0;
}

.akce-holdem__title {
  margin-block-end: var(--space-lg);
}

.akce-holdem__subtitle {
  margin-block-end: var(--space-sm);
}

.akce-holdem__text {
  max-width: 65ch;
  margin-block-end: var(--space-lg);
}

.akce-holdem__text:last-child {
  margin-block-end: 0;
}

.akce-holdem__media {
  min-width: 0;
}

.akce-holdem__image {
  width: 100%;
  height: auto;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  object-fit: cover;
  transition: transform var(--transition-duration) var(--transition-ease);
}

.akce-holdem__image:hover {
  transform: scale(1.02);
}

.akce-tables {
  background-color: var(--color-walnut);
  color: var(--color-cream);
  padding-block: var(--space-xxxl);
}

.akce-tables__inner {
  display: grid;
  grid-template-columns: 50% 50%;
  gap: var(--space-xxl);
  align-items: center;
}

.akce-tables__content {
  min-width: 0;
}

.akce-tables__title {
  margin-block-end: var(--space-lg);
}

.akce-tables__subtitle {
  margin-block-end: var(--space-sm);
}

.akce-tables__text {
  max-width: 60ch;
  margin-block-end: var(--space-lg);
}

.akce-tables__text:last-child {
  margin-block-end: 0;
}

.akce-tables__media {
  min-width: 0;
}

.akce-tables__image {
  width: 100%;
  height: auto;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  object-fit: cover;
}

.akce-policy {
  background-color: var(--color-cream);
  color: var(--color-text-on-light);
  padding-block: var(--space-xxxl);
  border-top: 2px solid var(--color-burgundy);
  border-bottom: 2px solid var(--color-burgundy);
}

.akce-policy__inner {
  max-width: 800px;
  margin-inline: auto;
  text-align: center;
}

.akce-policy__title {
  margin-block-end: var(--space-lg);
}

.akce-policy__subtitle {
  margin-block-end: var(--space-sm);
}

.akce-policy__text {
  max-width: 55ch;
  margin-inline: auto;
  margin-block-end: var(--space-lg);
}

.akce-policy__text:last-child {
  margin-block-end: 0;
}

.akce-atmosphere {
  position: relative;
  min-height: 600px;
  overflow: hidden;
}

.akce-atmosphere__image-wrapper {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.akce-atmosphere__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.akce-atmosphere__overlay {
  position: relative;
  z-index: 1;
  background: linear-gradient(90deg, rgba(30, 20, 15, 0.85) 0%, rgba(30, 20, 15, 0.5) 50%, rgba(30, 20, 15, 0.2) 100%);
  min-height: 600px;
  display: flex;
  align-items: center;
}

.akce-atmosphere__content {
  width: 100%;
  max-width: var(--container-max-width);
  margin-inline: auto;
  padding-inline: var(--container-padding);
  color: var(--color-cream);
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
}

.akce-atmosphere__title {
  margin-block-end: var(--space-lg);
}

.akce-atmosphere__subtitle {
  margin-block-end: var(--space-sm);
}

.akce-atmosphere__text {
  max-width: 60ch;
  margin-block-end: var(--space-lg);
}

.akce-atmosphere__text:last-child {
  margin-block-end: 0;
}

.akce-reservation {
  background-color: var(--color-burgundy);
  color: var(--color-cream);
  padding-block: var(--space-xxxl);
}

.akce-reservation__title {
  text-align: center;
  margin-block-end: var(--space-xxl);
}

.akce-reservation__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-xxl);
}

.akce-reservation__column {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
  align-items: flex-start;
}

.akce-reservation__subtitle {
  margin-block-end: 0;
}

.akce-reservation__text {
  max-width: 55ch;
  margin-block-end: 0;
}

.akce-reservation__text a {
  color: var(--color-cream);
  text-decoration: underline;
  text-decoration-color: var(--color-cream);
}

.akce-reservation__text a:hover,
.akce-reservation__text a:focus-visible {
  color: var(--color-cream);
  text-decoration-color: var(--color-cream);
}

.akce-reservation__cta {
  min-width: 200px;
}

.akce-faq {
  background-color: var(--color-cream);
  color: var(--color-text-on-light);
  padding-block: var(--space-xxxl);
}

.akce-faq__inner {
  max-width: 800px;
  margin-inline: auto;
}

.akce-faq__title {
  text-align: center;
  margin-block-end: var(--space-xxl);
}

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

.akce-faq__item {
  border-bottom: var(--border-width) solid var(--border-color);
}

.akce-faq__question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  width: 100%;
  padding: var(--space-md) 0;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-heading);
  font-size: var(--text-h3-size);
  line-height: var(--text-h3-line-height);
  font-weight: var(--text-h3-weight);
  color: var(--color-text-on-light);
  text-align: left;
  min-height: 44px;
}

.akce-faq__question:hover,
.akce-faq__question:focus-visible {
  color: var(--color-burgundy);
}

.akce-faq__question:focus-visible {
  outline: var(--focus-outline-width) solid var(--focus-outline-color);
  outline-offset: 2px;
  border-radius: var(--radius-sm);
}

.akce-faq__icon {
  position: relative;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.akce-faq__icon::before,
.akce-faq__icon::after {
  content: "";
  position: absolute;
  background-color: currentColor;
  transition: transform var(--transition-duration) var(--transition-ease);
}

.akce-faq__icon::before {
  top: 50%;
  left: 0;
  width: 100%;
  height: 2px;
  transform: translateY(-50%);
}

.akce-faq__icon::after {
  top: 0;
  left: 50%;
  width: 2px;
  height: 100%;
  transform: translateX(-50%);
}

.akce-faq__item.is-open .akce-faq__icon::after {
  transform: translateX(-50%) scaleY(0);
}

.akce-faq__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-duration) var(--transition-ease),
    padding var(--transition-duration) var(--transition-ease);
  padding: 0 var(--space-md);
}

.akce-faq__item.is-open .akce-faq__answer {
  max-height: 300px;
  padding: 0 var(--space-md) var(--space-md);
}

.akce-faq__answer p {
  max-width: 60ch;
  margin-block-end: 0;
}

@media (max-width: 1024px) {
  .akce-hero__inner {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }

  .akce-hero__media {
    display: none;
  }

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

  .akce-holdem__inner,
  .akce-tables__inner {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }

  .akce-holdem__media,
  .akce-tables__media {
    order: 2;
  }

  .akce-holdem__content,
  .akce-tables__content {
    order: 1;
  }

  .akce-reservation__grid {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }

  .akce-atmosphere__overlay {
    background: linear-gradient(180deg, rgba(30, 20, 15, 0.85) 0%, rgba(30, 20, 15, 0.7) 100%);
  }
}

@media (max-width: 640px) {
  .akce-hero {
    padding-block: var(--space-xxl);
  }

  .akce-hero__title {
    font-size: 1.75rem;
    line-height: 1.2;
  }

  .akce-hero__lead {
    max-width: 100%;
  }

  .akce-events__grid {
    grid-template-columns: 1fr;
  }

  .akce-event-card {
    padding: var(--space-lg);
  }

  .akce-holdem,
  .akce-tables,
  .akce-policy,
  .akce-reservation,
  .akce-faq {
    padding-block: var(--space-xxl);
  }

  .akce-holdem__text,
  .akce-tables__text,
  .akce-policy__text,
  .akce-atmosphere__text,
  .akce-reservation__text {
    max-width: 100%;
  }

  .akce-atmosphere {
    min-height: 500px;
  }

  .akce-atmosphere__overlay {
    min-height: 500px;
  }

  .akce-faq__question {
    font-size: var(--text-body-size);
    line-height: var(--text-body-line-height);
  }
}
