:root {
  --purple: #d85aff;
  --black: #000000;
  --white: #ffffff;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
body {
  font-family: Arial, sans-serif;
  background: var(--black);
  color: var(--white);
  line-height: 1.6;
}

/* NAVBAR */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 25px;
  background: rgba(0, 0, 0, 0.9);
  border-bottom: 2px solid var(--purple);
  position: sticky;
  top: 0;
  z-index: 1000;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: bold;
  color: var(--purple);
  font-size: 20px;
}
.logo img {
  height: 45px;
}
nav a {
  color: var(--white);
  text-decoration: none;
  margin-left: 20px;
  font-weight: bold;
  transition: 0.3s;
}
nav a:hover {
  color: var(--purple);
}
.btn-nav {
  background: var(--purple);
  padding: 8px 15px;
  border-radius: 20px;
}
.btn-nav:hover {
  background: #8c2ce0;
  color: var(--white);
}

.hero {
    width: 100%;
  height: 87vh;
  background: linear-gradient(135deg, rgba(216,90,255,0.7), rgba(0,0,0,0.9)), url("cheer-bg.jpg") center/cover no-repeat;
  display: flex;
  justify-content: center;
  align-items: center;
}


.hero-content h1 {
  font-size: 40px;
  color: var(--white);
  margin-bottom: 15px;
}
.hero-content p {
  font-size: 20px;
  color: #ddd;
  margin-bottom: 25px;
}
.btn {
  background: var(--purple);
  color: var(--white);
  text-decoration: none;
  padding: 15px 30px;
  border-radius: 30px;
  font-weight: bold;
  transition: 0.3s;
}
.btn:hover {
  background: #8131c7;
}

/* SECTIONS */
section {
  padding: 60px 20px;
  max-width: 10000px;
  margin: 0;
  text-align: center;
}
.section-title {
  font-size: 28px;
  color: var(--purple);
  margin-bottom: 25px;
}
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 15px;
}
.gallery img {
  width: 100%;
  border-radius: 10px;
}
/* LIGHTBOX */
.lightbox { 
  display: none; 
  position: fixed; 
  top: 0; left: 0; 
  width: 100%; height: 100%; 
  background: rgba(0,0,0,0.8); 
  justify-content: center; 
  align-items: center; 
  z-index: 1000; 
}
.lightbox:target { display: flex; }
.lightbox img { 
  max-width: 90%; 
  max-height: 90%; 
  border-radius: 10px; 
  transition: transform 0.3s ease;
  cursor: grab; /* jelezze, hogy húzható */
  position: relative;
  will-change: transform; /* ez jelzi a böngészőnek, hogy a transform fog változni */
}

.lightbox img.enlarged {
  transform: scale(3); /* nagyobb kinagyítás */
  cursor: grabbing;
  position: relative; /* maradhat relative, ne absolute */
  z-index: 1000;      /* a kép alatta a nyilaknak */
}
.lightbox a.close { 
  position: absolute; 
  top: 20px; 
  right: 30px; 
  font-size: 40px; 
  color: white; 
  text-decoration: none; 
}

/* Nyilak a lightboxhoz */
.lightbox .prev,
.lightbox .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  padding: 16px;
  margin-top: -22px;
  color: #fff;
  font-weight: bold;
  font-size: 40px;
  text-decoration: none;
  user-select: none;
  transition: 0.3s;
}
.lightbox .prev:hover,
.lightbox .next:hover {
  color: #8131c7;
  z-index: 1001; /* a kép fölé tesszük */
}
.lightbox .prev {
  left: 10%;
}
.lightbox .next {
  right: 10%;
}


.event-list {
  list-style: none;
  font-size: 18px;
}
.event-list li {
  margin: 10px 0;
}

/* CONTACT */
#elerhetoseg a {
  color: var(--purple);
}

/* FOOTER */
footer {
  text-align: center;
  padding: 20px;
  border-top: 2px solid var(--purple);
  background: #111;
  margin-top: 40px;
}




form-container {
  background: #fff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
  width: 100%;
  max-width: 400px;
}

.form-container h2 {
  text-align: center;
  margin-bottom: 20px;
  color: #333;
}

.form-container input {
  width: 100%;
  padding: 12px;
  margin: 10px 0;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 16px;
}

.form-container button {
  width: 100%;
  padding: 12px;
  background: #2193b0;
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  cursor: pointer;
  transition: 0.3s;
}

.form-container button:hover {
  background: #17667d;
}

/* Sikeres jelentkezés üzenet */
.thankyou_message {
  display: none;
  text-align: center;
  font-size: 18px;
  color: green;
  margin-top: 20px;
  font-weight: bold;
  border: 2px solid green;
  border-radius: 8px;
  padding: 10px;
  background: #e6ffe6;
}


.menu-toggle {
  display: none;
  font-size: 28px;
  background: none;
  border: none;
  color: var(--white);
  cursor: pointer;
}

.nav-links {
  display: flex;
  gap: 20px;
  align-items: center;
}


.menu-toggle {
  display: none;
  font-size: 28px;
  background: none;
  border: none;
  color: var(--white);
  cursor: pointer;
}

.nav-links {
  display: flex;
  gap: 20px;
  align-items: center;
}

/* Hamburger stílus (ha nincs még) */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.hamburger span {
  height: 3px;
  width: 25px;
  background: var(--white);
  margin: 4px 0;
  border-radius: 2px;
}

/* Mobil nézet */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 70px; /* navbar alá */
    right: 0;
    background: rgba(0,0,0,0.95);
    width: 100%;
    text-align: center;
    padding: 10px 0;
    gap: 15px;
  }

  .nav-links.active {
    display: flex;
  }

  .hamburger {
    display: flex;
  }
}

/* Alapból (gépen) ne látszódjon */
.mobile-only {
  display: none;
}

/* Telefonon (max 768px) jelenjen meg */
@media (max-width: 768px) {
  .mobile-only {
    display: block;
    border: 2;
    border-bottom: 1px solid #ffffff;
    margin: px 0;
  }
}


:root {
  --purple: #d85aff;
  --black: #000000;
  --white: #ffffff;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
body {
  font-family: Arial, sans-serif;
  background: var(--black);
  color: var(--white);
  line-height: 1.6;
}

/* NAVBAR */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 25px;
  background: rgba(0, 0, 0, 0.9);
  border-bottom: 2px solid var(--purple);
  position: sticky;
  top: 0;
  z-index: 1000;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: bold;
  color: var(--purple);
  font-size: 20px;
}
.logo img {
  height: 45px;
}
nav a {
  color: var(--white);
  text-decoration: none;
  margin-left: 20px;
  font-weight: bold;
  transition: 0.3s;
}
nav a:hover {
  color: var(--purple);
}
.btn-nav {
  background: var(--purple);
  padding: 8px 15px;
  border-radius: 20px;
}
.btn-nav:hover {
  background: #8c2ce0;
  color: var(--white);
}

.hero {
    width: 100%;
  height: 87vh;
  background: linear-gradient(135deg, rgba(216,90,255,0.7), rgba(0,0,0,0.9)), url("cheer-bg.jpg") center/cover no-repeat;
  display: flex;
  justify-content: center;
  align-items: center;
}


.hero-content h1 {
  font-size: 40px;
  color: var(--white);
  margin-bottom: 15px;
}
.hero-content p {
  font-size: 20px;
  color: #ddd;
  margin-bottom: 25px;
}
.btn {
  background: var(--purple);
  color: var(--white);
  text-decoration: none;
  padding: 15px 30px;
  border-radius: 30px;
  font-weight: bold;
  transition: 0.3s;
}
.btn:hover {
  background: #8131c7;
}

/* SECTIONS */
section {
  padding: 60px 20px;
  max-width: 10000px;
  margin: 0;
  text-align: center;
}
.section-title {
  font-size: 28px;
  color: var(--purple);
  margin-bottom: 25px;
}
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 15px;
}
.gallery img {
  width: 100%;
  border-radius: 10px;
}
/* LIGHTBOX */
.lightbox { 
  display: none; 
  position: fixed; 
  top: 0; left: 0; 
  width: 100%; height: 100%; 
  background: rgba(0,0,0,0.8); 
  justify-content: center; 
  align-items: center; 
  z-index: 1000; 
}
.lightbox:target { display: flex; }
.lightbox img { 
  max-width: 90%; 
  max-height: 90%; 
  border-radius: 10px; 
  transition: transform 0.3s ease;
  cursor: grab; /* jelezze, hogy húzható */
  position: relative;
  will-change: transform; /* ez jelzi a böngészőnek, hogy a transform fog változni */
}

.lightbox img.enlarged {
  transform: scale(3); /* nagyobb kinagyítás */
  cursor: grabbing;
  position: relative; /* maradhat relative, ne absolute */
  z-index: 1000;      /* a kép alatta a nyilaknak */
}
.lightbox a.close { 
  position: absolute; 
  top: 20px; 
  right: 30px; 
  font-size: 40px; 
  color: white; 
  text-decoration: none; 
}

/* Nyilak a lightboxhoz */
.lightbox .prev,
.lightbox .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  padding: 16px;
  margin-top: -22px;
  color: #fff;
  font-weight: bold;
  font-size: 40px;
  text-decoration: none;
  user-select: none;
  transition: 0.3s;
}
.lightbox .prev:hover,
.lightbox .next:hover {
  color: #8131c7;
  z-index: 1001; /* a kép fölé tesszük */
}
.lightbox .prev {
  left: 10%;
}
.lightbox .next {
  right: 10%;
}


.event-list {
  list-style: none;
  font-size: 18px;
}
.event-list li {
  margin: 10px 0;
}

/* CONTACT */
#elerhetoseg a {
  color: var(--purple);
}

/* FOOTER */
footer {
  text-align: center;
  padding: 20px;
  border-top: 2px solid var(--purple);
  background: #111;
  margin-top: 40px;
}




form-container {
  background: #fff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
  width: 100%;
  max-width: 400px;
}

.form-container h2 {
  text-align: center;
  margin-bottom: 20px;
  color: #333;
}

.form-container input {
  width: 100%;
  padding: 12px;
  margin: 10px 0;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 16px;
}

.form-container button {
  width: 100%;
  padding: 12px;
  background: #2193b0;
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  cursor: pointer;
  transition: 0.3s;
}

.form-container button:hover {
  background: #17667d;
}

/* Sikeres jelentkezés üzenet */
.thankyou_message {
  display: none;
  text-align: center;
  font-size: 18px;
  color: green;
  margin-top: 20px;
  font-weight: bold;
  border: 2px solid green;
  border-radius: 8px;
  padding: 10px;
  background: #e6ffe6;
}


.menu-toggle {
  display: none;
  font-size: 28px;
  background: none;
  border: none;
  color: var(--white);
  cursor: pointer;
}

.nav-links {
  display: flex;
  gap: 20px;
  align-items: center;
}


.menu-toggle {
  display: none;
  font-size: 28px;
  background: none;
  border: none;
  color: var(--white);
  cursor: pointer;
}

.nav-links {
  display: flex;
  gap: 20px;
  align-items: center;
}

/* Hamburger stílus (ha nincs még) */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.hamburger span {
  height: 3px;
  width: 25px;
  background: var(--white);
  margin: 4px 0;
  border-radius: 2px;
}

/* Mobil nézet */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 70px; /* navbar alá */
    right: 0;
    background: rgba(0,0,0,0.95);
    width: 100%;
    text-align: center;
    padding: 10px 0;
    gap: 15px;
  }

  .nav-links.active {
    display: flex;
  }

  .hamburger {
    display: flex;
  }
}

/* Alapból (gépen) ne látszódjon */
.mobile-only {
  display: none;
}

/* Telefonon (max 768px) jelenjen meg */
@media (max-width: 768px) {
  .mobile-only {
    display: block;
    border: 2;
    border-bottom: 1px solid #ffffff;
    margin: px 0;
  }
}



.folder-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* gépen 4 oszlop */
  gap: 15px;
  justify-content: center;
  margin-top:20px;
}

@media (max-width: 768px) {
  .folder-gallery {
    grid-template-columns: 1fr; /* telefonon 1 oszlop */
  }
}
