/* Font setup */
body {
  font-family: 'Roboto', sans-serif;
}

section {
  scroll-margin-top: 80px; /* Compensa la navbar */
}

h1, h2, h5 {
  font-family: 'Playfair Display', serif;
}

/* Hero section */
.hero {
  background: url('../img/hero.jpg') no-repeat center center/cover;
  height: 100vh;
  position: relative;
}

.overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.6);
}

.content {
  position: relative;
  z-index: 2;
}

.logo {
  width: 120px;
  animation: float 3s ease-in-out infinite;
}

/* Animazioni */
@keyframes float {
  0% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
  100% { transform: translateY(0); }
}

.animate-fade {
  animation: fadeIn 2s ease-in forwards;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Pulsanti */
.btn-outline-light {
  border-radius: 30px;
  padding: 10px 25px;
  font-weight: bold;
  transition: all 0.3s ease;
}

.btn-outline-light:hover {
  background-color: white;
  color: black;
}

/* Testimonial animations */
.animate-fade {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 1.2s ease forwards;
}

.animate-fade.delay-1 {
  animation-delay: 0.3s;
}

.animate-fade.delay-2 {
  animation-delay: 0.6s;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Testimonial card styling */
#testimonial .card {
  border: none;
  border-radius: 10px;
  background-color: #f8f9fa;
  transition: transform 0.3s ease;
}

#testimonial .card:hover {
  transform: translateY(-5px);
}

/* Navbar styling */
.navbar-brand {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: bold;
}

.navbar-nav .nav-link {
  font-weight: 500;
  transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
  color: #f8c146;

  }

.parallax {
  background-image: url('../img/parallax.jpg'); /* Inserisci qui il percorso dell'immagine */
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  height: 400px;
  position: relative;
}

.parallax::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.4); /* Sovrapposizione scura */
}

#contatti h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
}

#whatsappForm .form-control,
#whatsappForm .form-select {
  border-radius: 8px;
}

#whatsappForm .btn-success {
  padding: 10px 30px;
  font-weight: bold;
  border-radius: 30px;
}

.navbar-social {
  margin-left: 40px; /* Aumenta lo spazio tra menu e icone */
}

.navbar-social .nav-icon {
  color: white;
  font-size: 1.2rem;
  transition: color 0.3s ease;
}

.navbar-social .nav-icon:hover {
  color: #f8c146;
}

#listino h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem;
}

#listino .card {
  border: none;
  border-radius: 12px;
  transition: transform 0.3s ease;
}

#listino .card:hover {
  transform: translateY(-5px);
}

#listino .display-6 {
  font-weight: bold;
}

#listino .btn-outline-primary {
  border-radius: 30px;
  font-weight: 500;
}

#mappa h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
}

#mappa h5 {
  margin-top: 20px;
  font-weight: bold;
}

#mappa ul {
  padding-left: 0;
}

#mappa li {
  margin-bottom: 5px;
}



@media (max-width: 991.98px) {
  .navbar-social {
    margin-left: 0 !important;
    margin-top: 15px;
    justify-content: left;
  }
}

