/* ========== FEJLÉC – FIX + GLASSMORPHISM ========== */
header {
  position: fixed;        /* FIX FEJLÉC */
  top: 0;
  left: 0;
  width: 100%;
  z-index: 9999;

  background: rgba(0, 0, 0, 0.35) !important;
  backdrop-filter: blur(14px) saturate(1.2);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);

  padding: 1rem 0;
  transition: 0.3s ease;
}

header.scrolled {
  background: rgba(0,0,0,0.55) !important;
}

/* ======= HEADER CONTAINER ======= */
header .container {
  max-width: 1150px;
  margin: 0 auto;
  padding: 0 1rem;

  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* ======= LOGO ======= */
.logo {
  display: flex;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  overflow: hidden;
  background: rgba(255,255,255,0.18);
}
.logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* ======= TITLE ======= */
.site-title h1 {
  margin: 0;
  color: #fff !important;
  font-size: 1.45rem;
  text-shadow: 0 2px 6px rgba(0,0,0,0.5);
}
.site-title .phone-number a {
  color: #fff !important;
  text-decoration: none;
  font-size: 0.95rem;
}

/* ======= NAVIGATION ======= */
nav ul {
  list-style: none;
  margin: 0;
  padding: 0;

  display: flex;
  gap: 1.5rem;
}
nav ul li a {
  color: #fff !important;
  text-decoration: none;
  padding: 0.45rem 0.9rem;
  border-radius: 12px;
  transition: 0.3s;
}
nav ul li a:hover,
nav ul li a.active {
  background: rgba(194, 28, 36, 0.9) !important;
  color: #fff !important;
}

/* ======= HAMBURGER ======= */
.menu-checkbox { display: none; }

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;

  background: rgba(255,255,255,0.25);
  backdrop-filter: blur(6px);
  border-radius: 10px;
  cursor: pointer;

  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 6px;
}
.menu-toggle span {
  width: 24px;
  height: 2px;
  background: #fff !important;
  border-radius: 2px;
}

/* ======= MOBILE ======= */
@media (max-width: 768px) {

  .menu-toggle { 
    display: flex; 
    margin: 0.5rem auto 0 auto;
    position: static !important;
  }

  header .container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .left-side {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
    margin-bottom: 0.6rem;
  }

  nav ul {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    flex-direction: column;

    width: 230px;
    background: rgba(0,0,0,0.85);
    backdrop-filter: blur(12px);
    padding: 1rem;
    border-radius: 14px;

    opacity: 0;
    pointer-events: none;
    transition: 0.4s;
    z-index: 99999;
  }

  .menu-checkbox:checked ~ nav ul {
    opacity: 1;
    pointer-events: auto;
  }

  nav ul li a {
    color: #fff !important;
    font-size: 1.1rem;
  }
}

/* ======= HEADER BANNER ======= */
.header-banner {
  width: 100%;
  height: 250px;
  background: linear-gradient(rgba(0,0,0,0.25), rgba(0,0,0,0.35)),
              url('../images/header-bg.jpg') center/cover no-repeat;
  box-shadow: 0 10px 30px rgba(0,0,0,0.25);

  animation: bannerFade 1.2s ease forwards;
  opacity: 0;
}

@keyframes bannerFade {
  to { opacity: 1; }
}
