*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    
}

html, body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  width: 100%;
}
html{
  scroll-behavior: smooth;
  
  
}


body{

  background-color: #F5F0EA;
  
}
 #home{

 height: 100vh;
 background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), 
 url('/images/homebg1.webp');
 background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding-top: 80px;
 }
 
header{
    position: fixed;
    z-index: 1000;
    width: 100%;
   padding: 0% 1%;
    top: -0px;
    background-color: transparent;
    
}
#header.scrolled {
  padding: 0%;
  position: fixed;
  width: 100%;
  z-index: 1000;
  
}

#loader-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: #F5F0EA; /* or dark background if you prefer */
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.dot-spinner {
  --uib-size: 2.8rem;
  --uib-speed: .9s;
  --uib-color: #B48A58;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  height: var(--uib-size);
  width: var(--uib-size);
}

.dot-spinner__dot {
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  height: 100%;
  width: 100%;
}

.dot-spinner__dot::before {
  content: '';
  height: 20%;
  width: 20%;
  border-radius: 50%;
  background-color: var(--uib-color);
  transform: scale(0);
  opacity: 0.5;
  animation: pulse0112 calc(var(--uib-speed) * 1.111) ease-in-out infinite;
  box-shadow: 0 0 20px rgba(18, 31, 53, 0.3);
}

.dot-spinner__dot:nth-child(2) {
  transform: rotate(45deg);
}

.dot-spinner__dot:nth-child(2)::before {
  animation-delay: calc(var(--uib-speed) * -0.875);
}

.dot-spinner__dot:nth-child(3) {
  transform: rotate(90deg);
}

.dot-spinner__dot:nth-child(3)::before {
  animation-delay: calc(var(--uib-speed) * -0.75);
}

.dot-spinner__dot:nth-child(4) {
  transform: rotate(135deg);
}

.dot-spinner__dot:nth-child(4)::before {
  animation-delay: calc(var(--uib-speed) * -0.625);
}

.dot-spinner__dot:nth-child(5) {
  transform: rotate(180deg);
}

.dot-spinner__dot:nth-child(5)::before {
  animation-delay: calc(var(--uib-speed) * -0.5);
}

.dot-spinner__dot:nth-child(6) {
  transform: rotate(225deg);
}

.dot-spinner__dot:nth-child(6)::before {
  animation-delay: calc(var(--uib-speed) * -0.375);
}

.dot-spinner__dot:nth-child(7) {
  transform: rotate(270deg);
}

.dot-spinner__dot:nth-child(7)::before {
  animation-delay: calc(var(--uib-speed) * -0.25);
}

.dot-spinner__dot:nth-child(8) {
  transform: rotate(315deg);
}

.dot-spinner__dot:nth-child(8)::before {
  animation-delay: calc(var(--uib-speed) * -0.125);
}

@keyframes pulse0112 {
  0%,
  100% {
    transform: scale(0);
    opacity: 0.5;
  }

  50% {
    transform: scale(1);
    opacity: 1;
  }
}


nav{
  display: flex;
  align-items:center ;
  align-content: center;
  border-bottom: 1px solid #F0F0F1;
  padding: 0% 5%;
  height: 100px;
   
}
.logo img{
  height: 120px;
}

#nav.scrolled {  
  background: rgba(180, 138, 88, 0.5);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  width: auto;
 border: none;
 
}

.naslov{
    font-size: 35px;
}

.translate{
  width: 13%;
  list-style: none;
  display: flex;

}

.translate img{
    width: auto;
    height: 30px;
    margin: 0.8rem;
}
.nav-links{
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    align-content: center;
    list-style: none;
    margin-left: 35%;
    width: 70%;
    height: auto;
    

}
.nav-links li{
    display: inline-block;
}
.nav-links a{
    display: inline-block;
    font-size: 22px;
    text-decoration: none;
    color: white;
}
.nav-links .menu-button{
    display: none;
   }
.main-container{
    display: flex;
    width: 90%;
    margin: 2% 5%;
    padding: 5%;
}

.main-container-content{
  height: 70%;
  width: 100%;
}

.main-container-naslov {
  height: auto;
  font-size: 15rem;
  letter-spacing: 30px;
  color: whitesmoke;
  line-height: 1;
  margin: 0; 
  
  
}
.lokacija{
  color: whitesmoke;
  font-size: 25px;
  letter-spacing: normal;
  
}

.linija2{
  margin-left: 35%;
}

.dodatak{
  margin-top: 2%;
  height: auto;
  width: auto;
  display: flex;
  align-items: center;
}
.dodatak a{
  font-size: 25px;
}
.dodatak .info{
  height: 50px;
  margin-top: 15px;
}
.dodatak h2{
  font-size: 22px;
  color: whitesmoke;
  border-top: 1px  solid #F0F0F1;
  display: inline-block;
  height: 40px;
  align-content: center;
  font-weight: 100;
} 
 .btn {
  display: inline-block;
  padding: 12px 24px;
  color: #000;
  background-color: #f0f0f0;
  text-decoration: none;
  border-radius: 20px;
  margin-left: 62%;
  transition: ease all 0.2s; 
   
}


.btn:hover {
  background-color: rgb(168, 168, 168) ;
  transform: translateY(-3px);
}

.sidebar{
    position: fixed;
    top: 0;
    right: 0;
    height: 100%;
    width: 50vh;
    z-index: 999;
    background-color: rgba(250, 207, 154, 0.5); 
    backdrop-filter: blur(10px);
    box-shadow: -10px 0 10px rgba(0,0,0,0.1);
    display: none;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    list-style: none;
    font-size: 20px;
    font-weight: 600;
    padding:  20px;
    gap: 35px;
    cursor: pointer;
    }
    .sidebar li{
     width: 100%;
     
    }
    .sidebar .close-button{
      margin-top: 12px;
      margin-bottom: 0;
    }
    .sidebar a{
        width: 100%;
        text-decoration: none;
        color: #fff;
    }
   .menu{
     display: none;
   }
   



 #banner{
  background: url('/images/banner.jpg') no-repeat center center;
  text-align: center; 
  padding: 100px 20px;
   margin-top: 2%; 
}
#banner h2{
  font-size: 32px;
}
/*ABOUT*/
#about{
height: auto;
margin:  5% 0;



} 
.ab-container{
  display: flex;
  flex-direction: row;
  max-height: 70vh;
  padding: 2%;
  gap: 10%;

}


  
  
.ab-container img{
    width: 40%;
    max-height: 100%;
    margin-right: 7%;
    margin-top: 2%;
     object-fit: contain;
     flex-shrink: 0;
  }
  .ab-container-content{
    padding: 2%;
    padding-top: 6%;
    margin-left: 10%;
    
  }
  .ab-container-content p{
    margin-top: 3%;
    font-size: 1.2rem;
    line-height: 1.7rem;
    color: #3B3B3B;

  }
  .ab-container-content img{
    width: 35%;
    margin-top: 2%;
  }
.ab-naslov{
  font-size: 5rem;
  font-weight: normal;
}
.ab-container-content .sef{
  font-size: 1.2rem;
  font-style: italic;
}

/*VIDEO*/
.video{
  height: auto;
  margin: 5% auto;
}
.video-section{
  display: grid;
  grid-template-columns: repeat(2,1fr);
  gap: 50px;
  padding: 0 10%;
  height: auto;

}
.video-section video{
  width: 100%;
  height: 100%;
}
.video-section-content{
  width: 100%;
  padding: 20px;
  display: flex;
flex-direction: column;
justify-content: center;  
}
.video-section-content h2{
  font-size: 4rem;
  font-weight: normal;
}
.video-section-content p{
   margin-top: 3%;
    font-size: 1.2rem;
    line-height: 1.7rem;
    color: #3B3B3B;
}

/*ROOMS*/

#rooms{
  height: auto;
padding: 2% 5%;  
margin-top: 5%;

}

#rooms h2{
 
  font-size: 4rem;
  font-weight: normal;
  letter-spacing: 1.5px;
  margin-bottom: 50px;
  
  
}


.rooms-container{
display: grid;
grid-template-columns: repeat(3,1fr);
gap: 50px;
align-items: start;

}
 
.room{
width: 100%;
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
border-radius: 10px;
 height: 100%;
 display: flex;
  flex-direction: column;
}
.room-content{
  height: auto;
  padding: 2%;
   flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.room-content .room-naziv{
font-size: 25px;
font-weight: 600;
font-style: italic;
margin-top: 2%;
}

.room-content p{
margin-top: 2%;
font-size: 17px;
color: #3B3B3B;
text-align: justify;
}

.room img{
  width: 100%;
  border-top-right-radius:10px ;
  border-top-left-radius:10px ;
 
}

.zoom-hover {
  overflow: hidden;
  border-top-right-radius:10px ;
  border-top-left-radius:10px ;
}

.zoom-hover img {
  transition: transform 0.6s ease;
  cursor: pointer;
}

.zoom-hover:hover img {
  transform: scale(1.2);  
}
  

.room-button{
 
  display: inline-block;
  padding: 10px 22px;
  border-radius: 25px;
  text-decoration: none;
  letter-spacing: 1px;
 color: rgb(190, 151, 41);
border: 1px solid  rgb(190, 151, 41);
 margin: 25px 38%  ;
  transition: ease all 0.2s;
  margin-top: 15px; /* Pushes button to bottom inside .room-content */
  align-self: center;
  width: 150px;
  text-align: center;
  
}

.room-button:hover{
 
  background-color: rgb(161, 102, 12);
transform: translateY(-3px);
color: whitesmoke;

}

/*SPA*/
#spa{
height: auto;
margin: 5% 0 ;
} 
.spa-container{
  display: flex;
  flex-direction: row;
  max-height: 80vh;
  padding: 2%;
  gap: 5%;
}
  .spa-container-content{
    padding: 2%;
    padding-top: 6%;
    margin-right: 5%; 
  }
  .spa-container-content p{
    margin-top: 3%;
    font-size: 1.2rem;
    line-height: 1.7rem;
    color: #3B3B3B;
  }
  
.spa-naslov{
  font-size: 5rem;
  font-weight: normal;
}

.spa-grid{
  max-width: 800px;
  display: grid;
  margin-left: 5%;
  gap: 10px;
  grid-template-columns: repeat(2,1fr);
}
.spa-grid img{
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.spa-grid .mala:nth-of-type(1) {
  grid-column: 1;
  grid-row: 1;
}

.spa-grid .mala:nth-of-type(2) {
  grid-column: 1;
  grid-row: 2;
}

.spa-grid .uspravna {
  grid-column: 2;
  grid-row: 1 / span 2; 
}

.spa-button{
 
  display: inline-block;
  padding: 10px 22px;
  border-radius: 25px;
  text-decoration: none;
  letter-spacing: 1px;
 color: rgb(190, 151, 41);
border: 1px solid  rgb(190, 151, 41);
  transition: ease all 0.2s;
  margin-top: 30px; /* Pushes button to bottom inside .room-content */
  width: 150px;
  text-align: center;
  
}

.spa-button:hover{
 
  background-color: rgb(161, 102, 12);
transform: translateY(-3px);
color: whitesmoke;

}

/*SERVICES*/


#services{

  height: 70vh;
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), 
  url('../images/services2.webp');
  background-attachment: fixed;
   background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
   padding: 2% 5%  ;
   color: whitesmoke;
   margin-top: 0%;
}
#services h2{
  text-align: center;
  font-size: 56px;
  font-weight: 400;
  letter-spacing: 1px;
  margin-bottom: 50px;
}
.services{
  
  padding: 10px;
  color: whitesmoke;
  background: rgba(148, 74, 4, 0.15);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(15px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  border-radius: 10px;
  

}
.services-container{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15%;
  max-width:80%;
  margin: 0 auto;
 
}
.svg-container{
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 10px;
 
}
.svg-container .icon{
  fill: whitesmoke;
}

.services-naslov{
  text-align: center;
  font-size: 22px;
  margin-bottom: 10px;
}
 .services-opis{
  text-align: justify;
  justify-content: center;
}

/*CONTACT*/


#contact{


height: auto;
margin-top: 5%;
}

.contact-container{

  
  height: auto;
  display: flex;
  width: 80%;
  margin: 5% 10%;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  border-radius: 10px;


}

.contact-container-content{

  
  width: 50%;
  padding: 20px;
   
  
}

.contact-container-content p{
  font-size: 19px;
  text-align: start;
}

.contact-naslov{
 font-weight: normal;
  font-size: 55px;
  margin-bottom: 25px;
  margin-top: 25px;
}

.contact-form{
  
  
  width: 75%;
  margin: 3% 10%;
 
}
.contact-form-content{

  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-inputs{
  height: 50px;
  border-radius: 10px;
  border: 1px solid #ccc; 
  outline: none;
  padding: 12px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
  background-color: #f7f3ed;

}
.contact-form-content textarea{
  height: 150px;
  padding-top: 10px;
}
.contact-container-content button{
  width: 80px;
  height: 30px;
  border-radius: 10px;
  color: rgb(190, 151, 41);
  border: 1px solid  rgb(190, 151, 41);
  cursor: pointer;
  letter-spacing: 1px;
  transition: ease all 0.2s;
}
.contact-container-content button:hover{
  background-color: rgb(161, 102, 12);
  color: whitesmoke;
  transform: translateY(-3px);
  
  }
.contact-container .mapa{
  border-top-right-radius: 10px;
  border-bottom-right-radius:10px ;
 
  
}

.brojevi{
  width: 75%;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 4% 10% ;
  justify-content: center;
   align-items: center;
}
.broj1 , .broj2{
  display: flex;
  padding: 12px 20px;
  border-radius: 15px;
  color: rgb(190, 151, 41);
   border: 1px solid  rgb(190, 151, 41);
  cursor: pointer;
  letter-spacing: 1px;
  transition: ease all 0.2s;
  width: 200px;
}
.broj1 a , .broj2 a{
  color:rgb(190, 151, 41);
  margin-left: 10px;
}
.broj1:hover , .broj2:hover{
  background-color: rgb(161, 102, 12);
  color: whitesmoke;
  transform: translateY(-3px);
}
.broj1 a:hover, .broj2 a:hover{
  color: whitesmoke;
}


footer{
  background-color:  #3A2E1F;
  color:  #F5F0EA;
  
}

.footer-info{
 display: flex;
 width: 90%;
 margin: 0 auto;
 padding: 50px 0;
 gap: 5%;


}

.footer-logo img{
  width: 45%;
}


.section1,.section3{
width: 40%;
padding: 0 15px;
}

.section2 {
  width: 20%;
}

.section1 h2{
margin-bottom: 35px;
font-size: 35px;
}

.section1 .media ul{
  display: flex;
  gap: 5%;
  margin: 5% 0%;

}
.section1 .media ul li{
  list-style: none;
  font-size: 30px;
}
.section1 .media a{
  color: #F5F0EA;
  text-decoration: none;
}
.section1 .media ul li a:hover{
  color: #B48A58;

}

 

.section2 h2{
  margin-bottom: 20px;
  font-size: 25px;
}

.section2 .links ul li{
  list-style: none;
  margin-bottom: 10px;
}
.section2 .links a{
  font-size: 18px;
  color: #F5F0EA;
  text-decoration: none;
}
.section2 .links a:hover{
  color: #B48A58;
}


.section3 h2{
  margin-bottom: 20px;
  font-size: 25px;
}

.footer-contact ul li{
  display: flex;
  align-items: center;
  margin-bottom: 20px;
  
}
.footer-contact ul li span{
  margin-right: 15px;
}

.footer-contact  span {
  font-size: 22px;
}
.footer-contact  p{
  font-size: 18px;
  
}
.footer-contact a{
  font-size: 18px;
  color: #F5F0EA;
  text-decoration: none;
}
.footer-contact a:hover{
  color: #B48A58;
}

.credits{
text-align: center;
padding-bottom: 5px;

}
.credits a{
  text-decoration: none;
  color: #F5F0EA;
}
.credits a:hover{
  color:#EC90AF;
}



.r{
  display: none;
}

@media screen and (min-width:1366px) and (max-width:1440px){
  
/*HOME*/   
.translate{
     width: 13%;
   }
   #home{
    height: auto;
    padding-top: 40px;
   }
   .translate img{
       width: auto;
       height: 25px;
       margin: 0.5rem;
   }
  

   .main-container{
       display: flex;
       width: 90%;
       margin: 2% 5%;
       padding: 5%;
   }
   .main-container-naslov{   
     font-size: 12rem;
     letter-spacing: 20px;
   }
   .lokacija{
     font-size: 22px; 
   }
   
   .linija2{
     margin-left: 33%;
   }
   .dodatak a{
     font-size: 18px;
   }
   
   .dodatak p{
     font-size: 20px;
   } 
    .btn {
     margin-left: 58%;
      
   }
   
  
/*ABOUT*/
.ab-container{
  padding: 0;
 
}
    .ab-container img{
        margin-top: 0%;
      }     
    .ab-container-content{
     padding-top: 0%;
    }
    .ab-container-content img{
       display: block;
      max-width: 100%;
  height: auto;
  object-fit: cover;
  
    }
    .ab-naslov{
      font-size: 4.5rem;
      font-weight: normal;
    }
    #banner{
      padding: 80px 20px;
    }
     
     /*VIDEO*/
     .video{
  height: auto;
  margin: 3% auto;
}
.video-section{
  padding: 0 5%;
  height: auto;
}

.video-section-content h2{
  font-size: 3.5rem;
  font-weight: normal;
}

    
      
    /*ROOMS*/
    .room-content{
      height: auto;
    }
    .room-button{
      display: inline-block;
      text-wrap: nowrap;
      padding: 10px 22px;
      letter-spacing: 0.5px;
     margin: 15px 35%  ;
    }

    /*SPA*/


.spa-grid{
  max-width: 600px;
  display: grid;
  margin-left: 5%;
  gap: 10px;
  grid-template-columns: repeat(2,1fr);
}

/*SERVICES*/
#services{
  height: auto;
  padding:  5% 2%  ;
}
#services h2{
  margin-bottom: 40px;
  
}
.services{
  padding: 10px;
}
.services-container{
  gap: 10%;
  max-width:90%;
}
.services-naslov{
  text-align: center;
  font-size: 20px;
  margin-bottom: 10px;
}

/*CONTACT*/

  .contact-container-content{
    width: 80%;
  }
  .contact-form{
    width: 85%;
    margin: 5%;
  }
  
  

@-moz-document url-prefix() {
    .ab-container-content p {
      font-size: 1rem; /* Only affects Firefox */
      margin-top: auto;
    }
    .ab-naslov{
  font-size: 4rem;
}
.ab-container-content .sef{
  font-size: 1rem;
  font-style: italic;
}
  
    .ab-container img{
    width: 35%;
    margin-right: 5%;
    margin-top: 1%;
  }
  .broj1, .broj2 {
      font-size: 15.5px; /* Firefox tweak */
    }
    .contact-naslov{
      font-size: 3rem;
    }
    .contact-container-content p{
      font-size: 1rem;
    }
    .nav-links a{
    display: inline-block;
    font-size: 1.2rem;
   
}
  
  }
 
}



@media screen and (min-width:1024px) and (max-width:1280px){

#home{
    height: 100vh;
     padding-top: 10%;
    }
  .translate{
    width: 20%;
  }
  .nav-links{
    margin-left: 20%;
    gap: 20px;
    
  }
  .translate img{
      width: auto;
      height: 25px;
      margin: 0.5rem;
  }
  .main-container{
      display: flex;
      width: auto;
      margin: auto 5%;
      padding: 2%;
  }
  .main-container-naslov{   
    font-size:10rem;
    letter-spacing: 25px;
  }
  .lokacija{
    font-size: 22px; 
  }
  .linija2{
    margin-left: 30%;
  }
  .dodatak .info h2{
    font-size: calc(15px + 0.5vw);
  }
  .dodatak a{
    font-size: 18px;
  } 
   .btn {
    margin-left: 58%;
  }
.nav-links a{
    font-size: 20px;
}
  
/*ABOUT*/
.ab-container{
  padding: auto;
  gap: 5%;
  }
.ab-container img{
    width: 45%;
    margin-right: 5%;
    margin-top: 2%;
  }
  .ab-container-content{
    padding: 2%;
    padding-top: 0%;
    margin-left: 10%;
  }
  .ab-container-content p{
    font-size: 1.1rem;
    line-height: 1.3rem;
    margin-top: 15px;
  }
  .ab-naslov{
   font-size: 4rem;
   font-weight: normal;
  }
 .ab-container-content .sef{
    font-size: 1.2rem;
  }

 #banner{
      padding: 60px 20px;
    }
  #banner h2{
      font-size: 25px;
    }
    @-moz-document url-prefix() {
    .ab-container-content p {
      font-size: 1rem; /* Only affects Firefox */
      margin-top: auto;
    }
    .ab-container img{
    width: 35%;
    margin-right: 5%;
    margin-top: 1%;
  }

  .room-button{
    display: block;
    text-align: center;
  }
  .broj1, .broj2 {
      font-size: 15.5px; /* Firefox tweak */
    }
   .broj1, .broj2 {
      width: 215px;
    }
       .contact-naslov{
      font-size: 3rem;
    }
    .contact-container-content p{
      font-size: 1rem;
    }
    .nav-links a{
    display: inline-block;
    font-size: 1.2rem;
   
}

}

  .video{
  height: auto;
  margin: 5% auto;
}
.video-section{
  gap: 50px;
  padding: 0 5%;
}

.video-section-content{
  width: 100%;
  padding: 0px; 
}
.video-section-content h2{
  font-size: 3.3rem;
  font-weight: normal;
}
.video-section-content p{
   margin-top: 3%;
    font-size: 1.1rem;
    line-height: 1.7rem;
    color: #3B3B3B;
}

  

/*ROOMS*/

#rooms h2{
  font-size: 3.5rem;
}
.room-content{
  height: auto;
}
.rooms-container{
  gap: 20px;
}
.room-content .room-naziv{
font-size: 23px;
}
.room-content p{
font-size: 16px;
}
.room-button{
  text-wrap: nowrap;
  padding: 10px 2px;
  margin: 20px 30% ;
  font-size: 15px;
  display: block;
  text-align: center;
}
/*SPA*/
  .spa-container-content{
    
    padding-top: 6%;
    margin-right: 5%; 
   
  }
.spa-grid{
  max-width: 450px;
  height: auto;
  display: grid;
  margin-left: 5%;
  gap: 10px;
  grid-template-columns: repeat(2,1fr);
}

/*SERVICES*/

#services{
  height: auto;
}
#services h2{
  margin-bottom: 30px;
}
.services-container{
  gap: 10%;
  max-width:90%;
  margin:  5%;
}
.services-naslov{
  font-size: 20px;
}
 .services-opis{
  font-size: 16px;
}

/*CONTACT*/
.contact-container-content{
  width: 100%;
}
.contact-container-content p{
  font-size: 17px;
}
.contact-naslov{
  font-size: 40px;
  margin-top: 20px;
}
.contact-form{
  width: 80%;
  margin: 4% 10%; 
}
.brojevi{
  margin: 4% 10% ;
}

.broj1 a , .broj2 a{
  color:rgb(190, 151, 41);
  margin-left: 4px;
}
}

@supports (-moz-appearance: none) {
  @media screen and (min-width:1024px) and (max-width:1280px) {

    /* Firefox sometimes needs explicit flex basis or width */
    .main-container {
      flex-wrap: wrap;
    }

    /* Line height and letter spacing may need tweaks in FF */
    .main-container-naslov {
      line-height: 1.1;
      word-spacing: 10px;
    }

    /* Firefox rendering fix for font and layout shift */
    .ab-container-content p,
    .room-content p,
    .services-opis,
    .contact-container-content p {
      -moz-osx-font-smoothing: grayscale;
      font-size: 1rem;
    }

    /* Button alignment issues on some FF versions */
    .btn {
      display: inline-block;
      transform: translateX(0); /* stabilize rendering */
    }

    /* Ensures images scale consistently */
    .ab-container img {
      object-fit: cover;
      height: auto;
      max-width: 100%;
    }

    /* Fix for margins or auto paddings sometimes ignored in FF */
    .room-button {
      display: inline-block;
      margin-left: auto;
      margin-right: auto;
    }

  }
}


@media screen  and (min-width: 510px)  and (max-width:1000px){

 #home{
 height: 100vh;
  padding-top: 120px;
 }
 
 .naslov{
    font-size: 35px;
}

.nav-links{
    display: none;
}
.menu{
  width: 100%;
  display: inline-flex;
  justify-content: end;
}
 .menu-button{
  list-style-type: none;
}
.translate{
  width: 13%;
  list-style: none;
  display: flex;
  flex-direction: column;
}

.translate img{
    width: auto;
    height: 35px;
    margin: 10px 0;
}

.main-container{
    display: flex;
    width: auto;
    margin: 10% 2%;
    padding: 0;
  
    
}

.main-container-content{
 
  height: 70%;
  width: 100%;
text-align: center;
}


.main-container-naslov{
  height: auto;
  font-size:clamp(10rem, 1vw, 30rem);
  letter-spacing: 5px;
  
}
.lokacija{
  font-size: 20px;
}

.linija2{
  margin: 0;
}
.dodatak{
  display: inline-flexbox;
  justify-content: center;
}
.dodatak a{
  font-size: 20px;
}

.dodatak h2{
  display: none;
} 
 .btn {
  display: inline-block;
  padding: 10px 12px;
  color: #B48A58;
  text-wrap: nowrap;
  margin: 0;

   
}
 #banner{
  background: url('/images/banner.jpg') no-repeat center center;
  text-align: center; 
  padding: 70px 20px;
   margin-top: 2%; 
}
#banner h2{
  font-size: 30px;
}




#about{
height:auto;
margin: 0 auto ;
padding: 5% 0;


} 
.ab-container{
  display: flex;
  flex-direction: column;
  margin:  0 auto;
  max-height: 0%;
 
  }
.ab-container img{
    width: 100%;
   height: 100%;
   margin:  2% auto;
  }
  .ab-container-content{
    margin: auto;
  }
  .ab-container-content img{
    width: 25%;
    margin-top: 2%;
  }

  .video{
  height: auto;
  margin: 5% auto;

  border: 1px solid red;
}
.video-section{
  display: grid;
  grid-template-columns: repeat(1,1fr);
  gap: 30px;
  padding: 0 10px;
  height: auto;

}
.video-section video{
  width: 100%;
  height: 100%;
}
.video-section-content{
  width: 100%;
  padding: 0;
  display: flex;
flex-direction: column;
justify-content: center;  
}
.video-section-content h2{
  font-size: 3.2rem;
  text-align: center;
  font-weight: normal;
}
.video-section-content p{
   margin-top: 3%;
    font-size: 1.1rem;
    line-height: 1.7rem;
    color: #3B3B3B;
   
}



  #rooms{
  height: auto;
padding: 2% 5%;  
margin-top: 5%;
}

#rooms h2{
  text-align: center;
}
.rooms-container{
display: grid;
grid-template-columns: repeat(1,1fr);
gap: 30px;
}
 
.room{
width: 90%;
margin: 0 auto;
}

.room-button{ 
  display: block;
  padding: 10px 2px;
  text-align: center;
  text-wrap: nowrap;
  justify-content: center;
  font-size: 15px;
}

/*SPA*/


#spa{
height: auto;
padding: 50px 0;
} 
.spa-container{
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  padding: 0  10%;
}
  .spa-container-content{
    padding: 2%;
    width: 100%;
    margin: 0;
  }
.spa-naslov{
  font-size: 4.5rem;
  font-weight: normal;
}
.spa-grid{
margin: 0 auto ;
}




#services{
  height: auto;
  padding: 2%;
}
#services h2{
  text-align: center;
  margin-bottom: 0px;
}
.services{
  padding: 10px;
  border-radius: 10px; 
}
.services-container{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 5%;
  max-width:90%;
  margin: 5% auto  ;
  padding-bottom: 10%;
}




#contact{
height: auto;
margin: auto;
}
.contact-container{
  height: auto;
  display: flex;
  flex-direction: column;
  width: 90%;
  margin: 5% auto;
  padding: 0;
}
.contact-container-content{ 
  width: 90%;
  padding: auto;
  margin: 5%; 
}

.contact-container-content p{
  font-size: 19px;
  text-align: justify;
}

.contact-naslov{
 font-weight: normal;
 text-align: center;
  font-size: 55px;
  margin-bottom: 25px;
  margin-top: 25px;
}

.contact-form{
  width: 85%;
  margin:  5%;
}
.brojevi{
  width: 85%;
  gap: 20px;
  margin: 4% 5% ;
  text-align: center;
}
@-moz-document url-prefix() {
    .broj1, .broj2 {
      width: 195px;
    }
     .ab-container-content p {
      font-size: 1rem; /* Only affects Firefox */
      margin-top: auto;
    }
    .ab-container img{
    width: 35%;
    margin-right: 5%;
    margin-top: 1%;
  }
  .room-button{
    display: block;
    text-align: center;
  }
  .broj1, .broj2 {
      font-size: 15.5px; /* Firefox tweak */
    }
   .broj1, .broj2 {
      width: 215px;
    }
       .contact-naslov{
      font-size: 3rem;
    }
    .contact-container-content p{
      font-size: 1rem;
    }
    .nav-links a{
    display: inline-block;
    font-size: 1.2rem;
}
  }


.contact-container .mapa{
  border-top-right-radius: 10px;
  border-bottom-right-radius:10px ;
  height: 700px;
  width: 100%;
}


.footer-info{
 flex-direction: column;
 width: 90%;
 margin: 0 auto;
 padding: 20px 0;
 gap: 10px;
 justify-content: center;
 align-items: center;

}

.section1,.section3{
width: 100%;
padding: 0 15px;;
}

.section2 {
  width: 100%;
  padding: 0 15px;
}

}



@media only screen and (min-device-width: 320px) and (max-device-width: 500px) and (orientation: portrait) and (max-aspect-ratio: 21/9 ){

 
  #home{
 height: 100vh;
  padding-top: 150px;
 }
 .sidebar{
  width: 50%;
 }
 
 .naslov{
    font-size: 35px;
}

.nav-links{
    display: none;
}
.menu{
  width: 100%;
  display: inline-flex;
  justify-content: end;
}
 .menu-button{
  list-style-type: none;
}
.translate{
  width: auto;
  list-style: none;
  display: flex;
  flex-direction: column;
}

.translate img{
    width: auto;
    height: 35px;
    margin: 5px 0;
}

.main-container{
    display: flex;
    width: auto;
    margin: 10% auto;
    padding: 0;   
}
.main-container-content{
 
  height: 70%;
  width: 100%;
text-align: center;
}


.main-container-naslov {
  height: auto;
  font-size:clamp(7rem, 0.5vw, 20rem);
  letter-spacing: 5px;
  margin-top: 20%;
  
}
.lokacija{
  font-size: 20px;
}

.linija2{
  margin: 0;
}
.dodatak{
  display: inline-flex;
  justify-content: center;
}
.dodatak a{
  font-size: 20px;
}

.dodatak h2{
  display: none;
} 
 .btn {
  display: inline-block;
  padding: 10px 12px;
  color: #B48A58;
  text-wrap: nowrap;
  margin: 0;

   
}
 #banner{
  background: url('/images/banner.jpg') no-repeat center center;
  text-align: center; 
  padding: 50px 20px;
   margin-top: 2%; 
}
#banner h2{
  font-size: 25px;
}




#about{
height:auto;
margin: 0 auto ;
padding: 5% 0;
}


.ab-container{
  display: flex;
  flex-direction: column;
  margin:  0 auto;
  max-height: 0%;
 
  }
.ab-container img{
    width: 100%;
   height: 100%;
   margin:  2% auto;
  }
  .ab-container-content{
    margin: auto;
  }
  .ab-container-content img{
    width: 40%;
    margin-top: 2%;
  }
 .video{
  margin-bottom: 30px;
 }
.video-section{
  display: grid;
  grid-template-columns: repeat(1,1fr);
  gap: 20px;
  padding: 0 10px;
}

.video-section-content{
  width: 100%;
  padding: 0;
  display: flex;
flex-direction: column;
justify-content: center; 
}
.video-section-content h2{
  font-size: 2.6rem;
  text-align: center;
  font-weight: normal;
}
.video-section-content p{
   margin-top: 3%;
    font-size: 1.1rem;
    line-height: 1.5rem;
    color: #3B3B3B;
    text-align: center;
}



  #rooms{
  height: auto;
padding: 2% 5%;  
margin-top: 5%;
}

#rooms h2{
  text-align: center;
}
.rooms-container{
display: grid;
grid-template-columns: repeat(1,1fr);
gap: 30px;
}
 
.room{
width: 90%;
margin: 0 auto;
}
.room-content{
  height: auto;
}

.room-content p{
  text-align: justify;
}
.room-button{
  text-wrap: nowrap;
  padding: 10px 2px;
  margin: 20px 30% ;
  font-size: 15px;
  display: block;
  text-align: center;
}


#spa{
height: auto;
margin: 5% 0 ;
padding: auto 0;
} 
.spa-container{
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  padding: 2%;
  gap: 5%;
}
  .spa-container-content{
    padding: 2%;
    width: 100%;
  }
  .spa-container-content p{
    margin-top: 3%;
    font-size: 1.1rem;
    line-height: 1.5rem;
    color: #3B3B3B;
    text-align: justify;
    
  }
  
.spa-naslov{
  font-size: 3.5rem;
  font-weight: normal;
  text-align: center;
  text-wrap: nowrap;
}

.spa-grid{
  
 margin: 0;
  gap: 10px;
  grid-template-columns: repeat(2,1fr);
}

.spa-button{
  width: 160px; 
    text-wrap: nowrap; 
}


#services{
  display: none;
}
.r{
  display: block;
    height: 70vh;
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), 
  url('../images/services2.webp');
 
   background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
   padding: 2% 5%  ;
   color: whitesmoke;
   margin-top: 0%;
}
.swiper-wrapper,
.swiper-slide {
  position: relative;
  z-index: 0;
}
.swiper-wrapper{
  display: flex;
}
.swiper{  
height: auto;  
margin: 40px 0; 
}
 .swiper h2{
    font-weight: normal;
  letter-spacing: 1.5px;
    margin-bottom: 35px;
    text-align: center;
    font-size: 2.5rem;
  }
.card-list{
  display: flex; 
  padding: 2%;
   gap: 5%;
 
}
.card-item{
 padding: 10px;
  color: whitesmoke;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  border-radius: 10px;
  height: 100%; 
  
}
.card-item .icon{
  fill: whitesmoke;
}
.swiper-slide{
  max-width: 95%;
  height: auto !important;
}
.card-item .card-item-content{
  height: 50%;
}
.card-opis{
  padding: 0 1%;
  font-size: 16px;
  text-align: justify;
}

.user-icon {
  font-size: 50px;
  margin-top: 10px;
color: whitesmoke;
text-align: center;
}
.card-ime{
  font-size: 21px;
  margin-bottom: 5px;
  text-align: center;
  margin-top: 5px;
  font-weight: normal;

}
.rec-content{
  margin: 0 10px;
   padding: 5px  ;
  overflow: hidden;
}
.card-ocjena{
  margin: 30px auto ;
}
.swiper .swiper-pagination{
  margin-top: 30px; 
  position: relative;
  text-align: center;
}
.swiper .swiper-pagination-bullet{
  background:whitesmoke;
  height: 10px;
  width: 10px;
  
}
.swiper .swiper-slide-button{
  display: none;
}

#contact{
height: auto;
margin: auto;
}
.contact-container{
  height: auto;
  display: flex;
  flex-direction: column;
  width: 90%;
  margin: 5% auto;
  padding: 0;
}
.contact-container-content{ 
  width: 96%;
  padding: auto;
  margin: auto; 
}

.contact-container-content p{
  font-size: 19px;
  text-align: justify;
}

.contact-naslov{
 font-weight: normal;
 text-align: center;
 margin-left: auto;
  font-size: 50px;
  margin-bottom: 25px;
  margin-top: 25px;
}

.brojevi{
  flex-direction: column;
  gap: 10px;
}
.broj1, .broj2{
  text-wrap: nowrap;
}
.contact-form{
  width: 100%;
  margin:  5% auto;
}

.contact-container .mapa{
  border-top-right-radius: 10px;
  border-bottom-right-radius:10px ;
  height: 700px;
  width: 100%;
}

.button-container{
  text-align: center;
}

.footer-info{
 flex-direction: column;
 width: 90%;
 margin: 0 auto;
 padding: 20px 0;
 gap: 10px;
 justify-content: center;
 align-items: center;

}

.section1,.section3{
width: 100%;
padding: 0 15px;;
}

.section2 {
  width: 100%;
  padding: 0 15px;
}

.credits p{
  font-size: 15px;
}


}