:root {
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --gradient-brand: linear-gradient(
    135deg,
    #4a32ff 0%,
    #3820e5 50%,
    #2c18bf 100%
  );
  --gradient-hero: linear-gradient(
    135deg,
    #111111 0%,
    #232329 35%,
    #3820e5 100%
  );
  --gradient-soft: linear-gradient(
    135deg,
    #2b2b33 0%,
    #232329 45%,
    #3820e5 100%
  );
}

html:not(.theme-color-yellow) {
  --color-primary: #3820e5;
  --color-primary-hover: #2c18bf;
  --color-accent: #4a32ff;
  --color-bg-dark: #232329;
  --color-bg-secondary: #2b2b33;
  --color-black: #111111;
  --color-text-light: #f5f7ff;
  --color-text-muted: #b4b8c8;
  --color-border: #3a3b46;
}

.footer__text {
  font-weight: 400 !important;
}

.headline__copy,
.plain-text {
  font-size: 16px;
  line-height: 1.5;
}

html:not(.theme-color-yellow) .headline__copy,
html:not(.theme-color-yellow) .plain-text {
  color: var(--color-bg-dark);
}

.about-section__inner {
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  align-items: center;
}

.about-section__image-wrap {
  border-radius: 18px;
  overflow: hidden;
}

html:not(.theme-color-yellow) .about-section__image-wrap {
  background: #e9e9e9;
}

.about-section__image {
  width: 100%;
  height: auto;
  display: block;
}

.about-section__content {
  max-width: 680px;
}

.about-section__content h2 {
  margin: 0 0 20px;
  font-size: 42px;
  line-height: 1.1;
  font-weight: 800;
}

html:not(.theme-color-yellow) .about-section__content h2 {
  color: #1f1f1f;
}

.about-section__content p:last-child {
  margin-bottom: 0;
}

.about-section__button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}

@media (max-width: 991px) {
  .about-section__inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .about-section__content h2 {
    font-size: 34px;
  }

  .about-section__content p {
    font-size: 16px;
  }
}

@media (max-width: 575px) {
  .about-section {
    padding: 32px 16px;
  }

  .about-section__content h2 {
    font-size: 28px;
  }

  .about-section__content p {
    font-size: 16px;
    line-height: 1.6;
  }
}

.footer__text {
  font-weight: 700;
}

@media (min-width: 1200px) {
  html:not(.theme-color-yellow) .menu .header__category.selected > a,
  html:not(.theme-color-yellow) .menu .header__category.selected > a:active,
  html:not(.theme-color-yellow) .menu .header__category.selected > a:hover,
  html:not(.theme-color-yellow) .menu .header__category.selected > a:visited,
  html:not(.theme-color-yellow)
    .menu
    .header__category.selected
    > a:visited:active,
  html:not(.theme-color-yellow)
    .menu
    .header__category.selected
    > a:visited:hover,
  html:not(.theme-color-yellow) .menu .header__category.selected > button,
  html:not(.theme-color-yellow)
    .menu
    .header__category.selected
    > button:active,
  html:not(.theme-color-yellow) .menu .header__category.selected > button:hover,
  html:not(.theme-color-yellow)
    .menu
    .nav__subnav-parent:not(.menu__dropdown .nav__subnav-parent).selected
    > a,
  html:not(.theme-color-yellow)
    .menu
    .nav__subnav-parent:not(.menu__dropdown .nav__subnav-parent).selected
    > a:active,
  html:not(.theme-color-yellow)
    .menu
    .nav__subnav-parent:not(.menu__dropdown .nav__subnav-parent).selected
    > a:hover,
  html:not(.theme-color-yellow)
    .menu
    .nav__subnav-parent:not(.menu__dropdown .nav__subnav-parent).selected
    > a:visited,
  html:not(.theme-color-yellow)
    .menu
    .nav__subnav-parent:not(.menu__dropdown .nav__subnav-parent).selected
    > a:visited:active,
  html:not(.theme-color-yellow)
    .menu
    .nav__subnav-parent:not(.menu__dropdown .nav__subnav-parent).selected
    > a:visited:hover,
  html:not(.theme-color-yellow)
    .menu
    .nav__subnav-parent:not(.menu__dropdown .nav__subnav-parent).selected
    > button,
  html:not(.theme-color-yellow)
    .menu
    .nav__subnav-parent:not(.menu__dropdown .nav__subnav-parent).selected
    > button:active,
  html:not(.theme-color-yellow)
    .menu
    .nav__subnav-parent:not(.menu__dropdown .nav__subnav-parent).selected
    > button:hover {
    color: var(--color-accent);
  }
}

html:not(.theme-color-yellow) .product__box-function:active,
html:not(.theme-color-yellow) .product__box-function:hover,
html:not(.theme-color-yellow) .product__box-title,
html:not(.theme-color-yellow) .products__functions-title {
  color: var(--color-bg-dark) !important;
}

html:not(.theme-color-yellow) .product__box-title a:hover {
  color: var(--color-accent);
}

html:not(.theme-color-yellow) .filter__button.button--secondary {
  background-color: var(--color-bg-secondary);
}

html:not(.theme-color-yellow) .product__box-add-to-cart,
html:not(.theme-color-yellow) .product__inputs > .button {
  background-color: var(--color-accent);
}

html:not(.theme-color-yellow) .product__box-add-to-cart:hover,
html:not(.theme-color-yellow) .product__inputs > .button:hover {
  background-color: #2f373d !important;
}

html:not(.theme-color-yellow) .header__icon-counter,
html:not(.theme-color-yellow) .contact__content {
  background-color: var(--color-accent);
}

html:not(.theme-color-yellow) .header__top,
html:not(.theme-color-yellow) .footer {
  color: var(--color-text-light);
}

html:not(.theme-color-yellow) .footer a:active,
html:not(.theme-color-yellow) .footer a:hover,
html:not(.theme-color-yellow) .footer button:active,
html:not(.theme-color-yellow) .footer button:hover,
html:not(.theme-color-yellow) .footer__links .icon,
html:not(.theme-color-yellow) .footer__links a:only-child:before,
html:not(.theme-color-yellow) .footer__params .icon,
html:not(.theme-color-yellow) .footer__params a:only-child:before,
html:not(.theme-color-yellow) .footer__share-item a:hover {
  color: var(--color-text-light);
}

html:not(.theme-color-yellow) .header__cart-trigger {
  color: var(--color-accent);
}

@media (min-width: 1200px) {
  html:not(.theme-color-yellow) .dropdown a:active,
  html:not(.theme-color-yellow) .dropdown a:hover,
  html:not(.theme-color-yellow) .dropdown a:visited:active,
  html:not(.theme-color-yellow) .dropdown a:visited:hover,
  html:not(.theme-color-yellow) .menu .menu__dropdown a:active,
  html:not(.theme-color-yellow) .menu .menu__dropdown a:hover,
  html:not(.theme-color-yellow) .menu .menu__dropdown a:visited:active,
  html:not(.theme-color-yellow) .menu .menu__dropdown a:visited:hover {
    background-color: var(--color-primary-hover);
  }
}

html:not(.theme-color-yellow) .formbuilder-gdprConsent,
html:not(.theme-color-yellow) .formbuilder-gdprConsent--red,
html:not(.theme-color-yellow) .sys-msg,
html:not(.theme-color-yellow) .sys-msg--red {
  background-color: var(--color-bg-secondary);
}

html:not(.theme-color-yellow) .cover__subtitle,
html:not(.theme-color-yellow) .cover__title,
html:not(.theme-color-yellow) .form__item .fl-wrap-input.fl-is-active .fl-label,
html:not(.theme-color-yellow)
  .form__item
  .fl-wrap-textarea.fl-is-active
  .fl-label,
html:not(.theme-color-yellow) legend,
html:not(.theme-color-yellow) .button--simple {
  color: var(--color-bg-dark) !important;
}

html:not(.theme-color-yellow) .footer {
  background: var(--gradient-brand);
}

html:not(.theme-color-yellow) .footer__bottom {
  background-color: var(--color-bg-dark);
}

html:not(.theme-color-yellow) .header {
  background-color: var(--color-text-light);
}

html:not(.theme-color-yellow) .header__top {
  background: var(--gradient-brand);
}

@media (min-width: 1200px) {
  html:not(.theme-color-yellow) .header .icon-buttons a:hover,
  html:not(.theme-color-yellow) .header .icon-buttons button:hover,
  html:not(.theme-color-yellow) .menu a:active,
  html:not(.theme-color-yellow) .menu a:hover,
  html:not(.theme-color-yellow) .menu a:visited:active,
  html:not(.theme-color-yellow) .menu a:visited:hover,
  html:not(.theme-color-yellow) .menu button:active,
  html:not(.theme-color-yellow) .menu button:hover,
  html:not(.theme-color-yellow) .menu button:visited:active,
  html:not(.theme-color-yellow) .menu button:visited:hover,
  html:not(.theme-color-yellow) .menu li.active > a,
  html:not(.theme-color-yellow) .menu li.active > a:visited,
  html:not(.theme-color-yellow) .menu li.active > button,
  html:not(.theme-color-yellow) .menu li.selected > a,
  html:not(.theme-color-yellow) .menu li.selected > a:visited,
  html:not(.theme-color-yellow) .menu li.selected > button {
    color: var(--color-primary);
  }
}

@media (min-width: 1200px) {
  .header__logo img {
    max-height: 65px;
  }
}

html:not(.theme-color-yellow) .header {
  color: var(--color-black);
}

.hotel-categories__grid {
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.hotel-card {
  border-radius: 16px;
  overflow: hidden;
}

html:not(.theme-color-yellow) .hotel-card {
  background: #f5f1eb;
}

.hotel-card__image-wrap {
  position: relative;
  line-height: 0;
}

.hotel-card__image-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}

html:not(.theme-color-yellow) .hotel-card__image-wrap::after {
  background: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0.42) 0%,
    rgba(0, 0, 0, 0.18) 38%,
    rgba(0, 0, 0, 0.04) 65%,
    rgba(0, 0, 0, 0) 100%
  );
}

.hotel-card__image {
  width: 100%;
  height: auto;
  display: block;
}

.hotel-card__content {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 28px;
  right: auto;
  bottom: auto;
  z-index: 2;
  width: 42%;
  max-width: 420px;
  line-height: 1.2;
}

.hotel-card__content h3 {
  margin: 0 0 22px;
  font-size: 20px;
  line-height: 1.08;
  font-weight: 800;
}

html:not(.theme-color-yellow) .hotel-card__content h3 {
  color: #fff;
}

.hotel-card__content p {
  margin: 0;
  line-height: normal;
}

.hotel-card__content .button,
.hotel-card__button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}

img.hotel-card__image {
  margin-bottom: 0 !important;
}

.hotel-card {
  margin-bottom: 0 !important;
}

@media (max-width: 991px) {
  .hotel-categories__grid {
    grid-template-columns: 1fr;
  }

  .hotel-card__content {
    top: 22px;
    left: 22px;
    width: 52%;
  }

  .hotel-card__content h3 {
    font-size: 24px;
    margin-bottom: 16px;
  }
}

@media (max-width: 575px) {
  .hotel-categories__grid {
    gap: 16px;
  }

  .hotel-card__content {
    top: 50%;
    transform: translateY(-50%);
    left: 16px;
    width: 100%;
    max-width: 200px;
  }

  .hotel-card__content h3 {
    font-size: 15px;
    margin-bottom: 0px !important;
  }

  .hotel-card__content .button,
  .hotel-card__button {
    display: none;
  }
}

html:not(.theme-color-yellow) .button,
html:not(.theme-color-yellow)
  .jconfirm
  .jconfirm-box
  .jconfirm-buttons
  button.btn-default,
html:not(.theme-color-yellow)
  .jconfirm.jconfirm-dark
  .jconfirm-box
  .jconfirm-buttons
  button.btn-default,
html:not(.theme-color-yellow)
  .jconfirm.jconfirm-light
  .jconfirm-box
  .jconfirm-buttons
  button.btn-default,
html:not(.theme-color-yellow)
  .trafify-form-element
  .rendered-form
  .form__item--submit
  .button {
  background: var(--color-accent);
  color: white !important;
}

.footer__tender-images,
.footer__tender-text {
  text-align: center;
}

.footer__tender-images img {
  width: 100%;
  max-width: 250px;
  height: 100%;
  padding: 1rem 0;
}

.footer__tender-imgcontainer {
  display: flex;
  justify-content: center;
  align-items: center;
  column-gap: 25px;
}

@media (max-width: 768px) {
  .footer__tender-imgcontainer {
    flex-direction: column;
  }
}

li:has(a[href$="szemelyes-adatok-kezelese"]),
main:has(.cover--product_details) nav.tabs__header.js-tabs-header,
.cover .page-wrapper:has(.breadcrumbs) {
  display: none !important;
}

/* RÓLUNK */

.about-values {
  padding: 72px 40px;
  border-radius: 18px;
}

.about-values {
  background: var(--gradient-soft);
  color: var(--color-text-light);
}

.about-values__inner {
  margin: 0 auto;
}

.about-values__intro {
  margin-bottom: 36px !important;
}

.about-values__intro h2 {
  margin: 0 0 16px;
  font-size: 40px;
  line-height: 1.1;
  font-weight: 800;
}

html:not(.theme-color-yellow) .about-values__intro h2 {
  color: var(--color-text-light);
}

.about-values__intro p {
  margin: 0;
  font-size: 18px;
  line-height: 1.7;
}

html:not(.theme-color-yellow) .about-values__intro p {
  color: var(--color-text-muted);
}

.about-values__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.about-values__card {
  border-width: 1px;
  border-style: solid;
  border-radius: 18px;
  padding: 28px;
}

html:not(.theme-color-yellow) .about-values__card {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(4px);
}

.about-values__card h3 {
  margin: 0 0 14px;
  font-size: 24px;
  line-height: 1.2;
  font-weight: 800;
}

html:not(.theme-color-yellow) .about-values__card h3 {
  color: var(--color-text-light);
}

.about-values__card p {
  margin: 0;
  font-size: 16px;
  line-height: 1.7;
}

html:not(.theme-color-yellow) .about-values__card p {
  color: var(--color-text-muted);
}

.about-values__closing {
  margin-top: 36px;
  padding-top: 28px;
  border-top-width: 1px;
  border-top-style: solid;
}

html:not(.theme-color-yellow) .about-values__closing {
  border-top-color: rgba(255, 255, 255, 0.12);
}

.about-values__closing p {
  margin: 0;
  font-size: 24px;
  line-height: 1.4;
  font-weight: 700;
  text-align: center;
}

html:not(.theme-color-yellow) .about-values__closing p {
  color: var(--color-text-light);
}

@media (max-width: 991px) {
  .about-values {
    padding: 56px 30px;
  }

  .about-values__intro h2 {
    font-size: 34px;
  }

  .about-values__grid {
    grid-template-columns: 1fr;
  }

  .about-values__card h3 {
    font-size: 22px;
  }
}

@media (max-width: 575px) {
  .about-values {
    padding: 40px 20px;
  }

  .about-values__intro h2 {
    font-size: 28px;
  }

  .about-values__intro p,
  .about-values__card p {
    font-size: 16px;
    line-height: 1.6;
  }

  .about-values__card {
    padding: 22px;
  }

  .about-values__closing p {
    font-size: 20px;
  }
}

.hotel-card {
  cursor: pointer;
}

/* ===== Reveal animations ===== */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.7s var(--ease),
    transform 0.7s var(--ease);
  transition-delay: var(--d, 0s);
  will-change: opacity, transform;
}

.reveal-left {
  transform: translateX(32px);
}

.reveal-right {
  transform: translateX(-32px);
}

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

.stagger .stagger-item {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.7s var(--ease),
    transform 0.7s var(--ease);
  will-change: opacity, transform;
}

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

.stagger.is-visible .stagger-item:nth-child(1) {
  transition-delay: 0.05s;
}

.stagger.is-visible .stagger-item:nth-child(2) {
  transition-delay: 0.14s;
}

.stagger.is-visible .stagger-item:nth-child(3) {
  transition-delay: 0.23s;
}

.stagger.is-visible .stagger-item:nth-child(4) {
  transition-delay: 0.32s;
}

.stagger.is-visible .stagger-item:nth-child(5) {
  transition-delay: 0.41s;
}

.stagger.is-visible .stagger-item:nth-child(6) {
  transition-delay: 0.5s;
}

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