/* Hero Section */
.hero {
  position: relative;
  background: url('img/exuvia.jpg') center center/cover no-repeat;
  min-height: 95vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
}

.freccia {
	position: absolute; 
	bottom: -38vh; 
	left: 50%; 
	transform: translateX(-50%);
}


@media only screen and (max-width: 576px) {
  .hero {
	min-height: 80vh;
  }
  
  .freccia {
	position: absolute; 
	bottom: -25vh; 
	left: 50%; 
	transform: translateX(-50%);
}
}


/* Overlay scuro per rendere il testo più leggibile */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 0;
}
/* Contenuto posizionato sopra l'overlay */
.hero-content {
  position: relative;
  z-index: 1;
}
.hero h1 {
  text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
  font-size: 3rem;
  font-weight: 700;
}
.hero p {
  text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
  font-size: 1.25rem;
}

/* Corpo pagina */
body {
  background-color: #f8f9fa;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  margin: 0;
  padding: 0;
}

/* Footer */
footer {
  border-top: 1px solid #ddd;
  background-color: #f8f9fa;
  padding: 1rem 0;
}

/* Pulsante personalizzato (non stile Bootstrap) */
.my-custom-btn {
  background-color: #e63946; /* colore di esempio */
  color: #ffffff;
  font-size: 1rem;
  font-weight: 600;
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}
.my-custom-btn:hover {
  background-color: #c53038;
}
.my-custom-btn:active {
  background-color: #a9272e;
}

/* Per adattare l'altezza dell'input e allinearla con il pulsante */
.form-control-lg {
  height: calc(3rem + 2px);
  font-size: 1rem;
}

/* Area Risultati */
#results {
  min-height: 100px;
}