
* {
  box-sizing: border-box;
}
body {
  font-family: "Segoe UI", sans-serif;
  margin: 0;
  padding: 0;
  line-height: 1.6;
  color: #333;
  background: beige;
  overflow-x: hidden; 
}

header {
  background: white;
  color: black;
  position: sticky;
  top: 0;
  z-index: 1000;
}

nav {
  margin: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 2rem;
}

.logo {
  font-weight: bold;
  font-size: 18px;
  display: flex; /* Ha a logó képe miatt nem illeszkedik */
  align-items: center;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 1rem;
  margin-left: auto; /* Ez segíthet, ha a navigációs elemek nem tolódnak jobbra */
  flex-wrap: wrap; 
}

.nav-links li {
  display: inline-block;
}

.nav-links li a {
  color: black;
  text-decoration: none;
  transition: all 0.3s ease;
}

.nav-links a:hover {
  background-color: rgba(0, 0, 0, 0.1); /* Finom háttérszín */
  border-radius: 5px;
}

.nav-links a {
  text-decoration: none;
  color: black;
  position: relative; /* Aláhúzás pozicionálásához kell */
  transition: all 0.3s ease;
}

.nav-links a.active::after {
  content: "";
  display: block;
  width: 100%;
  height: 3px;
  background-color: #71816d; /* Zöldes árnyalat */
  position: absolute;
  bottom: -2px; /* Közvetlen a szöveg alá kerül */
  left: 0;
}

.nav-links a.active {
  border-bottom: 2px solid #556b2f; /* Válaszd ki az aktív színt */
  font-weight: bold;
  transition: border-bottom 0.3s ease-in-out;
}

.hero {
  background: url("https://via.placeholder.com/1600x600") no-repeat center
    center/cover;
  color: #fff;
  padding: 20px 0px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-text {
  background-color: #71816d;
  border-radius: 8px;
  padding-left: 15px;
  text-align: center;
  padding-right: 15px;
  align-content: center;
  flex: 0 0 65%;
}

.hero-text h1 {
  font-size: 25px;
}

.hero-text h2 {
  font-size: 20px;
}

.hero-text p {
  font-size: 18px;
  line-height: 1.6;
}
.hero-image {
  display: flex;
}

.hero-image img {
  border-radius: 8px;
  object-fit: cover;
  width: 100%;
  height: 100%;
}

.hero-image-mobile {
  display: none;
  text-align: center;
  margin: 16px 0;
}

.hero-image-mobile img {
  width: 75%;
  max-width: 280px;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

.hero-container {
  display: flex;
  align-items: stretch;
  width: 100%;
  padding: 10px 12px;
  border-radius: 8px;
}

.content-section {
  margin: auto;
  display: flex;
  flex-flow: column;
  margin: 0px 12px 30px 12px;
  background-color: #71816d;
  color: white;
  border-radius: 8px;
  padding-bottom: 15px;
}

.content-section img {
  max-width: 100%;
  border-radius: 8px;
  margin-top: 1rem;
}

ul {
  list-style-type: disc;
  padding-left: 2rem;
}

.faq-item {
  margin-bottom: 2rem;
}

form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 400px;
  margin: auto;
}

input,
textarea {
  padding: 0.5rem;
  font-size: 1rem;
  width: 100%;
  border: 1px solid #ccc;
  border-radius: 4px;
}

button {
  background: #5c5470;
  color: #fff;
  border: none;
  padding: 0.75rem;
  cursor: pointer;
  font-size: 1rem;
  border-radius: 4px;
}

/* Footer stílus */
.footer {
  background-color: #333;
  color: #fff;
  padding: 20px;
  text-align: center;
}

.footer-content p {
  margin: 0;
}

.footer a {
  color: #00aaff;
  text-decoration: none;
  font-weight: bold;
}

.footer a:hover {
  text-decoration: underline;
}

.privacy-popup {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  justify-content: center;
  z-index: 9999;
}

.popup-content {
  background-color: #fff;
  padding: 20px;
  border-radius: 5px;
  width: 80%;
  max-width: 600px;
  text-align: left;
  overflow: auto;
  height: 80%;
  position: relative; /* Fontos, hogy a bezáró gomb a popup-content-en belül pozicionálódjon */
}

.popup-content h2 {
  margin-top: 20px;
}

.close-popup {
  position: absolute; /* Az abszolút pozicionálás lehetővé teszi, hogy a gomb a szülő elemhez képest helyezkedjen el */
  top: 10px;
  right: 10px;
  background-color: #f44336;
  color: white;
  border: none;
  padding: 10px 15px;
  cursor: pointer;
  font-size: 20px;
}

.close-popup:hover {
  background-color: #d32f2f;
}

.myImage {
  width: 100px;
}

.logoImage {
  width: 200px;
  height: 80px;
  cursor: pointer;
}

.hero-text_v2 {
  font-weight: bold;
  font-style: italic;
}

.accordion {
  padding-left: 20px;
  padding-right: 20px;
}

.accordion-item {
  margin-bottom: 10px;
}

.accordion-header {
  margin: 0;
  padding: 0;
}

.workLife-header {
  padding-left: 20px;
  padding-right: 20px;
  align-self: center;
  font-size: 30px;
}

.accordion-button {
  background: none;
  border: none;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  cursor: pointer;
  color: white;
  font-weight: bold;
  font-size: 23px;
}

.accordion-button:focus {
  outline: none;
}

.accordion-content {
  display: none;
  padding: 10px;
  margin-top: 10px;
  background-color: #71816d;
  border: 1px solid #ddd;
  display: flex;
  align-items: center;
}

.accordion-content ul {
  list-style-type: none; /* Eltünteti az alapértelmezett pontokat */
  padding: 0;
}

.accordion-content ul li {
  font-size: 18px; /* Kellemes méretű betűk */
  line-height: 1.6; /* Nagyobb sorköz a jobb olvashatóságért */
  margin-bottom: 5px; /* Távolság az egyes elemek között */
  display: flex;
}

.accordion-content ul li strong {
  font-weight: bold; /* Kiemeli a fontos részeket */
  margin-right: 5px;
}

.accordion-content ul li::before {
  content: "•" !important;
  font-weight: bold;
  display: inline-block;
  margin-right: 10px;
}

.toggle-icon {
  font-size: 24px;
}

.accordion-button[aria-expanded="true"] .toggle-icon {
  content: "-";
}

.accordion-button[aria-expanded="false"] .toggle-icon {
  content: "+";
}

.accordion-item ul {
  list-style-type: none;
  padding-left: 20px;
}

.accordion-item ul li::before {
  content: "- ";
  color: white;
}

.service-section {
  padding: 5px 12px 10px;        /* kis belső tér felül/alul, ne érjen össze a zöld résszel */
}

.service-title {
  text-align: center; /* Középre igazítja a szöveget */
  margin-bottom: 50px; /* Távolság a szolgáltatásoktól */
  font-size: 30px;
}

.service-item {
  width: 200px;
  text-align: center;
  margin: 10px;
  flex: 0 0 auto;
}

.service-icon {
  width: 160px;
  height: 160px;
  margin-bottom: -10px;
}

.service-item p {
  font-size: 18px;
  color: #333;
  font-weight: bold;
}

/* A szolgáltatás elemek rendezése több sorban */
.service-item-container {
  display: flex;
  flex-wrap: wrap;
  box-sizing: border-box;
  justify-content: center;
  gap: 10px;
}

.worklifeOrder {
  display: flex;
  gap: 20px;
  flex-flow: column;
}

.asd {
  flex-flow: column;
}


.worklifeOrder li strong {
  flex-shrink: 0;
}

.year {
  min-width: 150px; /* Az év oszlopa mindig ugyanolyan széles */
  font-weight: bold;
  text-align: right;
}

.helping-title {
  align-self: center;
  font-size: 30px;
}

.helping-list {
  display: flex;
  flex-flow: column;
  align-items: center;
  margin-top: auto;
}

.helping-list li {
  padding: 3px 0;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  line-height: 1.6;
  color: white;
  width: 100%;
  justify-content: center;
}

.therapies-title {
  padding-left: 20px;
  padding-right: 20px;
  align-self: center;
  font-size: 30px;
}

/* Felsorolás stílusa - ikon hozzáadása */
.helping-list li::before {
  content: "✔"; /* Pipa ikon */
  color: #F4F7BE;
  font-size: 18px;
  font-weight: bold;
}

.prices-title {
  padding-left: 20px;
  padding-right: 20px;
  align-self: center;
  font-size: 30px;
}

/* Két doboz egymás mellett */
.prices-container {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 16px;
}

/* Árlista */
.price-list,
.cancellation-policy {
  background: #fff;
  padding: 20px;
  border-radius: 8px;
  display: flex;
  flex-flow: column;
}

.price-list {
  display: flex;
  flex-flow: column;
}

/* Árak elemek középre igazítása */
.price-item {
  display: flex;
  align-items: center;
  padding: 10px 0;
  font-size: 1.1rem;
  color: #444;
  border-bottom: 1px solid #ddd;
}

.price-item:last-child {
  border-bottom: none;
}

.price-label {
  font-weight: bold;
  color: #222;
  margin-right: 15px;
}

.price-value {
  color: #71816D;
  font-weight: bold;
  font-size: 18px;
}

/* Lemondási feltételek */
.cancellation-policy {
  max-width: 50%;
}

.cancellation-policy h2 {
  font-size: 1.5rem;
  color: #333;
  margin-bottom: 10px;
}

.cancellation-policy p {
  font-size: 1rem;
  line-height: 1.6;
  color: #555;
  margin-bottom: 10px;
}

.reviews-title {
  align-self: center;
  font-size: 30px;
}

/* Karusszel konténer */
.reviews-carousel {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

/* Lapozó gombok */
.prev-btn,
.next-btn {
  background: none;
  border: none;
  font-size: 2rem;
  cursor: pointer;
  color: #555;
  padding: 10px;
}

.prev-btn:hover,
.next-btn:hover {
  color: #000;
}

/* A görgethető dobozok konténere */
.reviews-container {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  width: 100%;
  max-width: 80%;
  cursor: grab;
  white-space: nowrap;
  padding-bottom: 10px; /* Kis tér az alsó scrollbar elkerülésére */
}

.reviews-container:hover {
  overscroll-behavior-x: contain;
  overscroll-behavior-y: auto;
}

.reviews-container.active {
  cursor: grabbing;
}

/* Egyes vélemény box */
.review-box {
  background: #fff;
  padding: 20px;
  border-radius: 8px;
  min-width: 300px;
  max-height: 300px;
  text-align: left;
  overflow-y: auto; /* Ha túl hosszú, függőlegesen scrollozható */
  color: black;
  white-space: normal;
  word-wrap: break-word;
}

/* Görgetősáv beállítása a hosszú véleményekhez */
.review-box::-webkit-scrollbar {
  width: 6px;
}

.review-box::-webkit-scrollbar-thumb {
  background-color: rgba(0, 0, 0, 0.3);
  border-radius: 3px;
}

.review-box::-webkit-scrollbar-track {
  background-color: rgba(0, 0, 0, 0.1);
  border-radius: 3px;
}

.review-box:hover {
  overscroll-behavior: contain;
}

/* Szerző */
.review-author {
  display: block;
  margin-top: 10px;
  font-weight: bold;
  color: #555;
}

.contact-description {
  text-align: center;
  font-size: 22px;
  display: flex;
  align-self: center;
  margin-top: 0;
  color:white;
}

.contact-info {
  margin-bottom: 18px;
  text-align: center;
  font-weight: bold;
  color: white;
  display: flex;
  flex-direction: column;
  align-self: anchor-center;
  align-items: center;
}

.contact-row span {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

.contact-row span strong {
  color: #333;
  margin-right: 6px;
}

.contact-row {
  display: flex;
  gap: 10px; /* Kisebb távolság a címkék és az értékek között */
  align-items: center;
  margin-bottom: 10px;
}
.contact-row span,
.contact-row a {
  text-align: left;
  color: white;
  text-decoration: none;
}

.contact-row a.email-link {
  color: #F4F7BE;
  text-decoration: underline;
}

.contact-row a.email-link:hover {
  color: #ffcc00;
  text-decoration: none;
}

.contact-row a.location-link {
  color:  #F4F7BE;
  text-decoration: underline;
}

.contact-row a.location-link:hover {
  color:#ffcc00;
  text-decoration: none;
}

.menu-toggle {
  display: none;
}

@media (max-width: 768px) {

  .hero {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
  }

  .hero-container {
    display: flex;
    flex-flow: column; /* A szöveg és kép oszlopban jelenjen meg */
    width: 100%;
    align-items: center;
  }

  .hero-text {
    width: 90%;
    background-color: rgba(113, 129, 109, 0.8);
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 20px; /* Távolság a szöveg és kép között */
  }

  .hero-text h1 {
    font-size: 22px;
  }

  .hero-text h2 {
    font-size: 18;
  }

  .hero-text p {
    font-size: 16;
  }

  .hero-image {
    width: 100%;
    text-align: center;
  }

  .hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
  }

  /* Navigáció */
  .nav-links {
    display: none; /* Kezdetben rejtve van a navigáció */
    flex-direction: column;
    gap: 1rem;
    width: 100%;
    background-color: #fff; /* Fehér háttér a lenyíló menühöz */
    padding: 1rem;
    position: absolute;
    top: 60px; /* A menü elhelyezkedése a header alatt */
    left: 0;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1); /* Árnyék a menü alatt */
    z-index: 999;
    font-weight: bold;
  }

  .nav-links li {
    text-align: center; /* A menüpontok középre igazítása */
    width: 100%;
  }

  .menu-toggle {
    display: flex;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
    width: 30px;
    height: 25px;
    background: none; /* Alapértelmezett háttér eltávolítása */
    border: none; /* Alapértelmezett keret eltávolítása */
    padding: 0; /* Alapértelmezett padding eltávolítása */
  }
  
  .menu-toggle div {
    background-color: #333;
    height: 4px;
    width: 100%;
    border-radius: 2px;
  }

  /* Mobilon a menü gombot kattintva */
  .nav-links.open {
    display: flex; /* A menü megjelenítése */
  }

  nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
  }

  .logoImage {
    width: 200px; /* A logó kisebb mobilon */
    height: 80px;
  }

  /* Content szakasz */
  .content-section {
    margin: 10px 12px;
    padding: 8px; /* Kisebb padding mobilon */
    background-color: #71816d;
    color: white;
    border-radius: 8px;
  }

  .content-section img {
    max-width: 100%; /* A képek teljes szélességűek */
    border-radius: 8px;
    margin-top: 1rem;
  }

  ul {
    list-style-type: disc;
    padding-left: 1.5rem; /* A listák kisebb helyet foglaljanak */
  }

  /* Akkordeon */
  .accordion {
    padding-left: 0;
    padding-right: 0;
  }

  .accordion-item {
    margin-bottom: 1rem; /* A faqs részek közötti kisebb margó */
  }

  .accordion-button {
    background: none;
    border: none;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    cursor: pointer;
    color: white;
    text-align: -webkit-left;
  }

  .accordion-content {
    display: none;
    padding: 10px;
    margin-top: 10px;
    background-color: #71816d;
    border: 1px solid #ddd;
    font-size: 14px;
  }

  /* Formák */
  form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 100%;
    margin: auto;
    padding: 0 15px; /* Jobb oldali és bal oldali padding */
  }

  input,
  textarea {
    padding: 0.5rem;
    font-size: 1rem;
    width: 100%; /* A formák kitöltik a rendelkezésre álló helyet */
    border: 1px solid #ccc;
    border-radius: 4px;
  }

  button {
    width: 100%; /* A gomb teljes szélességű lesz mobilon */
    background: #5c5470;
    color: #fff;
    border: none;
    padding: 0.75rem;
    cursor: pointer;
    font-size: 1rem;
    border-radius: 4px;
  }

  /* Footer */
  footer {
    background: #5c5470;
    color: #fff;
    text-align: center;
    padding: 1rem 0;
    font-size: 1rem; /* Kisebb betűméret mobilon */
  }

  .service-item-container {
    flex-wrap: wrap;
  }

  .service-item {
    width: 40%;
  }

  .helping-title {
    font-size: 30px;
  }

  .helping-list {
    font-size: 1rem;
  }

  .helping-list {
    font-size: 1rem;
  }

  .prices-container {
    flex-direction: column;
    align-items: center;
  }
  .cancellation-policy {
    max-width: 100%;
  }

  .price-item {
    text-align: left;
  }

  .helping-list li {
    font-size: 18px;
    justify-content: flex-start;
  }

  .price-label {
    width: 70%;
    margin-right: 10px;
  }

  .reviews-title {
    font-size: 30px;
  }

  .reviews-container {
    overflow-x: auto; /* Érintéssel lapozható */
    scroll-snap-type: x mandatory; /* Simább élmény */
    padding: 10px; /* Kisebb térköz */
    width: auto;
  }

  .review-box {
    font-size: 14px; /* Jobb olvashatóság kisebb képernyőn */
    min-width: 250px;
    max-height: 250px;
  }

  .close-popup {
    width: 35px;
    height: 35px;
    font-size: 18px;
    padding: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .accordion-content ul li {
    font-size: 13px;
  }
  .contact-row span {
    font-size: 18px;
    display: unset;
    align-items: unset;
  }

  .hero-image {
    display: none;
  }
  .hero-image-mobile {
    display: block;
  }
}
