:root {
  --bg: #ffffff;
  --text: #111217;
  --muted: #6b7280;
  --accent: #55bcbe;
  --container: 1200px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Montserrat', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

/* --- HEADER --- */
header {
  border-bottom: 1px solid #eee;
  background: linear-gradient(180deg, rgba(255,255,255,0.9), rgba(255,255,255,0.7));
  backdrop-filter: blur(4px);
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: var(--container);
  margin: 0 auto;
  padding: 16px 20px;
}

/* --- AJÁNLATKÉRÉS GOMB STÍLUS --- */
nav a.ajanlat {
  background: var(--accent);
  color: #111;
  padding: 10px 16px;
  border-radius: 8px;
  font-weight: 700;
  transition: all 0.3s ease;
}

nav a.ajanlat:hover {
  background: #2f9a9b;
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

nav a.ajanlat::after {
  display: none; /* ne legyen aláhúzás animáció */
}


.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand {
  text-decoration: none;
  color: inherit;
  display: flex;
  align-items: center;
}


.logo {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--accent), #55bcbe);
  color: #fff;
  font-weight: 700;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15);
}

.logo {
  width: 60px;   /* logó méret */
  height: 60px;
  margin-right: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15);
}


.logo img {
  width: 100%;
  height: 100%;
  object-fit: contain; /* megtartja az arányokat */
}


.brand div {
  display: flex;
  flex-direction: column;
  font-size: 14px;
  line-height: 1.2;
}

.brand div:first-child {
  font-weight: 700;
  font-size: 16px;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 20px;
}

nav a {
  text-decoration: none;
  color: var(--text);
  font-weight: 600;
  position: relative;
}

nav a::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  left: 0;
  bottom: -4px;
  background: var(--accent);
  transition: width 0.3s ease;
}

nav a:hover::after {
  width: 100%;
}

/* --- HERO / MAIN SECTION --- */
main {
  max-width: var(--container);
  margin: 0 auto;
  text-align: center;
}

#lakasfelujitas {
  padding-top: 50px;
  padding-bottom: 20px;
}

#lakasfelujitas h1 {
  font-size: 40px;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--text);
}

#lakasfelujitas h1 span {
  color: var(--accent);
}

#lakasfelujitas p {
  font-size: 18px;
  color: var(--muted);
  max-width: 700px;
  margin: 0 auto;
}

/*--- Kezdőlap ---*/

.services-section_2 {
  padding: 20px 20px;
  background: #ffffff;
  text-align: center;
}

.services-section_2 h1 {
  color: var(--accent);
  margin-bottom: 30px;
}

/* -- .services-section_2 h1::after {
  content: "";
  display: block;
  width: 110px;
  height: 4px;
  background: #55bcbe;
  margin: 0px auto 0;
  border-radius: 10px;
} --*/

.services-grid_2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  max-width: var(--container);
  margin: 0 auto;
}

.service-card_2 {
  background: #55bcbe;
  padding: 28px 20px;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(17,18,23,0.06);
  transition: transform 0.6s ease, box-shadow 0.6s ease;
  text-align: left;
  opacity: 0;
  transform: translateY(60px);
}

.service-card_2.active {
  opacity: 1;
  transform: translateY(0);
}

.service-card_2 h3 {
  margin-top: 0;
  margin-bottom: 12px;
  color: #ffffff;
}

.service-card_2 p {
  margin: 0;
  color: #ffffff;
  line-height: 1.6;
  font-size: 15px;
}

.service-card_2:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 24px rgba(17,18,23,0.12);
}

.fas {
  color: #ffffff; /* vagy bármilyen szín, pl. #55bcbe */
}

 
.galeria_2 h1 {
  color: #55bcbe;
}

/* -- .galeria_2 h1::after {
  content: "";
  display: block;
  width: 220px;
  height: 4px;
  background: #55bcbe;
  margin: 0px auto 0;
  border-radius: 10px;
} --*/


.galeria-container_2 {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  max-width: var(--container);
  margin: 0 auto;
}

.galeria-img_2 {
  width: calc(33.333% - 13.33px); /* 3 kép sorban desktopon */
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.galeria-img_2:hover {
  transform: scale(1.03);
  box-shadow: 0 12px 24px rgba(0,0,0,0.12);
}

/* Közepes képernyő – tablet */
@media (max-width: 1024px) {
  .services-grid_2 {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  }

  .galeria-img_2 {
    width: calc(50% - 10px); /* 2 kép egy sorban */
    height: 220px;
  }
}

/* Mobil képernyő */
@media (max-width: 600px) {
  .services-section_2 {
    padding: 60px 10px;
  }

  .services-grid_2 {
    grid-template-columns: 1fr; /* 1 oszlop */
  }

  .galeria-img_2 {
    width: 100%; /* 1 kép egy sorban */
    height: auto;
  }
}



/* --- Szolgáltatások ---*/

.services-section {
  padding: 30px 20px;
  background: #ffffff;
  text-align: center;
}

/* -- .services-section h1::after {
  content: "";
  display: block;
  width: 220px;
  height: 4px;
  background: #55bcbe;
  margin: 0px auto 0;
  border-radius: 10px;
} --*/

.services-section h1 {
  color: var(--accent);
  margin-bottom: 40px;
}



.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* mindig 3 oszlop */
  gap: 30px;
  max-width: var(--container);
  margin: 0 auto;
}



.service-card {
  background: #55bcbe;
  padding: 28px 20px;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(17,18,23,0.06);
  transition: transform 0.6s ease, box-shadow 0.6s ease;
  text-align: left;
  opacity: 0;
  transform: translateY(60px);
}

.service-card.active {
  opacity: 1;
  transform: translateY(0);
}

.service-card h3 {
  margin-top: 0;
  margin-bottom: 12px;
  color: #ffffff;
}

.service-card p {
  margin: 0;
  color: #ffffff;
  line-height: 1.6;
  font-size: 15px;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 24px rgba(17,18,23,0.12);
}

@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr); /* tablet */
  }
}

@media (max-width: 600px) {
  .services-grid {
    grid-template-columns: 1fr; /* mobil */
  }
}

/* --- Projektek és Látványtervek --- */


.projektek-szekcio { 
  text-align: center; 
  padding: 30px 20px; 

}

/*-- .projektek-szekcio h1::after {
  content: "";
  display: block;
  width: 120px;
  height: 4px;
  background: #55bcbe;
  margin: 0px auto 0;
  border-radius: 10px;
} --*/

.projektek-szekcio h1 {
  color: #55bcbe;
}

.projektek-szekcio h2 { 
  font-size: 28px; 
  margin-bottom: 40px; 
  color: var(--accent); 
}

.projektek-sor { 
  display: flex; 
  justify-content: center; 
  gap: 70px 150px; 
  flex-wrap: wrap; 
}

.projekt-box { 
  max-width: 400px; 
  cursor: pointer; 
}

.projekt-box p { 
  font-weight: bold; 
  margin-bottom: 10px; 
}

.projekt-box img { 
  width: 100%; 
  border-radius: 12px; 
  box-shadow: 0 6px 18px rgba(0,0,0,0.1); 
  transition: transform 0.3s ease, filter 0.3s ease; 
}

.projekt-box img:hover { 
  transform: scale(1.03); 
  filter: brightness(85%); 
}

/* --- Rólunk buborék --- */

.rolunk-section {
  padding: 30px 20px;
  background: #ffffff;
  text-align: center;
}

.rolunk-section h1 {
  color: var(--accent);
  margin-bottom: 40px;
}

/* -- .rolunk-section h1:after {
  content: "";
  display: block;
  width: 80px;
  height: 4px;
  background: #55bcbe;
  margin: 0px auto 0;
  border-radius: 10px;
} --*/

/* Buborék */
.rolunk-bubble {
  background: #55bcbe;
  border-radius: 18px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  max-width: 800px;
  width: 100%;
  padding: 40px 50px;
  margin: 0 auto;
  text-align: left;
  opacity: 0;
  transform: translateY(60px);
  transition: all 0.8s ease-out;
}

.rolunk-bubble.active {
  opacity: 1;
  transform: translateY(0);
}


.rolunk-bubble p {
  color: #ffffff;
  line-height: 1.6;
  font-size: 17px;
}



/* --- Beúszás alulról --- */
.from-bottom {
  opacity: 0;
  transform: translateY(60px);
  transition: all 0.8s ease-out;
}

.from-bottom.active {
  opacity: 1;
  transform: translateY(0);
}


/* --- Mobil verzió --- */
@media (max-width: 768px) {
  .rolunk-section {
    justify-content: center;

  }
  .rolunk-bubble {
    margin-left: 0;
    padding: 30px;
  }
  .rolunk-bubble::before {
    left: 40px;
    top: -20px;
    border-width: 20px;
    border-color: transparent transparent #fff transparent;
  }
}




/* --- AJÁNLATKÉRÉS --- */

.nevjegy-section_2 {
  text-align: center;
  padding: 30px 20px;
  background: #ffffff;
}

.nevjegy-section_2 h1 {
  color: #55bcbe;
}

/*--.nevjegy-section_2 h1:after {
  content: "";
  display: block;
  width: 160px;
  height: 4px;
  background: #55bcbe;
  margin: 0px auto 0;
  border-radius: 10px;
} --*/

.nevjegy_meta {
    font-size: 1.1rem;
    color: #666;
    text-align: center;
    margin-bottom: 10px;
}

.nevjegy-card_2 {
  width: 490px;
  height: 300px;
  margin: 0 auto;
  perspective: 1000px;
  cursor: pointer;
}

.nevjegy-inner_2 {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.8s;
  transform-style: preserve-3d;
}

/* Csak kattintáskor (flipped osztály) forduljon meg */
.nevjegy-card_2.flipped .nevjegy-inner_2 {
  transform: rotateY(180deg);
}

/* Előlap és hátlap */
.nevjegy-front_2, .nevjegy-back_2 {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 16px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.15);
  backface-visibility: hidden;
  overflow: hidden;
}

.nevjegy-front_2 img,
.nevjegy-back_2 img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 16px;
}

/* Hátlap fordítás */
.nevjegy-back_2 {
  transform: rotateY(180deg);
}

@media (max-width: 768px) {
  .nevjegy-card_2 {
    width: 90%;
    height: auto; /* dinamikus magasság */
    aspect-ratio: 16 / 10; /* arányosan tartja a méretet */
  }

}


/* --- FOOTER --- */
footer {
  background: #111217;
  color: #f5f5f5;
  margin-top: 60px;
  font-size: 15px;
}

/* --- Szimmetrikus elrendezés --- */
.footer-grid {
  display: flex;
  justify-content: center;      /* középre igazítás vízszintesen */
  align-items: flex-start;      /* a két oszlop teteje egyvonalban */
  gap: 90px;                   /* távolság a két oszlop között */
  padding: 40px 90px;
  max-width: var(--container);
  margin: 0 auto;
  text-align: left;
  flex-wrap: wrap;              /* hogy mobilon alá essen */
  padding-left:85px;
}

.footer-col {
  max-width: 500px;
}


/* Címek és szövegek */
.footer-col h3 {
  color: var(--accent);
  font-weight: 700;
  text-align: left;
}

.footer-col p {
  color: #ccc;
  line-height: 1.6;
  text-align: left;
  margin-top: 14px;
}

/* Elérhetőségek listája */
.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col ul li {
  margin-bottom: 10px;
  color: #ddd;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
}

.footer-col ul li i {
  color: var(--accent);
}

/* --- Alsó sáv --- */
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  text-align: center;
  padding: 16px 0;
  color: #aaa;
  font-size: 14px;
}

.logos {
  width: 48px;
  height: 48px;
  background: #111217;
  color: #fff;
  font-weight: 700;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;

}

.logos {
  width: 260px;   /* logó méret */
  height: 130px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
}


.logos img {
  width: 100%;
  height: 100%;
  object-fit: contain; /* megtartja az arányokat */
}


/* --- Reszponzív beállítások --- */
/* --- Tablet és mobil reszponzív footer --- */
@media (max-width: 1024px) {
  .footer-grid {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 10px;            /* kisebb távolság */
    padding: 30px 10px;   /* kevesebb belső tér */
  }

  .footer-col {
    max-width: 360px;     /* visszafogott szélesség */
    width: 100%;
    margin: 0;            /* eltüntet minden külső margót */
    padding: 0;           /* nincs belső extra tér */
  }

  .footer-col h3,
  .footer-col p,
  .footer-col ul {
    text-align: center;
  }

  .footer-col ul li {
    justify-content: center;
  }
}

/* --- Sticky footer beállítás --- */
html, body {
  height: 100%;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
}


/* --- Responsive footer --- */
@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .social {
    justify-content: center;
  }
}


/* --- RESPONSIVE --- */
@media (max-width: 768px) {
  .nav {
    flex-direction: column;
    gap: 12px;
  }

  nav ul {
    flex-wrap: wrap;
    justify-content: center;
  }

  #lakasfelujitas h1 {
    font-size: 28px;
  }

  #lakasfelujitas p {
    font-size: 16px;
  }

  .logos {
    padding-left: 50px;
  }

}

@media (max-width: 768px) {
  footer a[href^="tel"] {
    color: #ffffff !important;
    text-decoration: none;
  }
}
