@font-face {
  font-family: 'Roboto Condensed';
  src: url('../fonts/RobotoCondensed-Bold.ttf') format('truetype');
  font-weight: bold;
  font-style: normal;
}

@font-face {
  font-family: 'Roboto Condensed';
  src: url('../fonts/RobotoCondensed-Italic.ttf') format('truetype');
  font-weight: normal;
  font-style: italic;
}

@font-face {
  font-family: 'Roboto Condensed';
  src: url('../fonts/RobotoCondensed-Light.ttf') format('truetype');
  font-weight: 300;
  font-style: normal;
}

@font-face {
  font-family: 'Roboto Condensed';
  src: url('../fonts/RobotoCondensed-LightItalic.ttf') format('truetype');
  font-weight: 300;
  font-style: italic;
}

@font-face {
  font-family: 'Roboto Condensed';
  src: url('../fonts/RobotoCondensed-Regular.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Annabelle JF';
  src: url('../fonts/Annabelle.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}


#who, #rooms, #services, #where, #around, #contacts {
  scroll-margin-top: 180px;
}

html, body {
  margin: 0;
  font-family: 'Roboto Condensed', sans-serif;
  font-weight: 300;
  font-style: normal;
  overflow-x: hidden;
}

gmp-map {
  height: 100%;
}

/* STYLE AND TEXT COLOR */
.anna{
  font-family: 'Annabelle JF';
  font-weight: normal;
  font-style: normal;
  font-size: 4.0em;
}

@media (max-width: 1080px) {
  .anna{
    font-size: 3.5em;
  }
}

@media (max-width: 890px) {
  .anna{
    font-size: 3.0em;
  }
}

.bold{
  font-weight: bold;
  font-style: normal;
}

.light{
  font-weight: 300;
  font-style: normal;
}
.medio{
  font-weight: normal;
  font-style: normal;
}

.bold{
  font-weight: bold;
  font-style: normal;
}

.blu{
  font-weight: normal;
  font-style: normal;
  color:#00aed0;
}

.blu2{
  font-weight: normal;
  font-style: normal;
  color:#024d5a;
}

.green{
  font-weight: normal;
  font-style: normal;
  color:#006e00;
}

.green2{
  font-weight: normal;
  font-style: normal;
  color:#68ac20;
}
.purple{
  font-weight: normal;
  font-style: normal;
  color:#de00bb;
}

.brown{
  color: #947954;
}

.lwhite{
  background-color: #f6f4f3;
}

.img-quality {
  width: 30vw;   
  height: auto;  
}

.img-culligan {
  width: 20vw;   
  height: auto;  
}

.img-points {
  width: 15vw;   
  height: auto;  
}

a{
  text-decoration: none;
  color: inherit;
}
a:hover{
  cursor: pointer;
}

.btn {
  font-size: 1.2rem;
  font-weight: 300;
  letter-spacing: 0.1em;
  font-style: normal;
  color: white;
  border: none;
  border-radius: 0%;
  white-space: nowrap;
  position: relative; 
  padding: 10px 20px; /* Assicurati che ci sia abbastanza padding intorno al testo */
  display: inline-block; /* Usa inline-block per il posizionamento del testo */
}

.btn span {
  position: relative; /* Posizione relativa per il contenitore del testo */
  padding-left: 40px; /* Spazio per la linea prima del testo */
}

.btn span::before {
  content: ''; 
  position: absolute;
  left: 0; 
  top: 50%; 
  transform: translateY(-50%);
  width: 60px; /* Larghezza della linea, regola come necessario */
  height: 2px; /* Altezza della linea, regola come necessario */
  background-color: white; 
  margin-left: -25px; /* Sposta la linea a sinistra del testo, regola la distanza come necessario */
}

.btn:hover span::before {
  background-color: black; /* Change line color to black on hover */
}

.btn:hover::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(255, 255, 255, 0.2); /* White color with opacity */
  pointer-events: none; /* This makes sure the overlay doesn't interfere with button functionality */
}

/* Media query for mobile devices */
@media (max-width: 576px) {
  .img-quality { 
    width: 70%;
  }
  .img-culligan {
    width: 50%;    
  }
  .img-points {
    width: 30%; 
  }
}

/* END STYLE AND TEXT COLOR */

/*--DIALOG--*/
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.dialog-common {
  padding: 1rem 3rem;
  background: white;
  padding-top: 2rem;
  border-radius: 20px;
  border: 0;
  box-shadow: 0 5px 30px 0 rgba(0, 0, 0, 0.1);
  animation: fadeIn 2s ease both;
  width: 80vw; 
  margin-left: auto; 
  margin-right: auto;
}

.dialog-common::backdrop {
  animation: fadeIn 1s ease both;
  background: rgba(0, 0, 0, 0.6);
  z-index: 2;
  backdrop-filter: blur(20px);
}

.dialog-common .x {
  filter: grayscale(1);
  border: none;
  background: none;
  position: absolute;
  top: 15px;
  right: 10px;
  transition: ease filter, transform 0.3s;
  cursor: pointer;
  transform-origin: center;
}

.dialog-common .x:hover {
  filter: grayscale(0);
  transform: scale(1.1);
}

.dialog-common h2 {
  font-weight: 600;
  font-size: 2rem;
  padding-bottom: 1rem;
}

.dialog-common p {
  font-size: 1rem;
  line-height: 1.3rem;
  padding: 0.5rem 0;
}

.dialog-common p a:visited {
  color: rgb(var(--vs-primary));
}
/*--END DIALOG--*/

/* NAVBAR */
.navbar {
  font-weight: 300;
  font-style: normal;
  background-color: rgb(42, 52, 55) !important;
}
.navbar .navbar-nav .nav-item .nav-link {
  color: white !important;
}

.navbar-nav .nav-link h6 {
  color: white;
  display: inline-block;
}

.navbar-nav .nav-link:hover h6 {
  position: relative;
  color: inherit;
}

.navbar-nav .nav-link:hover h6::after {
  content: '';
  position: absolute;
  left: 10%;
  bottom: 0;
  width: 80%;
  height: 1px;
  background-color: #967954;
  border-radius: 1px;
}
@media (max-width: 768px) {
  .navbar-nav .nav-link h6::after {
    left: 0;
    width: 100%;
  }
}
.navbar-nav .active-link h6 {
  display: inline-block;
  position: relative;
}
.navbar-nav .active-link h6::after {
  content: '';
  display: block;
  width: 80%;
  height: 1px;
  background-color: #967954;
  border-radius: 1px;
  position: absolute;
  left: 10%;      
  bottom: 0px;
}
.navbar-toggler {
  border-color: rgba(255, 255, 255, 0.1);
}
.navbar-toggler-icon {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(255, 255, 255, 0.5)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}
.contact-bar {
  background-color: white;
  color: black;
  padding: 10px 60px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.contact-bar .contact-info {
  display: flex;
  align-items: center;
  white-space: nowrap;
}
.contact-bar .contact-info i{
  margin-right: 5px;
  color: #967954;
}
.contact-bar .contact-info span{
  margin-right: 20px;
}
.contact-bar .contact-book a{
  text-decoration: none;
  color: inherit;

}
.contact-bar .contact-book a:hover {
  text-decoration: underline;
  cursor: pointer;
}
.contact-bar .language-selector {
  margin-right: 30px;
  white-space: nowrap;
}
.contact-bar .btn {
  background-color: #967954;
  color: white;
  border: none;
  white-space: nowrap;
}
.contact-bar .contact-book {
  display: flex;
  justify-content: space-between; 
  align-items: center;
}
/** END NAV-BAR **/

/** FOOTER **/

/** END FOOTER **/
footer{
  background-color: #f6f5f3;
}
footer a {
  display: inline;
  color: black;
  text-decoration: none;
}

footer p {
  color: black;
  display: inline;
}

footer a:hover {
  text-decoration: none;
  color: #d0af5f;
}

footer h5{
  color: black;
  font-family: 'Bold', sans-serif;
}

footer ul.list-unstyled li:hover p {
  color: #d0af5f;
}
/** END FOOTER **/

/** BANNER **/
.banner {
  position: relative;
  margin-top: 20vh;
  max-height: 60vh;
  overflow: hidden;
  text-align: bottom;
  color: white;
}

.banner .allImages {
  height: 100%;
  transition: all 0.5s ease-in-out;
  display: flex;
}

.banner .allImages .imageBanner {
  width: 100%; 
  overflow: hidden;
}

.banner .allImages .imageBanner img {
  width: 100%;
  object-fit: cover;
  height: auto;
  object-position: center;
}

.banner-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}

.text-background {
  display: inline-block;
  background: rgba(35, 35, 35, 0.608);
  padding: 40px;
}

.banner-text h1 {
  font-weight: 300;
  font-style: normal;
  font-size: 4em;
  text-transform: uppercase;
  letter-spacing: 0px;
  margin-bottom: 0em;
}
.banner-text p {
  font-weight: 300;
  font-style: normal;
  font-size: 2.5em;
  margin-bottom: 0.2em;
  color: #d2b261;
}
.discover-button {
  font-weight: 300;
  font-style: normal;
  text-decoration: none;
  color: white;
  padding: 10px 20px;
  display: inline-block;
  transition: background-color 0.3s, color 0.3s;
}
.discover-button:hover {
  color:#000;
  background-color:#947954;
}

@media (max-width: 930px) {
  .banner-text h1 {
    font-size: 3em;
  }
  .banner-text p {
    font-size: 2.0em;
  }
  .text-background {
    padding: 30px;
  }
}

@media (max-width: 700px) {
  .banner-text h1 {
    font-size: 2em;
  }
  .banner-text p {
    font-size: 1.5em;
  }
  .text-background {
    padding: 20px;
  }
}

@media (max-width: 500px) {
  .banner-text h1 {
    font-size: 1.5em;
  }
  .banner-text p {
    font-size: 1.0em;
  }
  .text-background {
    padding: 20px;
  }
}

#map1 {
  height: 400px;
  width: 100%;
}

#map2 {
  height: 25rem;
  width: 40rem;
}

#map3 {
  height: 25rem;
  width: 40rem;
}


/** END BANNER **/

.banner-image {
  width: 100%;
  object-fit: cover;
  height: auto;
  opacity: 1;
  object-position: center;
}

/**BANNER-PHOTO**/
.parallax-inner{
  position:relative;
  min-height: 500px;
  background-position: top center;
  background-attachment: fixed;
  background-size: cover;
}


@media screen and (max-width:500px){
  .parallax-inner{
    min-height: 350px;
    background-size: cover;
    background-position: center;
    background-attachment: scroll;
  }
}

.p-home{
  background-image: url('/static/images/room_4.jpg'); 
 }
/**END BANNER-PHOTO**/

/** ROOMS & EXPERIENCE STYLE **/
.content-wrapper {
  margin: 0 auto;
  max-width: 1200px;
  display: flex;
  flex-flow: row wrap;
  justify-content: center;
  padding: 0.5rem;
}

.news-card {
  margin: 0.5rem;
  position: relative;
  height: 12rem;
  overflow: hidden;
  flex: 1;
  min-width: 370px;
  -webkit-backface-visibility: hidden;
  -moz-backface-visibility: hidden;
  backface-visibility: hidden;
  -webkit-transform: translate3d(0, 0, 0);
  -moz-transform: translate3d(0, 0, 0);
  transform: translate3d(0, 0, 0); 
}


@media (min-width: 900px) {
  .news-card {
    height: 20rem;
  }
}

.news-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.news-card__card-link {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.news-card__image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 3s ease;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  position: relative;
  z-index: -1;
}

.news-card__text-wrapper {
  text-align: center;
  position: absolute;
  bottom: 1rem;
  padding: 1rem;
  width: 100%;
  color: white;
  background-color: #0000007e;
  transition: background-color 1.5s ease;

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.news-card__text-wrapper2 {
  text-align: center;
  position: absolute;
  top: 50%; 
  left: 50%;
  transform: translate(-50%, -50%);
  padding: 1rem;
  width: 70%;
  height: 70%;
  color: white;
  background-color: #0000006d;
  transition: background-color 1.5s ease;

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}


.news-card__title {
  margin-top: 0;
  margin-bottom: 0;
  transition: color 1s ease;
}


@media (min-width: 900px) {  
  .news-card:hover .news-card__text-wrapper {
    background-color: rgba(0, 0, 0, 0.6);
  }

  .news-card:hover .news-card__text-wrapper2 {
    background-color: rgba(0, 0, 0, 0.6);
  }
  
  .news-card:hover .news-card__title {
    color: #d0af5f;
  }
  
  .news-card:hover .news-card__image {
    transform: scale(1.2);
    z-index: -1;
  }
}

/** END ROOMS & EXPERIENCE STYLE**/

/** CONTACT FORM**/
.contact-form{
  background-color: #ffff;
}

.contact-form .form-control{
  background-color: #f3f3f2;
  color: #000;
  border-radius: 0%;
}
.contact-form a{
  color:#947954;
}

.contact-form button{
  background-color:#947954 ;
  color:#ffff;
  border-radius: 0%;
  padding: 10px 40px;
}

.contact-form button:hover{
  color:#947954;
  background-color: #d2b261;
}

/** END CONTACT FORM**/

/** END ROOM PHOTO **/
.slider-wrapper {
  position: relative;
  width: 850px;
  margin: auto;
  padding: 0 50px;
}

.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%) scale(0.8);
  cursor: pointer;
  font-size: 60px;
  color: #d3d4d4;
  padding: 10px;
  border-radius: 50%;
  z-index: 10;
}

.left-arrow {
  left: -20px;
}

.right-arrow {
  right: -20px; 
}

.slider {
  position: relative;
  overflow: hidden;
}

.slider-image {
  width: 100%; 
  height: 100%; 
  display: block; 
  object-fit: cover; 
  transition: transform 0.5s ease-in-out; 
}

@media (max-width: 900px) { /* Adjustments for small screens */
  .slider-wrapper {
    width: 100%;
    padding: 0;
  }

  .left-arrow {
    left: 0px;
  }
  
  .right-arrow {
    right: 0px; 
  }
  .slider-arrow {
    font-size: 30px;
    padding: 5px;
  }
}
/** END ROOM PHOTO**/