/* ===== Tematikus Programok Page Styles ===== */

.tp-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background-color: #0A0A0A;
}

.tp-hero__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%);
  transition: filter 0.3s ease;
}

.tp-hero:hover .tp-hero__image {
  filter: grayscale(0%);
}

.tp-hero__overlay {
  position: absolute;
  inset: 0;
  background-color: #000000CC;
  z-index: 1;
}

.tp-hero__content {
  position: relative;
  z-index: 2;
  width: min(60%, 720px);
  text-align: center;
  padding: 48px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.tp-hero__kicker {
  margin-block-end: 0;
}

.tp-hero__title {
  font-size: clamp(40px, 6vw, 64px);
  line-height: 1.1;
  margin-block-end: 0;
  color: #F5F0E8;
}

.tp-hero__lead {
  font-size: 18px;
  line-height: 1.6;
  color: #F5F0E8;
  margin-block-end: 0;
  max-width: 540px;
}

.tp-hero__supporting {
  font-size: 14px;
  line-height: 1.5;
  color: #B8B2A8;
  margin-block-end: 0;
  max-width: 480px;
}

.tp-hero__cta {
  display: inline-block;
  padding: 12px 32px;
  background-color: #C6FF00;
  color: #0A0A0A;
  font-weight: 600;
  border-radius: 2px;
  transition: background-color 0.2s ease, color 0.2s ease;
  text-decoration: none;
}

.tp-hero__cta:hover {
  background-color: #1E3A5F;
  color: #F5F0E8;
}

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

  .tp-hero__content {
    width: 100%;
    padding: 32px 16px;
    gap: 16px;
  }

  .tp-hero__title {
    font-size: 32px;
  }

  .tp-hero__lead {
    font-size: 16px;
  }

  .tp-hero__cta {
    width: 100%;
    max-width: 320px;
    text-align: center;
  }
}

/* ===== Bevezetés ===== */
.tp-intro {
  background-color: #0A0A0A;
}

.tp-intro__container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.tp-intro__content {
  min-width: 0;
}

.tp-intro__kicker {
  margin-block-end: 16px;
}

.tp-intro__title {
  margin-block-end: 24px;
}

.tp-intro__text-block {
  margin-block-end: 24px;
}

.tp-intro__text-block p {
  margin-block-end: 0;
}

.tp-intro__text-block--separated {
  border-block-start: 1px solid #3A3A3A;
  padding-block-start: 24px;
  margin-block-end: 0;
}

.tp-intro__visual {
  min-width: 0;
  min-height: 320px;
  background-color: #1A1A1A;
  border: 1px solid #3A3A3A;
}

@media (max-width: 992px) {
  .tp-intro__container {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .tp-intro__visual {
    min-height: 240px;
  }
}

/* ===== Alapelemek ===== */
.tp-elements {
  background-color: #0A0A0A;
}

.tp-elements__kicker {
  margin-block-end: 16px;
}

.tp-elements__title {
  margin-block-end: 32px;
}

.tp-elements__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

.tp-element-card {
  background-color: #1A1A1A;
  border: 1px solid #3A3A3A;
  border-radius: 2px;
  padding: 24px;
  min-width: 0;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.tp-element-card:hover {
  border-color: #C6FF00;
  background-color: #1E1E1E;
}

.tp-element-card__title {
  margin-block-end: 12px;
}

.tp-element-card__text {
  margin-block-end: 0;
  font-size: 14px;
  line-height: 1.5;
  color: #B8B2A8;
}

@media (max-width: 992px) {
  .tp-elements__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .tp-elements__grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

/* ===== Koncepciók ===== */
.tp-concepts {
  background-color: #0A0A0A;
}

.tp-concepts__kicker {
  margin-block-end: 16px;
}

.tp-concepts__title {
  margin-block-end: 32px;
}

.tp-concepts__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 48px;
}

.tp-concepts__column {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.tp-concept {
  min-width: 0;
}

.tp-concept__title {
  margin-block-end: 8px;
}

.tp-concept__text {
  margin-block-end: 0;
  color: #B8B2A8;
}

@media (max-width: 768px) {
  .tp-concepts__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .tp-concepts__column {
    gap: 24px;
  }
}

/* ===== Testreszabás ===== */
.tp-customization {
  background-color: #0A0A0A;
}

.tp-customization__kicker {
  margin-block-end: 16px;
}

.tp-customization__title {
  margin-block-end: 48px;
}

.tp-customization__row {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 48px;
  align-items: center;
  margin-block-end: 64px;
}

.tp-customization__row:last-child {
  margin-block-end: 0;
}

.tp-customization__row--reverse {
  grid-template-columns: 2fr 3fr;
}

.tp-customization__row--reverse .tp-customization__text {
  order: 2;
}

.tp-customization__row--reverse .tp-customization__media {
  order: 1;
}

.tp-customization__text {
  min-width: 0;
}

.tp-customization__subtitle {
  margin-block-end: 12px;
}

.tp-customization__text p {
  margin-block-end: 0;
  color: #B8B2A8;
}

.tp-customization__media {
  min-width: 0;
}

.tp-customization__image {
  width: 100%;
  height: auto;
  border: 1px solid #3A3A3A;
  filter: grayscale(100%);
  transition: filter 0.3s ease, transform 0.3s ease;
}

.tp-customization__image:hover {
  filter: grayscale(0%);
  transform: scale(1.02);
}

@media (max-width: 992px) {
  .tp-customization__row,
  .tp-customization__row--reverse {
    grid-template-columns: 1fr;
    gap: 32px;
    margin-block-end: 48px;
  }

  .tp-customization__row--reverse .tp-customization__text {
    order: 1;
  }

  .tp-customization__row--reverse .tp-customization__media {
    order: 2;
  }
}

/* ===== Galéria ===== */
.tp-gallery {
  background-color: #0A0A0A;
}

.tp-gallery__kicker {
  margin-block-end: 16px;
}

.tp-gallery__title {
  margin-block-end: 16px;
}

.tp-gallery__intro {
  max-width: 70%;
  margin-inline: auto;
  text-align: center;
  margin-block-end: 48px;
  color: #B8B2A8;
}

.tp-gallery__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.tp-gallery__placeholder {
  min-width: 0;
  min-height: 280px;
  background-color: #1A1A1A;
  border: 1px solid #3A3A3A;
}

@media (max-width: 992px) {
  .tp-gallery__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .tp-gallery__intro {
    max-width: 100%;
    text-align: start;
  }

  .tp-gallery__grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .tp-gallery__placeholder {
    min-height: 200px;
  }
}

/* ===== Helyszín és Logisztika ===== */
.tp-location {
  background-color: #0A0A0A;
}

.tp-location__kicker {
  margin-block-end: 16px;
}

.tp-location__title {
  margin-block-end: 48px;
}

.tp-location__row {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 48px;
  align-items: center;
  margin-block-end: 64px;
}

.tp-location__row:last-child {
  margin-block-end: 0;
}

.tp-location__row--reverse {
  grid-template-columns: 2fr 3fr;
}

.tp-location__row--reverse .tp-location__text {
  order: 2;
}

.tp-location__row--reverse .tp-location__media {
  order: 1;
}

.tp-location__text {
  min-width: 0;
}

.tp-location__subtitle {
  margin-block-end: 12px;
}

.tp-location__text p {
  margin-block-end: 0;
  color: #B8B2A8;
}

.tp-location__media {
  min-width: 0;
  min-height: 240px;
}

.tp-location__media--empty {
  background-color: #1A1A1A;
  border: 1px solid #3A3A3A;
}

@media (max-width: 992px) {
  .tp-location__row,
  .tp-location__row--reverse {
    grid-template-columns: 1fr;
    gap: 32px;
    margin-block-end: 48px;
  }

  .tp-location__row--reverse .tp-location__text {
    order: 1;
  }

  .tp-location__row--reverse .tp-location__media {
    order: 2;
  }
}

/* ===== Gyakori Kérdések ===== */
.tp-faq {
  background-color: #0A0A0A;
}

.tp-faq__kicker {
  margin-block-end: 16px;
}

.tp-faq__title {
  margin-block-end: 32px;
}

.tp-faq__list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.tp-faq__item {
  border: 1px solid #3A3A3A;
  border-radius: 2px;
  background-color: #1A1A1A;
}

.tp-faq__question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  padding: 16px 24px;
  background: none;
  border: none;
  color: #F5F0E8;
  font-weight: 600;
  font-size: 16px;
  line-height: 1.5;
  cursor: pointer;
  text-align: start;
}

.tp-faq__question:hover {
  background-color: #1E1E1E;
}

.tp-faq__question:focus-visible {
  outline: 2px solid #C6FF00;
  outline-offset: -2px;
}

.tp-faq__icon {
  flex-shrink: 0;
  width: 12px;
  height: 12px;
  border-inline-end: 2px solid #C6FF00;
  border-block-end: 2px solid #C6FF00;
  transform: rotate(45deg);
  transition: transform 0.2s ease;
}

.tp-faq__question[aria-expanded="true"] .tp-faq__icon {
  transform: rotate(225deg);
}

.tp-faq__answer {
  padding: 0 24px 24px;
}

.tp-faq__answer p {
  margin-block-end: 0;
  color: #B8B2A8;
}

/* ===== Ajánlatkérés ===== */
.tp-cta {
  background-color: #F5F0E8;
  color: #0A0A0A;
}

.tp-cta .gallery-caption {
  color: #1A1A1A;
  border-color: #3A3A3A;
}

.tp-cta__kicker {
  margin-block-end: 16px;
}

.tp-cta__title {
  color: #0A0A0A;
  margin-block-end: 32px;
}

.tp-cta__grid {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 48px;
  align-items: start;
}

.tp-cta__form-wrapper {
  min-width: 0;
}

.tp-cta__intro {
  color: #1A1A1A;
  margin-block-end: 24px;
}

.tp-cta__form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.tp-cta__field {
  min-width: 0;
}

.tp-cta__field--full {
  grid-column: 1 / -1;
}

.tp-cta__field label {
  color: #0A0A0A;
  margin-block-end: 4px;
}

.tp-cta__field input,
.tp-cta__field select,
.tp-cta__field textarea {
  background-color: #1A1A1A;
  color: #F5F0E8;
  border: 1px solid #3A3A3A;
  border-radius: 2px;
  padding: 12px 16px;
  width: 100%;
  margin-block-end: 0;
}

.tp-cta__field input:focus,
.tp-cta__field select:focus,
.tp-cta__field textarea:focus {
  outline: none;
  border-color: #C6FF00;
}

.tp-cta__field input::placeholder,
.tp-cta__field textarea::placeholder {
  color: #B8B2A8;
}

.tp-cta__submit {
  grid-column: 1 / -1;
  justify-self: start;
  background-color: #C6FF00;
  color: #0A0A0A;
  border: none;
  border-radius: 2px;
  padding: 12px 32px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.tp-cta__submit:hover {
  background-color: #1E3A5F;
  color: #F5F0E8;
}

.tp-cta__success {
  grid-column: 1 / -1;
  color: #0A0A0A;
  font-weight: 600;
  margin-block-end: 0;
}

.tp-cta__contact {
  min-width: 0;
  background-color: #1A1A1A;
  border: 1px solid #3A3A3A;
  border-radius: 2px;
  padding: 24px;
}

.tp-cta__contact-title {
  color: #F5F0E8;
  margin-block-end: 16px;
}

.tp-cta__contact-list {
  list-style: none;
  padding-inline-start: 0;
  margin-block-end: 16px;
}

.tp-cta__contact-list li {
  color: #B8B2A8;
  margin-block-end: 8px;
}

.tp-cta__contact-list li:last-child {
  margin-block-end: 0;
}

.tp-cta__contact-list a {
  color: #C6FF00;
}

.tp-cta__contact-list a:hover {
  color: #1E3A5F;
}

.tp-cta__contact-note {
  color: #B8B2A8;
  margin-block-end: 0;
}

@media (max-width: 992px) {
  .tp-cta__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

@media (max-width: 640px) {
  .tp-cta__form {
    grid-template-columns: 1fr;
  }

  .tp-cta__field--full {
    grid-column: auto;
  }

  .tp-cta__submit {
    grid-column: auto;
    width: 100%;
  }

  .tp-cta__success {
    grid-column: auto;
  }
}
