/* === Alapstílus === */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', sans-serif;
}

body {
  background-color: #0a0a0d;
  color: #fff;
  overflow-x: hidden;
}

/* === Header === */
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(10, 10, 13, 0.9);
  backdrop-filter: blur(6px);
  padding: 15px 30px;
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid #111;
}

.logo {
  font-size: 1.7rem;
  font-weight: 700;
  color: #00bfff;
  text-shadow: 0 0 8px #00bfff;
}

.logo span {
  color: #ff8800;
  text-shadow: 0 0 8px #ff8800;
}

/* === Navigáció === */
.nav {
  display: flex;
  align-items: center;
  gap: 25px;
}

/* Dropdown (Szerverek) */
.dropdown {
  position: relative;
}

.dropbtn {
  background: none;
  border: none;
  color: #00bfff;
  font-size: 1rem;
  cursor: pointer;
  text-shadow: 0 0 6px #00bfff;
  transition: 0.3s;
}

.dropbtn:hover {
  color: #ff8800;
  text-shadow: 0 0 10px #ff8800;
}

.dropdown-content {
  display: none;
  position: absolute;
  top: 35px;
  left: 0;
  background-color: #111;
  border: 1px solid #222;
  min-width: 180px;
  box-shadow: 0 0 15px #00bfff44;
  border-radius: 6px;
  z-index: 999;
}

.dropdown-content a {
  color: #fff;
  padding: 10px 15px;
  text-decoration: none;
  display: block;
  transition: 0.3s;
}

.dropdown-content a:hover {
  background-color: #1a1a1f;
  color: #ff8800;
  text-shadow: 0 0 8px #ff8800;
}

.dropdown:hover .dropdown-content {
  display: block;
}
/* Ez az új szabály — ha aktív, akkor látható */
.dropdown-content.show {
  display: block;
}
/* Hamburger menü */
.hamburger {
  display: none;
  font-size: 1.6rem;
  cursor: pointer;
  color: #ff8800;
  text-shadow: 0 0 8px #ff8800;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 25px;
}

.nav-links li a {
  color: #00bfff;
  text-decoration: none;
  transition: 0.3s;
  text-shadow: 0 0 6px #00bfff;
}

.nav-links li a:hover {
  color: #ff8800;
  text-shadow: 0 0 8px #ff8800;
}

/* === Mobil nézet === */
@media (max-width: 768px) {
  .hamburger {
    display: block;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 70px;
    right: 20px;
    background-color: #111;
    border: 1px solid #222;
    border-radius: 8px;
    padding: 10px;
    box-shadow: 0 0 15px #00bfff44;
  }

  .nav-links.active {
    display: flex;
  }

  .dropdown {
    display: none;
  }
}

/* === Hero szekció === */
.hero {
  text-align: center;
  padding: 120px 20px;
  background: radial-gradient(circle at top, #00111a 0%, #000 100%);
}

.hero h1 {
  font-size: 2.8rem;
  text-shadow: 0 0 10px #00bfff, 0 0 20px #00bfff;
}

.hero h1 span {
  color: #ff8800;
  text-shadow: 0 0 10px #ff8800, 0 0 20px #ff8800;
}

.hero p {
  margin-top: 15px;
  color: #ccc;
  font-size: 1.2rem;
}

.cta {
  margin-top: 30px;
  padding: 12px 25px;
  background: none;
  border: 2px solid #00bfff;
  color: #00bfff;
  font-size: 1rem;
  border-radius: 30px;
  cursor: pointer;
  transition: 0.3s;
  text-shadow: 0 0 6px #00bfff;
}

.cta:hover {
  background: #ff8800;
  border-color: #ff8800;
  color: #fff;
  text-shadow: 0 0 10px #fff;
  box-shadow: 0 0 15px #ff8800;
}

/* === FOOTER === */
.footer {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: linear-gradient(180deg, #0a0a0d 0%, #00bfff44 100%);
  padding: 20px 20px 10px;
  border-top: 1px solid #111;
  box-shadow: 0 -2px 20px #00bfff33;
  color: #ccc;
  z-index: 999;
}
.footer-content {
  display: flex;
  justify-content: space-around;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}
.footer-logo h2 {
  font-size: 1.3rem;
  color: #00bfff;
  text-shadow: 0 0 8px #00bfff;
}

.footer-logo span {
  color: #ff8800;
  text-shadow: 0 0 8px #ff8800;
}

.footer-logo p {
  margin-top: 5px;
  max-width: 250px;
  font-size: 0.8rem;
  color: #bbb;
}

/* Linkek */
.footer-links h3,
.footer-socials h3 {
  color: #00bfff;
  text-shadow: 0 0 6px #00bfff;
  margin-bottom: 5px;
  font-size: 0.9rem;
}

.footer-links ul {
  list-style: none;
}

.footer-links ul li {
  margin-bottom: 5px;
}

.footer-links ul li a {
  color: #ccc;
  text-decoration: none;
  transition: 0.3s;
  font-size: 0.9rem;
}

.footer-links ul li a:hover {
  color: #ff8800;
  text-shadow: 0 0 8px #ff8800;
}

/* Social ikonok */
.footer-socials .social-icons {
  display: flex;
  gap: 8px;
}

.footer-socials .social-icons a img {
  width: 24px;
  filter: drop-shadow(0 0 5px #00bfff);
  transition: 0.3s;
}

.footer-socials .social-icons a:hover img {
  transform: scale(1.1);
  filter: drop-shadow(0 0 8px #ff8800);
}

/* Alsó rész */
.footer-bottom {
  text-align: center;
  margin-top: 10px;
  font-size: 0.8rem;
  color: #777;
  opacity: 0.8;
}

/* Mobil nézet */
@media (max-width: 768px) {
  .footer-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-logo p {
    margin: 8px auto;
  }
}
main {
  padding-bottom: 120px; /* hely a footernek */
}
/* === POSZTOK === */
.posts-section {
  padding: 100px 20px 125px;
  text-align: center;
  background: radial-gradient(circle at top, #000c14 0%, #000 100%);
}

.posts-section h2 {
  color: #00bfff;
  font-size: 2rem;
  text-shadow: 0 0 10px #00bfff;
  margin-bottom: 40px;
}

.posts-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 25px;
}

.post-card {
  background: #0e0e12;
  border: 1px solid #1a1a1f;
  border-radius: 15px;
  box-shadow: 0 0 15px #00bfff22;
  width: 300px;
  padding: 20px;
  transition: 0.3s;
  text-align: left;
}

.post-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 20px #ff880055;
}

.post-title {
  font-size: 1.3rem;
  color: #00bfff;
  text-shadow: 0 0 6px #00bfff;
  margin-bottom: 10px;
}

.post-description {
  font-size: 0.95rem;
  color: #ccc;
  margin-bottom: 15px;
}

.post-meta {
  font-size: 0.8rem;
  color: #888;
  border-top: 1px solid #222;
  padding-top: 10px;
}

.post-meta span {
  color: #ff8800;
}

/* === Carousel === */
.carousel {
  width: 100%;
  overflow: hidden;
  background: radial-gradient(circle at top, #000c14 0%, #000 100%);
  padding: 40px 0;
  position: relative;
  height: 350px;
}

.carousel-track {
  position: relative;
  width: 100%;
  height: 100%;
}

.card {
  width: 250px;
  height: 350px;
  background: radial-gradient(circle at top, #000c14 0%, #000 100%);
  color: white;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 10px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 195, 255, 0.2);
  flex-shrink: 0;
  position: absolute;
  top: 0;
  transition: transform 0.02s linear;
}

.card img {
  max-width: 100%;
  max-height: 250px;
  object-fit: cover;
  border-radius: 5px;
  margin-bottom: 10px;
}

.card span {
  font-weight: bold;
  color: #fff;
  text-align: center;
}

.card a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: inherit;
  text-decoration: none;
  height: 100%;
  width: 100%;
}


.main {
  background: linear-gradient(180deg, #0a0a0d 0%, #00bfff44 100%);
}