/* ============================================================
   navbar.css  –  Sötét fekete téma türkíz akcentussal
   TELJESEN RESZPONZÍV 280px-től
   ============================================================ */

#NAVBAR_WRAPPER {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(47 47 47 / 96%);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(14, 124, 123, 0.35);
  transition: box-shadow 0.3s ease, background 0.3s ease;
}

#NAVBAR_WRAPPER.NAVBAR_SCROLLED {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  background: rgba(0, 0, 0, 0.87);
  border-bottom-color: rgba(14, 124, 123, 0.5);
}

#NAVBAR_INNER {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 2rem;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

#NAVBAR_LOGO {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  flex-shrink: 0;
}

#NAVBAR_LOGO_ICON {
  width: 38px;
  height: 38px;
  background: linear-gradient(135deg, var(--COLOR_PRIMARY, #0E7C7B), #064241);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

#NAVBAR_LOGO:hover #NAVBAR_LOGO_ICON {
  transform: scale(1.08) rotate(-3deg);
  box-shadow: 0 4px 12px rgba(14, 124, 123, 0.5);
}

#NAVBAR_LOGO_TEXT {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: #EAEAEA;
  letter-spacing: 0.3px;
  transition: color 0.2s ease;
  white-space: nowrap;
}

#NAVBAR_LOGO:hover #NAVBAR_LOGO_TEXT {
  color: var(--COLOR_PRIMARY, #0E7C7B);
}

#NAVBAR_MENU {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.NAVBAR_LINK {
  display: inline-block;
  padding: 0.5rem 1rem;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.93rem;
  font-weight: 500;
  color: #CCCCCC;
  text-decoration: none;
  border-radius: 8px;
  position: relative;
  transition: color 0.2s ease, background 0.2s ease;
  white-space: nowrap;
}

.NAVBAR_LINK::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: calc(100% - 2rem);
  height: 2px;
  background: var(--COLOR_PRIMARY, #0E7C7B);
  border-radius: 2px;
  transition: transform 0.25s ease;
}

.NAVBAR_LINK:hover,
.NAVBAR_LINK.NAVBAR_LINK_ACTIVE {
  color: #FFFFFF;
  background: rgba(14, 124, 123, 0.12);
}

.NAVBAR_LINK:hover::after,
.NAVBAR_LINK.NAVBAR_LINK_ACTIVE::after {
  transform: translateX(-50%) scaleX(1);
}

.NAVBAR_LINK_CTA {
  background: var(--COLOR_PRIMARY, #0E7C7B);
  color: #FFFFFF !important;
  padding: 0.5rem 1.2rem;
  border-radius: 50px;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  white-space: nowrap;
}

.NAVBAR_LINK_CTA::after {
  display: none;
}

.NAVBAR_LINK_CTA:hover {
  background: var(--COLOR_PRIMARY_DARK, #0A5E5D) !important;
  color: #FFFFFF !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(14, 124, 123, 0.5);
}

#NAVBAR_HAMBURGER {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  border-radius: 8px;
  transition: background 0.2s ease;
  flex-shrink: 0;
}

#NAVBAR_HAMBURGER:hover {
  background: rgba(14, 124, 123, 0.12);
}

.NAVBAR_HAM_BAR {
  display: block;
  width: 22px;
  height: 2px;
  background: #CCCCCC;
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

#NAVBAR_HAMBURGER.NAVBAR_HAM_ACTIVE .NAVBAR_HAM_BAR:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
#NAVBAR_HAMBURGER.NAVBAR_HAM_ACTIVE .NAVBAR_HAM_BAR:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
#NAVBAR_HAMBURGER.NAVBAR_HAM_ACTIVE .NAVBAR_HAM_BAR:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ====================== RESZPONZÍV ====================== */

@media (max-width: 1024px) {
  #NAVBAR_INNER {
    padding: 0 1.75rem;
  }
}

@media (max-width: 768px) {
  #NAVBAR_HAMBURGER {
    display: flex;
  }

  #NAVBAR_MENU {
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(12px);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    border-bottom: 1px solid rgba(14, 124, 123, 0.4);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
    transition: max-height 0.4s ease, opacity 0.35s ease, padding 0.3s ease;
    padding: 0 1.25rem;
  }

  #NAVBAR_MENU.NAVBAR_MENU_OPEN {
    max-height: 520px;
    opacity: 1;
    pointer-events: auto;
    padding: 1.25rem;
  }

  .NAVBAR_LINK {
    padding: 0.85rem 1.25rem;
    font-size: 1.02rem;
    text-align: center;
  }

  .NAVBAR_LINK_CTA {
    text-align: center;
    margin-top: 0.75rem;
    border-radius: 12px;
    padding: 0.85rem 1.5rem;
  }

  #NAVBAR_INNER {
    gap: 1rem;
  }
}

@media (max-width: 480px) {
  #NAVBAR_INNER {
    padding: 0 1.25rem;
  }
  
  #NAVBAR_LOGO_TEXT {
    font-size: 0.96rem;
  }
  
  #NAVBAR_LOGO_ICON {
    width: 34px;
    height: 34px;
    font-size: 0.78rem;
  }
}

@media (max-width: 360px) {
  #NAVBAR_INNER {
    padding: 0 1rem;
  }
  
  #NAVBAR_LOGO_TEXT {
    font-size: 0.9rem;
  }
}

@media (max-width: 280px) {
  #NAVBAR_INNER {
    padding: 0 0.75rem;
    gap: 0.75rem;
  }
  
  #NAVBAR_LOGO_TEXT {
    font-size: 0.82rem;
  }
  
  #NAVBAR_LOGO_ICON {
    width: 32px;
    height: 32px;
    font-size: 0.72rem;
  }
  
  .NAVBAR_LINK {
    font-size: 0.95rem;
  }
}