/* ===========================
   SUMMERTIME
   STYLE.CSS
=========================== */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{
    font-family:'Poppins',sans-serif;
    background:#f8fafc;
    color:#222;
    overflow-x:hidden;
    line-height:1.6;
}

:root{

--primary:#2F6FA5;
--primary-dark:#1E4F7A;
--sand:#F5E9D5;
--white:#ffffff;
--gray:#666;
--shadow:0 10px 30px rgba(0,0,0,.12);

}

/* HEADER */
/* ===========================
   NAVBAR
=========================== */

header{

    position:fixed;

    top:0;

    left:0;

    width:100%;

    z-index:1000;

    transition:.3s;

}

.navbar{

    max-width:1300px;

    margin:auto;

    display:flex;

    justify-content:space-between;

    align-items:center;

    padding:15px 40px;

}

.logo img{

    height:70px;

    width:auto;

    transition:.3s;

}

.logo img:hover{

    transform:scale(1.08);

}

.navbar ul{

    display:flex;

    align-items:center;

    gap:35px;

    list-style:none;

}

.navbar ul li a{

    color:white;

    text-decoration:none;

    font-weight:600;

    font-size:17px;

    transition:.3s;

}

.navbar ul li a:hover{

    color:#FFD166;

}

/* HERO */

/* ===========================
   HERO
=========================== */

.hero{

    position:relative;

    width:100%;

    height:100vh;

    background:url("images/hero-banner.png") center center/cover no-repeat;

    display:flex;

    justify-content:center;

    align-items:center;

    overflow:hidden;

}
/* ===========================
   HERO BUTTON
=========================== */

.hero-btn{

    position:absolute;

    left:74%;
    top:60%;

    transform:translate(-50%,-50%);

    background:#2F6FA5;
    color:#fff;

    text-decoration:none;

    padding:18px 40px;

    border-radius:50px;

    font-size:18px;
    font-weight:700;

    white-space:nowrap;

    display:flex;
    align-items:center;
    justify-content:center;

    min-width:260px;

    box-shadow:0 12px 30px rgba(0,0,0,.25);

    transition:all .3s ease;

    z-index:100;

}

.hero-btn:hover{

    transform:translate(-50%,-50%) scale(1.05);

    background:#1E4F7A;

}

.hero-btn:hover{

    transform:translate(-50%,-50%) scale(1.05);

    background:#1E4F7A;

}

.hero-overlay{

    position:absolute;

    inset:0;

    background:rgba(0,0,0,.15);

}

.hero-content{

    position:relative;

    z-index:10;

    width:100%;

    height:100%;

}

.overlay{

position:absolute;

inset:0;

background:rgba(0,0,0,.45);

}

.hero-content{

position:relative;

z-index:2;

max-width:900px;

padding:20px;

color:white;

}

.hero h1{

font-size:65px;

margin-bottom:20px;

letter-spacing:5px;

}

.hero p{

font-size:24px;

margin-bottom:40px;

}

.btn{

display:inline-block;

padding:15px 40px;

background:var(--primary);

color:white;

border-radius:40px;

text-decoration:none;

font-weight:600;

transition:.3s;

}

.btn:hover{

background:var(--primary-dark);

transform:translateY(-4px);

}

/* SEZIONI */

section{

padding:90px 8%;

}

.container{

max-width:1200px;

margin:auto;

}

h2{

text-align:center;

font-size:40px;

margin-bottom:40px;

color:var(--primary-dark);

}

.about p{

font-size:18px;

max-width:900px;

margin:auto;

text-align:center;

}
/* ===========================
   SERVIZI
=========================== */

.services-grid{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(280px,1fr));

    gap:35px;

    margin-top:50px;

}

.card{
    background:var(--white);
    border-radius:20px;
    padding:40px 25px;
    text-align:center;
    box-shadow:var(--shadow);
    transition:.3s;

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

    min-height:260px;
}

.card:hover{
    transform:translateY(-10px);
}

.card i{
    font-size:55px;
    color:var(--primary);
    margin-bottom:20px;
}

.card h3{
    font-size:24px;
    color:var(--primary-dark);
}

/* ===========================
   MENU BAR
=========================== */

#menu{
    background:#fff;
}

.menu-category{
    margin-bottom:50px;
}

.menu-category h3{
    color:var(--primary-dark);
    margin-bottom:20px;
    padding-left:12px;
    border-left:5px solid var(--primary);
}

.menu-item{
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:14px 0;
    border-bottom:1px solid #e6e6e6;
    transition:.3s;
}

.menu-item:hover{
    padding-left:10px;
    color:var(--primary);
}

.menu-item span:last-child{
    font-weight:bold;
    color:var(--primary);
}

/* ===========================
   GALLERY
=========================== */

#gallery{
    background:var(--sand);
}

.gallery-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
    gap:20px;
}

.gallery-grid img{
    width:100%;
    height:260px;
    object-fit:cover;
    border-radius:18px;
    box-shadow:var(--shadow);
    transition:.35s;
}

.gallery-grid img:hover{
    transform:scale(1.04);
}

/* ===========================
   CONTATTI
=========================== */

#contact{
    background:var(--primary-dark);
    color:white;
    text-align:center;
}

#contact h2{
    color:white;
}

.contact-box{
    margin-top:30px;
}

.contact-box p{
    margin:15px 0;
    font-size:18px;
}

.contact-buttons{
    margin-top:30px;
}

.contact-buttons .btn{
    margin:8px;
}

/* ===========================
   FOOTER
=========================== */

footer{
    background:#163a5b;
    color:white;
    text-align:center;
    padding:30px 20px;
}

footer p{
    margin:8px 0;
}

/* ===========================
   ANIMAZIONI
=========================== */

.hidden{
    opacity:0;
    transform:translateY(40px);
    transition:.8s ease;
}

.show{
    opacity:1;
    transform:translateY(0);
}

.card,
.gallery-grid img,
.btn,
.menu-item{
    transition:.3s;
}
/* ===========================
   RESPONSIVE
=========================== */

@media (max-width:992px){

.hero h1{
    font-size:56px;
}

.hero p{
    font-size:20px;
}

.navbar{
    padding:18px 5%;
}

.navbar ul{
    gap:20px;
}

section{
    padding:80px 6%;
}

}

@media (max-width:768px){

.navbar{

flex-direction:column;

gap:15px;

padding:15px;

}

.navbar ul{

flex-wrap:wrap;

justify-content:center;

gap:15px;

}

.hero{

height:90vh;

}

.hero h1{

font-size:42px;

letter-spacing:2px;

}

.hero p{

font-size:17px;

}

h2{

font-size:30px;

}

.cards{

grid-template-columns:1fr;

}

.gallery-grid{

grid-template-columns:1fr;

}

.menu-item{

font-size:15px;

}

.btn{

padding:13px 28px;

}

}

@media (max-width:480px){

.hero h1{

font-size:34px;

}

.hero p{

font-size:15px;

}

.logo{

font-size:22px;

}

section{

padding:70px 5%;

}

.contact-box p{

font-size:16px;

}

}

/* ===========================
   SCROLLBAR
=========================== */

::-webkit-scrollbar{

width:10px;

}

::-webkit-scrollbar-track{

background:#f1f1f1;

}

::-webkit-scrollbar-thumb{

background:var(--primary);

border-radius:20px;

}

::-webkit-scrollbar-thumb:hover{

background:var(--primary-dark);

}

/* ===========================
   SELEZIONE TESTO
=========================== */

::selection{

background:var(--primary);

color:white;

}

/* ===========================
   IMMAGINI
=========================== */

img{

max-width:100%;

display:block;

}

/* ===========================
   TITOLI
=========================== */

h1,h2,h3{

font-weight:700;

}

/* ===========================
   LINK
=========================== */

a{

transition:.3s;

}

/* ===========================
   FINE FILE
=========================== */
.navbar a.active{
    color:#F5E9D5;
    font-weight:700;
}
.card{
    text-decoration:none;
    color:inherit;
}
/* ===========================
   PRENOTAZIONE
=========================== */

#bookingForm{

max-width:700px;

margin:auto;

display:flex;

flex-direction:column;

gap:18px;

background:#fff;

padding:40px;

border-radius:20px;

box-shadow:0 10px 30px rgba(0,0,0,.12);

}

#bookingForm label{

font-weight:600;

color:var(--primary-dark);

}

#bookingForm input,
#bookingForm select,
#bookingForm textarea{

width:100%;

padding:15px;

border:1px solid #ddd;

border-radius:10px;

font-size:16px;

font-family:'Poppins',sans-serif;

outline:none;

transition:.3s;

}

#bookingForm input:focus,
#bookingForm select:focus,
#bookingForm textarea:focus{

border-color:var(--primary);

box-shadow:0 0 10px rgba(47,111,165,.25);

}

#bookingForm textarea{

resize:vertical;

min-height:120px;

}

#bookingForm button{

margin-top:15px;

cursor:pointer;

border:none;

}

#totale{

text-align:center;

margin-top:15px;

margin-bottom:10px;

font-size:28px;

color:var(--primary-dark);

}

#bookingForm button:hover{

transform:translateY(-3px);

}

@media(max-width:768px){

#bookingForm{

padding:25px;

}

#totale{

font-size:24px;

}

}
@media (max-width:768px){

.hero{

    height:100vh;

    background-position:35% center;

    background-size:cover;

}

.hero-btn{

    left:50%;

    top:82%;

    transform:translate(-50%,-50%);

    width:80%;

    max-width:300px;

    text-align:center;

    font-size:16px;

    padding:15px 20px;

}

.hero-btn:hover{

    transform:translate(-50%,-50%) scale(1.03);

}

}
@media(max-width:768px){

.navbar{

    padding:15px 20px;

}

.logo img{

    height:55px;

}

.navbar ul{

    gap:15px;

}

.navbar ul li a{

    font-size:14px;

}

}
/* ===========================
   HERO MOBILE
=========================== */

@media (max-width:768px){

.hero{

    background:url("images/hero-mobile.png") center center/cover no-repeat;

    height:100vh;

}

.hero-btn{

    left:50%;

    top:84%;

    transform:translate(-50%,-50%);

    width:85%;

    max-width:320px;

    text-align:center;

    padding:16px 20px;

    font-size:16px;

}

}
/* ===========================
   EVENTI
=========================== */

.event-poster{

    max-width:700px;

    margin:40px auto;

    border-radius:25px;

    overflow:hidden;

    box-shadow:0 20px 50px rgba(0,0,0,.20);

}

.event-poster img{

    width:100%;

    display:block;

    transition:.4s;

}

.event-poster img:hover{

    transform:scale(1.02);

}

.event-description{

    max-width:800px;

    margin:50px auto;

    background:#fff;

    padding:40px;

    border-radius:25px;

    box-shadow:0 12px 30px rgba(0,0,0,.08);

    text-align:center;

}

.event-description h3{

    color:#1E4F7A;

    margin-bottom:25px;

    font-size:32px;

}

.event-description p{

    font-size:18px;

    line-height:1.8;

    color:#555;

    margin-bottom:20px;

}

.event-description .btn{

    margin-top:25px;

    display:inline-block;

}
@media(max-width:768px){

.event-description{

    padding:25px;

}

.event-description h3{

    font-size:24px;

}

.event-description p{

    font-size:16px;

}

.event-poster{

    margin:20px;

}

}
