/* === Alap beállítások === */
body {
  margin: 0;
  background-color: #0d0d0d;
  font-family: 'Orbitron', sans-serif;
  color: #e0e0e0;
}

#bgCanvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1;
  background: radial-gradient(ellipse at center, #0f0f1f 0%, #000 100%);
  pointer-events: none;
}

/* === Fejléc === */
header {
  padding: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 2px solid #00ffcc;
}

header .logo {
  font-size: 2.5rem;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 2px;
  background: linear-gradient(45deg, #00ccaa, #00ffcc, #00ffaa);
  -webkit-background-clip: text;
  color: transparent;
  text-shadow: 3px 3px 8px rgba(0, 255, 204, 0.6);
  display: flex;
  align-items: center;
}

header .logo-icon {
  width: 60px;
  height: 60px;
  margin-right: 1rem;
  transition: transform 0.3s ease;
}

header .logo:hover .logo-icon {
  transform: rotate(360deg);
}

.topnav a {
  margin: 0 0.75rem;
  color: #00ffcc;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.2rem;
  text-transform: uppercase;
}

.hamburger-menu {
  display: none;
  font-size: 2rem;
  color: #00ffcc;
  cursor: pointer;
}

@media (max-width: 768px) {
  .topnav {
    display: none;
    flex-direction: column;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    position: absolute;
    top: 14.5vh;
    left: 0;
    z-index: 99;
  }

  .topnav.active {
    display: flex;
  }

  .topnav a {
    padding: 1rem;
    text-align: center;
    border-top: 1px solid #00ffcc;
  }

  .hamburger-menu {
    display: block;
  }
}

/* === Hero szakasz === */
.hero {
  height: 85vh;
  position: relative;
  overflow: hidden;
}

@media (max-width: 600px) {
  .hero {
    height: 85vh;
  }
}

.overlay {
  position: relative;
  z-index: 1;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding-top: 5vh;
}

@media (max-width: 768px) {
  .overlay {
    padding-top: 5vh;
  }
}

.animated-title {
  color: #00ffe7;
  font-size: 4rem;
  text-shadow: 0 0 5px #00ffe7, 0 0 10px #00ffe7;
  white-space: nowrap;
}

.cursor {
  animation: blink 1s step-start infinite;
}

@keyframes blink {
  50% { opacity: 0; }
}

@media (max-width: 768px) {
  .animated-title {
    font-size: 2.2rem;
    text-align: center;
    white-space: normal;
  }
}

/* === Plakát slider === */
.poster-slider {
  position: absolute;
  bottom: 10vh;
  width: 100%;
  overflow: hidden;
  z-index: 1;
  display: flex;
  justify-content: center;
}

.poster-track {
  display: flex;
  gap: 2rem;
  width: max-content;
  animation: ticker 50s linear infinite;
  will-change: transform;
}

.poster-track img {
  height: 54vh;
  max-height: 900px;
  border-radius: 10px;
  object-fit: cover;
  box-shadow: 0 0 15px #ff0033;
  transition: opacity 0.3s ease;
  opacity: 1;
}

@keyframes posterScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-100%); }
}

@media (max-width: 768px) {
  .poster-slider {
    bottom: 2vh;
  }
  .poster-track {
	animation: ticker 40s linear infinite;
	margin-right:82vh;
  }
  .poster-track img {
    height: 112vw;
  }
}

/* === Hírsáv === */
.news-ticker {
  padding: -1rem;
  font-size: 1.9rem;
  font-weight: bold;
  color: #00ffcc;
  text-shadow: 0 0 3px #00ffcc;
  overflow: hidden;
}

.ticker-content {
  display: inline-block;
  white-space: nowrap;
  animation: ticker 50s linear infinite;
  width: 100%;
}

.news-item {
  margin-right: 3rem;
}

@keyframes ticker {
  0% { transform: translateX(100%); }
  100% { transform: translateX(-100%); }
}

@media (max-width: 768px) {
  .news-ticker {
    font-size: 2rem;
    text-align: center;
    white-space: normal;
    padding: 0 1rem;
  }
}

/* === Tartalom és események === */
.container {
  max-width: 1000px;
  margin: 2rem auto;
  padding: 2rem;
}

.countdown-section, #kapcsolat {
  text-align: center;
  margin-bottom: 2rem;
}

.esemenyek-szekcio,
.kapcsolat-szekcio {
  padding: 2rem;
  margin-bottom: 3rem;
  border-radius: 12px;
  text-align: center;
}

.esemeny-kartya {
  border: 2px solid #00ffcc;
  border-radius: 10px;
  box-shadow: 0 0 8px rgba(0, 255, 204, 0.6);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}

.esemeny-kartya h3 {
  color: #00ffcc;
  font-size: 1.5rem;
}

.esemeny-kartya p {
  font-size: 1.2rem;
}

.kapcsolat-szekcio h2 {
  color: #00ffcc;
  font-size: 2.3rem;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
}

.kapcsolat-szekcio p,
.kapcsolat-szekcio a {
  font-size: 1.25rem;
  color: #e0e0e0;
  text-decoration: none;
}

.kapcsolat-szekcio a:hover {
  color: orange;
}

.kapcsolat-szekcio i {
  margin-right: 0.5rem;
  color: #00ffcc;
}

@media (max-width: 768px) {
  .esemeny-grid {
    flex-direction: column;
    gap: 1rem;
  }
}

/* === Lábléc === */
footer {
  color: #fff;
  text-align: center;
  padding: 1rem 0;
  border-top: 2px solid #00ffcc;
}

.social-icons a {
  color: #00ffcc;
  margin: 0 0.5rem;
  font-size: 1.5rem;
  text-decoration: none;
  transition: color 0.3s;
}

.social-icons a:hover {
  color: orange;
}


/* GDPR sáv */
.cookie-consent {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(0, 0, 0, 0.9);
  color: #fff;
  padding: 1em;
  text-align: center;
  display: none;
  z-index: 9999;
}
.cookie-consent button {
  margin-left: 1em;
  background: #00ffcc;
  border: none;
  padding: 0.5em 1em;
  cursor: pointer;
}

/* Scroll progress bar */
.progress-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: #ccc;
  z-index: 9998;
}
.progress-bar {
  height: 4px;
  background: #00ffcc;
  width: 0%;
}

/* Lightbox overlay */
.lightbox-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.8);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10000;
}


/* === HEADER STATS JOBBRA === */
.header-stats {
  justify-content: flex-end;
  align-items: center;
}

.header-stats p {
  margin: 0.1em;
  font-size: 0.9em;
  
  font-weight: bold;
}
