@font-face {
    font-family: 'alanSans'; 
    src: url('/fonts/static/AlanSans-Regular.ttf') format('opentype'); 
    font-weight: normal; 
    font-style: normal;
    font-display: swap;
}
:root {
  --main-red: #c1121f;
  --dark-gray: #2a2a2a;
  --light-gray: #f8f8f8;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  width: 100%;
  overflow-x: hidden;
}

body {
  font-family: "alanSans", sans-serif;
  background: #fff;
  color: var(--dark-gray);
  line-height: 1.7;
  scroll-behavior: smooth;
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 50px;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 999;
  backdrop-filter: blur(10px);
}

.logo {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--main-red);
}
/* 
.logo h1{
  font-size: 1.4rem;
  font-weight: 700;
} */

nav {
  display: flex;
  align-items: center;
  gap: 20px;
}

nav a {
  text-decoration: none;
  color: var(--dark-gray);
  font-weight: 500;
  transition: 0.3s ease;
}

nav a:hover,
nav a.active {
  color: var(--main-red);
}

/* HERO */
.hero {
  position: relative;
  height: 100vh;
  width: 100%;
  overflow: hidden;
}

.hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(60%);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.35);
}

.hero .overlay {
  position: absolute;
  width: 100%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: #fff;
  z-index: 2;
  padding: 0 20px;
}

.hero h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 15px;
  text-shadow: 0 4px 20px rgba(0,0,0,0.5);
}

.hero p {
  font-size: 1.2rem;
  font-weight: 300;
  max-width: 650px;
  margin: 0 auto;
  text-shadow: 0 2px 10px rgba(0,0,0,0.4);
}

main {
  max-width: 1100px;
  margin: auto;
  padding: 120px 20px 60px;
}

section {
  margin-bottom: 60px;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 1s forwards;
}

@keyframes fadeInUp {
  to { opacity: 1; transform: translateY(0); }
}

h2, h3 {
  color: var(--main-red);
  margin-bottom: 10px;
}

p {
  margin-bottom: 18px;
}

ul {
  list-style: none;
  padding: 0;
}

ul li {
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="8" height="8"><circle cx="4" cy="4" r="4" fill="%23c1121f"/></svg>') no-repeat left center;
  padding-left: 20px;
  margin-bottom: 8px;
}

img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.08);
  margin: 30px 0;
}

.contact-box {
  background: var(--light-gray);
  padding: 25px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
  margin: 30px 0;
}

@media (max-width: 768px) {
  header {
    flex-direction: column;
    padding: 15px;
  }

  nav {
    flex-wrap: wrap;
    justify-content: center;
  }

  .hero{
    margin-bottom: 30px;
  }

  .hero h1 {
    font-size: 2.2rem;
  }

  .hero p {
    font-size: 1rem;
  }

  main {
    padding-top: 10px;
    padding-bottom: 0;
  }

  .intro{
    margin-bottom: 10px;
  }

  .descrizione{
    margin-bottom: 10px;
  }

  .zone{
    margin-bottom: 10px;
  }

  .vantaggi{
    margin-bottom: 40px;
  }

.contatto{
  margin-bottom: 40px;
}

 
}
