*{
margin:0;
padding:0;
box-sizing:border-box;
font-family:Poppins,sans-serif;
}

body{

background:#f8f3eb;

color:#333;

overflow-x:hidden;

}

nav{

display:flex;

justify-content:space-between;

align-items:center;

padding:20px 60px;

background:white;

box-shadow:0 5px 20px rgba(0,0,0,.08);

position:fixed;

width:100%;

z-index:100;

}

.logo{

display:flex;

align-items:center;

gap:15px;

}

.logo img{

width:55px;

}

.logo h2{

color:#b89b72;

}

nav ul{

display:flex;

list-style:none;

gap:40px;

}

nav a{

text-decoration:none;

color:#444;

font-weight:600;

transition:.3s;

}

nav a:hover{

color:#b89b72;

}

.hero{

height:100vh;

background:linear-gradient(rgba(0,0,0,.45),rgba(0,0,0,.45)),
url("https://images.unsplash.com/photo-1622286342621-4bd786c2447c?auto=format&fit=crop&w=1600&q=80");

background-size:cover;

background-position:center;

display:flex;

justify-content:center;

align-items:center;

}

.overlay{

text-align:center;

animation:fade 1s ease;

}

.overlay h1{

font-size:65px;

color:white;

}

.overlay p{

margin:20px 0;

font-size:22px;

color:white;

}

.btn{

padding:18px 45px;

background:#d7c1a0;

color:white;

border-radius:50px;

text-decoration:none;

font-weight:bold;

transition:.3s;

}

.btn:hover{

background:#b89b72;

transform:translateY(-4px);

}

.servizi{

padding:100px 60px;

text-align:center;

}

.servizi h2{

font-size:40px;

margin-bottom:50px;

}

.cards{

display:flex;

gap:30px;

justify-content:center;

flex-wrap:wrap;

}

.card{

background:white;

padding:40px;

border-radius:20px;

width:300px;

box-shadow:0 10px 30px rgba(0,0,0,.1);

transition:.4s;

}

.card:hover{

transform:translateY(-12px);

}

footer{

padding:30px;

text-align:center;

background:white;

margin-top:60px;

}

@keyframes fade{

from{

opacity:0;

transform:translateY(30px);

}

to{

opacity:1;

transform:translateY(0);

}

}
.prenotazione{

padding-top:150px;

padding-bottom:100px;

display:flex;

flex-direction:column;

align-items:center;

}

.prenotazione h1{

font-size:45px;

margin-bottom:40px;

color:#b89b72;

}

form{

background:white;

padding:40px;

border-radius:20px;

width:450px;

display:flex;

flex-direction:column;

gap:20px;

box-shadow:0 10px 35px rgba(0,0,0,.1);

animation:fade 1s;

}

input,select{

padding:15px;

border:1px solid #ddd;

border-radius:10px;

font-size:16px;

outline:none;

}

input:focus,
select:focus{

border:1px solid #b89b72;

}

button{

padding:18px;

background:#cdb28d;

color:white;

border:none;

border-radius:10px;

font-size:18px;

cursor:pointer;

transition:.3s;

}

button:hover{

background:#b89b72;

transform:scale(1.03);

}

.prezzo{

font-size:28px;

text-align:center;

font-weight:bold;

color:#b89b72;

}
/* =========================
   FRECCIA TORNA INDIETRO
========================= */


.back-button{

    position:fixed;


    top:80px;
    left:25px;


    width:70px;
    height:70px;


    display:flex;

    justify-content:center;

    align-items:center;



    background:

    linear-gradient(
        135deg,
        #c8aa7d,
        #9b7748
    );



    border-radius:50%;



    cursor:pointer;



    box-shadow:

    0 15px 35px rgba(0,0,0,.25);



    z-index:9999;



    transition:.35s;



    animation:

    entrataFreccia .8s ease;

}



/* DISEGNO FRECCIA */

.back-button span{


    width:27px;

    height:27px;



    border-left:

    5px solid white;



    border-bottom:

    5px solid white;



    transform:

    rotate(45deg)

    translate(5px,-5px);



    transition:.3s;

}



/* EFFETTO PC */

.back-button:hover{


    transform:

    translateX(-8px)
    scale(1.12);



    box-shadow:

    0 20px 45px rgba(0,0,0,.35);


}



.back-button:hover span{


    transform:

    rotate(45deg)

    translate(0,-5px)

    scale(1.15);


}



/* EFFETTO CLICK MOBILE */

.back-button:active{


    transform:scale(.85);


}



/* ANIMAZIONE ENTRATA */

@keyframes entrataFreccia{


from{


    opacity:0;


    transform:

    translateX(-70px)

    rotate(-180deg);


}



to{


    opacity:1;


    transform:

    translateX(0)

    rotate(0);


}


}




/* TELEFONO */

@media(max-width:600px){


.back-button{


    width:65px;

    height:65px;



    top:70px;

    left:20px;


}



.back-button span{


    width:24px;

    height:24px;


}



}
/* =================================
   FIX IPHONE / ANDROID DEFINITIVO
================================= */


*{
box-sizing:border-box;
}



html,body{

width:100%;
max-width:100%;
overflow-x:hidden;

}



@media(max-width:768px){



.navbar{

width:100% !important;

height:70px;

padding:0 15px !important;

display:flex;

justify-content:space-between;

}



.logo-bar span{

font-size:18px !important;

}



.logo-bar img{

height:28px !important;

}




.navbar nav{

gap:10px !important;

}



.navbar nav a{

font-size:12px !important;

}





.booking{


display:flex !important;

flex-direction:column !important;

width:100% !important;

padding:15px !important;

margin:0 !important;


}




.calendar-box,
.form-box{


width:100% !important;

max-width:100% !important;

margin:0 !important;

padding:20px !important;


}






.calendar-header{


width:100%;

display:flex;

justify-content:space-between;


}



.calendar-header h2{

font-size:20px;

}




.weekdays,
#calendar{


width:100%;

}



#calendar{


display:grid !important;

grid-template-columns:repeat(7,1fr) !important;

gap:5px !important;

}



#calendar button{


width:100% !important;

height:40px !important;

padding:0 !important;


}





#hours{


display:grid !important;

grid-template-columns:repeat(2,1fr) !important;

gap:10px;


}



#hours button{


width:100% !important;

height:45px;


}





.form-box input,
.form-box select{


width:100% !important;

}



.form-box button{


width:100% !important;


}



}
/* RESET MOBILE */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    width: 100%;
    overflow-x: hidden;
}

body {
    font-family: 'Poppins', sans-serif;
    width: 100%;
}


/* NAVBAR */

nav {
    width: 100%;
    height: 90px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 5%;
    background: rgb(255, 255, 255);
}


.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}


.logo img {
    width: 55px;
    height: auto;
}


.logo h2 {
    font-size: 25px;
    color: #b8945f;
}


nav ul {
    display: flex;
    list-style: none;
    gap: 35px;
}


nav a {
    text-decoration: none;
    color: #222;
    font-size: 16px;
}



/* HERO */

.hero {

    width: 100%;
    min-height: calc(100vh - 90px);

    background-image:
    linear-gradient(
    rgba(0,0,0,0.55),
    rgba(0,0,0,0.55)
    ),
    url("../img/background.jpg");

    background-size: cover;
    background-position: center;

    display: flex;
    justify-content: center;
    align-items: center;

    text-align: center;

}


.overlay {

    width: 90%;
    max-width: 900px;
    color:white;

}


.overlay h1 {

    font-size: clamp(35px,5vw,70px);
    font-weight:700;
    margin-bottom:20px;

}


.overlay p {

    font-size: clamp(16px,2vw,25px);
    margin-bottom:35px;

}



.btn {

    display:inline-block;

    background:#d8bd91;

    color:white;

    padding:15px 40px;

    border-radius:40px;

    text-decoration:none;

    font-weight:700;

    font-size:15px;

}



/* SERVIZI */


.servizi {

    padding:70px 5%;
    text-align:center;

}


.servizi h2 {

    font-size:40px;
    margin-bottom:40px;

}


.cards {

    display:flex;

    justify-content:center;

    gap:30px;

    flex-wrap:wrap;

}


.card {

    width:300px;

    padding:35px;

    border-radius:20px;

    box-shadow:0 10px 30px rgba(0,0,0,.1);

}



/* FOOTER */


footer {

    text-align:center;

    padding:25px;

}





/* ==========================
   TELEFONI
========================== */


@media(max-width:768px){


nav {

    height:80px;

    padding:0 20px;

}


.logo img {

    width:45px;

}


.logo h2 {

    font-size:20px;

}



nav ul {

    gap:15px;

}


nav a {

    font-size:13px;

}



.hero {

    min-height: calc(100vh - 80px);

    background-position:center;

}



.overlay {

    width:92%;

}


.overlay h1 {

    font-size:38px;

}


.overlay p {

    font-size:17px;

}



.btn {

    padding:14px 30px;

}




.servizi h2 {

    font-size:30px;

}


.card {

    width:100%;

}



}



/* ==========================
   IPHONE PICCOLI (SE 2020 ecc.)
========================== */


@media(max-width:390px){


.logo h2 {

    font-size:17px;

}


nav ul {

    gap:10px;

}


nav a {

    font-size:12px;

}


.overlay h1 {

    font-size:32px;

}


.overlay p {

    font-size:15px;

}


.btn {

    font-size:13px;

}


}



/* ==========================
   TABLET
========================== */


@media(min-width:769px) and (max-width:1100px){


.hero h1 {

    font-size:55px;

}


.cards {

    gap:20px;

}


.card {

    width:280px;

}


}
.hero {

    width:100%;
    min-height:calc(100vh - 90px);

    background-image:
    linear-gradient(
        rgba(0,0,0,0.55),
        rgba(0,0,0,0.55)
    ),
    url("../img/back.png");

    background-size:cover;
    background-position:center;

    display:flex;
    justify-content:center;
    align-items:center;
    text-align:center;

}