* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --main-highlight-color: #cc8b36;
  --light-gold-bg: #e6be8a;
}

body {
  font-family: 'Montserrat', sans-serif;
  line-height: 1.6;
  color: #fff;
  background-color: #1a1a1a;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

a {
  text-decoration: none;
  color: inherit;
}

.navbar {
  background-color: rgba(0, 0, 0, 0.7);
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 1000;
  padding: 15px 0;
  backdrop-filter: blur(2px);
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  color: #fff;
  font-size: 1.2em;
  font-weight: 600;
}

.logo img {
  max-width: 3vw;
  height: auto;
  margin-right: 10px;
}

.nav-links {
  display: flex;
  justify-content: space-between;
  align-items: center;
  column-gap: 3vw;
}

.nav-links a {
  color: #fff;
  margin-left: 30px;
  font-weight: 400;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: var(--main-highlight-color);
}

.hamburger-menu {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  z-index: 1010; /* Legyen minden felett a headerben */
}

/* A hamburger ikon vonalai */
.hamburger-menu .bar {
  display: block;
  width: 25px;
  height: 3px;
  margin: 5px auto;
  background-color: #fff;
  transition: all 0.3s ease-in-out;
}
.hero-section {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  color: #fff;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('/assets/Hero_desktop_1_tiny.jpg');
  background-size: cover;
  background-position: center;
  filter: brightness(0.7);
  z-index: -1;
}

.hero-content {
  max-width: 800px;
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 200px;
}

.hero-content h1 {
  font-size: 3.8em;
  margin-bottom: 50px;
  line-height: 1.3;
  font-family: 'Coiny';
  font-size: 50px;
  color: white; /* Belső fehér szín */

  /* A kék keret (vastagság és szín) */
  -webkit-text-stroke: 30px #0056b3;

  /* Árnyék a pufi, 3D hatásért */
  text-shadow: 2px 2px 0px rgba(0, 0, 0, 0.9);

  letter-spacing: 1px;
  text-transform: uppercase;
}

.hero-content p {
  font-size: 1.2em;
  margin-bottom: 40px;
  opacity: 0.9;
}
/* Ezt a CSS szabályt add hozzá a style.css fájlodhoz */
.hero-content h1,
.hero-content p {
  /* Fekete árnyékokat adunk a szöveghez minden irányba, 
     ezáltal egy 1px vastag körvonalat kapunk. */
  color: white;
  -webkit-text-stroke: 1px black;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  background-color: var(--light-gold-bg);
  color: #1a1a1a;
  padding: 15px 30px;
  border-radius: 50px;
  font-size: 1.1em;
  font-weight: 600;
  transition:
    background-color 0.3s ease,
    transform 0.3s ease;
}

.cta-button:hover {
  background-color: var(--main-highlight-color);
  transform: translateY(-3px);
}

.cta-button i {
  margin-right: 10px;
}

.faq-section {
  padding: 80px 0;
  background-color: #1a1a1a;
  color: #f0f0f0;
}

.faq-section h2 {
  font-family: 'Playfair Display', serif;
  font-size: 3em;
  margin-bottom: 50px;
  color: var(--main-highlight-color);
}

.faq-list {
  max-width: 90vw;
  margin: 0 auto;
}

.faq-item {
  background-color: #2a2a2a;
  margin-bottom: 15px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 30px;
  cursor: pointer;
  background-color: #333;
  transition: background-color 0.3s ease;
}

.faq-question:hover {
  background-color: #444;
}

.faq-question h3 {
  font-size: 1.3em;
  font-weight: 600;
  margin: 0;
  color: #fff;
}

.faq-icon {
  font-size: 1.8em;
  font-weight: bold;
  color: var(--main-highlight-color);
  transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  padding: 0 30px;
  max-height: 0;
  overflow: hidden;
  transition:
    max-height 0.5s ease-out,
    padding 0.5s ease-out;
}

.faq-answer p {
  font-size: 1em;
  color: #ccc;
  line-height: 1.8;
  margin-bottom: 30px;
}

.faq-item.active .faq-answer {
  max-height: 1000px;
  padding: 20px 30px 30px 30px;
}

.faq-answer p {
  font-size: 1em;
  color: #ccc;
  line-height: 1.8;
}

.scroll-indicator {
  position: absolute;
  bottom: -20vh;
  left: 48%;
  transform: translateX(-50%);
  opacity: 0.7;
  animation: bounce 2s infinite;
}

.arrow-down {
  width: 30px;
  height: 30px;
  border-left: 4px solid #fff;
  border-bottom: 4px solid #fff;
  transform: rotate(-45deg);
  display: block;
}

@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-10px);
  }
  60% {
    transform: translateY(-5px);
  }
}

.content-section {
  padding: 80px 0;
  text-align: center;
}

.content-section.light-background {
  background-color: #2a2a2a;
  color: #f0f0f0;
}

.content-section .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
  flex-wrap: wrap;
}

.content-section .container.reverse-layout {
  flex-direction: row-reverse;
}

.content-text {
  flex: 1;
  min-width: 300px;
  text-align: left;
}

.content-text h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2.8em;
  margin-bottom: 20px;
  color: var(--main-highlight-color);
}

.content-text p {
  font-size: 1.1em;
  opacity: 0.9;
}

.content-text-highlight {
  color: var(--main-highlight-color);
}

.video-wrapper {
  flex: 1;
  min-width: 300px;
  position: relative;
}

mux-player {
  width: 100%;
  max-width: 600px;
  aspect-ratio: 16 / 9;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.video-caption {
  margin-top: 15px;
  font-size: 0.9em;
  color: #ccc;
}

.cta-section {
  background-color: #111;
  padding: 100px 0;
  text-align: center;
}

.cta-section h2 {
  font-family: 'Playfair Display', serif;
  font-size: 3em;
  margin-bottom: 20px;
  color: #fff;
}

.cta-section p {
  font-size: 1.2em;
  max-width: 700px;
  margin: 0 auto 50px auto;
  opacity: 0.8;
}

.large-cta {
  padding: 18px 40px;
  font-size: 1.2em;
}

.footer {
  background-color: #000;
  color: #ccc;
  padding: 30px 0;
  text-align: center;
  font-size: 0.9em;
}

.footer-links a {
  color: #ccc;
  margin: 0 15px;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--main-highlight-color);
}

.footer p {
  margin-top: 20px;
}

/* Nyelvválasztó menüelem */
.lang-switcher {
  display: flex;
  align-items: center;
  gap: 8px; /* Térköz az ikon és a szöveg között */
  cursor: pointer;
  padding: 10px;
  border-radius: 5px;
  transition: background-color 0.2s ease-in-out;
}

.lang-switcher:hover {
  color: var(--main-highlight-color);
}

/* Nyelvlista a popupon belül */
.lang-list {
  list-style: none;
  padding: 0;
  margin: 0;
  overflow-y: auto; /* Itt engedélyezzük a görgetést, ha sok a nyelv */
}

.lang-list li {
  padding: 15px 20px;
  cursor: pointer;
  border-radius: 5px;
  transition: background-color 0.2s ease-in-out;
  font-size: 16px;
  text-align: center;
}

.lang-list li:hover {
  background-color: #1a1a1a;
}

@media (max-width: 768px) {
  .navbar {
    display: flex;
  }
  .navbar .nav-links {
    position: fixed; /* Fix pozíció, hogy a teljes képernyőt lefedje */
    top: 0;
    right: 0;
    width: 100vw;
    /* height: 100vh; Teljes magasság */
    background-color: #1a1a1a; /* Háttérszín */
    box-shadow: -2px 0 5px rgba(0, 0, 0, 0.1);

    /* Kezdetben a képernyőn kívül van */
    transform: translateX(100%);
    transition: transform 0.3s ease-in-out;

    /* Belső elrendezés */
    padding-top: 3vh;
    padding-bottom: 3vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-evenly;
    row-gap: 1.5vh;
  }

  .navbar .nav-links.active {
    transform: translateX(0);
  }

  .nav-links a {
    margin: 15px 0;
  }

  .hamburger-menu {
    display: block;
  }

  .hamburger-menu.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  .hamburger-menu.active .bar:nth-child(2) {
    opacity: 0;
  }
  .hamburger-menu.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  .navbar .container {
    justify-content: space-between;
  }
  .hero-background {
    background-image: url('/assets/Hero_mobil_1_tiny.jpg');
  }
  .hero-content h1 {
    font-size: 2.5em;
    margin-bottom: 20vh;
    margin-top: -20vh;
  }

  .hero-content p {
    font-size: 1em;
  }

  .cta-button {
    padding: 12px 25px;
    font-size: 1em;
  }

  .content-section .container,
  .content-section .container.reverse-layout {
    flex-direction: column;
    gap: 40px;
  }

  .content-text,
  .video-wrapper {
    min-width: unset;
    width: 100%;
  }

  .content-text {
    text-align: center;
  }

  .content-text h2 {
    font-size: 2em;
  }

  .content-text p {
    font-size: 1em;
  }

  .cta-section h2 {
    font-size: 2.2em;
  }

  .faq-section h2 {
    font-size: 2.2em;
    margin-bottom: 30px;
  }

  .faq-question h3 {
    font-size: 1.1em;
  }

  .faq-question,
  .faq-answer {
    padding-left: 20px;
    padding-right: 20px;
  }

  .faq-item.active .faq-answer {
    padding: 15px 20px 20px 20px;
  }
  .scroll-indicator {
    left: 46%;
  }
}

/* Popup stílusok */
.popup-container {
  /* Alapból rejtett */
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1000;
  /* Flexbox-szal középre igazítjuk a tartalmat */
  justify-content: center;
  align-items: center;
}

/* Aktív állapot, amikor a popup látható */
.popup-container.visible {
  display: flex;
}

/* Áttetsző háttér */
.popup-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(5px);
  cursor: pointer; /* A háttérre kattintva is bezárható lesz */
}

/* A felugró ablak doboza */
.popup-content {
  position: relative;
  background-color: #2a2a2a;
  padding: 20px 30px 30px 30px;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  width: 90%;
  max-width: 500px;
  text-align: center;
  z-index: 1001; /* A háttér felett jelenik meg */
  color: var(--light-gold-bg);
  line-height: 1.6;
  max-height: 80vh; /* Maximum magasság */
  display: flex;
  flex-direction: column;
}

.popup-content h2 {
  text-align: center;
  margin-top: 0;
  margin-bottom: 20px;
  color: var(--light-gold-bg);
}

/* Bezárás gomb ("X") */
.close-btn {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 28px;
  font-weight: bold;
  color: #888;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  line-height: 1;
}

.close-btn:hover {
  color: #000;
}

@media (max-width: 480px) {
  .logo img {
    max-width: 10vw;
  }
  .hero-content h1 {
    font-size: 2em;
  }

  .hero-content p {
    font-size: 0.9em;
  }

  .content-text h2 {
    font-size: 1.8em;
  }

  .content-text p {
    font-size: 0.9em;
  }

  .cta-section h2 {
    font-size: 1.8em;
  }

  .large-cta {
    padding: 15px 30px;
    font-size: 1em;
  }

  .faq-section h2 {
    font-size: 1.8em;
  }

  .faq-question h3 {
    font-size: 1em;
  }

  .footer-links a {
    display: block;
    margin: 10px 0;
  }
}
