/* Gestione generale dei componenti della HomePage */
* {
    margin: 0;
    padding: 0;
}

.body{
    margin: 0px;
    padding: 0px;
    overflow-x: hidden;
    overflow-y: auto;
}

/*----- Navbar -----*/

.book_sconto{
    position: fixed;
    height: 12vh;
    width: 100vw;
    display: flex;
    align-items: flex-end;
    justify-content: space-around;
    font-size: 4vh;
    font-weight: bold;
    color: red;
    background-color: whitesmoke;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    z-index: 4;
}

.navbar{
    width: 100vw;
    height: 7vh;
    position: fixed;
    display: flex;
    align-items: center;
    justify-content: space-around;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    background-color: rgb(17, 51, 102);
    color: white;
    z-index: 5;
}

.menu{
    display: flex;
    align-items: center;
    justify-content: space-around;
    width: 25vw;
}

.tasto_menu_responsive{
    display: none;
}

.menu_responsive{
    display: none;
}

.menu a{
    text-decoration: none;
    color: white;
    font-size: 2vh;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    box-shadow:
        0px 0px 0px 1px #4a78dc inset,
        0px 4px 0px 0px #375ce1,
        0px 5px 0px 0px rgba(0,0,0,.15);
    background-color: rgb(31, 74, 138);
    border-radius: 25px;
    color: white;
    padding: 3px 10px;
}

.menu a:hover{
    transition: calc(0.3s);
    color: rgb(249, 162, 0);
    border-radius: 10px;
    background-color: transparent;
}

.menu a:not(:hover){
    transition: calc(0.3s);
}

.titolo{
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 3vh;
    width: 40vw;
}

.titolo span{
    font-size: 1.7vh;
}

.social{
    display: flex;
    justify-content: center;
    align-items: center;
    width: 20vw;
}

.social a img{
    height: 40px;
    width: 40px;
}

.social a img:hover{
    transition: calc(0.7s);
    opacity: calc(50%);
}

.social a img:not(:hover){
    transition: calc(0.7s);
}

/*----- ROOMS -----*/

.container_rooms{
    display: flex;
    height: 120vh;
    width: 100vw;
    min-height: 100vh;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
}

.container_rooms::after{
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 120vh;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.8)), url('/Source/backup_img/camera1/terrazzo_3.webp') center/cover;
    z-index: -1; /* Mette l'immagine dietro il contenuto */
}

.rooms{
    height: 110vh;
    width: 100vw;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.tree_rooms{
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}

.two_rooms{
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}

.card{
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 10px;
    height: 40vh;
}

.click_room {
    position: absolute;
    font-size: 2vw;
    color: transparent;
    font-weight: bold;
    transition: color 0.5s ease-in-out, -webkit-text-stroke 0.5s ease-in-out;
    z-index: 3;
}

.card:hover .click_room {
    color: white;
    -webkit-text-stroke: 1px black;
}

.info_card {
    margin-top: 70%;
    z-index: 3;
    font-weight: bold;
    font-size: 1.5vw;
    color: transparent;
    -webkit-text-stroke: 1px transparent;
    transition: color 0.5s ease-in-out, -webkit-text-stroke 0.5s ease-in-out;
}

.card:hover .info_card {
    color: whitesmoke;
    -webkit-text-stroke: 1px black;
}

.img_card,
.img_card2 {
    position: relative;
    width: 25vw;
    height: auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

.immagine_1,
.immagine_2 {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    border-radius: 10px;
    border: solid 2px white;
    transition: opacity 0.5s ease-in-out;
    will-change: opacity;
}

.immagine_1 {
    z-index: 1;
    opacity: 1;
}

.immagine_2 {
    z-index: 2;
    opacity: 0;
    filter: brightness(80%);
}

.immagine_1,
.immagine_2 {
    transition: opacity 0.5s ease-in-out;
    will-change: opacity;
}

.card:hover .immagine_1 {
    opacity: 0;
}

.card:hover .immagine_2 {
    opacity: 1;
    border-color: rgb(24, 0, 159);
}

/*############### CAMERA 1 ################*/
.room1-container {
    position: relative;
    width: 100vw;
    max-width: 80vw;
    margin: auto;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 0 10px rgba(0,0,0,0.2);
    background: white;
    margin-top: 10px;
    margin-bottom: 10px;
}

.carousel {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.carousel img {
    width: 100%;
    flex-shrink: 0;
    height: auto;
}

.arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 2rem;
    background-color: rgba(255,255,255,0.7);
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1;
}

.arrow.left {
    left: 10px;
}

.arrow.right {
    right: 10px;
}


.room2-container {
    position: relative;
    width: 100vw;
    max-width: 80vw;
    margin: auto;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 0 10px rgba(0,0,0,0.2);
    background: white;
    margin-top: 10px;
    margin-bottom: 10px;
}

.room3-container {
    position: relative;
    width: 100vw;
    max-width: 80vw;
    margin: auto;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 0 10px rgba(0,0,0,0.2);
    background: white;
    margin-top: 10px;
    margin-bottom: 10px;
}

.room4-container {
    position: relative;
    width: 100vw;
    max-width: 80vw;
    margin: auto;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 0 10px rgba(0,0,0,0.2);
    background: white;
    margin-top: 10px;
    margin-bottom: 10px;
}

.room5-container {
    position: relative;
    width: 100vw;
    max-width: 80vw;
    margin: auto;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 0 10px rgba(0,0,0,0.2);
    background: white;
    margin-top: 10px;
    margin-bottom: 10px;
}

/* ----- TITOLO SCORRIMENTO -----*/

.titolo_degli_scorrimenti{
    height: 5vh;
    width: 100vw;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 4vh;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    border-bottom: solid 3px black;
}