body {
  margin: 0;
  padding: 0;
  font-family: 'Playfair Display', serif;
  background-color: #F1F1F1;
  overflow-x: hidden;

}

a {
  cursor: pointer;
  text-decoration: none;
}





#test {
  width: 100%;
  height: auto;
  display: flex;
  flex-direction: column;
  position: relative;

}

#kepkulso {
  width: 100%;
  height: 44.5vh;
  overflow: hidden;
  position: relative;
  border-bottom: 5px solid #FD9B21;
}

#kep {
  width: 100%;
  height: 100%;
}

#hatter {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

#szoveg {
  position: absolute;
  top: 49%;
  left: 25%;
  transform: translate(-50%, -50%);
  width: 42%;
  z-index: 2;
  font-family: 'Segoe UI', sans-serif;
}

#udv {
  font-size: 50px;
  font-weight: 700;
  text-decoration: underline #FD9B21;
  color: #FD9B21;
  font-family: 'Playfair Display', serif;
  margin-bottom: 10px;

}

#bekezdes {
  font-size: 22px;
  line-height: 1.5;
  text-align: left;

}


#test2 {
  width: 100%;
  margin: 0 auto;
  height: auto;
  position: relative;
  display: flex;
  flex-direction: column;

}

#csuszokepek {
  position: relative;
  width: 100%;
  height: 44.5vh;
  overflow: hidden;
  z-index: 1;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  z-index: 1;
  display: flex;
  flex-direction: row;
  transition: opacity 0.7s ease, transform 0.7s ease;
  transform: translateX(0);
}

.slide.active {
  opacity: 1;
  z-index: 3;
  transform: translateX(0);
}

.slide.previous {
  opacity: 0;
  z-index: 2;
  transform: translateX(0%);
}


.slide img {
  width: 50%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.kepszoveg {
  width: 50%;
  position: relative;
  background-color: #fff7ef;
  padding-top: 0.9%;
}

.kepszoveg div {
  margin-left: 10%;
}

.kepszoveg div:first-child {
  position: absolute;
  top: 23%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
}

.kepszoveg div:nth-child(2) {
  position: absolute;
  top: 71%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;

}

#prevBtn {
  position: absolute;
  bottom: 45%;
  left: 0;
  z-index: 3;
  height: 65px;
  cursor: pointer;
}

#nextBtn {
  position: absolute;
  bottom: 45%;
  right: 0%;
  z-index: 3;
  height: 65px;
  cursor: pointer;
}



li {
  font-size: 25px;
  color: #333;
  font-family: 'Segoe UI', sans-serif;

}

.kepszoveg div ul {
  list-style-position: inside;
  display: inline-block;
  text-align: left;
  padding: 0;
  margin: 0.25%;

}

.megtkintes {
  background-color: #FD9B21;
  padding: 10px;
  font-size: 20px;
  color: white;
  box-shadow: 0 0 0 3px transparent;
  transition: box-shadow 1s ease, background-color 0.7s ease, color 0.7s ease;
}


.megtkintes:hover {
  box-shadow: 0 0 0 2px black;
  background-color: #ff8800;
}


table {
  width: 90%;
  margin: 40px auto;
  border-collapse: collapse;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  font-family: 'Segoe UI', sans-serif;
}


td {
  border: 1px solid #eee;
  padding: 20px;
  vertical-align: top;
  text-align: center;
}

.ikonok img {
  width: 50px;
  height: 50px;
  object-fit: contain;
  margin: 0 auto;
  display: block;
}


.foszoveg td {
  font-weight: 600;
  font-size: 1.1rem;
  color: #FD9B21;
  background-color: #fff7ef;
}


.leiras td {
  font-size: 100%;
  line-height: 1.6;
  text-align: left;
  color: #333;
  padding-top: 10px;
  background-color: #fdfdfd;
}


.leiras td:nth-child(odd) {
  background-color: #f9f9f9;
}

.miert-minket {
  max-width: 800px;
  margin: 2vh auto;
  background-color: #fff7ef;
  padding: 40px;
  border-radius: 16px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.05);
  font-family: 'Segoe UI', sans-serif;
  color: #333;
  text-align: center;
}

.miert-minket h2 {
  color: #FD9B21;
  font-size: 2rem;
  margin-bottom: 20px;
  font-weight: 700;
}

.miert-minket p {
  font-size: 1.1rem;
  line-height: 1.3;
  margin-bottom: 15px;
}

h1 {
  font-family: 'Segoe UI', sans-serif;
  color: #FD9B21;
}

.szoveglink {
  color: #FD9B21;
  position: relative;
  transition: color 0.3 ease;
}

.szoveglink::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 0;
  background-color: currentColor;
  transition: width 0.3s ease;
}

.szoveglink:hover {
  color: #e28917;
}

.szoveglink:hover::after {
  width: 100%;
}

.accordion-container {
  width: 100%;
  max-width: 900px;
  margin: 20px auto;
  font-family: Arial, sans-serif;
  color: #333;

}

.accordion-item {
  border-bottom: 1px solid #ddd;

}

.accordion-question {
  width: 100%;
  background-color: #FD9B21;
  color: white;
  cursor: pointer;
  padding: 15px 20px;
  font-size: 18px;
  border: none;
  text-align: left;
  outline: none;
  transition: background-color 0.3s ease;
  font-weight: bold;
  border-radius: 5px 5px 0 0;
}

.accordion-question:hover,
.accordion-question.active {
  background-color: #e28917;
}

.accordion-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
  background-color: #fff7e6;
  padding: 0 20px;
  font-size: 16px;
  line-height: 1.5;
  border-radius: 0 0 5px 5px;


}

#csuszokepek-telefon {
  display: none;
}

.accordion-answer p {
  margin: 15px 0;
}

.telefon-table {
  display: none;
}

#mobil-slider {
  display: none;
}

#bekezdes2 {
  display: none;
}

@media screen and (max-width: 870px) {
  body {
    font-size: 16px;
    padding: 0;
    margin: 0;
  }

  #bekezdes2 {
    display: block;
    font-size: 15px;
    line-height: 1.5;
    text-align: left;
  }

  #bekezdes {
    display: none;
  }

  #csuszokepek {
    display: none;
  }

  #mobil-slider {
    display: block;
  }

  .telefon-table {
    display: block;
    margin-left: 0;
    margin-right: 0;
    width: 100%;
  }

  .table {
    display: none;
  }

  #udv {
    font-size: 23px;
    margin-bottom: 5px;
  }

  #szoveg {
    top: 48%;
    left: 23%;
  }

  table {
    margin-top: 10px;
    margin-bottom: 10px;
  }

  .miert-minket {
    margin-top: 0;
    margin-bottom: 0;
    width: 70vw;
  }

  .miert-minket:nth-of-type(1),
  .miert-minket:nth-of-type(n):last-of-type {
    margin-top: 10px;
  }

  .accordion-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 10px;
    margin-bottom: 10px;
  }

  .accordion-item {
    width: 90%;
  }


  footer {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
    padding: 2rem 1rem;
  }

  .footer-content,
  .footer-locations {
    width: 100%;
  }

  .footer-locations ul {
    columns: 2;
    padding-left: 0;
  }

  .footer-locations ul li {
    margin-bottom: 0.5rem;
  }

  #csuszokepek-telefon {
    display: block;
  }

  #csuszokepek {
    display: none;
  }
   .miert-minket h2{
    margin-bottom: 0;
    margin-top: 0;
  }
  .miert-minket p,
  .leiras td{
    font-size: 14px;
  }
  .miert-minket{
    padding: 15px 30px 15px 30px;

  }
  .foszoveg td,
  .ikonok td{
    padding: 5px 0 5px 0;
  }
  .ikonok td img{
    height: 40px;
    width: auto;
  }
}

#mobil-slider {
  position: relative;
  overflow: hidden;
  max-width: 500px;
  border: 1px solid #ccc;
  border-radius: 8px;
  background: #fff;
  max-width: 100%;
}

.szoveg-blokk h2 {
  font-size: 35px;
  color: #FD9B21;
}

.mobil-slide {
  display: none;
  flex-direction: column;
  align-items: center;
  animation: slideIn 0.5s ease forwards;
  padding: 1rem;
  box-sizing: border-box;
  text-align: center;
  height: 620px;
}

.mobil-slide.aktiv {
  display: flex;
}

.telefon-kepek {
  width: 100%;
  height: 280px;
  object-fit: cover;
  border-radius: 6px;
}

.szoveg-blokk {
  text-align: center;
  color: #222;
  width: 100%;
  text-align: center;
}

.szoveg-blokk ul li {
  list-style: none;
  padding-left: 0;
  font-size: 20px;
  line-height: 1.3;
}

.szoveg-blokk ul {
  padding-left: 0;
  margin: 0 auto 1rem;
  list-style: none;
}

.szoveg-blokk a.megtkintes {
  display: inline-block;
  padding: 8px 16px;
  background-color: #FD9B21;
  color: white;
  text-decoration: none;
  border-radius: 4px;
  font-weight: 600;
}

.slider-pontok {
  text-align: center;
  margin: 12px 0 16px 0;
}

.slider-pontok span {
  display: inline-block;
  width: 12px;
  height: 12px;
  margin: 0 5px;
  background-color: #ccc;
  border-radius: 50%;
  cursor: pointer;
  transition: background-color 0.3s;
}

.slider-pontok span.aktiv {
  background-color: #FD9B21
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateX(30px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
  
}

@media screen and (max-width: 375px) {
  #bekezdes2 {

    font-size: 14px;

  }
}