/* Alapbeállítások */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

/* Háttér és alap színek */
body {
    background-color: #f5f5f5;
    color: #333;
    text-align: center;
}

/* Navigációs menü */
nav {
    background-color: rgba(0, 0, 0, 0.8); /* Átlátszó fekete háttér */
    padding: 15px;
    position: absolute;
    width: 100%;
    top: 0; /* A tetején marad */
}

nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
}

nav ul li {
    margin: 0 15px;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-size: 18px;
}

nav ul li a:hover {
    text-decoration: underline;
}

/* Fő háttér (Hero Section) */
.hero {
    background-image: url("hero.jpg");
    background-size: cover;
    background-position: center;
    padding: 120px 20px 50px; /* Több padding a tetején, hogy feljebb kerüljön */
    color: white;
    text-align: center;
    position: relative;
}

.hero h2 {
    font-size: 2.5em;
    margin-bottom: 10px;
}

.hero p {
    font-size: 20px;
    margin-bottom: 20px;
}

/* Kiemelt gomb */
.btn {
    display: inline-block;
    background-color: #007BFF;
    color: white;
    padding: 12px 20px;
    text-decoration: none;
    font-size: 18px;
    border-radius: 5px;
}

.btn:hover {
    background-color: #0056b3;
}





.category {
    background-color: transparent;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    width: 30%;
    text-align: center;
}

.category img {
    width: 100%;
    border-radius: 10px;
}

/* Galéria beállítások */
.gallery {
    text-align: center;
    padding: 20px;
}



.grid-container a {
    text-decoration: none;
    display: block;
}
.grid-container img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.grid-container img:hover {
    transform: scale(1.05);
}

/* Kapcsolatfelvételi űrlap */
.contact {
    background: #222;
    color: white;
    padding: 50px 20px;
    text-align: center;
}

.contact h2 {
    font-size: 32px;
    margin-bottom: 20px;
}

.contact form {
    max-width: 500px;
    margin: auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact label {
    text-align: left;
    font-weight: bold;
}

.contact input, .contact textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
}

.contact button {
    background: #f7941d;
    color: white;
    padding: 12px;
    border: none;
    font-size: 18px;
    cursor: pointer;
    border-radius: 5px;
}

.contact button:hover {
    background: #e68314;
}

/* Lábjegyzet (Footer) */
footer {
    background-color: #222;
    color: white;
    padding: 15px;
    margin-top: 20px;
    text-align: center;
}
.grid-container img {
    width: 100%;
    height: auto;
    max-width: 300px; /* Maximum szélesség */
    border-radius: 10px;
    transition: transform 0.3s;
}

.grid-container img:hover {
    transform: scale(1.05);
}
.service-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 2 oszlopos elrendezés */
    gap: 20px; /* Kis térköz a kártyák között */
    justify-content: center;
    align-items: center;
    max-width: 90%;
    margin: auto;
    padding: 20px;
}

.service {
    position: relative; /* Szükséges a sötét réteg elhelyezéséhez */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
    width: 100%;
    height: 300px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    font-size: 1.5rem;
    overflow: hidden; /* Megakadályozza, hogy az overlay kilógjon */


}

/* Sötétített réteg a háttér felett */
.service::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4); /* Az átlátszóságot itt állíthatod */
    border-radius: 10px;
}

/* Szöveg előtérben tartása */
.service h3,
.service p,
.service a {
    position: relative;
    z-index: 1;
}


    /* Szöveg formázása */
    .service h3 {
        font-size: 2rem;  /* Betűméret növelése */
        font-weight: bold;  /* Félkövér szöveg */
        margin-top: 10px; /* Kicsit lejjebb húzza, hogy ne tapadjon a tetejéhez */
    }

    /* A leírás (p) szöveg formázása */
    .service p {
        font-size: 1.2rem; /* Nagyobb betűk */
        font-weight: 500; /* Kicsit vastagabb betűk */
        margin-top: 5px;



}
.grid-container {
    display: flex;
    flex-wrap: wrap;  /* Ha nem fér el egy sorban, akkor következő sorba törik */
    justify-content: center; /* Középre igazítás */
    gap: 15px; /* Távolság a képek között */
    max-width: 90%; /* Galéria szélessége */
    margin: 0 auto; /* Középre igazítás */
}



.kapu-card {
    background-image: url('./images/kapu-hatter.jpg');
}
.lezer-card {
    background-image: url('./images/lezer-hatter.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}



.korlat-card {
    background-image: url('./images/korlat-hatter.jpg'); /* Cseréld ki a megfelelő képre */
}

.terasz-card {
    background-image: url('./images/terasz-hatter.jpg'); /* Cseréld ki a megfelelő képre */


}
.service a {
    margin-top: 20px; /* Itt állíthatod a gomb távolságát */
}
.gate-types {
    text-align: center;
    margin-top: 50px;
    background: #f8f8f8; /* Világos háttér, hogy kitűnjön */
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.gate-types h2 {
    font-size: 26px;
    font-weight: bold;
    color: #333;
}

.gate-types p {
    font-size: 16px;
    color: #666;
}

.gate-container img {
    width: 90%;
    max-width: 1000px;
    border-radius: 10px;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
}
.gallery a img {
  width: 200px;
  margin: 10px;
  border-radius: 10px;
  transition: transform 0.3s;
}

.gallery a img:hover {
  transform: scale(1.05);


}
.top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: rgba(0, 0, 0, 0.7);
  color: white;
  padding: 10px 30px;
  font-size: 0.9rem;
  position: relative;
  z-index: 100;
}

.top-bar a {
  color: white;
  text-decoration: none;
  margin-left: 10px;
}

.top-bar i {
  margin-right: 5px;
}

.top-left a {
  font-weight: bold;
}

.top-right {
  display: flex;
  gap: 25px;
  align-items: center;
}
.terasz-info {
  background: linear-gradient(to right, #e0f7fa, #ffffff);
  padding: 40px 20px;
  text-align: center;
  margin-bottom: 30px;
  margin-top: 50px; /* <<< EZT ADD HOZZÁ */
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}


.terasz-content h2 {
  font-size: 2rem;
  margin-bottom: 10px;
  color: #00796b;
}

.terasz-content p {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #333;
  margin-bottom: 10px;
}

.checklist {
  list-style: none;
  padding: 0;
  margin-top: 20px;
  font-size: 1rem;
}

.checklist li {
  margin: 8px 0;
}

.highlight {
  color: #f9a825;
  font-weight: bold;
}
.intro-box {
  background: linear-gradient(to right, #e0f7fa, #fefefe);
  border-radius: 12px;
  padding: 40px;
  margin: 40px auto;
  max-width: 1000px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.05);
  text-align: center;
}

.intro-box h2 {
  color: #00796b;
  font-size: 2rem;
  margin-bottom: 10px;
}

.intro-box p {
  font-size: 1.1rem;
  color: #333;
  margin-bottom: 15px;
  line-height: 1.6;
}

.intro-box ul {
  list-style: none;
  padding: 0;
  margin-top: 20px;
}

.intro-box li {
  font-size: 1.05rem;
  margin-bottom: 8px;
  color: #444;
}

.intro-box li::before {
  content: "✔️ ";
  color: #4caf50;
  margin-right: 5px;
}
.intro-box {
  background: linear-gradient(to right, #e0f7fa, #fefefe);
  border-radius: 12px;
  padding: 40px;
  margin: 40px auto;
  max-width: 1000px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.05);
  text-align: center;
}

.intro-box h2 {
  color: #00796b;
  font-size: 2rem;
  margin-bottom: 10px;
}

.intro-box p {
  font-size: 1.1rem;
  color: #333;
  margin-bottom: 15px;
  line-height: 1.6;
}

.intro-box ul {
  list-style: none;
  padding: 0;
  margin-top: 20px;
}

.intro-box li {
  font-size: 1.05rem;
  margin-bottom: 8px;
  color: #444;
}

.intro-box li::before {
  content: "✔️ ";
  color: #4caf50;
  margin-right: 5px;

}
.intro-box {
  background: linear-gradient(to right, #f0faff, #e6f9f9);
  padding: 40px 30px;
  border-radius: 12px;
  margin: 40px auto;
  max-width: 1100px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.intro-box h2 {
  color: #007777;
  font-size: 2em;
  margin-bottom: 10px;
}

.intro-box p {
  font-size: 1.1em;
  color: #333;
  margin-bottom: 20px;
  line-height: 1.6;
}

.intro-box ul {
  list-style: none;
  padding: 0;
  margin-top: 20px;
}

.intro-box li {
  font-size: 1em;
  margin: 8px 0;
  color: #444;
}
.grid-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  justify-items: center;
}
.lang-switch {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-left: 20px;
}

.lang-switch img {
  width: 25px;
  height: auto;
  cursor: pointer;
  transition: transform 0.2s;
}

.lang-switch img:hover {
  transform: scale(1.1);
}
.gate-types-enhanced {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  background-color: #f5f7fb;
  padding: 2rem;
  border-radius: 10px;
  margin: 3rem auto;
  max-width: 1200px;
  box-shadow: 0 0 10px rgba(0,0,0,0.08);
}

.gate-text {
  flex: 1;
}

.gate-text h2 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  color: #222;
}

.gate-text ul {
  list-style: none;
  padding-left: 0;
}

.gate-text ul li {
  margin-bottom: 0.6rem;
  font-size: 1rem;
  line-height: 1.5;
}

.gate-img {
  flex: 1;
  text-align: center;
}

.gate-img img {
  max-width: 100%;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
}
/* === MOBILRA OPTIMALIZÁLT STÍLUSOK === */
@media (max-width: 768px) {

  nav ul {
    flex-direction: column;
    align-items: center;
  }

  .top-bar {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }

  .top-right {
    flex-direction: column;
    gap: 10px;
  }

  .hero {
    padding: 80px 20px 40px;
  }

  .hero h2 {
    font-size: 1.8em;
  }

  .hero p {
    font-size: 1rem;
  }

  .btn {
    font-size: 16px;
    padding: 10px 16px;
  }

  .service-container {
    grid-template-columns: 1fr; /* 1 oszlopra vált mobilon */
  }

  .service {
    height: auto;
    padding: 20px;
    font-size: 1.2rem;
  }

  .service h3 {
    font-size: 1.5rem;
  }

  .service p {
    font-size: 1rem;
  }

  .gallery .grid-container {
    grid-template-columns: 1fr 1fr;
  }

  .gate-types-enhanced {
    flex-direction: column;
    text-align: left;
  }

  .gate-img {
    margin-top: 1rem;
  }

  .intro-box, .terasz-info {
    padding: 20px;
    margin: 20px auto;
  }

  .intro-box h2,
  .terasz-content h2 {
    font-size: 1.5rem;
  }

  .intro-box p,
  .terasz-content p {
    font-size: 1rem;
  }

  .grid-container {
    grid-template-columns: 1fr 1fr;
  }

  .contact form {
    width: 100%;
    padding: 0 10px;
  }
 .why-us {
   background-color: #f5f7fb;
   padding: 50px 20px;
   text-align: center;
   }

}

}



