@import url("https://fonts.googleapis.com/css2?family=Crimson+Text:ital,wght@0,400;0,600;0,700;1,400;1,600;1,700&display=swap");
@import "/styles/navbar.css";
@import "/styles/text-slide.css";
@import "/styles/photo-galley.css";
@import "/styles/scroll-button.css";
@import "/styles/carousel.css";
@import "/styles/calendar.css";
@import "/styles/contact.css";
@import "/styles/reviews.css";
@import "/styles/form.css";
@import "/styles/table.css";
@import "/styles/animations.css";


/* General */

*,
*:after,
*:before {
  margin: 0;
  padding: 0;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

:root {
  --red-link: #f06868;
  --apple-black: #1d1d1f;
  --colonic-yellow: #fff0b5cc;
  --champagne: #fee5c4;
  --color-softGray: #f2f2ee;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", sans-serif;
  overflow-x: hidden;
}

a {
  color: var(--apple-black);
  text-decoration: none;
  transition: all 0.7;
}

a:hover {
  text-decoration: underline;
}

p {
  font-weight: 300;
}

h1,
h2 {
  text-transform: uppercase;
  font-size: 3.5rem;
  text-align: center;
}

h3 {
  letter-spacing: 2px;
  text-transform: uppercase;
}

img {
  /* min-width: 100%; */
  height: auto;
}

small {
  line-height: 1.5rem;
}

.cin {
  padding: 1rem;
  font-weight: 200;
  letter-spacing: 1px;
}

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

  body {
    -ms-overflow-style: none; /* IE and Edge */
    scrollbar-width: none; /* Nascondi la scrollbar su Firefox */
  }

  body::-webkit-scrollbar {
    display: none;
  }
}

/* Pages */

.wrapper {
  max-height: 100vh;
  max-width: 100vw;
  scroll-snap-type: y mandatory;
  overflow: auto;
  scroll-behavior: smooth;
}

.page {
  height: 100vh;

  display: flex;
  align-items: center;
  justify-content: center;
  scroll-snap-align: start;
  position: relative;
}

.col-one,
.col-two {
  display: flex;
  flex-direction: column;
  justify-content: center;

  height: 100%;
  align-items: center;
}

.one .col-one {
  background-color: var(--color-softGray); /*#6F736E50;*/
}

.two,
.four {
  background-color: var(--colonic-yellow); /* #FDDBAB90;*/
}

.five {
  background-color: var(--champagne); /* #FDDBAB90;*/
}

.six{
  background-color: #C5D5B3;
}


@media only screen and (max-width: 768px) {
  
  .wrapper {
    scroll-snap-type: none;
    overflow: auto;
    scroll-behavior: smooth;
  }
  
  .page {
    height: auto;

    flex-direction: column;
    justify-content: center;
  }

  .two .col-two {
    order: 2;
  }

  .four .col-two {
    order: 2;
  }  

  .five .col-two {
    order: 2;
  }  

  .six .col-two {
    order: 2;
  }

  .six form {
    min-height: auto;
  }
}


/* Colonna 1 */

.col-one {
  width: 50%;
  text-align: center;
}

.col-one h1 {
  padding: 1em 2em;
}
.col-one p {
  text-align: center;
  line-height: 1.8;
}

.col-one h2 {
  margin-bottom: 2rem;
}

p.description {
  max-width: 80%;
}


@media only screen and (max-width: 768px) {
  #main-title {
    padding-block: 1.5rem;
    margin: 0;
  }

  .one .col-one {
    margin-bottom: 2rem;
  }
}

/* Colonna 2 */

.col-two {
  width: 50%;
  padding-top: 5%;
}

.services {
  width: 100%;
  margin-top: 2em;
  text-align: center;
  padding: 1em 2em;
}

.services ul li {
  display: inline-block;
  margin-inline: 1em;
  margin-bottom: 1rem;
}

/* MEDIA QUERIES */

@media only screen and (max-width: 1024px) {
  .col-one {
    padding: 0 2rem 2rem;
  }
}

@media only screen and (max-width: 768px) {
  #home .col-one {
    height: auto;
    min-height: 100vh;
    padding: 1rem 1rem 2rem;
    overflow-x: none;
  }

  #home .col-one h1 {
    margin-bottom: 2rem;
  }

  #home .col-one h2 {
    margin: 0;
  }

  #home .col-two {
    padding-block: 2rem;
  }

  .col-one {
    width: 100%;
    border-radius: 0;
    padding: 4rem 0 0;
  }

  .col-one h1 {
    font-size: 2.5rem;
    padding-inline: 1rem;
    margin-bottom: 1rem;
  }

  .col-one h2 {
    font-size: 2.5rem;
  }

  .col-one p {
    text-align: center;
  }

  .col-two {
    width: 100%;
    padding: 2rem 0;
  }

  .services {
    width: 100%;
    margin-top: 2em;
    text-align: center;
    padding: 1em;
  }
}

@media only screen and (max-width: 350px) {
  .col-one h1 {
    font-size: 10vw;
  }
}


/* Singles Elements */

#home .col-one a {
  color: var(--red-link);
}

#fienile .col-one {
  backdrop-filter: blur(2px);
}

#prenotazioni .col-one {
  padding: 2rem;
}

#prenotazioni h2 {
  margin-bottom: 0;
}

#reviews .col-two {
  justify-content: flex-start;
  padding-block: 7rem;
  overflow: scroll;
}

#contatti .col-two {
  padding-bottom: 10%; /* per dare più centralità */
}

@media (max-width: 768px) {
  #prenotazioni {
    padding: 3rem 0 ;
  } 

  #request h2 {
    padding: 1rem;
  }
  
  #reviews .col-two {
    padding-block: 3rem;
    overflow: none;
  }

}

/* Language Switcher */

.select-language {
  z-index: 100; /* Perché se no è coperto*/

  display: inline-block;
  position: absolute;
  top: 1rem;
  right: 1rem;
}

#language {
  cursor: pointer;
  font-family: inherit;
  font-weight: 400;
  padding: .4rem;
  border-radius: 2px;
  background-color: transparent;
}


/* Disegni */

.uva {
  position: absolute;
  top: 0;
  left: 10px;
  transform: translateX(-50%);
  z-index: 1;
  opacity: 0.7;
}

.uva img {
  width: 300px;
  height: auto;
}

.uva-background img {
  width: 700px;
  height: auto;
}

.uva-background {
  position: absolute;
  top: 50%;
  left: 50%;

  transform: translateX(-50%) translateY(-50%);
  z-index: 0;
  opacity: 0.4;
}

.alberi {
  position: absolute;
  bottom: 0;
  left: 15%;
  transform: translateX(-50%);
  z-index: -1;
  opacity: 0.5;
}

.alberi img {
  width: 800px;
  height: auto;
}

@media only screen and (max-width: 768px) {
  /* Uva nella Home */
  .uva {
    opacity: 0.2;
  }

  /* Uva prenotrazioni */
  .uva-background img {
    width: 100px;
    height: auto;
  }

  .uva-background {
    position: absolute;
    top: 8%;
    left: 10%;
    transform: translateX(-50%) translateY(-50%);
    z-index: 0;
    opacity: 0.4;
  }

  .alberi {
    top: 0;
    left: 50%;
  }

  .alberi img {
    width: 60vw;
  }
}
