/* 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: url("pics/bgcImage.png") center/cover no-repeat fixed;
  background-color: #202020; /* ha nem tölt be a kép */
  color: white;
  line-height: 1.6;
  margin: 0;
  padding: 0;
  
}

/*--------------------------------------------------*/

/* 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;
}

.logo {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--gold-light);
}

.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;
}

/*--------------------------------------------------*/

/* Banner */

.banner{
  background-color: #202020;
  max-height: 550px;
   display: flex;
  justify-content: center; /* vízszintesen középre */
  align-items: center;     /* függőlegesen középre */

}

.banner img {
  width: 65%;
  height: auto;
  max-height: 500px; /* opcionális, hogy ne legyen túl nagy */
  display: block;
  object-fit: cover;
}
 
/*--------------------------------------------------*/

/* Hero szekció */
.hero {
  position: relative;
  background: url('pics/hero_2.jpg') center/cover no-repeat;
  height: 650px;
  color: white;
  text-align: center;
  padding: 6rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  overflow: hidden; /* ne lógjon túl semmi */
}

/* Áttetsző réteg (30%) */
.hero::before {
  content: "";
  position: absolute;
  inset: 0; /* minden irányból teljes lefedés */
  background: rgba(32, 32, 32, 0.8); /* 80% sötétítés */
  z-index: 1; /* a háttér fölé, de a szöveg alá */
}

/* A szöveget a sötét réteg fölé hozzuk */
.hero * {
  position: relative;
  z-index: 2;
}

.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;
  margin-bottom: 2rem;
}

.btn {
  background: var(--gold-mid);
  padding: 0.75rem 1.5rem;
  color: var(--dark);
  text-decoration: none;
  border-radius: 25px;
  font-weight: bold;
  transition: background 0.3s;
  display: inline-block;
}

.btn:hover {
  background: var(--gold-dark);
}
/* 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); }
}



/*--------------------------------------------------*/


.bgcContentColor {
  background-color: #202020;
  width: 70%;
  min-height: 100vh; /* legalább a képernyő magassága */
  display: flex;
  flex-direction: column;
  align-items: center; /* középre igazítja a belső tartalmat */
  justify-content: flex-start; /* felülről induljon */
  padding: 0;
  margin: 0 auto;
  background-attachment: scroll; /* hogy a body háttér ne keveredjen */
}




/* Szolgáltatások */
.services {
  min-height: 100vh;           /* kitölti a teljes képernyő magasságát */
  display: flex;
  justify-content: center;     /* vízszintes középre igazítás */
  align-items: center;         /* függőleges középre igazítás */
  flex-direction: column;      /* hogy a cím (h2) felül maradjon */
  padding: 2rem;
  text-align: center;
}

.services h2 {
  color: var(--gold-light);
  margin-bottom: 2rem;
}

.service-grid {
  display: grid;
  justify-content: center;   /* középre igazítja a teljes gridet */
  align-items: center;       /* függőlegesen is középen tartja */
  gap: 3rem;                 /* hézag a kártyák között */
}

/* Nagy kijelzőn fix 2x2 */
@media (min-width: 992px) {
  .service-grid {
    grid-template-columns: repeat(2, 1fr); /* két egyforma széles oszlop */
    max-width: 700px;                      /* így középen marad és nem nyúlik szét */
    margin: 0 auto;                        /* teljes középre igazítás */
    gap: 3rem 4rem;                        /* sorok között 3rem, oszlopok között 4rem */
  }
}

.card {
  background: var(--gray);
  padding: 2rem;
  border-radius: 12px;
  transition: transform 0.3s, box-shadow 0.3s;
  width: 300px;
  height: 400px;
}
.card img {
  width: 100%;
  height: 180px;       /* állíthatod igény szerint */
  object-fit: cover;   /* megtartja az arányokat és levágja a felesleget */
  border-radius: 8px;  /* hogy passzoljon a kártya sarkaihoz */
  margin-bottom: 1rem;
  
}
.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.4);
}

/* Főoldal Előnyök */
.benefits {
  position: relative;
  padding: 4rem 2rem;
  text-align: center;
  height: 650px;
  display: flex;              /* flexbox */
  flex-direction: column;     /* egymás alatt legyenek a h1, p, gomb */
  justify-content: center;    /* függőleges középre */
  align-items: center;        /* vízszintes középre */
  overflow: hidden; /* hogy a pszeudo ne lógjon ki */
}


.benefits h2 {
  color: var(--gold-light);
  margin-bottom: 2rem;
}
.benefit-icons {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}
.benefit-icons div {
  text-align: center;
}
.benefit-icons i {
  font-size: 2rem;
  color: var(--gold-mid);
  margin-bottom: 0.5rem;
}

/* Okosotthon ötletek */
.ideas {
  padding: 4rem 2rem;
  text-align: center;
}
.ideas h2 {
  color: var(--gold-light);
  margin-bottom: 2rem;
}
.ideas-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

/* Teljes képernyős nézet (3 oszlop fixen) */
@media (min-width: 1000px) {
  .ideas-grid {
    grid-template-columns: repeat(3, 1fr);
  }
} 

.idea-card {
  background: var(--gray);
  padding: 2rem;
  border-radius: 12px;
    
  transition: transform 0.3s, box-shadow 0.3s;
}
.idea-card img {
  width: 90%;
  height: 200px;       /* állíthatod igény szerint */
  object-fit: cover;   /* megtartja az arányokat és levágja a felesleget */
  border-radius: 8px;  /* hogy passzoljon a kártya sarkaihoz */
  margin-bottom: 1rem;
}
.idea-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.4);
}
.idea-card i {
  font-size: 2rem;
  color: var(--gold-mid);
  margin-bottom: 1rem;
}
.idea-card h3 {
  margin-bottom: 0.5rem;
  color: var(--gold-light);
}
.idea-card p {
  font-size: 0.95rem;
}

/* About */
.about {
  padding: 4rem 2rem;
  background: var(--dark);
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.about-container {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.about h2 {
  color: var(--gold-light);
  margin-bottom: 2rem;
  text-align: center;
}

/* Lista ikonokkal */
.reason-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.reason-list li {
  display: flex;
  align-items: center;
  font-size: 1.1rem;
  gap: 0.8rem;
  line-height: 1.4;
}

.reason-list i {
  color: var(--gold-mid);
  font-size: 1.4rem;
}

/* Kép */
.about-image img {
  height: 450px;
  width: 100%;
  max-width: 500px;
  border-radius: 12px;
  object-fit: cover;
  display: block;
  margin: 0 auto;
}

/* Desktop elrendezés: szöveg + kép egymás mellett */
@media (min-width: 992px) {
  .about-container {
    grid-template-columns: 1fr 1fr;
  }
  .about h2 {
    text-align: left;
  }
}

/* --- Mobilbarát finomhangolás --- */
@media (max-width: 768px) {
  .about {
    padding: 3rem 1.5rem;
  }

  .about h2 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    text-align: center;
  }

  .reason-list li {
    font-size: 1rem;
    justify-content: center;
    text-align: center;
  }

  .reason-list i {
    font-size: 1.2rem;
  }

  .about-image img {
    height: 300px;
    max-width: 100%;
  }
}


/* Footer */
footer {
  background: #c3a356;
  text-align: center;
  padding: 1rem;
  font-size: 0.9rem;
  color: black;
}

.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);
}



/* Ne legyen vízszintes görgetés animáció közben sem */
html, body { overflow-x: hidden; }

/* Biztonságos, layoutot nem piszkáló scroll animációk */
.reveal {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .6s ease, transform .6s ease;
  will-change: opacity, transform;
}

.reveal--left  { transform: translateX(-24px); }
.reveal--right { transform: translateX(24px); }

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* Akinek csökkentett animáció beállítása van, ott ne animáljunk */
@media (prefers-reduced-motion: reduce) {
  .reveal,
  .reveal--left,
  .reveal--right {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }}




/*--------------------------RÓLUNK OLDAL----------------------------*/

/* About Us profi layout */
.about-us {
  padding: 4rem 2rem;
  background: var(--dark);
  color: white;
  line-height: 1.7;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center; /* Középre igazítás */
}

.about-us-container {
  max-width: 900px; /* Kényelmes olvasási szélesség */
  width: 100%;
}

.about-us h2 {
  color: var(--gold-light);
  font-size: 2.2rem;
  margin-bottom: 2rem;
}

.about-us-text p {
  margin-bottom: 1.5rem;
  font-size: 1.05rem;
}

.about-us-text span {
  color: var(--gold-mid);
  font-weight: bold;
}

/* Founders kártyák */
.founders {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

.founder-card {
  background: var(--gray);
  padding: 1.5rem;
  border-radius: 12px;
  width: 180px;
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
}

.founder-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.4);
}

.founder-img {
  margin-bottom: 0.5rem;
  color: var(--gold-mid);
}

/* Contact cards */
.contact-cards {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}

.contact-card {
  background: var(--gray);
  padding: 1rem;
  border-radius: 12px;
  width: 200px;
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
}

.contact-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.4);
}

.contact-card i {
  color: var(--gold-mid);
  margin-bottom: 0.5rem;
}

.contact-card p a {
  color: white;
  text-decoration: none;
  font-weight: bold;
}

.contact-card p a:hover {
  color: var(--gold-light);
}






/* 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;
  }
}
/* Desktop layout */
@media(min-width:992px) {
  .about-us-container {
    grid-template-columns: 1.5fr 1fr;
    gap: 3rem;
  }

  .about-us-text {
    text-align: left;
  }
}


@media (max-width: 768px) {
  .banner img {
    width: 90%;
    max-height: 300px;
  }

  .hero {
    height: 500px;
    padding: 3rem 1rem;
  }

  .hero h1 {
    font-size: 1.8rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .btn {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
  }
}
@media (max-width: 768px) {
  .service-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .card {
    width: 100%;
    height: auto; /* automatikusan igazodik a tartalomhoz */
  }
}
@media (max-width: 768px) {
  .ideas-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .idea-card img {
    width: 100%;
    height: auto;
  }
}
@media (max-width: 480px) {
  .benefit-icons {
    flex-direction: column;
    gap: 1.5rem;
  }
}
