/* Page-owned styles for privat-rendezvenyek */

.privat-main {
  display: block;
}

/* Hero */
.privat-hero {
  padding-block: var(--space-xxl);
}

.privat-hero__container {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
  gap: var(--space-lg);
  align-items: center;
}

.privat-hero__content {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  min-width: 0;
}

.privat-hero__title {
  margin-block-end: 0;
  font-size: clamp(2rem, 4.5vw, 2.5rem);
  line-height: 1.2;
  font-weight: 700;
  color: var(--text-primary);
}

.privat-hero__lead {
  max-width: 60ch;
  margin-block-end: 0;
  color: var(--text-primary);
  font-size: 1rem;
  line-height: 1.6;
}

.privat-hero__points {
  list-style: none;
  padding-inline-start: 0;
  margin-block-end: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  max-width: 60ch;
}

.privat-hero__points li {
  position: relative;
  padding-inline-start: var(--space-lg);
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.privat-hero__points li::before {
  content: "\2022";
  position: absolute;
  left: 0;
  color: var(--accent-secondary);
}

.privat-hero__note {
  max-width: 60ch;
  margin-block-end: 0;
  color: var(--text-secondary);
  font-size: var(--text-small-size);
  line-height: 1.4;
}

.privat-hero__cta {
  display: inline-block;
  align-self: flex-start;
  padding: var(--space-sm) var(--space-lg);
  background-color: transparent;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-weight: 500;
  text-decoration: none;
  transition: background-color 0.2s ease-in-out, border-color 0.2s ease-in-out, color 0.2s ease-in-out;
}

.privat-hero__cta:hover {
  background-color: var(--accent-primary);
  border-color: var(--accent-primary);
  color: var(--text-primary);
  text-decoration: none;
}

.privat-hero__media-wrapper {
  min-width: 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
}

.privat-hero__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: brightness(0.7) contrast(1.05);
  border: none;
  border-radius: 0;
  transition: transform 0.4s ease-in-out;
}

.privat-hero__image:hover {
  transform: scale(1.02);
}

/* Why section */
.privat-why {
  padding-block: var(--space-xxl);
}

.privat-why__title {
  margin-block-end: var(--space-xl);
  text-align: center;
}

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

.privat-why__card {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  min-width: 0;
  padding: var(--space-lg);
  text-align: center;
  transition: background-color 0.2s ease-in-out, border-color 0.2s ease-in-out, transform 0.2s ease-in-out;
}

.privat-why__card:hover {
  background-color: var(--bg-overlay);
  border-color: var(--accent-secondary);
  transform: scale(1.02);
}

.privat-why__card-title {
  margin-block-end: 0;
  font-size: var(--text-h3-size);
  line-height: 1.3;
  font-weight: 600;
}

.privat-why__card-text {
  margin-block-end: 0;
  max-width: 55ch;
  margin-inline: auto;
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.5;
}

/* Venue section */
.privat-venue {
  padding-block: var(--space-xxl);
}

.privat-venue__title {
  margin-block-end: var(--space-xl);
}

.privat-venue__row {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
  gap: var(--space-lg);
  align-items: center;
  margin-block-end: var(--space-xl);
}

.privat-venue__row--reverse {
  grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
}

.privat-venue__row--reverse .privat-venue__text {
  order: 2;
}

.privat-venue__row--reverse .privat-venue__media {
  order: 1;
}

.privat-venue__text {
  min-width: 0;
}

.privat-venue__subtitle {
  margin-block-end: var(--space-md);
  font-size: var(--text-h3-size);
  line-height: 1.3;
  font-weight: 600;
}

.privat-venue__description {
  max-width: 60ch;
  margin-block-end: 0;
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.5;
}

.privat-venue__media {
  min-width: 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
}

.privat-venue__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: brightness(0.7) contrast(1.05);
  border: none;
  border-radius: 0;
  transition: transform 0.4s ease-in-out;
}

.privat-venue__image:hover {
  transform: scale(1.02);
}

/* Events section */
.privat-events {
  padding-block: var(--space-xxl);
}

.privat-events__title {
  margin-block-end: var(--space-xl);
}

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

.privat-events__card {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  min-width: 0;
  padding: var(--space-lg);
  text-align: left;
  transition: background-color 0.2s ease-in-out, border-color 0.2s ease-in-out;
}

.privat-events__card:hover {
  background-color: var(--bg-overlay);
  border-color: var(--accent-secondary);
}

.privat-events__card-title {
  margin-block-end: 0;
  font-size: var(--text-h3-size);
  line-height: 1.3;
  font-weight: 600;
}

.privat-events__card-text {
  margin-block-end: 0;
  max-width: 55ch;
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.5;
}

/* Gastronomy section */
.privat-gastronomy {
  padding-block: var(--space-xxl);
}

.privat-gastronomy__title {
  margin-block-end: var(--space-xl);
}

.privat-gastronomy__layout {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
  gap: var(--space-lg);
  align-items: start;
}

.privat-gastronomy__text {
  min-width: 0;
}

.privat-gastronomy__subtitle {
  margin-block-end: var(--space-md);
  font-size: var(--text-h3-size);
  line-height: 1.3;
  font-weight: 600;
}

.privat-gastronomy__description {
  max-width: 60ch;
  margin-block-end: var(--space-lg);
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.5;
}

.privat-gastronomy__media {
  min-width: 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
}

.privat-gastronomy__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: brightness(0.7) contrast(1.05);
  border: none;
  border-radius: 0;
  transition: transform 0.4s ease-in-out;
}

.privat-gastronomy__image:hover {
  transform: scale(1.02);
}

/* Booking section */
.privat-booking {
  padding-block: var(--space-xxl);
}

.privat-booking__title {
  margin-block-end: var(--space-xl);
}

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

.privat-booking__step {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  min-width: 0;
  padding: var(--space-lg);
  transition: background-color 0.2s ease-in-out, border-color 0.2s ease-in-out;
}

.privat-booking__step:hover {
  background-color: var(--bg-overlay);
  border-color: var(--accent-secondary);
}

.privat-booking__step-title {
  margin-block-end: 0;
  font-size: var(--text-h3-size);
  line-height: 1.3;
  font-weight: 600;
}

.privat-booking__step-text {
  margin-block-end: 0;
  max-width: 60ch;
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.5;
}

/* FAQ section */
.privat-faq {
  padding-block: var(--space-xxl);
}

.privat-faq__title {
  margin-block-end: var(--space-xl);
}

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

.privat-faq__item {
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  background-color: var(--bg-elevated);
  overflow: hidden;
}

.privat-faq__question {
  display: block;
  width: 100%;
  padding: var(--space-md) var(--space-lg);
  background-color: transparent;
  border: none;
  border-radius: 0;
  color: var(--text-primary);
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out;
}

.privat-faq__question:hover {
  background-color: var(--bg-overlay);
  color: var(--accent-secondary);
}

.privat-faq__question[aria-expanded="true"] {
  background-color: var(--bg-overlay);
  color: var(--accent-secondary);
}

.privat-faq__answer {
  padding: 0 var(--space-lg) var(--space-lg);
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.5;
}

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

/* Contact section */
.privat-contact {
  padding-block: var(--space-xxl);
}

.privat-contact__title {
  margin-block-end: var(--space-xl);
}

.privat-contact__layout {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
  gap: var(--space-xl);
  align-items: start;
}

.privat-contact__info {
  min-width: 0;
}

.privat-contact__subtitle {
  margin-block-end: var(--space-md);
  font-size: var(--text-h3-size);
  line-height: 1.3;
  font-weight: 600;
}

.privat-contact__text {
  max-width: 60ch;
  margin-block-end: var(--space-md);
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.5;
}

.privat-contact__list {
  list-style: none;
  padding-inline-start: 0;
  margin-block-end: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.privat-contact__list a {
  color: var(--accent-secondary);
}

.privat-contact__list a:hover {
  color: var(--accent-primary);
}

.privat-contact__form-wrapper {
  min-width: 0;
}

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

.privat-contact__field {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
  min-width: 0;
}

.privat-contact__field label {
  font-size: var(--text-small-size);
  line-height: 1.4;
  color: var(--text-secondary);
}

.privat-contact__field input,
.privat-contact__field select,
.privat-contact__field textarea {
  width: 100%;
  max-width: 100%;
  padding: var(--space-sm) var(--space-md);
  font-family: var(--font-body);
  font-size: var(--text-body-size);
  line-height: 1.6;
  color: var(--text-primary);
  background-color: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  transition: border-color 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

.privat-contact__field input:focus,
.privat-contact__field select:focus,
.privat-contact__field textarea:focus {
  outline: none;
  border-color: var(--accent-secondary);
  box-shadow: 0 0 0 2px var(--focus-ring-color);
}

.privat-contact__field textarea {
  min-height: 120px;
  resize: vertical;
}

.privat-contact__error {
  margin-block-end: 0;
  color: #ff6b6b;
  font-size: var(--text-small-size);
  line-height: 1.4;
}

.privat-contact__submit {
  align-self: flex-start;
  padding: var(--space-sm) var(--space-lg);
  background-color: transparent;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.2s ease-in-out, border-color 0.2s ease-in-out, color 0.2s ease-in-out;
}

.privat-contact__submit:hover {
  background-color: var(--accent-primary);
  border-color: var(--accent-primary);
  color: var(--text-primary);
}

.privat-contact__success {
  margin-block-end: 0;
  color: #6bff6b;
  font-size: 0.95rem;
  line-height: 1.5;
}

/* Reveal animation */
.privat-hero,
.privat-why,
.privat-venue,
.privat-events,
.privat-gastronomy,
.privat-booking,
.privat-faq,
.privat-contact {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease-in-out, transform 0.5s ease-in-out;
}

.privat-hero.visible,
.privat-why.visible,
.privat-venue.visible,
.privat-events.visible,
.privat-gastronomy.visible,
.privat-booking.visible,
.privat-faq.visible,
.privat-contact.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Tablet breakpoint */
@media (max-width: 1024px) {
  .privat-hero__container {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

  .privat-hero__media-wrapper {
    order: -1;
    max-height: 400px;
  }

  .privat-hero__image {
    height: 100%;
    object-fit: cover;
  }

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

  .privat-venue__row,
  .privat-venue__row--reverse {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

  .privat-venue__row--reverse .privat-venue__text {
    order: 1;
  }

  .privat-venue__row--reverse .privat-venue__media {
    order: 2;
  }

  .privat-gastronomy__layout {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

  .privat-contact__layout {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }
}

/* Mobile breakpoint */
@media (max-width: 768px) {
  .privat-hero,
  .privat-why,
  .privat-venue,
  .privat-events,
  .privat-gastronomy,
  .privat-booking,
  .privat-faq,
  .privat-contact {
    padding-block: var(--space-xl);
  }

  .privat-hero__title {
    font-size: clamp(1.75rem, 7vw, 2rem);
  }

  .privat-hero__lead,
  .privat-hero__points,
  .privat-hero__note {
    max-width: 100%;
  }

  .privat-hero__cta {
    width: 100%;
    text-align: center;
  }

  .privat-why__grid,
  .privat-events__grid,
  .privat-booking__grid {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }

  .privat-why__card,
  .privat-events__card,
  .privat-booking__step {
    padding: var(--space-md);
  }

  .privat-venue__row,
  .privat-venue__row--reverse {
    margin-block-end: var(--space-lg);
  }

  .privat-venue__media,
  .privat-gastronomy__media {
    max-height: 300px;
  }

  .privat-venue__image,
  .privat-gastronomy__image {
    height: 100%;
    object-fit: cover;
  }

  .privat-faq__question {
    padding: var(--space-md);
    font-size: 1rem;
  }

  .privat-faq__answer {
    padding: 0 var(--space-md) var(--space-md);
  }

  .privat-contact__submit {
    width: 100%;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .privat-hero__media-wrapper {
    max-height: 250px;
  }

  .privat-venue__media,
  .privat-gastronomy__media {
    max-height: 220px;
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .privat-hero,
  .privat-why,
  .privat-venue,
  .privat-events,
  .privat-gastronomy,
  .privat-booking,
  .privat-faq,
  .privat-contact {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .privat-hero__image:hover,
  .privat-venue__image:hover,
  .privat-gastronomy__image:hover {
    transform: none;
  }

  .privat-why__card:hover,
  .privat-events__card:hover,
  .privat-booking__step:hover {
    transform: none;
  }
}
