/* Általános stílusok */
html, body {
    height: 100%;
    width: 100%;
    margin: 0;
    padding: 0;
    font-family: "Montserrat", sans-serif;
	font-size: 15px;
    background-color: #D7EFF7;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Iframe stílusok */
iframe[name="contentFrame"] {
    flex: 1;
    width: 100%;
    border: none;
    overflow: auto;
}

/* Felső sáv stílusok */
.top-bar {
    background-color: #5AB1C5;
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    font-size: 14px;
    flex-wrap: wrap;
    overflow: hidden;
}
.left-info-slider {
    overflow: hidden;
    width: 60%;
    white-space: nowrap;
}

#infoItems {
    display: inline-flex;
    gap: 30px;
    transition: all 0.5s ease-in-out;
}

#infoItems span,
#infoItems a {
    white-space: nowrap;
    color: white;
    text-decoration: none;
}

#infoItems a:hover {
    text-decoration: underline;
}
.social-links {
    display: flex;
    align-items: center;
    gap: 10px;
}
.social-links a {
    color: white;
    text-decoration: none;
    transition: transform 0.3s ease, color 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.social-links a:hover {
    color: #FFD700; /* Szép aranysárga kiemelés hoverkor */
    transform: translateY(-3px) scale(1.1); /* Kicsit megemelkedik és nő */
}
.login-link {
  margin-left: auto;
  padding: 6px 12px;
  background-color: #0097a7; /* türkiz, harmonizál a fejléc színével */
  color: #fff !important;
  border-radius: 5px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
}

.login-link::before {
  content: none;
  font-size: 16px;
}

.login-link:hover {
  background-color: #007d8a;
}

.top-bar div {
    display: flex;
    align-items: center;
    gap: 15px;
}
.top-bar a {
    color: white;
    text-decoration: none;
}
.top-bar a:hover {
    text-decoration: underline;
}
/* Header stílusok */
.header-container,
.header-bar {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 0 20px;
    height: 115px;
    background-color: #D7EFF7;
    gap: 40px;
    flex-wrap: nowrap;
}

.logo-container img.logo {
    height: 80px;
}

.logo {
    width: 75px;
    height: auto;
    object-fit: contain;
}

/* Konténer stílusok */
.container {
    max-width: 600px;
    margin: 0 auto;
}
.counter-container {
  max-width: 128px;
  text-align: center;
  background-color: #D7EFF7;
  position: relative;
  z-index: 2;
  padding: 4px 6px;
  font-size: 12px;
  font-family: 'Montserrat', sans-serif;
  line-height: 1.3;
  color: #222;
  border-radius: 6px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
  white-space: nowrap;
  overflow: hidden;
}

.counter-container span {
  display: block;
  margin: 1px 0;
}
.pulse-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  margin-right: 6px;
  animation: pulse 1.5s infinite;
  vertical-align: middle;
}

.pulse-green {
  background-color: #00c853;
}

.pulse-red {
  background-color: #d50000;
}

@keyframes pulse {
  0% { transform: scale(0.9); opacity: 0.7; }
  50% { transform: scale(1.3); opacity: 1; }
  100% { transform: scale(0.9); opacity: 0.7; }
}

  50% {
    transform: scale(1.3);
    opacity: 1;
  }
  100% {
    transform: scale(0.9);
    opacity: 0.7;
  }
}

/* Navigációs menü stílusok (desktop) */
nav.menu {
    flex-grow: 0;
    display: flex;
    justify-content: flex-start;
    background-color: transparent;
    box-shadow: none;
    padding: 0;
    height: auto;
    margin-left: 0px;
	flex-wrap: nowrap;
    white-space: nowrap;
    gap: 16px;
}

nav ul {
    list-style: none;
    display: flex;
    padding: 0;
    margin: 0;
    gap: 20px;
}

nav ul > li > a,
nav ul > li > .dropdown-toggle {
    text-decoration: none;
    color: black;
    font-weight: bold;
    padding: 7px;
    font-size: 14px;
}

nav ul > li > a:hover,
nav ul > li > .dropdown-toggle:hover {
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2);
}

/* Dropdown menü stílusok */
.dropdown {
    position: relative;
}
.dropdown-content {
    display: none;
    position: absolute;
    background-color: #C2E0EA;
    min-width: 160px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}
.dropdown:hover .dropdown-content {
    display: block;
}
.dropdown-content a {
    display: block;
    padding: 6px 10px;
    color: black;
    font-size: 14px;
	white-space: nowrap;
}
.dropdown-content a:hover {
    background-color: #E2F5FF;
    color: #00695c;
    transform: scale(1.02);
    transition: 0.2s ease;
}
/* Desktop és mobil menü megjelenítése */
.desktop-menu {
    display: block;
}
.hamburger-menu {
    display: none;
    font-size: 24px;
    color: #005b76;
    background-color: transparent;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
}
.hamburger-menu.animate {
    animation: zoomEffect 0.2s ease;
}


/* Animációk */
@keyframes zoomEffect {
    0%   { transform: scale(1); }
    50%  { transform: scale(1.2); }
    100% { transform: scale(1); }
}

@keyframes float {
    0%   { transform: translateY(0); }
    50%  { transform: translateY(-3px); }
    100% { transform: translateY(0); }
}

/* Home gomb stílusok */
.home-button img {
    width: 43px;
    height: 40px;
    transition: transform 0.3s ease-in-out;
}

/* Mobil menü stílusok */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: 80%;
    max-width: 300px;
    background-color: #BAEFF2;
    background-image: url('menu-bg.gif');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    backdrop-filter: blur(6px);
    color: #222;
    padding: 20px;
    box-shadow: 2px 0 8px rgba(0, 0, 0, 0.2);
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 12px;
    list-style: none;
    transform: translateX(-100%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.4s ease, opacity 0.3s ease;
}
.mobile-menu-overlay {
    background-color: #5F8D9E;
}
.mobile-menu li {
    margin-bottom: 6px;
}
.mobile-menu::-webkit-scrollbar {
    width: 10px;
}
.mobile-menu::-webkit-scrollbar-thumb {
    background-color: #1E5C6A;
    border-radius: 4px;
    height: 100px;
}
.mobile-menu::-webkit-scrollbar-track {
    background: #DCFAE3;
}
.mobile-menu li a {
    color: #222;
    font-size: 16px;
    text-decoration: none;
    padding: 10px 8px;
    border-radius: 4px;
    display: block;
    transition: background-color 0.2s ease, color 0.2s ease;
}
.mobile-menu li a:hover {
    background-color: #E2F5FF;
    color: #005b76;
}
.mobile-menu.open {
    background-color: #C4DAE5;
    transform: translateX(0);
    opacity: 1;
    pointer-events: auto;
    max-height: 650px;
}

/* Home ikon stílusok */
.home-icon {
    transition: transform 0.3s ease, fill 0.3s ease;
}
.home-icon:hover {
    transform: rotate(360deg);
    fill: #405EA3;
}
/* Kereső stílusok */
#kereso-form {
    display: flex;
    gap: 5px;
    align-items: center;
    margin: 0;
    position: relative; /* <<< EZ A KULCS */
}

#kereso-input {
    width: 140px; /* kisebb legyen, ahogy kérted */
    padding: 5px 8px;
    font-size: 14px;
}

#kereso-form button {
    padding: 5px 10px;
    font-size: 14px;
}

#talalatok {
    position: fixed;
    top: 250px;
    right: 30px;
    width: 300px;
    max-height: 300px; /* hogy ne nőjön végtelenre, de elférjen több találat */
    overflow-y: auto;   /* ha kell, görgethető legyen */
    padding: 15px;
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    color: #000;
    display: none;
    z-index: 1000;
}

#talalatok-bezar {
    position: absolute;
    top: 5px;
    right: 10px;
    background: none;
    border: none;
    font-size: 18px;
    cursor: pointer;
}
.eredmeny-doboz {
    background: #f0f8ff;
    border: 2px solid #3399cc;
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    max-width: 600px;
    margin: 20px auto;
    font-family: sans-serif;
}
.talalat {
    margin-bottom: 10px;
    /* Egyéb stílusok a találatokhoz */
}

/* Reszponzív stílusok (max-width: 768px) */
@media (max-width: 768px) {
  .top-bar,
  .logo-container,
  #kereso-form,
  .counter-container,
  .dropdown-toggle, 
  .home-icon {
   display: none;
  }
.mobile-menu {
    display: block;
    flex-direction: column;
    gap: 8px;
    padding: 12px 16px;
    padding-bottom: 40px;
    background-color: #E8F7FB;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    max-height: 90vh;
    max-height: 90dvh;
    overflow-y: auto;
    font-family: "Montserrat", sans-serif;
}
.mobile-menu li a,
.mobile-menu li .dropdown-toggle {
    position: relative;
    color: #222;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.3px;
    text-decoration: none;
    padding: 8px 5px;
    border-radius: 4px;
    transition: background-color 0.2s ease, color 0.2s ease;
}
.mobile-menu li a::after {
    content: "";
    position: absolute;
    bottom: 6px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #5AB1C5;
    transition: width 0.3s ease;
}
.mobile-menu li a:hover::after {
    width: 100%;
}
.header-container {
    height: auto;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    position: relative;
}
.header-container::before {
    content: "";
    position: absolute;
    inset: 0;
    background-color: rgba(255, 255, 255, 0.6);
    z-index: 1;
}
nav.menu {
    display: none;
}
.hamburger-menu {
    display: block;
}
.mobile-menu.open {
    display: block;
 }
}