* {
  box-sizing: border-box;
}

html, body {
  overflow-x: hidden;
  max-width: 100%;
}



{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

body {
    background-color: #f4f4f9;
    color: #333;
    line-height: 1.6;
}









/* DIV */
/* Általános stílusok */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
}

/* Szekció címek beállítása */
.section-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 1em;
    color: #333;
    height: 35px;
    margin: 5px 0; /* Csökkentett függőleges tér */
}

/* Vonalak stílusa a címek mellett */
.section-title .line {
    flex-grow: 1;
    height: 1px;
    background-color: #ccc;
    max-width: 80px;
}

.section-title span {
    font-weight: bold;
    color: #333;
    white-space: nowrap;
    font-size: 0.9em;
}

/* Általános szekcióstílusok */
.about, .services {
    padding: 10px 20px;
    max-width: 800px;
    margin: 10px auto; /* Szekciók közötti tér csökkentése */
    text-align: center;
    color: #333;
    line-height: 1.4;
}




/* Hero szekció stílus */
.hero {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  padding: 2rem;
  height: 100vh; /* teljes képernyő */
  background-color: #67A4EB;
  box-sizing: border-box;
  flex-wrap: wrap;
  gap: 4rem;
}

.hero img {
  max-width: 35%;
  width: 100%;
  height: auto;
  border-radius: 12px;
  flex-shrink: 0;
}

.hero-text {
  max-width: 600px;
  color: white;
  flex: 1;
}

.hero-text h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.hero-text p {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.cta-button {
  background-color: white;
  color: #0077ff;
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 8px;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s;
}

.cta-button:hover {
  background-color: #e0e0e0;
}

/* Mobilnézethez */
@media screen and (max-width: 768px) {
  .hero {
    flex-direction: column;
    text-align: center;
    height: auto; /* ne legyen 100vh mobilon, hogy ne vágja le a tartalmat */
    padding: 2rem 1rem;
  }

  .hero img {
    max-width: 90%;
    margin-bottom: 1.5rem;
  }

  .hero-text h1 {
    font-size: 1.8rem;
  }

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

  .cta-button {
    font-size: 1rem;
  }
}






















/* További szekciók */
.section {
    padding: 60px 20px;
    text-align: center;
}

.section h2 {
    color: #4a90e2;
    font-size: 2em;
    margin-bottom: 10px;
}

.section p {
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
    font-size: 1.1em;
}

/* Kapcsolatfelvételi űrlap */
.contact-form {
    width: 90%;
    max-width: 600px;
    margin: 30px auto;
    padding: 20px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    text-align: left;
}

.contact-form h2 {
    color: #4a90e2;
    font-size: 1.8em;
    margin-bottom: 20px;
}

.contact-form label {
    display: block;
    margin-top: 10px;
    font-weight: bold;
}

.contact-form input, .contact-form textarea {
    width: 100%;
    padding: 10px;
    margin-top: 5px;
    border-radius: 4px;
    border: 1px solid #ddd;
    font-size: 1em;
}

.contact-form button {
    width: 100%;
    padding: 12px;
    background-color: #4a90e2;
    color: #fff;
    font-size: 1.2em;
    border: none;
    border-radius: 4px;
    margin-top: 15px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.contact-form button:hover {
    background-color: #3b7ecb;
}

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

body {
    font-family: Arial, sans-serif;
}

/* Referencia szekció stílusok */
.references {
    text-align: center;
    padding: 40px 20px;
    background-color: #f9f9f9;
}

.references h2 {
    font-size: 1.8em;
    color: #333;
    margin-bottom: 20px;
}

/* Galéria stílusok */
/* Galéria stílusok */
.reference-gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.reference-gallery img {
    width: 400px; /* Kétszer akkora, mint előtte */
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease; /* Transition hozzáadása a hover effektushoz */
}

/* Hover effekt - növelés */
.reference-gallery img:hover {
    transform: scale(1.1); /* Kép nagyobbítása hover esetén */
}

/* Új hover effekt - árnyék és átlátszóság */
.reference-gallery img:hover {
    transform: scale(1.1); /* Kép nagyobbítása hover esetén */
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2); /* Erősebb árnyék */
    opacity: 0.8; /* Átlátszóság csökkentése */
}

/* Lenyitható galéria stílusok */
.more-references {
    margin-top: 20px;
}

.more-references button {
    padding: 10px 20px;
    background-color: #4a90e2;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.more-references button:hover {
    background-color: #3b7ecb;
}


/* Általános képstílus */
.reference-gallery img,
.hidden-gallery img {
    width: 400px;
    height: auto;
    margin: 5px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, filter 0.3s ease;
}

.reference-gallery img:hover,
.hidden-gallery img:hover {
    transform: scale(1.05);
    filter: brightness(1.1);
}

/* Rejtett galéria alapból rejtve */
.hidden-gallery {
    display: none;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-top: 20px;
}

/* Ha aktív: megjelenik */
.hidden-gallery.show {
    display: flex;
}
reference-gallery img,
.hidden-gallery img {
    width: 100%;
    max-width: 400px;
    height: auto;
}

/* Mobil eszközök */
@media (max-width: 600px) {
    .reference-gallery,
    .hidden-gallery {
        flex-direction: column;
        align-items: center;
    }
}

/* LIGHTBOX stílusok */
.lightbox {
    display: none;
    position: fixed;
    z-index: 9999;
    padding-top: 60px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.9);
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.lightbox-img {
    max-width: 90%;
    max-height: 80vh;
    margin: auto;
    display: block;
}

.lightbox .close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: white;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
}

.lightbox .nav {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 30px;
    color: white;
    font-size: 40px;
    cursor: pointer;
}



/* SZOLGÁLTATÁSOK */
.services {
    padding: 60px 20px;
    background-color: #f8f8f8;
    max-width: 1200px;
    margin: 0 auto;
}

.services h2 {
    text-align: center;
    font-size: 2.5em;
    color: #333;
    margin-bottom: 40px;
}

.service-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 40px;
    gap: 20px;
    padding: 20px;
}

.service-text {
    max-width: 50%;
}

.service-text h3 {
    font-size: 1.8em;
    margin-bottom: 10px;
    color: #333;
}

.service-text p {
    font-size: 1em;
    margin-bottom: 10px;
    color: #555;
}

.service-text ul {
    padding-left: 20px;
    margin-bottom: 10px;
    color: #333;
}

.service-text .price {
    font-weight: bold;
    color: #111;
}

.service-section img {
    max-width: 45%;
    border-radius: 8px;
}






.service-section {
    background-color: #D3D7DD; /* Szürkés szín */

    padding: 20px;
    border-radius: 10px; /* Lekerekített sarkok */
}



.hover-image {
    position: relative;
    display: inline-block;
}

.hover-image img {
    display: block;
    transition: opacity 1.0s ease;
}

.hover-image .hover-img {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    pointer-events: none;
}

.hover-image:hover .hover-img {
    opacity: 1;
}

.hover-image:hover .default-img {
    opacity: 0;
}



.social-links {
    display: flex;
    justify-content: center;  /* ikonok vízszintes középre */
    gap: 20px;                /* szép távolság az ikonok között */
    margin-top: 10px;         /* kis térköz a szöveg és ikonok között */
}

@media screen and (max-width: 768px) {
  .service-section {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .service-text {
    max-width: 100%;
  }

  .service-section img {
    max-width: 100%;
    margin-top: 20px;
  }

  .services h2 {
    font-size: 2em;
  }

  .service-text h3 {
    font-size: 1.5em;
  }

  .service-text p,
  .service-text ul {
    font-size: 0.95em;
  }
}


/* why me */
.why-me {
    padding: 20px 20px;
    max-width: 900px;
    margin: 20px auto;
    text-align: center;
}

.section-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 1em;
    color: #333;
    height: 35px;
    margin: 10px 0;
}

.section-title .line {
    flex-grow: 1;
    height: 1px;
    background-color: #ccc;
    max-width: 80px;
}

.section-title span {
    font-weight: bold;
    color: #333;
    white-space: nowrap;
    font-size: 0.9em;
}

.benefits {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    gap: 20px;
    margin-top: 20px;
}

.benefit {
    flex: 1 1 200px;
    max-width: 220px;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    background-color: #D3D7DD;
}

.benefit h3 {
    font-size: 1.1em;
    margin-bottom: 5px;
    color: #333;
}

.benefit p {
    font-size: 0.9em;
    color: #555;
    line-height: 1.4;
}


.dropdown-container {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.dropdown {
    flex: 1;
    border: 1px solid #ccc;
    padding: 10px;
    border-radius: 5px;
    cursor: pointer;
}

.dropdown-summary {
    font-weight: bold;
    background: #D3D7DD;
    padding: 10px;
    border-radius: 5px;
}

.dropdown-content {
    display: none;
    padding: 10px;
    background: #fff;
}

.dropdown.open .dropdown-content {
    display: block;
}






.dropdown {
    position: relative;
    width: 300px;
}

.dropdown-summary {
    padding: 15px;
    background-color: #D3D7DD;
    border: 1px solid #ccc;
    cursor: pointer;
    text-align: center;
    transition: background-color 0.3s;
}

.dropdown-summary:hover {
    background-color: #D3D7DD;
}

.dropdown-summary:active {
    background-color: #D3D7DD;
}

.dropdown-content {
    display: none;
    margin-top: 5px;
    padding: 15px;
    background-color: #ffffff;
    border: 1px solid #ccc;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    animation: fadeIn 0.3s ease;
}

.dropdown-content p {
    margin: 0;
    color: #333;
}

.dropdown.open .dropdown-content {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}









/* ABOUT ME */
.about-me {
    padding: 60px 20px;
    max-width: 900px;
    margin: 0 auto;
}

.about-me h2 {
    text-align: center;
    font-size: 2em;
    color: #333;
    margin-bottom: 20px;
}

.about-content {
    display: flex;
    align-items: center;
    gap: 20px;
}

.profile-image {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 20px;
}

.about-text h3 {
    font-size: 1.5em;
    color: #333;
    margin-bottom: 10px;
}

.about-text p {
    font-size: 1em;
    color: #555;
    line-height: 1.6;
}

.social-links {
    margin-top: 10px;
    display: flex;
    gap: 10px;
}

.social-links a {
    display: inline-block;
    transition: opacity 0.3s ease;
}

.social-links a:hover {
    opacity: 0.7;
}

.social-links img {
    width: 25px;
    height: 25px;
}
@media screen and (max-width: 768px) {
  .about-content {
    flex-direction: column;
    text-align: center;
  }

  .profile-image {
    margin: 0 auto 20px auto;
  }

  .about-text h3 {
    font-size: 1.3em;
  }

  .about-text p {
    font-size: 0.95em;
  }

  .social-links {
    justify-content: center;
  }
}






/* Profilkép stílusai */
.profile-image {
    width: 100%; /* A kép szélessége a szülő elem szélességéhez igazodik */
    height: auto; /* A magasság automatikusan alkalmazkodik a képarányhoz */
    max-width: 300px; /* Maximális szélesség, ha nem szeretnéd, hogy túl nagy legyen */
    object-fit: cover; /* Ha szükséges, a kép kitölti a rendelkezésre álló helyet anélkül, hogy torzulna */
    border-radius: 0; /* Eltávolítja a kerekítést */

}






.process {
  background-color: #f8f8f8;
  padding: 60px 20px;
  border-radius: 12px;
}

.process .container {
  max-width: 1000px;
  margin: 0 auto;
}

.process h2 {
  text-align: center;
  font-size: 2.5em;
  margin-bottom: 20px;
  color: #222;
}

.process .intro {
  text-align: center;
  font-weight: bold;
  color: #333;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.process .step {
  margin-bottom: 30px;
}

.process .step h3 {
  font-size: 1.4em;
  color: #111;
  margin-bottom: 10px;
}

.process .step p {
  color: #555;
  font-size: 1em;
  line-height: 1.6;
}
@media screen and (max-width: 768px) {
  .process h2 {
    font-size: 1.8em;
  }

  .process .intro {
    font-size: 0.95em;
    padding: 0 10px;
  }

  .process .step h3 {
    font-size: 1.2em;
  }

  .process .step p {
    font-size: 0.95em;
  }
}


/* Footer */
footer {
    text-align: center;
    widht: 100%;
    padding: 20px;
    color: #000;
    text-align: center;
    margin-top: 40px;
}

footer a {
    color: #000;
    text-decoration: none;
    font-weight: bold;
}

@media screen and (max-width: 768px) {
  .process h2 {
    font-size: 1.8em;
  }

  .process .intro {
    font-size: 0.95em;
    padding: 0 10px;
  }

  .process .step h3 {
    font-size: 1.2em;
  }

  .process .step p {
    font-size: 0.95em;
  }
}
