.navbar {
  font-weight: bold;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.nav-link.active {
  text-decoration: underline;
  text-underline-offset: 8px;
}

.nav-link:not(.active):hover {
  color: rgb(249, 158, 21);
}

.main-color {
  color: rgb(249, 158, 21) !important;
}

.dropdown-item.active{
  background-color: rgb(249, 158, 21) !important;
}

.btn-primary {
  background-color: rgb(249, 158, 21) !important;
  border-color: white !important;
}

.btn-success {
  background-color: rgb(249, 158, 21) !important;
  border-color: white !important;
}

.text-bg-success {
  background-color: rgb(249, 158, 21) !important;
}

.list-group-item.active {
  background-color: rgb(249, 158, 21) !important;
  border-color: white !important;
}

footer {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

html,
body {
  height: 100%;
  margin: 0;
}

body {
  display: flex;
  flex-direction: column;
  padding-top: 60px;
  padding-bottom: 60px;
  background-color: #fcfcfc;
}

.footer-link {
  text-decoration: none;
  color: black;
  font-style: italic;
}

.footer-link:hover {
  color: rgb(249, 158, 21);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.container-fluid.p-0 {
  flex: 1;
  display: flex;
  position: relative;
}

.container-fluid.p-0 img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.8);
}

.hero-text {
  color: white;
  text-shadow: 0 4px 12px rgba(0, 0, 0, 1);
  padding: 0 1rem;
}

.hero-text h1 {
  font-size: 3rem;
}

.hero-text p {
  font-size: 1.25rem;
}

button.nav-link {
  color: black;
  font-style: italic;
}

/* Contenitore per la thumbnail */
.thumb-container {
  width: 100%;
  height: 200px; /* altezza uniforme per tutte le immagini */
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #f8f9fa;
  border-bottom: 1px solid #ddd;
}

/* Thumbnail dentro la card */
.thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.thumb-img:hover {
  transform: scale(1.05);
}

/* Parte bassa della card: altezza fissa e testo centrato */
.footer-fixed {
  height: 70px; /* regola questa altezza a piacere */
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Mantiene tutte le card uguali */
.card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.modal-body {
  max-height: 90vh;
  overflow: hidden;
}