/* ===========================================
   GLOBÁLIS BEÁLLÍTÁSOK ÉS VÁLTOZÓK
   ========================================== */

:root {
  --menu-font: "proxima-nova", sans-serif;
  --primary-color: #02afcd;
  --primary-hover: #018fa5;
  --accent-color: #fffbec;
  --white: #ffffff;
  --black: #000000;
  --dark-bg: #1d2644;
  --text-light: #666;
  --border-radius: 100px;
  --transition: all 0.3s ease;
}

body {
  padding-top: 90px;
  font-family: var(--menu-font);
}

body.admin-bar .menu-outer-container {
  top: 32px;
}

/* ===========================================
   MENÜ KONTÉNEREK
   ========================================== */

.menu-outer-container {
  width: 100%;
  background: #edffe100;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: var(--transition);
  opacity: 1;
  padding-bottom: 20px;
}

.menu-outer-container.aloldalmenu {
  background: var(--dark-bg) !important;
}


.sticky-visible .menu-items-main {
    background: rgb(255 251 236 / 0%);
    border-radius: 45px;
}

.sticky-visible a.current-menu-item {
    background: #d21c4e;
    color: #ffffff;
}


.sticky-visible .menu-item-wrapper > a:hover {
    color: #ffffff !important;
}

.responsive-menu-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  padding: 15px 0;
  z-index: 999;
  gap: 25px;
  width: 1200px;
  justify-content: space-between;
}

.responsive-menu-container {
  position: relative;
  height: 75px;
  display: flex;
  border-bottom: 0px solid #ffffff3b;
  font-family: var(--menu-font);
  margin-top: 20px;
}

/* ===========================================
   TOPBAR MENÜ
   ========================================== */

.topbar-wrapper {
  width: 100%;
}

.topbar-menu {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  gap: 20px;
  padding: 10px 0;
  flex-direction: row-reverse;
  border-bottom: 1px solid #ffffff24;
}

.topbar-left {
  display: flex;
  gap: 20px;
}

.topbar-menu a,
.topbar-right a {
  color: var(--white);
  font-family: var(--menu-font);
  font-size: 13px;
  font-weight: 400;
  text-decoration: none;
  transition: color 0.3s ease;
}

.topbar-menu a:hover {
  color: var(--primary-color);
}

.topbar-right {
  color: var(--white);
  font-family: var(--menu-font);
  font-size: 12px;
  font-weight: 400;
  display: flex;
  gap: 15px;
}

/* ===========================================
   DESKTOP MENÜ
   ========================================== */

.desktop-menu {
  display: flex;
  flex-direction: row;
  font-family: var(--menu-font);
}

.desktop-menu-container {
  display: flex;
  gap: 5px;
  position: relative;
  align-items: center;
}

.menu-items {
  display: flex;
  gap: 30px;
  align-items: center;
}

.menu-items-main {
  background: rgb(255 255 255 / 15%);
  border-radius: 45px;
}

.menu-item-wrapper {
  position: relative;
  display: inline-block;
}

.menu-item-wrapper > a {
  text-decoration: none;
  position: relative;
  display: flex;
  padding: 15px 30px;
  color: var(--white);
  font-size: 17px;
  font-style: normal;
  font-weight: 500;
  line-height: 110%;
  transition: var(--transition);
}

.menu-item-wrapper > a:hover {
  background-color: #cc003a;
  color: var(--white);
  border-radius: 45px;
}

a.current-menu-item {
  border-radius: var(--border-radius);
  background: var(--accent-color);
color: #000000;
  font-weight: 500;
      border-radius: 45px;
  padding: 15px 40px;
}

a.kiemelesmenu {
  border-radius: 15px;
  border: 1px solid var(--white);
  padding: 6px 15px;
  transition: var(--transition);
}

a.kiemelesmenu:hover {
  text-decoration: none;
      border-radius: 45px;
  background-color: var(--primary-color);
  color: var(--white);
  border-color: var(--primary-color);
}

/* ===========================================
   DROPDOWN MENÜ
   ========================================== */

.dropdown-menu {
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.4s ease, transform 0.4s ease, visibility 0.4s ease;
  display: block;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 200px;
    background-color: rgb(255 251 237);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  padding: 10px 0;
  border-radius: 5px;
}

.menu-item-wrapper:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu a {
  display: block;
  padding: 8px 15px;
color:black;
  text-decoration: none;
  font-size: 15px;
  font-weight: 400;
  transition: background-color 0.3s ease;
  position: relative;
}

.dropdown-menu a:hover {
  font-weight: 500;
}

.dropdown-menu a:hover .link-text::after {
  width: 100%;
}

.dropdown-arrow {
  margin-left: 1px;
  transition: transform 0.3s ease;
  display: none;
  align-items: flex-end;
  height: 24px;
}

.dropdown-arrow svg {
  fill: var(--white);
  transition: fill 0.4s ease;
}

.menu-items-button {
    display: none;
}

/* ===========================================
   MOBIL MENÜ
   ========================================== */

.mobile-menu {
  display: none;
}

.mobile-menu-toggle {
  display: none;
  background: transparent;
  color: var(--white);
  padding: 0;
  cursor: pointer;
}

svg#fi_9121er524 {
  fill: var(--white);
  width: 42px;
  height: auto;
  margin-bottom: -3px;
}

svg#fi_2722987 {
  height: auto;
  width: 18px;
}

.mobile-menu-overlay {
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-menu-overlay.open {
  opacity: 1;
  visibility: visible;
}

.mobile-menu-content {
  background: var(--black);
  padding: 20px;
  position: absolute;
  right: 0;
  top: 0;
  height: 100%;
  width: 80%;
  max-width: 300px;
  box-shadow: -2px 0 5px rgba(0, 0, 0, 0.5);
  overflow-y: auto;
  transition: transform 0.3s ease;
  transform: translateX(100%);
}

.mobile-menu-overlay.open .mobile-menu-content {
  transform: translateX(0);
}

.mobile-menu-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

button.mobile-menu-close {
  background: transparent;
  color: var(--white);
  padding: 0;
  font-size: 22px;
}

nav.mobile-menu-nav {
  margin-top: 31px;
}

.mobile-menu-item {
  padding-top: 12px;
  padding-bottom: 0;
}

.mobile-menu-item:last-child {
  border-bottom: none;
}

.mobile-menu-item-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  flex-direction: row;
}

.mobile-menu-item-header a {
  flex-grow: 1;
  margin-bottom: 8px;
  letter-spacing: 0.09px;
  text-decoration: none;
  position: relative;
  display: flex;
  color: var(--white);
  font-size: 18px;
  font-weight: 500;
  line-height: normal;
  font-family: var(--menu-font);
}

.mobile-submenu-toggle {
  background: none;
  border: none;
  font-size: 20px;
  cursor: pointer;
  padding: 0;
  color: #374041;
}

.mobile-submenu-toggle:hover {
  background: none;
  color: #374041;
}

.mobile-submenu {
  max-height: 0;
  padding: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
  background-color: var(--white);
}

.mobile-menu-item.open .mobile-submenu {
  max-height: 1000px;
}

.mobile-menu-item.open .mobile-submenu-toggle {
  transform: rotate(45deg);
}

.mobile-submenu a {
  display: block;
  font-weight: 600;
  text-decoration: none;
  font-size: 14px;
  padding: 0;
  margin-bottom: 0;
  font-family: var(--menu-font);
  color: #050327;
}

.mobile-dropdown {
  background-color: #f7f7f7;
  padding: 0;
}

.mobile-dropdown-item {
  display: block;
  padding: 10px 20px;
  color: #050327;
  font-family: var(--menu-font);
  font-size: 16px;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.3s ease;
}

.mobile-dropdown-item:hover {
  color: #AFD9AD;
}

.mobile-menu-footer {
  margin-top: 25px;
}

/* ===========================================
   MOBIL MENÜ GOMB ÉS INFO
   ========================================== */

.mobilgomb {
  margin-bottom: 25px;
}

.foglalasmobil {
  display: block;
  font-family: var(--menu-font);
  font-weight: 600;
  font-size: 14px;
  padding: 10px 15px;
  background-color: #A57884;
  color: var(--white);
  text-align: center;
  text-decoration: none;
  border-radius: 20px;
}

.mobiltextinfo {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.custom-fejleclink {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: var(--text-light);
}

.mobilciminfo {
  font-weight: 600;
  margin-bottom: 5px;
  font-family: var(--menu-font);
  font-size: 15px;
  color: var(--text-light);
}

.mobilinfotext {
  font-size: 14px;
  font-family: var(--menu-font);
  color: var(--text-light);
}

/* ===========================================
   GOMBOK ÉS AKCIÓK
   ========================================== */

.menu-actions {
  display: flex;
  gap: 15px;
}

.menu-btn {
  display: inline-block;
  background-color: var(--primary-color);
  color: var(--white);
  padding: 10px 20px;
  font-family: var(--menu-font);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  border-radius: 30px;
  transition: var(--transition);
}

.menu-btn:hover {
  background-color: var(--primary-hover);
}

/* ===========================================
   NYELVI VÁLTÓ
   ========================================== */

.menu-language-switcher {
  display: flex;
  flex-direction: row;
  gap: 14px;
}

a.language-code {
  color: var(--white);
  font-size: 15px;
  font-style: normal;
  font-weight: 600;
}

/* ===========================================
   LOGO KEZELÉS
   ========================================== */

.menu-logo {
  position: relative;
}

.menu-logo .default-logo {
  display: block;
  transition: opacity 0.4s ease;
  width: 100px;
  height: auto !important;
}

.menu-logo .sticky-logo {
    position: absolute;
    top: 5px;
    left: 0;
    opacity: 0;
    transition: opacity 0.4s ease;
    display: block;
    width: 80px;
}

/* ===========================================
   STICKY MENÜ ÁLLAPOT
   ========================================== */

.sticky-visible {
    background: #fffbece6 !important;
    background-image: none !important;
    padding-bottom: 0;
    animation: fadeInDown 0.3s ease-in-out;
}

.sticky-visible .topbar-wrapper {
  display: none !important;
}

.sticky-visible .responsive-menu-container {
  margin-top: 10px;
}

.sticky-visible a.current-menu-item span.link-text {
  color: var(--white);
}


.sticky-visible a.language-code {
    color: #000000;
}

.sticky-visible .menu-item-wrapper > a {
    color: #000000;
}

.sticky-visible .menu-btn {
  background-color: var(--primary-hover);
  color: var(--white);
}

.sticky-visible .menu-logo .default-logo {
  opacity: 0;
}

.sticky-visible .menu-logo .sticky-logo {
  opacity: 1;
}

.sticky-visible .dropdown-menu {
  background-color: var(--dark-bg);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.sticky-visible .dropdown-menu a {
  color: var(--white);
}

.sticky-visible .dropdown-arrow svg {
  fill: #212121;
}

/* ===========================================
   KÜLÖNLEGES ELEMEK
   ========================================== */

.szunyoghallo-links-container {
  font-size: 15px;
  font-style: normal;
  font-weight: 400;
  font-family: var(--menu-font);
}

a.szunyoghallo-link {
  color: #242424;
}

.footer-contactadrres {
  margin-bottom: 15px;
}

p.column-title {
  font-family: var(--menu-font);
  font-size: 19px;
  font-weight: 700;
  text-transform: uppercase;
  font-style: italic;
  color: #212121;
  margin-bottom: 5px;
}

p.column-description {
  color: #050327;
  font-family: var(--menu-font);
  font-size: 14px;
  font-weight: 200;
  margin-bottom: 10px;
}

/* ===========================================
   ANIMÁCIÓK
   ========================================== */

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===========================================
   RESZPONZÍV BEÁLLÍTÁSOK
   ========================================== */

@media (max-width: 768px) {
  body.admin-bar .menu-outer-container.sticky-visible {
    top: 46px;
  }

  .desktop-menu {
    display: none;
  }

  .topbar-menu {
    display: none !important;
  }

  .mobile-menu,
  .mobile-menu-toggle {
    display: block;
    order: 3;
  }

  .responsive-menu-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    padding: 15px 20px;
    width: 100%;
  }

  .menu-items-main {
    display: none;
  }

  .menu-logo {
    order: 1;
  }

  .menu-language {
    order: 2;
  }

  .menu-items-button {
    display: none;
  }

  img.mobile-logo {
    width: 85px;
  }

  .sticky-visible .mobile-menu-toggle svg {
    fill: #212121;
  }

  .mobile-menu-toggle svg {
    transition: fill 0.4s ease;
  }
}