/* Alapbeállítások */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  height: 100%; /* Szükséges a teljes magasságú elrendezéshez */
}

body {
  font-family: Arial, sans-serif;
  background-color: #f9f9f9;
   min-height: 100%; /* A body legalább a böngészőablak magasságát veszi fel */
  display: flex;
  flex-direction: column;
}
main {
  flex-grow: 1; /* A <main> tartalom kitölti az összes rendelkezésre álló üres helyet,
                   ezáltal lenyomva a láblécet az oldal aljára. */
}

/* Fejléc */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 30px;
  background-color: #004080;
  color: white;
  flex-wrap: wrap;
}

.logo-container {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
}

.logo-container img {
  height: 40px;
  margin-right: 10px;
}

.company-name {
  font-size: 1.5rem;
  font-weight: bold;
}

/* --- MODERN MENÜ STÍLUSOK --- */

/* A teljes fejléc konténer beállításai */
header {
  display: flex;
  justify-content: space-between; /* A logót és a menüt a két szélre igazítja */
  align-items: center;
  padding: 10px 5%; /* Kényelmes térköz a széleken */
  background-color: #ffffff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); /* Finom árnyék */
  position: sticky; /* A menü görgetéskor is a helyén marad */
  top: 0;
  z-index: 999;
}

/* Logó konténer (nem változott, de ide teszem az átláthatóságért) */
.logo-container {
  display: flex;
  align-items: center;
}

.logo-container img {
  height: 50px; /* Állítsd be a logód magasságát */
  margin-right: 15px;
}

.company-name {
  font-size: 1.5em;
  font-weight: bold;
  color: #333;
}

/* Navigációs linkek alapbeállításai */
.main-nav .menu {
  list-style: none;
  display: flex;
  margin: 0;
  padding: 0;
}

.main-nav .menu li {
  margin-left: 30px; /* Térköz a menüpontok között */
}

.main-nav .menu a {
  color: #333;
  text-decoration: none;
  font-size: 1em;
  font-weight: 500;
  padding: 5px 0;
  position: relative; /* Ez kell a vonal animációhoz */
  transition: color 0.3s ease;
}

/* Hover effektus: aláhúzás animáció */
.main-nav .menu a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -5px;
  left: 0;
  background-color: #007BFF; /* A vonal színe, változtasd kedvedre */
  transition: width 0.3s ease;
}

.main-nav .menu a:hover,
.main-nav .menu a.active { /* Aktív menüpont stílusa */
  color: #007BFF;
}

.main-nav .menu a:hover::after,
.main-nav .menu a.active::after {
  width: 100%;
}


/* --- LENYÍLÓ MENÜ --- */

.dropdown {
  position: relative;
}

.dropdown-menu {
  display: none; /* Alapból rejtett */
  position: absolute;
  top: 150%; /* Kis térköz a szülő menüponttól */
  left: 50%;
  transform: translateX(-50%);
  background-color: white;
  list-style: none;
  padding: 10px 0;
  margin: 0;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  min-width: 220px; /* A lenyíló menü szélessége */
  opacity: 0;
  transition: opacity 0.3s ease, top 0.3s ease;
  pointer-events: none; /* Ne lehessen rá kattintani, amíg rejtett */
}

.dropdown:hover .dropdown-menu {
  display: block;
  opacity: 1;
  top: 100%;
  pointer-events: auto;
}

.dropdown-menu li {
  margin: 0;
  padding: 0;
}

.dropdown-menu a {
  display: block;
  padding: 12px 20px;
  width: 100%;
  box-sizing: border-box;
}

/* Lenyíló menü nyíl ikonja */
.dropdown-toggle .fa-caret-down {
  margin-left: 5px;
  transition: transform 0.3s ease;
}

.dropdown:hover .dropdown-toggle .fa-caret-down {
  transform: rotate(180deg);
}


/* --- MOBIL NÉZET (RESZPONZIVITÁS) --- */

/* A hamburger menü ikon és a checkbox elrejtése alapból */
#menu-toggle, .menu-icon {
  display: none;
}

/* Media Query: 992px szélesség alatt érvényesülnek ezek a szabályok */
@media (max-width: 992px) {
  /* Megjelenítjük a hamburger ikont */
  .menu-icon {
    display: block;
    cursor: pointer;
    font-size: 1.8em;
    color: #333;
  }

  /* A menüpontok listáját pozícionáljuk a mobilos nézethez */
  .main-nav .menu {
    display: block;
    position: absolute;
    top: 100%; /* A fejléc alá kerül */
    right: 0;
    background-color: white;
    width: 100%;
    max-height: 0; /* Alapból 0 a magassága */
    overflow: hidden; /* A tartalom levágása */
    transition: max-height 0.4s ease-in-out;
  }

  /* Ha a checkbox be van pipálva (a hamburgerre kattintottunk), a menü legördül */
  #menu-toggle:checked ~ .menu {
    max-height: 500px; /* Egy elég nagy magasság, hogy a menüpontok kiférjenek */
    box-shadow: 0 5px 10px rgba(0,0,0,0.05);
  }

  /* Mobilon a menüpontok egymás alatt helyezkednek el */
  .main-nav .menu li {
    margin: 0;
    text-align: center;
    border-bottom: 1px solid #f0f0f0;
  }

  .main-nav .menu li:last-child {
    border-bottom: none;
  }
  
  .main-nav .menu a {
    display: block;
    padding: 15px;
  }

  .main-nav .menu a::after {
    display: none; /* Mobilon nem kell az aláhúzás animáció */
  }

  /* Mobilon a lenyíló menü másképp működik */
/* Mobilon a lenyíló menü másképp működik */
.dropdown-menu {
  position: static;
  display: block; 
  max-height: 0; /* Alapból zárva van */
  overflow: hidden;
  transition: max-height 0.4s ease-in-out, padding 0.4s ease-in-out;
  background-color: #f9f9f9;
  box-shadow: none;
  border-radius: 0;
  transform: none;
  width: 100%;
  opacity: 1;
  min-width: unset;
  padding: 0 15px; /* Zárt állapotban nincs belső margó */
}

/* Amikor a JavaScript hozzáadja az 'open' osztályt, a menü kinyílik */
.dropdown.open > .dropdown-menu {
  max-height: 500px; /* Egy elég nagy magasság, hogy kiférjenek a linkek */
  padding: 15px; /* Visszaadjuk a belső margót */
}

/* A lenyíló menü nyíl ikonjának elforgatása mobilon, ha nyitva van */
.dropdown.open > a .fa-caret-down {
  transform: rotate(180deg);
}

  .dropdown-menu a {
    padding-left: 40px; /* Behúzás a jobb átláthatóságért */
  }

  /* Ha a lenyíló menüre kattintunk (hover helyett) */
 

  .dropdown-toggle:hover .fa-caret-down {
    transform: rotate(0deg); /* Ne forogjon a nyíl mobilon */
  }
}

/* Carousel */
.carousel {
  position: relative;
  height: 600px;
  overflow: hidden;
}

.slide {
  display: none;
  height: 100%;
  width: 100%;
  background-size: cover;
  background-position: center;
  position: absolute;
  top: 0;
  left: 0;
}

.slide.active {
  display: block;
}

/* Carousel szöveg */
.text {
  position: absolute;
  top: 50%;
  left: 5%; /* Reszponzív, százalékos érték */
  transform: translateY(-50%);

  /* Modern "üveg" effektus (Glassmorphism) */
  background: rgba(30, 30, 30, 0.6); /* Sötétebb, de nem tiszta fekete */
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px); /* Safari kompatibilitás */
  
  color: #f5f5f5; /* Enyhén törtfehér, kellemesebb a szemnek */
  padding: 1.5rem 2rem; /* Modern, skálázódó mértékegység */
  max-width: 550px; /* Fixebb, de mégis reszponzív szélesség */
  border-radius: 16px; /* Finomabb, lekerekített sarkok */
  
  /* További finomítások */
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

/* Gombok */
.carousel button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 2rem;
  background: rgba(0, 0, 0, 0.4);
  color: white;
  border: none;
  padding: 10px;
  cursor: pointer;
  z-index: 10;
}
@media (max-width: 768px) {
  .carousel button{ /* <<< Ezt cseréld le a saját nyilad osztályára! */
    display: none;
  }
}

.prev {
  left: 10px;
}

.next {
  right: 10px;
}

.carousel button:hover {
  background: rgba(0, 0, 0, 0.6);
}

/* 🔁 Reszponzív mód: kis képernyőkhöz */
@media (max-width: 768px) {
  .menu ul {
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
  }

  .carousel {
    height: 400px; /* kisebb magasság mobilon */
  }

  .text {
    max-width: 90%;
    left: 10px;
    right: 10px;
    font-size: 0.9rem;
    padding: 15px;
  }

  .company-name {
    font-size: 1.2rem;
  }

  .logo-container img {
    height: 30px;
  }

  .carousel button {
    font-size: 1.5rem;
    padding: 5px 8px;
  }
}
/* Gépes (nagy képernyős) nézet - még nagyobb carousel magasság */
@media (min-width: 1024px) {
  .carousel {
    height: 1000px;
  }

  .text {
    font-size: 1.2rem;
    padding: 30px;
  }

  .carousel button {
    font-size: 2.5rem;
  }
}
.about {
  background-color: #ffffff;
  padding: 60px 20px;
  color: #333;
}

.about .container {
  max-width: 1000px;
  margin: 0 auto;
  line-height: 1.7;
  font-size: 1.1rem;
}

.about h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  color: #004080;
  position: relative;
  padding-bottom: 10px;
}

.about h2::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  background-color: #004080;
  margin-top: 10px;
}

.about p {
  margin-bottom: 20px;
}

@media (max-width: 768px) {
  .about .container {
    font-size: 1rem;
  }

  .about h2 {
    font-size: 1.5rem;
  }
}
.services {
  background-color: #f1f5f9;
  padding: 60px 20px;
  color: #222;
}

.services .container {
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}

.services h2 {
  font-size: 2rem;
  margin-bottom: 30px;
  color: #004080;
  position: relative;
  padding-bottom: 10px;
}

.services h2::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  background-color: #004080;
  margin: 10px auto 0;
}

.service-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.service-item {
  background-color: white;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.06);
  font-weight: bold;
  font-size: 1.1rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.service-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

@media (max-width: 768px) {
  .services h2 {
    font-size: 1.5rem;
  }

  .service-item {
    font-size: 1rem;
    padding: 15px;
  }
}
.service-item {
  background-color: white;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.06);
  font-weight: bold;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  cursor: pointer;
  position: relative;
}

.service-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.service-item .description {
  margin-top: 15px;
  font-size: 0.95rem;
  font-weight: normal;
  color: #444;
  display: none;
  line-height: 1.5;
}

.service-item.active .description {
  display: block;
}

@media (max-width: 768px) {
  .service-item {
    font-size: 1rem;
    padding: 15px;
  }
}
/* --- LÁBLÉC (FOOTER) STÍLUSOK --- */

footer {
  background-color: #2c3e50; /* Sötétkék háttér */
  color: #ecf0f1; /* Világos szövegszín */
  padding: 50px 5%;
  font-size: 0.9em;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap; /* Mobilon egymás alá kerülnek */
  gap: 30px;
  padding-bottom: 30px;
  border-bottom: 1px solid #34495e;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 15px;
  font-size: 1.5em;
  font-weight: bold;
}

.footer-logo img {
  height: 40px;
}

.footer-contacts {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 15px;
  font-size: 1.2em;
}

.contact-item .fa {
  color: #3498db; /* Kiemelő szín az ikonoknak */
  font-size: 1.2em;
  width: 20px;
  text-align: center;
}

.footer-contacts a {
  color: #ecf0f1;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-contacts a:hover {
  color: #3498db;
}

address {
  font-style: normal;
  line-height: 1.6;
}

.footer-socials {
  display: flex;
  gap: 15px;
}

.footer-socials a {
  color: #ecf0f1;
  font-size: 1.4em;
  transition: color 0.3s ease, transform 0.3s ease;
}

.footer-socials a:hover {
  color: #3498db;
  transform: scale(1.1);
}

.footer-bottom {
  padding-top: 30px;
  text-align: center;
  font-size: 0.8em;
  color: #bdc3c7; /* Halványabb szövegszín */
}

.footer-bottom .company-info {
  margin-top: 15px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 5px 15px; /* Térköz a sorok és elemek között */
  opacity: 0.7;
}

.footer-bottom p {
  margin: 0;
}

/* Ha nincs fontawesome, ezt lecserélheted saját ikonokra */

.footer-socials {
  display: flex;
  gap: 18px;
  font-size: 1.4rem;
  color: #b0bec5;
}

.footer-socials a {
  color: #b0bec5;
  transition: color 0.3s ease;
  text-decoration: none;
}

.footer-socials a:hover {
  color: #80cbc4;
}

.footer-bottom {
  max-width: 900px;
  margin: 30px auto 50px;
  text-align: center;
  color: #a0a0a0;
  font-size: 0.85rem;
  line-height: 1.4;
}

.company-info {
  margin-top: 15px;
  line-height: 1.5;
}

.company-info p {
  margin: 4px 0;
}

@media (max-width: 768px) {
  .footer-top {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }

  .footer-contacts {
    justify-content: center;
    gap: 25px;
  }

  .footer-logo {
    justify-content: center;
  }
}
/* Galléria Cím */
.gallery-title {
  text-align: center;
  margin: 40px 0;
  font-size: 2.5em;
  color: #333;
}

/* Galléria Konténer (Grid elrendezés) */
.gallery-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 15px;
  padding: 15px;
  max-width: 1200px;
  margin: 0 auto;
}

/* Galléria Elemek */
.gallery-item {
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 16px rgba(0,0,0,0.2);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: contain; /* 'cover' helyett ezt használd */
  background-color: #f0f2f5; /* Opcionális háttérszín, ha üres hely maradna */
  cursor: pointer;
}

/* Lightbox Konténer (felugró ablak) */
.lightbox-container {
  display: none; /* Alapból rejtett */
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  justify-content: center;
  align-items: center;
}

/* Felugró kép */
.lightbox-content {
  max-width: 85%;
  max-height: 80%;
  animation: zoomIn 0.5s ease;
}

@keyframes zoomIn {
  from {transform: scale(0.8);}
  to {transform: scale(1);}
}

/* Bezárás gomb */
.close-btn {
  position: absolute;
  top: 15px;
  right: 35px;
  color: #fff;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
  transition: color 0.3s ease;
}

.close-btn:hover {
  color: #bbb;
}

/* Navigációs nyilak */
.prev-btn, .next-btn {
  cursor: pointer;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  padding: 16px;
  color: white;
  font-weight: bold;
  font-size: 30px;
  transition: background-color 0.3s ease;
  user-select: none; /* Ne lehessen kijelölni */
  border-radius: 0 3px 3px 0;
}

.next-btn {
  right: 15px;
  border-radius: 3px 0 0 3px;
}

.prev-btn {
  left: 15px;
}

.prev-btn:hover, .next-btn:hover {
  background-color: rgba(255, 255, 255, 0.2);
}
/* --- KOSARAS EMELŐ OLDAL STÍLUSOK --- */

/* Az oldal főcíme */
.page-title-container {
  text-align: center;
  padding: 40px 20px;
  background-color: #f8f9fa; /* Világosszürke háttér */
}

.page-title-container h1 {
  font-size: 2.8em;
  margin-bottom: 10px;
  color: #333;
}

.page-title-container p {
  font-size: 1.1em;
  color: #666;
  max-width: 600px;
  margin: 0 auto;
}

/* A kártyák konténere (flexbox elrendezés) */
.emelo-container {
  display: flex;
  justify-content: center; /* Vízszintesen középre rendezi a kártyákat */
  flex-wrap: wrap; /* Mobilon egymás alá törnek a kártyák */
  gap: 30px; /* Térköz a kártyák között */
  padding: 50px 20px;
  max-width: 1200px;
  margin: 0 auto; /* A konténer középre igazítása */
}

/* Egy darab emelő kártya */
.emelo-card {
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08); /* Finom, modern árnyék */
  width: 380px;
  overflow: hidden; /* A kerekített sarkoknál ne lógjon ki a kép */
  display: flex;
  flex-direction: column; /* A tartalom függőlegesen rendeződik */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.emelo-card:hover {
  transform: translateY(-8px); /* Kiemelkedik a kártya, ha ráviszed az egeret */
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}

/* Kártya képe */
.emelo-card img {
  width: 100%;
  height: 250px;
  object-fit: contain; /* A teljes kép látszik, vágás nélkül */
  background-color: #f8f9fa; /* Háttérszín az esetleges üres sávoknak */
}

/* Kártya szöveges tartalma */
.emelo-card-content {
  padding: 25px;
  flex-grow: 1; /* Kitölti a maradék helyet a kártyán */
  display: flex;
  flex-direction: column;
}

.emelo-card h2 {
  font-size: 1.8em;
  margin-top: 0;
  margin-bottom: 5px;
  color: #2c3e50;
}

.emelo-subtitle {
  color: #7f8c8d;
  font-weight: 500;
  margin-bottom: 15px;
  display: block;
}

/* Specifikációk listája */
.emelo-specs {
  list-style: none;
  padding: 0;
  margin: 20px 0;
  color: #34495e;
  flex-grow: 1;
}

.emelo-specs li {
  padding: 8px 0;
  border-bottom: 1px solid #ecf0f1; /* Elválasztó vonal */
  display: flex;
  justify-content: space-between;
}

.emelo-specs li:last-child {
  border-bottom: none;
}

.emelo-specs strong {
  color: #2c3e50;
  margin-right: 10px;
}

/* "Call to Action" gomb */
.cta-button {
  display: block;
  background-color: #007BFF; /* Kék gomb, illik a menühöz */
  color: #ffffff;
  text-align: center;
  padding: 14px;
  text-decoration: none;
  border-radius: 8px;
  font-weight: bold;
  font-size: 1.1em;
  margin-top: auto; /* A gombot a kártya aljára tolja */
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.cta-button:hover {
  background-color: #0056b3; /* Sötétebb kék hoverre */
  transform: scale(1.03);
}

/* Reszponzivitás kisebb képernyőkre */
@media (max-width: 420px) {
  .emelo-card {
    width: 100%; /* Mobilon a kártya kitölti a teljes szélességet */
  }
}
/* --- INFORMÁCIÓS SZEKCIÓ STÍLUSOK --- */

.info-section {
  padding: 40px 0;
  background-color: #ffffff;
}

/* Elválasztó vonal */
.section-divider {
  border: 0;
  height: 1px;
  background-color: #e0e0e0;
  max-width: 80%;
  margin: 0 auto 50px auto;
}

/* A szöveges tartalom központi konténere */
.info-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
}

.info-content h2 {
  text-align: center;
  font-size: 2.5em;
  color: #333;
  margin-bottom: 30px;
}

.info-content h3 {
  font-size: 1.8em;
  color: #333;
  margin-top: 40px;
  margin-bottom: 20px;
  border-left: 4px solid #007BFF; /* Kiemelő sáv a cím mellett */
  padding-left: 15px;
}

.info-content p {
  font-size: 1.1em;
  line-height: 1.8; /* Kényelmes sorköz a jobb olvashatóságért */
  color: #555;
  margin-bottom: 15px;
}

p.description {
  font-size: 1.2em;
  text-align: center;
  color: #444;
  margin-bottom: 40px;
}

/* Munkák listája egyedi ikonokkal */
.works-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.works-list li {
  display: flex;
  align-items: flex-start; /* Az ikon a szöveg tetejéhez igazodik */
  font-size: 1.1em;
  color: #555;
  line-height: 1.7;
  margin-bottom: 15px;
}

/* A pipa ikon stílusa */
.works-list .fa-check {
  color: #28a745; /* Zöld pipa */
  font-size: 1.2em;
  margin-right: 15px;
  margin-top: 5px; /* Kis igazítás, hogy középen legyen */
}

/* Kiemelt záró szöveg */
.cta-text {
  margin-top: 40px;
  padding: 20px;
  background-color: #f8f9fa;
  border-left: 5px solid #007BFF;
  text-align: center;
  font-size: 1.3em !important; /* Fontos, hogy ez a méret érvényesüljön */
}
/* --- VAGYONVÉDELEM OLDAL (ACCORDION) STÍLUSOK --- */

.accordion-container {
  max-width: 900px;
  margin: 40px auto;
  padding: 0 20px;
}

.accordion-item {
  background-color: #ffffff;
  border: 1px solid #e9ecef;
  border-radius: 8px;
  margin-bottom: 12px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
  transition: margin-bottom 0.3s ease;
}

/* Kiemelés, ha nyitva van */
.accordion-item[open] {
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  border-color: #dee2e6;
}

/* A lenyitható sáv (a kattintható cím) */
.accordion-item summary {
  display: flex;
  align-items: center;
  font-size: 1.25em;
  font-weight: 600;
  color: #343a40;
  padding: 20px;
  cursor: pointer;
  list-style: none; /* Eltünteti az alapértelmezett nyilat */
}

/* Eltávolítja a Webkit böngészők (Chrome, Safari) alapértelmezett nyíl ikonját */
.accordion-item summary::-webkit-details-marker {
  display: none;
}

.summary-icon {
  color: #007BFF;
  margin-right: 15px;
  font-size: 1.2em;
}

.dropdown-icon {
  margin-left: auto; /* A nyilat a jobb szélre tolja */
  transition: transform 0.3s ease;
}

/* A nyíl elforgatása, ha a panel nyitva van */
.accordion-item[open] summary .dropdown-icon {
  transform: rotate(180deg);
}

/* A lenyíló tartalom */
.accordion-content {
  padding: 0px 25px 25px 62px; /* Behúzás, hogy az ikonnal egy vonalban kezdődjön */
  color: #555;
  line-height: 1.7;
}

.accordion-content p {
  margin-bottom: 15px;
}
.accordion-content p:last-child {
  margin-bottom: 0;
}

/* A "works-list" stílust újrahasznosítjuk a korábbi oldalakról a konzisztencia érdekében */
.accordion-content .works-list {
  margin-top: 15px;
}
/* --- HÁROMOSZLOPOS OLDALELRENDEZÉS KÉPEKKEL --- */

.page-layout-container {
  display: flex;
  justify-content: center;
  align-items: flex-start; /* Az oszlopok a tetejükhöz igazodnak */
  gap: 30px; /* Térköz az oszlopok között */
  padding: 40px 20px;
}

/* A középső (fő) oszlop beállításai */
.page-layout-container .accordion-container {
  max-width: 800px;
  width: 100%;
  margin: 0; /* Eltávolítjuk a korábbi középre igazító margót */
  flex-shrink: 0; /* Ne zsugorodjon a tartalom */
}

/* Az oldalsó képek konténere */
.side-image {
  flex: 1; /* A képek oszlopa kitölti a maradék helyet */
  max-width: 280px;
  display: none; /* Mobilon alapból elrejtjük a képeket! */
}

.side-image img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

/* MEDIA QUERY - NAGYOBB KÉPERNYŐKRE */
/* Csak akkor jelennek meg a képek, ha a képernyő legalább 1200px széles */
@media (min-width: 1200px) {
  .side-image {
    display: block; /* Láthatóvá tesszük a képeket */
  }
}
/* --- VILLANYSZERELÉS OLDAL STÍLUSOK --- */

/* Általános konténer a centrált tartalomhoz */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Hős szekció a nagy képpel */
.hero-section.electrical-hero {
  position: relative;
  height: 50vh; /* A képernyő magasságának fele */
  background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('kep/villanyszereleshatter.png');
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #ffffff;
}
.hero-section.eelectrical-hero {
  position: relative; /* Szükséges a canvas pozicionálásához */
  height: 50vh;
  background-color: #000000; /* Fekete háttér az animáció mögé */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #ffffff;
  overflow: hidden; /* Elrejti a túllógó részeket */
}

#matrix-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1; /* A canvas a háttérben van */
}

.hero-section .hero-content {
  position: relative;
  z-index: 2; /* A szöveg a canvas felett van */
  /* A sötétítő effektet a szöveg mögé tesszük, hogy jobban olvasható legyen */
  background: rgba(0, 0, 0, 0.5);
  padding: 20px 40px;
  border-radius: 10px;
}

.hero-content h1 {
  font-size: 3.5em;
  font-weight: 700;
  color: #ffffff;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
  margin: 0;
  padding-bottom: 0; /* Eltávolítjuk a vonalnak szánt térközt */
}

.hero-content .subtitle {
  font-size: 1.5em;
  font-weight: 300;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.7);
}

/* Bevezető szöveg szekció */
.intro-section {
  padding: 60px 0;
  background-color: #f8f9fa;
}

.intro-text {
  text-align: center;
  font-size: 1.3em;
  line-height: 1.7;
  color: #333;
  max-width: 900px;
  margin: 0 auto;
}

/* Szolgáltatások szekció */
.services-section {
  padding: 80px 0;
  background-color: #ffffff;
}

.services-section h2 {
  text-align: center;
  font-size: 2.8em;
  margin-bottom: 50px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.service-item {
  background-color: #f8f9fa;
  padding: 30px;
  border-radius: 8px;
  text-align: center;
  border: 1px solid #e9ecef;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.service-item i {
  font-size: 2.5em;
  color: #007BFF;
  margin-bottom: 20px;
}

.service-item h3 {
  font-size: 1.2em;
  color: #333;
  margin: 0;
}

/* Ajánlatkérés (CTA) szekció */
.cta-section {
  padding: 60px 0;
  background-color: #f8f9fa;
}

.cta-box {
  background-color: #ffffff;
  display: flex;
  align-items: center;
  gap: 30px;
  padding: 40px;
  border-radius: 8px;
  box-shadow: 0 5px 25px rgba(0,0,0,0.07);
}

.cta-box .fa-file-signature {
  font-size: 4em;
  color: #007BFF;
}

.cta-box h3 {
  margin-top: 0;
  font-size: 1.8em;
}

.cta-box p {
  line-height: 1.7;
  color: #555;
}

/* CTA gomb újrahasznosítása */
.cta-box .cta-button {
  margin-left: auto; /* A gombot a jobb szélre tolja */
  white-space: nowrap; /* Ne törjön a szöveg */
  padding: 15px 30px;
}

/* Reszponzivitás */
@media(max-width: 768px) {
  .hero-content h1 { font-size: 2.5em; }
  .hero-content .subtitle { font-size: 1.2em; }
  .cta-box { flex-direction: column; text-align: center; }
  .cta-box .cta-button { margin-left: 0; margin-top: 20px; }
}
/* --- TAKARÍTÁS OLDAL STÍLUSOK --- */

/* Hős szekció háttérképe */
.hero-section.cleaning-hero {
  background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('kep/takaritas-hero.jpg');
}

/* Általános szekció stílus a tartalomnak */
.page-section {
  padding: 80px 0;
  background-color: #f8f9fa;
}

/* Kétoszlopos elrendezés konténere */
.two-column-layout {
  display: flex;
  justify-content: center;
  align-items: stretch; /* Az oszlopok egyforma magasak lesznek */
  gap: 40px;
}

/* Egy darab szolgáltatás panel */
.service-panel {
  flex: 1; /* A két oszlop egyenlően osztozik a helyen */
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
  overflow: hidden; /* A kerekítés miatt */
  display: flex;
  flex-direction: column;
}

.panel-header {
  padding: 30px;
  background-color: #808992; /* Sötétkék fejléc */
  color: #ffffff;
  text-align: center;
}

.panel-header i {
  font-size: 3em;
  margin-bottom: 15px;
  display: block;
}

.panel-header h2 {
  font-size: 1.6em;
  margin: 0;
}

.panel-body {
  padding: 30px;
  flex-grow: 1; /* A panel teste kitölti a maradék helyet */
}

/* A "works-list" stílust újrahasznosítjuk a korábbi oldalakról */
.panel-body .works-list li {
  font-size: 1.05em;
  line-height: 1.8;
}

/* Reszponzivitás: Mobilon a két oszlop egymás alá kerül */
@media(max-width: 992px) {
  .two-column-layout {
    flex-direction: column;
  }
}
/* --- PARTNEREK OLDAL STÍLUSOK --- */

/* A .page-section és .container stílusokat már korábban definiáltuk,
   azokat újrahasznosítjuk a konzisztencia érdekében. */
.page-section {
  padding: 80px 0;
  background-color: #f8f9fa;
}
   
/* A kártyák rácsos elrendezésének konténere */
.partners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

/* Egy darab partner kártya stílusa */
.partner-card {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.07);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.partner-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

/* A logó konténere a kártya tetején */
.partner-logo-container {
  height: 160px;
  padding: 20px;
  background-color: #f8f9fa;
  display: flex;
  justify-content: center;
  align-items: center;
  border-bottom: 1px solid #e9ecef;
}

/* A logó képe */
.partner-logo-container img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain; /* Biztosítja, hogy a logó ne torzuljon */
}

/* A kártya szöveges tartalma */
.partner-content {
  padding: 25px;
  display: flex;
  flex-direction: column;
  flex-grow: 1; /* Ez a rész kitölti a maradék helyet a kártyán */
}

.partner-content h3 {
  margin-top: 0;
  font-size: 1.5em;
  color: #333;
}

.partner-content p {
  color: #555;
  line-height: 1.7;
  flex-grow: 1; /* A leírás kitölti a helyet, lenyomva a gombot */
}

/* A partner weboldalára mutató gomb */
.partner-website-btn {
  display: inline-block;
  background-color: #007BFF;
  color: #ffffff;
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 500;
  text-align: center;
  margin-top: 20px; /* Térköz a leírás és a gomb között */
  transition: background-color 0.3s ease;
}

.partner-website-btn:hover {
  background-color: #0056b3;
}

.partner-website-btn i {
  margin-left: 8px; /* Térköz a gomb szövege és az ikon között */
}
/* --- KAPCSOLAT OLDAL STÍLUSOK --- */

.contact-container {
  display: flex;
  gap: 50px;
}

.contact-form {
  flex: 2; /* Az űrlap nagyobb helyet foglal el */
}

.contact-details {
  flex: 1; /* Az elérhetőségek kevesebb helyet foglalnak el */
  background-color: #f8f9fa;
  padding: 30px;
  border-radius: 8px;
}

.contact-details h3 {
  margin-top: 0;
  font-size: 1.8em;
  color: #333;
}
.contact-details p {
  color: #555;
  line-height: 1.7;
  margin-bottom: 30px;
}
.contact-details .contact-item {
  margin-bottom: 20px;
}


.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: #333;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 1em;
  box-sizing: border-box; /* Fontos a helyes méretezéshez */
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #007BFF;
  box-shadow: 0 0 5px rgba(0, 123, 255, 0.5);
}

.contact-form .cta-button {
  width: 100%;
  padding: 15px;
  font-size: 1.1em;
  border: none;
  cursor: pointer;
}

/* Reszponzivitás: mobilon egymás alá kerülnek */
@media(max-width: 992px) {
  .contact-container {
    flex-direction: column;
  }
}

/* --- MODERN SZOLGÁLTATÁS LISTA ANIMÁCIÓ --- */

.service-item {
  /* ... meglévő stílusok ... */
  cursor: pointer;
  transition: background-color 0.3s ease;
  position: relative; /* Az ikon pozicionálásához kell */
}



.service-item .description {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease-out, padding 0.5s ease-out;
  padding: 0 20px; /* Zárt állapotban a belső margó is 0 */
}

.service-item.active .description {
  max-height: 100px; /* Elég nagy magasság, hogy a szöveg kiférjen */
  padding: 15px 20px; /* Nyitott állapotban megkapja a belső margót */
}
/* --- MODERN CAROUSEL ANIMÁCIÓK --- */

/* A képek közötti áttűnéshez kell */
.carousel .slide {
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
}

.carousel .slide.active {
  opacity: 1;
}


/* A szöveg animációja a slide-on */
@keyframes textFadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.carousel .slide.active .text h2,
.carousel .slide.active .text p {
  opacity: 0;
  /* Gyorsabb animáció (1s -> 0.6s) és kisebb késleltetés (0.8s -> 0.3s) */
  animation: textFadeInUp 0.4s ease-out 0.3s forwards; 
}

.carousel .slide.active .text p {
  /* Kisebb késleltetés az alcímnek is (1.1s -> 0.5s) */
  animation-delay: 0.3s; 
}

/* Finomítás a nyilakon */
.carousel .prev, .carousel .next {
  transition: background-color 0.3s ease;
}
.carousel .prev:hover, .carousel .next:hover {
  background-color: rgba(0, 0, 0, 0.4);
}
/* --- FELUGRÓ ABLAK (MODAL) STÍLUSOK --- */

/* A kártyák legyenek kattinthatóak */
.emelo-card {
  cursor: pointer;
}

/* Az áttetsző, sötét háttér */
.modal-overlay {
  display: none; /* Alapból rejtett */
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0; /* Kezdetben teljesen átlátszó */
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* A felugró ablak tartalmi doboza */
.modal-content {
  background-color: #fff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.4);
  max-width: 800px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  transform: scale(0.9);
  transition: transform 0.4s ease;
}

.modal-overlay.active .modal-content {
  transform: scale(1);
}

/* Bezárás gomb */
.modal-close-btn {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 35px;
  font-weight: bold;
  color: #888;
  cursor: pointer;
  transition: color 0.3s ease;
}

.modal-close-btn:hover {
  color: #000;
}

/* Reszponzív videó konténer */
.video-container {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 képarány */
  height: 0;
  overflow: hidden;
  margin-bottom: 20px;
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* Modal specifikációk */
#modal-title {
  margin-top: 0;
  margin-bottom: 20px;
  font-size: 2em;
}

/* A specifikációk listáját újrahasznosítjuk */
#modal-specs .emelo-specs {
  margin: 0;
}
/* --- MODERN KÉTOSZLOPOS GALÉRIA LIGHTBOX --- */

.lightbox-container {
  display: flex;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.85);
  justify-content: center;
  align-items: center;
  
  /* Belépő animáció */
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

.lightbox-container.active {
  opacity: 1;
  visibility: visible;
}

/* A fő doboz, ami a képet és a leírást tartalmazza */
.lightbox-content-wrapper {
  display: flex;
  width: 90%;
  max-width: 1200px;
  height: 85vh;
  max-height: 700px;
  background-color: #1e1e1e; /* Sötét háttér a modern kinézethez */
  border-radius: 8px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.5);
  overflow: hidden;
  
  /* Beúszó animáció a doboznak */
  transform: scale(0.95);
  transition: transform 0.4s ease;
}

.lightbox-container.active .lightbox-content-wrapper {
  transform: scale(1);
}

/* A kép konténere (bal oszlop) */
.lightbox-image-container {
  flex: 2; /* A kép foglalja el a nagyobb részt (kb. 66%) */
  background-color: #000;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* A kép a konténeren belül */
.lightbox-content {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  
  /* Képváltás áttűnő animációja */
  transition: opacity 0.3s ease-in-out;
}

/* Áttűnéshez használt osztály a JS-ből */
.lightbox-content.fade-out {
  opacity: 0;
}

/* A leírás konténere (jobb oszlop) */
.lightbox-description-container {
  flex: 1; /* A leírás foglalja el a kisebb részt (kb. 33%) */
  padding: 30px;
  overflow-y: auto;
  color: #e0e0e0; /* Világos szövegszín a sötét háttéren */
  line-height: 1.7;
  font-size: 1.05em;
}

#lightbox-description {
  text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}

/* Mobilon egymás alá kerül a kép és a leírás */
@media (max-width: 992px) {
  .lightbox-content-wrapper {
    flex-direction: column;
    height: 90vh;
  }
}


/* Lapozó és bezáró gombok (változatlan) */
.close-btn { position: absolute; top: 15px; right: 35px; color: #fff; font-size: 40px; font-weight: bold; cursor: pointer; transition: color 0.3s ease; }
.close-btn:hover { color: #bbb; }

.prev-btn, .next-btn { cursor: pointer; position: absolute; top: 50%; transform: translateY(-50%); padding: 16px; color: white; font-weight: bold; font-size: 30px; transition: background-color 0.3s ease; user-select: none; border-radius: 3px; }
.next-btn { right: 15px; }
.prev-btn { left: 15px; }
.prev-btn:hover, .next-btn:hover { background-color: rgba(255, 255, 255, 0.1); }
/* --- GALÉRIA LEÍRÁS DOBOZ BŐVÍTÉSE --- */

#lightbox-title {
  font-size: 1.8em;
  margin-top: 0;
  margin-bottom: 25px;
  color: #ffffff;
  font-weight: 600;
}

.info-item {
  margin-bottom: 15px;
}

.info-item strong {
  display: block;
  font-size: 1.1em;
  color: #a0a0a0;
  margin-bottom: 2px;
  font-weight: 500;
}

.info-item p {
  margin: 0;
  font-size: 1.1em;
  color: #e0e0e0;
}

#lightbox-description {
  margin-top: 25px;
  padding-top: 25px;
  border-top: 1px solid #444; /* Elválasztó vonal */
  color: #c0c0c0;
}

.lightbox-cta-btn {
  display: inline-block;
  background-color: #007BFF;
  color: #ffffff;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 500;
  text-align: center;
  margin-top: 30px;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.lightbox-cta-btn:hover {
  background-color: #0056b3;
  transform: scale(1.05);
}
/* --- WEB FEJLESZTÉS OLDAL STÍLUSOK (konzisztens) --- */

/* Hős szekció háttérképe */
.hero-section.webdev-hero {
  background-image: linear-gradient(rgba(15, 23, 42, 0.7), rgba(15, 23, 42, 0.7)), url('kep/webdev-hero.jpg');
}

/* Az intro-section, services-section, section-title, services-grid, és service-item
   stílusokat a már meglévő, globális CSS szabályaid fogják formázni,
   így biztosítva a konzisztens megjelenést. Nincs szükség új szabályokra. */

   /* --- AJÁNLATKÉRŐ (CTA) SZEKCIÓ STÍLUSA --- */

.cta-section {
 
  color: #000000;
  padding: 60px 20px;
  text-align: center;
}

.cta-section h2 {
  font-size: 2.5em;
  margin-top: 0;
  margin-bottom: 15px;
}

.cta-section p {
  font-size: 1.2em;
  max-width: 600px;
  margin: 0 auto 30px auto;
  opacity: 0.9;
}

/* A .cta-button stílusát újrahasznosítjuk, de adunk neki egy kis extra kiemelést */
.cta-section .cta-button {
  padding: 15px 35px;
  font-size: 1.2em;
  font-weight: bold;
  background-color: #007BFF;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.cta-section .cta-button:hover {
  transform: scale(1.05);
  background-color: #4091e7;
}
/* --- ÚJ, LETISZTULT BLOG STÍLUSOK --- */

.blog-list-clean {
    max-width: 900px;
    margin: 0 auto;
}

.post-card-horizontal {
    display: flex;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    margin-bottom: 30px;
    overflow: hidden;
    transition: box-shadow 0.3s ease;
}

.post-card-horizontal:hover {
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

.post-card-h-image {
    flex: 1 1 300px;
    background-size: contain; /* Ezt 'cover'-ről 'contain'-re változtatjuk */
    background-position: center;
    background-repeat: no-repeat; /* Megakadályozza, hogy a kép ismétlődjön */
    background-color: #f0f2f5; /* Semleges háttérszín az üresen maradó részeknek */
    transition: transform 0.4s ease;
}

.post-card-horizontal:hover .post-card-h-image {
    transform: scale(1.05);
}

.post-card-h-content {
    flex: 2 1 60%; /* A tartalom foglalja el a nagyobb részt */
    padding: 30px;
}

.post-card-h-content h2 {
    margin-top: 0;
    font-size: 1.6em;
}

.post-card-h-content h2 a {
    text-decoration: none;
    color: #333;
}

.post-card-h-content h2 a:hover {
    color: #007BFF;
}

.post-meta {
    font-size: 0.9em;
    color: #888;
    margin-bottom: 15px;
}

.post-excerpt {
    line-height: 1.7;
    color: #555;
}

.read-more-btn {
    display: inline-block;
    text-decoration: none;
    font-weight: 600;
    color: #007BFF;
    margin-top: 15px;
}

/* Egyedi bejegyzés oldal */
.single-post-clean {
    max-width: 800px;
    margin: 0 auto;
}

.single-post-clean h1 {
    font-size: 2.8em;
    line-height: 1.3;
    margin-top: 0;
    text-align: center;
}

.single-post-clean .post-meta {
    text-align: center;
    margin-bottom: 30px;
}

.single-post-featured-image {
    width: 100%;
    height: auto;
    border-radius: 10px;
    margin-bottom: 30px;
}

.post-content {
    line-height: 1.8;
    font-size: 1.1em;
}

.post-content h2, .post-content h3 {
    margin-top: 40px;
}

.post-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

.back-to-blog-btn {
    display: inline-block;
    margin-top: 40px;
    font-weight: 600;
    text-decoration: none;
    color: #007BFF;
}

@media (max-width: 768px) {
    .post-card-horizontal {
        flex-direction: column;
    }
    .post-card-h-image {
        min-height: 200px;
    }
}