/* Színek */
:root {
  --dark: #202020;
  --gray: #515151;
  --gold-light: #F7DA8F;
  --gold-mid: #C1A459;
  --gold-dark: #A3834C;
}

/* Alap reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Segoe UI", sans-serif;
  background: var(--dark);
  color: white;
  line-height: 1.6;
}


/*--------------------------------------------------------------------------------------------*/
.logo {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--gold-light);
  text-decoration: none; /* ne legyen aláhúzva */
}

.logo:hover {
  color: var(--gold-mid);
}

/*--------------------------------------------------------------------------------------------*/

/* Navigáció */
header {
  background: var(--dark);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  position: sticky;
  top: 0;
  z-index: 100;
}


.nav-links {
  display: flex;
  list-style: none;
  gap: 1.5rem;
}

.nav-links a {
  text-decoration: none;
  color: white;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: var(--gold-light);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
}
.hamburger span {
  height: 3px;
  width: 25px;
  background: white;
  margin: 4px;
  border-radius: 5px;
}

/* Reszponzivitás */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    flex-direction: column;
    background: var(--dark);
    position: absolute;
    top: 60px;
    right: 0;
    width: 200px;
    padding: 1rem;
  }
  .nav-links.open {
    display: flex;
  }
  .hamburger {
    display: flex;
  }
}

/*--------------------------------------------------------------------------------------------*/

/* Hero szekció */
.hero {
  position: relative;
  background: url("pics/servicesBanner.jpg") center/cover no-repeat;
  color: white;
  text-align: center;
  padding: 6rem 2rem;
  overflow: hidden; /* hogy semmi ne lógjon túl */
}

/* 30% áttetsző réteg a kép fölé */
.hero::before {
  content: "";
  position: absolute;
  inset: 0; /* top, right, bottom, left: 0 */
  background: rgba(32, 32, 32, 0.8); /* 30% sötétítés */
  z-index: 1; /* szöveg alá kerül */
}

/* A szöveg a réteg fölé kerül */
.hero * {
  position: relative;
  z-index: 2;
}

/* Szövegstílusok */
.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: var(--gold-light);
  animation: fadeInDown 1s ease;
  
}

.hero p {
  font-size: 1.2rem;
  line-height: 1.6;
  animation: fadeInUp 1.2s ease;
}

/* Animációk */
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}




/*-------------------------------------------------------------------------------------*/




.blog-post-page {
  padding: 3rem 1.5rem;
  display: flex;
  justify-content: center;
}

.blog-post {
  max-width: 900px;
  width: 100%;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 20px;
  padding: 2.5rem;
  backdrop-filter: blur(6px);
}

/* Fejléc */
.blog-header h1 {
  color: var(--gold-light);
  font-size: 2.4rem;
  margin-bottom: 0.5rem;
}

.meta {
  color: #aaa;
  font-size: 0.9rem;
}

/* Kép */
.blog-cover {
  width: 100%;
  height: 380px;
  object-fit: cover;
  border-radius: 16px;
  margin: 2rem 0;
}

/* Tartalom */
.blog-content p {
  color: #ddd;
  line-height: 1.8;
  margin-bottom: 1.2rem;
}

.blog-content h1 {
  color: var(--gold-light);
  margin: 2rem 0 0.8rem;
}

.blog-content h2{
  color: var(--gold-mid);
  margin: 2rem 0 0.8rem;
}

.blog-content ul {
  margin-left: 1.2rem;
  margin-bottom: 1.5rem;
}

.blog-content li {
  margin-bottom: 0.4rem;
}

/* Idézet */
blockquote {
  border-left: 4px solid var(--gold-mid);
  padding-left: 1rem;
  margin: 2rem 0;
  color: #ccc;
  font-style: italic;
  background: rgba(255,255,255,0.02);
}

/* Vissza gomb */
.blog-back {
  margin-top: 2rem;
}

.blog-back a {
  color: var(--gold-mid);
  text-decoration: none;
  font-weight: bold;
}

.blog-back a:hover {
  color: var(--gold-light);
}

/* Mobil optimalizálás */
@media (max-width: 600px) {
  .blog-post {
    padding: 1.5rem;
  }

  .blog-header h1 {
    font-size: 1.8rem;
  }

  .blog-cover {
    height: 220px;
  }
}






































/* === Footer (modern prémium stílus) === */
footer {
  position: relative;
  background: linear-gradient(to right, #1a1a1a, #202020, #1a1a1a);
  color: #ccc;
  text-align: center;
  padding: 2rem 1rem;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
  overflow: hidden;
  border-top: 1px solid rgba(255, 215, 0, 0.2);
}

/* Finom arany fénycsík animáció */
footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: -50%;
  width: 200%;
  height: 2px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--gold-light),
    transparent
  );
  animation: moveLight 5s linear infinite;
  opacity: 0.8;
}

/* Fénycsík mozgása */
@keyframes moveLight {
  0% {
    transform: translateX(-50%);
  }
  100% {
    transform: translateX(50%);
  }
}

/* Szöveg stílus */
footer p {
  margin: 0;
  z-index: 2;
  position: relative;
  color: #ddd;
}

footer p span {
  color: var(--gold-light);
  font-weight: bold;
}




footer.is-visible {
  animation: glowFooter 2s ease;
}

@keyframes glowFooter {
  0% {
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.3);
  }
  100% {
    box-shadow: none;
  }
}