/* 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); }
}



/* === Szolgáltatások szekció === */
.services {
  background: var(--dark);
  color: white;
  text-align: center;
  padding: 6rem 2rem;
  position: relative;
}

.services h2 {
  color: var(--gold-light);
  font-size: 2.2rem;
  margin-bottom: 3rem;
  text-transform: uppercase;
  letter-spacing: 2px;
}

/* === Grid elrendezés === */
.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  justify-items: center;
  align-items: stretch;
}

/* === Kártyák stílusa === */
.card {
  background: rgba(40, 40, 40, 0.8);
  border: 1px solid rgba(255, 215, 0, 0.2);
  border-radius: 16px;
  padding: 2rem 1.5rem;
  max-width: 320px;
  height: 100%;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(4px);
}

/* Ikon */
.card i {
  transition: transform 0.3s ease, color 0.3s ease;
}

/* Szöveg */
.card h3 {
  color: var(--gold-mid);
  font-size: 1.3rem;
  margin-bottom: 0.8rem;
}

.card p {
  color: #ddd;
  font-size: 1rem;
  line-height: 1.6;
}

/* Hover-effektus */
.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 20px rgba(255, 215, 0, 0.2);
  border-color: var(--gold-mid);
}

.card:hover i {
  color: var(--gold-light);
  transform: scale(1.2);
}

/* === Reszponzivitás === */
@media (max-width: 768px) {
  .services {
    padding: 4rem 1rem;
  }

  .card {
    padding: 1.5rem 1rem;
  }
}

/*--------------------------------------------------------------------------------------------*/

/* === Call to Action szekció (lélegző háttérrel) === */
.cta {
  position: relative;
  background: linear-gradient(
      135deg,
      rgba(2, 253, 253, 0.4),
      rgba(0, 0, 0, 0.6)
    ),
    url("pics/cta-bg.jpg") center/cover no-repeat;
  padding: 5rem 2rem;
  color: white;
  text-align: center;
  border-top: 1px solid rgba(255, 215, 0, 0.4);
  border-bottom: 1px solid rgba(255, 215, 0, 0.4);
  overflow: hidden;
}

/* Finom arany fényréteg */
.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at center,
    rgba(255, 215, 0, 0.15),
    transparent 70%
  );
  opacity: 0.5;
  animation: breathe 6s ease-in-out infinite;
  z-index: 0;
}

/* “Lélegző” animáció */
@keyframes breathe {
  0% {
    transform: scale(1);
    opacity: 0.4;
  }
  50% {
    transform: scale(1.1);
    opacity: 0.7;
  }
  100% {
    transform: scale(1);
    opacity: 0.4;
  }
}

/* Szöveg */
.cta h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: var(--gold-light);
  z-index: 2;
  position: relative;
  text-transform: uppercase;
  letter-spacing: 1px;
  animation: fadeInDown 1s ease;
}

.cta p {
  font-size: 1.2rem;
  color: #ddd;
  margin-bottom: 2rem;
  z-index: 2;
  position: relative;
  animation: fadeInUp 1.2s ease;
}

/* Gomb */
.cta .btn {
  background: var(--gold-mid);
  color: var(--dark);
  font-weight: bold;
  padding: 1rem 2rem;
  border-radius: 30px;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s ease;
  position: relative;
  z-index: 2;
}

.cta .btn:hover {
  background: var(--gold-light);
  transform: scale(1.05);
  box-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
}

/* Reszponzivitás */
@media (max-width: 768px) {
  .cta {
    padding: 3rem 1.5rem;
  }

  .cta h2 {
    font-size: 1.6rem;
  }

  .cta p {
    font-size: 1rem;
  }
}



/*--------------------------------------------------------------------------------------------*/


/* === 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;
  }
}


.scroll-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: var(--gold-mid);
  color: var(--dark);
  padding: 0.8rem;
  border-radius: 50%;
  font-size: 1.2rem;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition: background 0.3s, transform 0.3s;
  z-index: 999;
}

.scroll-top:hover {
  background: var(--gold-dark);
  transform: translateY(-3px);
}



























/* Banner 
.banner {
  position: relative;
}

.banner img {
  width: 100%;
  display: block;
  height: auto;
  max-height: 1000px; /* opcionális, hogy ne legyen túl nagy
  object-fit: cover;
}
 
 Átvezetés a banner és a hero között 
.banner::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 80px;  mennyi legyen az átmenet 
  background: linear-gradient(to bottom, transparent, #202020);
}*/