/* Alapbeállítások */
body {
  background-color: #121212;
  color: #e0e0e0;
  font-family: 'Rubik', sans-serif;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

/* Fejléc és navigáció */
.site-header {
  background-color: #1f1f1f;
  border-bottom: 1px solid #00ffff;
  box-shadow: 0 2px 10px rgba(0, 255, 255, 0.1);
  position: relative;
  z-index: 1000;
}

.navbar {
  position: relative; /* fontos a blur menü pozicionálásához */
}

.navbar-brand {
  font-size: 1.25rem;
  font-weight: 500;
}

.navbar-toggler {
  border-color: #00ffff;
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='%2300ffff' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(0,255,255, 0.7)' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.navbar-nav .nav-link {
  font-weight: 500;
  color: #00ffff;
  transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
  color: #ffffff;
}

/*️ Blur háttér menü (desktophoz) */
.blur-menu {
  position: absolute;
  top: 100%;
  right: 0;
  width: 250px; /* kompakt szélesség */
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(10px);
  border-radius: 10px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
  z-index: 1000;
  will-change: opacity, transform;
  opacity: 0;
  transform: translateY(-10px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.blur-menu.show {
  opacity: 1;
  transform: translateY(0);
}

.blur-menu a {
  display: block;
  padding: 0.75rem 1rem;
  color: #0dcaf0;
  text-decoration: none;
  transition: background 0.3s ease;
}

.blur-menu a:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

/* Kártyák */
.custom-card {
  background-color: #1e1e1e;
  border: 1px solid #00ffff;
  color: #e0e0e0;
  border-radius: 8px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.custom-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 20px rgba(0, 255, 255, 0.2);
}

.card-title {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  color: #00ffff;
}

.card-text {
  font-size: 1rem;
}

/*  Szekciók */
section {
  margin-bottom: 60px;
}

/*  Lábléc */
.footer {
  background-color: #1f1f1f;
  border-top: 1px solid #333;
  box-shadow: 0 -2px 10px rgba(0, 255, 255, 0.1);
}

.footer a {
  font-weight: 500;
  text-decoration: none;
  color: #00ffff;
  transition: color 0.3s ease;
}

.footer a:hover {
  color: #ffffff;
}

/*  Reszponzív finomhangolás */
@media (max-width: 768px) {
  .navbar-brand {
    font-size: 1rem;
  }

  .card-title {
    font-size: 1.1rem;
  }

  .card-text {
    font-size: 0.95rem;
  }

  .blur-menu {
    display: none; /* ne jelenjen meg mobilon */
  }
}

.logo-img {
  height: 40px;
  width: auto;
  object-fit: contain;
}


.custom-menu {
  position: absolute;
  top: 100%;
  right: 1rem;
  width: 250px;
  background-color: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  border-radius: 10px;
  box-shadow: 0 8px 16px rgba(0, 255, 255, 0.2);
  z-index: 1050;
  padding: 1rem;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.custom-menu.show {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

.custom-menu:not(.show) {
  display: none;
  opacity: 0;
  transform: translateY(-10px);
}


.elegant-menu a.dropdown-item {
  font-size: 1.1rem;
  font-weight: 500;
  color: #00ffff;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.elegant-menu a.dropdown-item:hover {
  background-color: rgba(0, 255, 255, 0.1);
  color: #ffffff;
}

.elegant-menu i {
  font-size: 1.2rem;
  color: #00ffff;
  transition: color 0.3s ease;
}

.elegant-menu a.dropdown-item:hover i {
  color: #ffffff;
}
