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

body{
  font-family:'Open Sans',sans-serif;
  line-height:1.6;
  color:#222;
  background:#fff;
}

/* HEADER */
header{
  background:#ffffff;
  padding:20px 40px;
  position:sticky;
  top:0;
  z-index:1000;
  box-shadow:0 2px 10px rgba(0,0,0,0.08);
}

nav{
  display:flex;
  justify-content:center;
  gap:30px;
  flex-wrap:wrap;
}

nav a{
  text-decoration:none;
  color:#222;
  font-weight:600;
  transition:0.3s;
}

nav a:hover{
  color:#0099cc;
}

/* HERO */
.hero{
  min-height:80vh;
  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:center;
  text-align:center;
  padding:80px 20px;
  background:
    linear-gradient(rgba(0,0,0,0.45),rgba(0,0,0,0.45)),
    url('/images/1024/21863134/a-serene-sailboat-sailing-at-sunset-in-rethymno-greece-with-a-vibrant-horizon-HRQ8U8GtwT41NDEJfNXJOg.jpeg');
  background-size:cover;
  background-position:center;
  color:white;
}

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

.hero p{
  max-width:700px;
  font-size:20px;
  margin-bottom:30px;
}

.hero a{
  display:inline-block;
  background:#00b894;
  color:white;
  padding:15px 30px;
  border-radius:8px;
  text-decoration:none;
  font-weight:700;
  transition:0.3s;
}

.hero a:hover{
  background:#019875;
}

/* SECTIONS */
section{
  padding:80px 20px;
}

section h2{
  text-align:center;
  font-size:40px;
  margin-bottom:40px;
}

section p{
  max-width:900px;
  margin:0 auto 20px auto;
  text-align:center;
}

/* SERVICES */
#servizi{
  background:#f7f7f7;
}

#servizi article{
  max-width:900px;
  margin:0 auto 40px auto;
  background:white;
  padding:30px;
  border-radius:12px;
  box-shadow:0 4px 15px rgba(0,0,0,0.06);
}

#servizi h3{
  margin-bottom:15px;
  color:#0099cc;
}

/* CTA */
.cta{
  background:#0099cc;
  color:white;
  text-align:center;
}

.cta h2{
  margin-bottom:20px;
}

.cta a{
  display:inline-block;
  margin-top:20px;
  background:white;
  color:#0099cc;
  padding:15px 30px;
  border-radius:8px;
  text-decoration:none;
  font-weight:700;
}

/* GALLERY */
.gallery{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
  gap:20px;
  max-width:1300px;
  margin:auto;
}

.gallery img{
  width:100%;
  height:280px;
  object-fit:cover;
  border-radius:12px;
  transition:0.3s;
}

.gallery img:hover{
  transform:scale(1.03);
}

/* FAQ */
#faq{
  background:#f7f7f7;
}

#faq h3{
  margin-top:30px;
  text-align:center;
  color:#0099cc;
}

/* CONTACT */
#contatti{
  text-align:center;
}

#contatti a{
  color:#0099cc;
  text-decoration:none;
  font-weight:700;
}

/* FOOTER */
footer{
  background:#111;
  color:white;
  text-align:center;
  padding:30px 20px;
}

/* MOBILE */
@media(max-width:768px){

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

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

  section h2{
    font-size:30px;
  }

  nav{
    gap:15px;
  }

}