html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  margin: 0;
  background-color: #121212;
  color: #e0e0e0;
  line-height: 1.6;
}

.container {
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem;
}

/* ✅ Sticky navigációs fejléc */
.navbar {
  position: sticky;
  top: 0;
  background-color: #000;
  padding: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
  border-bottom: 2px solid #b71c1c;
  box-shadow: 0 2px 8px rgba(183, 28, 28, 0.3);
}

.navbar h1 {
  margin: 0 auto;
  font-size: 1.5rem;
  color: #e53935;
  animation: glow 2s infinite alternate;
}

.navbar .lang-toggle,
.navbar .menu-toggle {
  background: none;
  border: none;
  color: #43a047;
  font-size: 1.2rem;
  cursor: pointer;
  z-index: 1200;
}

.language-menu,
.mobile-menu {
  position: fixed;
  top: 60px;
  background-color: #1e1e1e;
  padding: 0.75rem;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.6);
  z-index: 1100;
  border: 1px solid #43a047;
  transition: opacity 0.3s ease, transform 0.3s ease;
  width: 180px;
}

.language-menu {
  left: 1rem;
}

.mobile-menu {
  right: 1rem;
}

.language-menu a,
.mobile-menu a {
  display: block;
  padding: 0.5rem;
  color: #43a047;
  text-align: left;
  border-radius: 4px;
  transition: background-color 0.2s ease;
}

.language-menu a.active {
  font-weight: bold;
  text-decoration: underline;
  color: white;
}

.language-menu a:hover,
.mobile-menu a:hover {
  background-color: #2a2a2a;
}

/* Animáció lenyíláshoz */
.slide-down {
  animation: slideDown 0.3s ease-out forwards;
}

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

/* Hamburger ikon animáció */
.menu-toggle {
  position: relative;
  width: 24px;
  height: 18px;
  display: inline-block;
  cursor: pointer;
}

.menu-toggle::before,
.menu-toggle::after,
.menu-toggle span {
  content: '';
  position: absolute;
  left: 0;
  height: 3px;
  background-color: #43a047;
  transition: all 0.3s ease;
  width: 100%;
}

.menu-toggle span {
  top: 7px;
}

.menu-toggle::before {
  top: 0;
}

.menu-toggle::after {
  bottom: 0;
}

.menu-toggle.active::before {
  transform: rotate(45deg);
  top: 7px;
}

.menu-toggle.active::after {
  transform: rotate(-45deg);
  bottom: 7px;
}

.menu-toggle.active span {
  opacity: 0;
}

/* Hero */
header.hero {
  background-color: #000;
  text-align: center;
  padding: 2rem 2rem 3rem;
  animation: fadeIn 1.5s ease-in;
  border: 2px solid #609609;
  border-radius: 12px;
  box-shadow: 0 0 25px rgba(146, 214, 101, 0.6);
  margin: 1rem auto;
  max-width: 1000px;
}

.logo {
  width: 300px;
  height: 300px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 1rem;
  box-shadow: 0 0 30px #43a047;
  animation: pulseGlow 3s infinite alternate;
}

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

@keyframes glow {
  from { text-shadow: 0 0 10px #e53935; }
  to { text-shadow: 0 0 20px #43a047; }
}

@keyframes pulseGlow {
  0% { box-shadow: 0 0 10px #43a047; }
  100% { box-shadow: 0 0 25px #e53935; }
}

.hero h1 {
  font-size: 2.5rem;
  color: #e53935;
  animation: glow 2s infinite alternate;
}

.hero p {
  font-size: 1.2rem;
  color: #ccc;
}

.cta-button {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.75rem 1.5rem;
  background: linear-gradient(90deg, #e53935, #43a047);
  color: white;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  box-shadow: 0 0 10px #43a047;
  transition: transform 0.2s ease;
}

.cta-button:hover {
  transform: scale(1.05);
  box-shadow: 0 0 15px #e53935;
}

.card-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1rem;
}

.card {
  flex: 1 1 calc(50% - 1rem);
  background-color: #1e1e1e;
  padding: 1rem;
  border-radius: 8px;
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 12px #00e676;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1rem;
}

.contact-form input,
.contact-form textarea {
  padding: 0.75rem;
  border-radius: 6px;
  border: none;
  background-color: #1e1e1e;
  color: #e0e0e0;
  box-shadow: 0 0 5px #43a047;
}

.contact-form button {
  padding: 0.75rem 1.5rem;
  background-color: #e53935;
  color: white;
  border: none;
  border-radius: 6px;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.contact-form button:hover {
  background-color: #c62828;
}

footer {
  text-align: center;
  padding: 1.5rem;
  font-size: 0.85rem;
  color: #888;
  border-top: 1px solid #2c2c2c;
}

@media (max-width: 600px) {
  .card-grid {
    flex-direction: column;
  }
  .card {
    flex: 1 1 100%;
  }
  .logo {
    width: 180px;
    height: 180px;
  }
  .hero h1 {
    font-size: 2rem;
  }
  .hero p {
    font-size: 1rem;
  }
}

.hidden {
  display: none;
}
