/* Általános beállítások */
body {
  margin: 0;
  font-family: Raleway, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #333;
  background-color: #f9f9f9;
  margin: 0;
  padding: 0;
}

/* Fejléc */
header {
  background-color: #333;
  background-image: url('kepek/header1.jpg');
  height: 700px;
  /* Fejléc magassága */
  background-size: cover;
  /* A kép kitölti a teret */
  background-position: center center;
  /* Kép középre igazítva */
  background-repeat: no-repeat;
  display: flex;
  /* Tartalom középre igazítása */
  justify-content: left;
  align-items: left;
  text-align: left;
  color: white;
  padding: 20px 0;

  .menu {
    overflow: hidden;
  }
}

h1 {
  font-size: 22px;
  font-weight: normal;
  font-family: 'marcellus', sans-serif;
  letter-spacing: 10px;
  text-align: right;
  color: white;
  margin-left: 20px;
}

h2 {
  font-size: 42px;
  font-weight: normal;
  font-family: 'marcellus', serif;
  letter-spacing: 2px;
  margin-bottom: 10px;
}

h3 {
  font-size: 20px;
  font-weight: normal;
  color: white;
  font-size: 34px;
  font-family: 'marcellus', serif;
  letter-spacing: 2px;
  margin-left: 500px;
  margin-bottom: 10px;
  /* Balra tolás */
}

h4 {
  font-size: 48px;
  font-weight: normal;
  color: white;
  font-family: 'marcellus', serif;
  letter-spacing: 8px;
  margin-left: 250px;
  /* Balra tolás */
}

p {
  color: #333;
  font-family: Raleway, sans-serif;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 35px;
}

/* section, footer {
  display: none !important;
} */

.main-header {
  position: relative;
  height: 56px;
  margin-right: 10px;
}

.main-header p {
  color: white;
  font-family: raleway, sans-serif;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 35px;
  letter-spacing: 2px;
}

.p2 {
  margin-left: 20px;
  float: left;
}

.p3 {
  letter-spacing: 2px;
  float: right;
  margin-right: 20px;
}

.kozepre {
  display: flex;
  flex-direction: column;
  justify-content: center;
  /* vízszintesen */
  align-items: center;
  /* függőlegesen */
  height: 600px;
  /* kell magasság, hogy legyen mit középre tenni */
  margin: 4px 0;
  margin-left: 820px;
  /* Balra tolás */
  margin-right: 60px;
  line-height: 1.2;
}

/* Kisebb képernyőkre (pl. tablet) */
@media (max-width: 1024px) {
  #kozepre {
    margin-left: 15%;
    /* kisebb, rugalmasabb margó */
  }
}

@media (min-width: 1025px) {
  #main-header {

    .p3 {
      margin-right: 50px;
    }
    
    margin-left: 15%;
  }
}

@media (max-width: 768px) {
  .kozepre {
    margin: 0px;

    h2 {
      font-size: 32px;
    }
  }
}

.kozepre h1,
.kozepre h2,
.kozepre h3 {
  margin: 4px 0;
  /* fent és lent 4px, bal és jobb 0 */
}

.container {
  width: 100%;
  color: white;
}

nav ul {
  display: flex;
  justify-content: center;
  list-style: none;
  padding: 0;
  margin-top: 15px;
}

nav ul li {
  margin: 0 15px;
}

nav ul li a {
  color: white;
  text-decoration: none;
  font-weight: bold;
}

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

/* Szekciók */
section {
  padding: 40px 0;
  background-color: white;
  margin-bottom: 0px;
  border-radius: 0px;
}

/* Egyedi szekció osztályok */
#rolam {
  background-color: #B3AA96;
  padding-top: 150px;
  background-image: url('kepek/rolamhatter.png');
  min-height: 700px;
  /* Fejléc magassága */
  background-size: cover;
  /* A kép kitölti a teret */
  background-position: center center;
  /* Kép középre igazítva */
  background-repeat: no-repeat;
  display: flex;
  /* Tartalom középre igazítása */
  justify-content: center;
  align-items: center;
  text-align: justify;
  color: white;
  padding-top: 10px;
  padding: 40px 40px;
  display: flex;
  justify-content: center;
  /* vízszintesen középre */
  align-items: center;
  /* függőlegesen középre */
}

.rolam-background-box {
  background-color: #F4F0EB;
  padding: 40px;
  max-width: 1000px;
  width: 100%;
}

#rolam h2 {
  color: #333;
  text-align: left;
  font-size: 2rem;
  margin-bottom: 1.5rem;
  border-bottom: 2px solid black;
  width: 100%;
  display: block;
}

#rolam p {
  font-size: 1rem;
  line-height: 1.7;
}

@media (max-width: 768px) {
  .background-box {
    padding: 20px;
    margin-left: 10px;
    margin-right: 10px;
  }

  #rolam h2 {
    font-size: 1.3rem;
  }

  #rolam p {
    font-size: 0.9rem;
  }
}

.vonal {
  border: none;
  height: 1.5px;
  background-color: #ffffff;
  width: 100%;
}

.header-vonal {
  border: none;
  height: 2px;
  background-color: white;
  width: 100vw;
  margin: 0;
}

#rolam .block-box {
  background-color: #F4F0ED;
  /* Háttérszín */
  padding: 30px;
  /* Belső térköz (szöveg körül) */
  padding-top: 20px;
  /* Külső térköz alul */
  color: black;
  /* Szöveg színe */
  text-align: left;
  /* Szöveg balra igazítása */
  border-radius: 0%;
}

#szolgaltatasok {
  padding-top: 0px;
  padding-bottom: 0px;
  height: 700px;
  /* Tartalom középre igazítása */
  justify-content: left;
  align-items: left;
  text-align: left;
  color: white;
  display: flex;
  justify-content: center;
  /* vízszintesen középre */
  align-items: center;
  /* függőlegesen középre */
  background-color: #d9d0bd;

  .szolgaltatasok-left {
    height: 100%;
    width: 40%;
    margin-right: 10%;
    background-color: #f4efed;
    background-image: url('kepek/szolgaltatasokkep3.jpg');
    /* Fejléc magassága */
    background-size: 70%;
    background-position: center;
    /* Kép középre igazítva */
    background-repeat: no-repeat;
  }

  .szolgaltatasok-right {
    background-color: #473118;
    width: 50%;
    height: 100%;
    margin: 0 auto;
    padding: 0 50px;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    text-align: left;

    .text-container {

      h3 {
        margin-left: 0px;
      }

      ul {
        margin-left: 0px;
      }
    }
  }
}

@media (max-width: 768px) {
  #szolgaltatasok {
    display: block;
    height: auto;


    .szolgaltatasok-left {
      height: 100vh;
      width: 100%;
      background-size: contain;
    }

    .szolgaltatasok-right {
      width: 90%;
      padding: 5%;
      height: 100%;
      display: block;;
    }
  }

  #szolgaltatasok h3 {
    font-size: 1.3rem;
  }

  #szolgaltatasok p {
    font-size: 0.8rem;
  }
}

.container3 p {
  color: white;
  font-size: medium;
}

#eskuvonapjan2 {
  background-color: #B3AA96;
  background-image: url('kepek/eskuvonapjanhatter.jpg');
  height: 800px;
  /* Fejléc magassága */
  background-size: cover;
  /* A kép kitölti a teret */
  background-position: top;
  /* Kép középre igazítva */
  background-repeat: no-repeat;
  display: flex;
  /* Tartalom középre igazítása */
  text-align: left;
  color: white;
  padding-top: 10px;
  padding: 20px;
  justify-content: center;
  /* vízszintesen középre */
  align-items: center;
  /* függőlegesen középre */
}

@media (max-width: 4000px) {
  .eskuvonapjan2 {
    padding: 20px;
    margin-left: 10px;
    margin-right: 10px;
    background-size: contain;
    background-position: top;
  }
}

@media (max-width: 768px) {
  .eskuvonapjan2 {
    padding: 20px;
    margin-left: 10px;
    margin-right: 10px;
  }

  #eskuvonapjan2 h2 {
    font-size: 1.5rem;
  }

  #eskuvonapjan2 p {
    font-size: 0.8rem;
  }
}

.szoveg {
  color: white;
  font-style: normal;
  font-size: medium;
  max-width: 600px;
  justify-content: center;
  /* vízszintesen középre */
  align-items: center;
  /* függőlegesen középre */
}

#arak {
  background-color: #B3AA96;
  background-image: url('kepek/arakhatter.jpg');
  height: 700px;
  /* Fejléc magassága */
  background-size: cover;
  /* A kép kitölti a teret */
  background-position: center center;
  /* Kép középre igazítva */
  background-repeat: no-repeat;
  display: flex;
  /* Tartalom középre igazítása */
  justify-content: left;
  align-items: left;
  text-align: left;
  color: white;
  padding-top: 10px;
  padding: 20px;
  display: flex;
  justify-content: center;
  /* vízszintesen középre */
  align-items: center;
  /* függőlegesen középre */
}

@media (min-width: 1801px) {
  #arak {
    background-image: none;
    background-color: #B3AA96;
    border-top: 20px solid #f4efed;
    border-bottom: 20px solid #f4efed;
    text-align: left;
  }
}

@media (max-width: 1024px) {
  #arak-szoveg {
    margin-left: 10px;
    margin-right: 10px;
  }
}

@media (max-width: 768px) {
  #arak {
    background-image: none;
    background-color: #B3AA96;
    border-top: 20px solid #f4efed;
    border-bottom: 20px solid #f4efed;
    h4 {
      font-size: 24px;
      margin-left: 0px;
      padding: 20px;
    }

    .arak-szoveg p {
      margin-left: 20px;
      /* Balra tolás */
      font-size: 0.9rem;
    }
  }
}

.arak-szoveg p {
  color: white;
  margin-left: 250px;
  /* Balra tolás */
}

#referenciak {
  background-color: white;
  background-image: url('kepek/referenciakep.jpg');
  background-size: cover;
  /* A kép kitölti a teret */
  background-position: center center;
  /* Kép középre igazítva */
  background-repeat: no-repeat;
  height: 700px;
  padding-left: 50px;
  display: flex;
  justify-content: center;
  /* vízszintesen középre */
  align-items: center;
  /* függőlegesen középre */
  text-align: center;
  font-family: 'marcellus', serif;
  font-size: 33px;
  line-height: 80px;
}

.referenciak-szoveg p {
  color: white;
}

#galeria {
  background-color: #f5f5f5;
  background-image: url('kepek/galeria_2.jpg');
  background-size: cover;
  /* A kép kitölti a teret */
  background-position: center center;
  /* Kép középre igazítva */
  background-repeat: no-repeat;
  height: 800px;
}

@media (max-width: 4000px) {
  #galeria {
    background-image: url('kepek/galeria_2.jpg');
    background-size: contain;
    min-height: 800px;
    background-color: #B3AA96;
    border-top: 20px solid #f4efed;
    border-bottom: 20px solid #f4efed;
    text-align: left
  }
}

@media (max-width: 768px) {
  #galeria {

    background-image: url('kepek/galeria_mobil.jpg');
    background-color: #B3AA96;
    border-top: 20px solid #f4efed;
    border-bottom: 20px solid #f4efed;

  }
}

/* Bekezdés és alcím */
.albekezdes {
  margin-top: 15px;
  font-style: italic;
}

/* Téglalap sablon stílus – szabadon használható bármelyik szekcióban */
.block-box {
  background-color: #ddd;
  padding: 20px;
  margin-top: 20px;
  border-radius: 10px;
}

/* Lábjegyzet */
footer {
  background-color: #b3aa96;
  color: white;
  text-align: center;
  height: 800px;
  /* Lábjegyzet magassága */
  padding: 15px 0;
  font-size: 0.9rem;
  text-decoration: none;
  background-image: url('kepek/footerkep.jpg');
  background-size: cover;
  /* A kép kitölti a teret */
  background-position: center;
  /* Kép középre igazítva */
  background-repeat: no-repeat;
}

footer a {
  color: #ddd;
}

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

.footer-kep {
  position: relative;
  display: block;
  bottom: 0;
  width: 300px;
  margin: 200px auto 0;
  width: 300px;
}

.footer-ikonok {
  display: flex;
  justify-content: flex-end;
  /* jobbra zárt */
  gap: 30px;
  /* ikonok közötti távolság */
  padding: 10px;
  /* opcionális belső tér */
  margin-right: 50px;

  a {
    width: 40px;
    height: 40px;
    object-fit: contain;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    /* ne torzuljon */

    &.youtube {
      background-image: url('kepek/youtube.png');
    }
    &.fb {
      background-image: url('kepek/fb.png');
    }   
    &.instagram {
      background-image: url('kepek/insta.png');
    }
  }
}

@media (max-width: 768px) {
  .footer-ikonok {
    justify-content: center;
    margin-right: 0;
    margin-bottom: 20px;
  }

  .footer h2 {
    font-size: 0.8rem;
  }

}