/* Alap beállítások */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body, html {
  width: 100%;
  height: 100%;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: #1e1e1e;
  color: #eaeaea;
}

.container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Header */
header {
  background-color: #2c2c2c;
  border-bottom: 1px solid #444;
  padding: 1rem 0;
  position: relative;
  z-index: 100;
}

.logo {
  font-size: 1.75rem;
  font-weight: 600;
  color: #ffffff;
}

.desktop-menu {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

.desktop-menu a {
  text-decoration: none;
  color: #eaeaea;
  font-weight: 500;
  transition: color 0.3s;
}

.desktop-menu a:hover {
  color: #66ccff;
}

.lang-selector {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-left: 1rem;
  padding-left: 1rem;
  border-left: 1px solid #555;
}

.flag-select span {
  cursor: pointer;
  font-size: 1rem;
  padding: 0.3rem 0.5rem;
  border-radius: 4px;
  background-color: transparent;
  color: #ccc;
  transition: background-color 0.3s, color 0.3s;
}

.flag-select span:hover {
  background-color: #444;
  color: #fff;
}

.flag-select .active-lang {
  font-weight: bold;
  color: #66ccff;
  background-color: #333;
}

/* Mobil fejléc */
.mobile-header {
  display: none;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 0 1rem;
}

.mobile-lang {
  font-size: 1rem;
  cursor: pointer;
  order: 1;
}

.mobile-logo {
  font-size: 1.75rem;
  font-weight: 600;
  color: #ffffff;
  margin: 0 auto;
  order: 2;
}

.hamburger {
  width: 30px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 22px;
  transition: transform 0.3s ease;
  position: relative;
  z-index: 300;
  order: 3;
}

.hamburger span {
  display: block;
  height: 4px;
  background-color: #fff;
  border-radius: 2px;
  transition: 0.3s;
}

.hamburger.active span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

/* Overlay-ek */
.mobile-menu-overlay,
.mobile-lang-overlay {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #1e1e1e;
  font-size: 2rem;
  gap: 1.5rem;
  z-index: 200;
  text-align: center;
}

.mobile-menu-overlay a,
.mobile-lang-overlay div {
  color: #eaeaea;
  text-decoration: none;
  transition: color 0.3s;
}

.mobile-menu-overlay a:hover,
.mobile-lang-overlay div:hover {
  color: #66ccff;
}

.mobile-lang-overlay div {
  font-size: 1.5rem;
  padding: 0.5rem 1rem;
}

.mobile-lang-overlay div:hover {
  background-color: #333;
  border-radius: 5px;
}

.close-overlay.center {
  position: relative;
  top: auto;
  right: auto;
  font-size: 2.5rem;
  background: none;
  border: none;
  cursor: pointer;
  color: #fff;
  margin-bottom: 1rem;
}

.mobile-menu-overlay .close-overlay {
  display: none;
}

/* Hero kép */
.hero-image {
  display: block;
  width: 100%;
  max-width: 1000px;
  margin: 0 auto 2rem auto;
  border-radius: 6px;
}

/* Main */
main {
  min-height: calc(100vh - 150px);
  padding: 2rem 1rem;
}

.content {
  max-width: 1000px;
  margin: 0 auto;
}

.content h1 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: #ffffff;
}

.content p {
  line-height: 1.6;
  font-size: 1rem;
  color: #ccc;
}

/* Footer */
footer {
  text-align: center;
  padding: 2rem 1rem;
  background: #2c2c2c;
  font-size: 0.9rem;
  color: #aaa;
}

.footer-content > div {
  margin-bottom: 0.5rem;
}

.footer-social {
  margin-top: 1rem;
}

.footer-social a {
  color: #ccc;
  font-size: 1.4rem;
  margin: 0 0.5rem;
  transition: color 0.3s;
}

.footer-social a:hover {
  color: #66ccff;
}

/* Mobil nézet */
@media (max-width: 768px) {
  .desktop-menu {
    display: none;
  }

  .mobile-header {
    display: flex;
  }

  .logo {
    display: none;
  }

  .content {
    padding: 1rem;
  }
}