/*alap*/

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

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

/*nav*/

header{

    display: flex;
    justify-content: center;
}

.navlinks{

    background-image: url(/pic/black.jpg);
    margin-top: 2%;
    display: flex;
    width: 70%;
    position: fixed;
    min-height: 5%;
    border-radius: 20px;
    z-index: 10;
    
}

.navlinks ul{

    list-style: none;
    display: flex;
    width: 100%;
    justify-content: space-around;
    align-items: center;
    
}

.navlinks a{

    text-decoration: none;
    color:antiquewhite;
    font-weight: 800;
}

.navlinks li:hover{

  transform: scale(1.1);
  transition: 0.5s ease;
}

.logo{

    display: none;
}





.ham {
  display: none;
  cursor: pointer;
  color:antiquewhite;
  font-size: 32px;
}

@media screen and (max-width: 930px) {
  .navlinks ul {
    display: none;
    height: 70vh;
  }

  .ham {
    display: flex;
  }

  .hambiactive {
    display: none !important;
  }


  .navlinks ul {
    display: none;
  }

  .navlinks {
    justify-content: center;
    align-items: center;
    width: 30%;
    margin-top: 2%;
  }

  .ham {
    display: flex;
  }


  .hamactive {
    margin: 0;
    width: auto;
  }

  .hambiactive {
    display: none !important;
  }

  .ulactive {
    display: flex !important;
    flex-direction: column;
    font-size: 30px;
    overflow-x: hidden;
    
  }

  .logoactive{

    display: flex;
    justify-content: center;
  }

  .logoactive img{

    width: 90%;
  }

  .active {
    position: fixed;
    margin-top: 0;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 999;
    background-color: rgba(49, 49, 49, 0.3);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
    justify-content:space-around;
    align-items: center;
    text-align: center;
    overflow-x: hidden;
    border-radius: 0;
    background-image: none;
  }
}









/*home*/

.home{

    width: 100%;
    min-height: 100vh;
    background-repeat: no-repeat;
    background-size: cover;
    background-image: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)), url('/pic/1\ \(16\).jpg');
    background-position: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    
}

.hero{

    display: flex;
    justify-content: space-between;
    align-items: center;
    color: antiquewhite;
    width: 100%;
    padding: 10%;
    max-height: 30%;

}

.hero h1{

    font-size: 70px;
    
}


.hero p{

    font-size: 20px;
}

.herotext{


     width: 50%;
}

.heroimg{


    width: 50%;
}

.hero img{

  width: 100%;
  height: auto;
  display: block;
}


@media screen and (max-width: 1200px){

    .hero{

    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    color: antiquewhite;
    width: 100%;
    padding: 0;
}

.heroimg{

    width: 80%
}

.herotext{

    width: 100%;
    text-align: center;

}


}

@media screen and (max-width: 930px){

    .hero h1{

    font-size: 45px;
    
}

.hero{

    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    color: antiquewhite;
    width: 100%;
    padding: 0;
}

.herotext{

  margin-bottom: 10%;
}

}


@media screen and (max-width: 450px){

  .herotext{

  margin-bottom: 25%;
}
}

/*service*/


.services {
  background-color: #FAF6ED;
  min-height: 50vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.cardcontainer{

    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 20px;
    padding: 40px;
    width: 100%;
}

.service-card {
  flex: 1 1 calc(33.333% - 20px);
  color: #9e876a;
  padding: 20px;
  transition: transform 0.3s;
  border-left: 2px solid #9e876a;
  
}

.service-card i{

    font-size: 30px;
    margin-bottom: 5%;
}

.service-card h3{

    margin-bottom: 5%;
    font-size: 24px;
}

.service-card p{

    font-size: 18px;
    color: rgb(172, 172, 172);
}

.svcard{

    border-right: 2px solid #9e876a;
}

.service-card:hover {
  transform: translateY(-5px);
}

/* Reszponzív */
@media (max-width: 900px) {
  .service-card {
    flex: 1 1 100%;
  }

  .svcardres{

    border-right: 2px solid #9e876a;

  }
}




/*about*/


.about {
  width: 100%;
  min-height: 100vh;
  display: flex;
  flex-wrap: wrap;
  position: relative;
}

.abouttext {
  background-color: #ffff;
  width: 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 40px 5%;
}

.abouttext p {
  color: rgb(172, 172, 172);
  width: 100%;
  margin-top: 5%;
  letter-spacing: 1.5px;
  line-height: 1.6;
}

.abouttext h2 {
  color: #9e876a;
  font-size: 32px;
  position: relative;
  display: inline-block;
}

.abouttext h2::after {
  content: "";
  display: block;
  width:250px;
  height: 3px;
  background-color: #9e876a;
  margin-top: 8px;
  border-radius: 2px;
}

.aboutimg {
  width: 50%;
  background-color: #ffff;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.aboutimg img {
  width: 80%;
  height: auto;
  display: block;
  filter: brightness(60%);
}

.aboutimg button {

  width: 20%;
  height: 20%;
  position: absolute;
  bottom: 15%;
  left: 73%;
  background-color: black;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  border: none;
  padding: 15px 25px;
  z-index: 2;
  cursor: pointer;
  transition: background-color 0.3s ease;
  letter-spacing: 2px;
}

.aboutimg button:hover {
  background-color: #333;
}

.aboutimg button a {
  color: #fff;
  text-decoration: none;
  font-size: 18px;
  text-align: center;
  display: block;
  line-height: 1.4;
}



@media (max-width: 1100px) {
  .about {
    flex-direction: column-reverse;
  }

  .abouttext,
  .aboutimg {
    width: 100%;
  }

  .abouttext {
    padding-top:15%;
    text-align: center;
    align-items: center;
    justify-content: center;
  }

  .abouttext h2::after{

    width: 100px;
  }



  .aboutimg img{

    width: 100%;
  }



  .aboutimg button {
    display: none;    
  }


}

/*ref*/

@import url('https://fonts.googleapis.com/css?family=Varela+Round');

.ref {
  background-color: #FAF6ED;
  width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 2rem 0;
  position: relative;
}

.vid {
  width: 100%;
  max-height: 70vh;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #1e1e1e;
  margin: 3% 0;
}

.vid video {
  width: 100%;
  height: auto;
  object-fit: cover;
}


.slides {
  width: 90%;
  max-width: 900px;
  height: 80vh;
  position: relative;
  list-style: none;
  padding: 0;
  margin: 0 auto;
}

.slides * {
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
}

.slides input {
  display: none;
}

.slide-container {
  display: block;
}

.slide {
  top: 0;
  opacity: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  transform: scale(0.95);
  transition: all 0.7s ease-in-out;
}

.slide img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 10px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

input:checked + .slide-container .slide {
  opacity: 1;
  transform: scale(1);
}

.nav label {
  width: 100px;
  height: 10%;
  position: absolute;
  top: 0;
  z-index: 10;
  display: none;
  cursor: pointer;
  color: #9e876a;
  font-size: 5rem;
  text-align: center;
  line-height: 80vh;
  font-family: 'Varela Round', sans-serif;
  user-select: none;
}

.nav .prev {
  left: 0;
}
.nav .next {
  right: 0;
}


input:checked + .slide-container .nav label {
  display: block;
}




/* Reszponzivitás */
@media (max-width: 768px) {
  .slides {
    height: 60vh;
  }

  .nav label {
    font-size: 3rem;
    line-height: 60vh;
    width: 60px;
  }
}

@media (max-width: 500px) {
  .slides {
    height: 50vh;
  }

  .nav label {
    font-size: 2rem;
    line-height: 50vh;
    width: 50px;
  }
}





/*contact*/

.contact {
  background-color: #f4f4f4;
  width: 100%;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 5%;
}

.contact-container {
  width: 100%;
  max-width: 1000px;
  background-color: #fff;
  padding: 40px;
  border-radius: 15px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.contact-container h2 {
  color: #9e876a;
  margin-bottom: 15px;
}

.contact-container p{

    color:rgb(172, 172, 172);
}

.contact-content {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: center;
  margin-top: 30px;
}

.contact-form {
  flex: 1 1 400px;
}

.contact-details {
  flex: 1 1 300px;
  text-align: left;
  font-size: 24px;
  color: #555;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 10px;
}

.contact-details h3 {
  color: #9e876a;
  margin-bottom: 10px;
}

.contact-details p a{
  color:rgb(172, 172, 172);
  text-decoration: none;
}

.contact-details i {
  margin-right: 10px;
  color:#9e876a;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 15px;
  margin-bottom: 20px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 16px;
  font-family: inherit;
}

.contact-form button {
  background-color: #9e876a;
  color: white;
  padding: 15px 30px;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.contact-form button:hover {
  background-color: #7c6b55;
}

/* Footer */
footer {
  background-color: #1e1e1e;
  color: #ccc;
  padding: 40px 20px;
  text-align: center;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
}

.footer-logo img {
  height: 60px;
  width: auto;
}

.footer-info p {
  margin: 5px 0;
  font-size: 14px;
}

@media (max-width: 600px) {
  .contact-container {
    padding: 20px;
  }

  .contact-content {
    flex-direction: column;
    align-items: stretch;
  }

  .contact-form button {
    width: 100%;
  }
}




#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: white; /* vagy sötét háttér, pl. #111 */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

#preloader img{

  width: 20%;
  margin-bottom: 5%;
}

.loader {
  width: 50px;
  height: 50px;
  border: 6px solid #ccc;
  border-top: 6px solid #222;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

/* Animáció */
@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}
