/* Reset di base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Corpo della pagina */
body {
  font-family: "Oxanium", sans-serif;
  background: linear-gradient(to left, #045b99, #02223b);
  color: white;
  overflow-x: hidden;
  letter-spacing: 0.5px;
  padding-top: 200px; /* Altezza della navbar per evitare sovrapposizione */
}

/* Sezione immagine centrata */
.immagine {
  padding-top: 100px;
  flex: 1; 
  display: flex; 
  flex-direction: column; 
  justify-content: center; 
  align-items: center;
}

/* =========================
   SEZIONE GESTIONALI
   ========================= */

/* Container principale centrato */
.gestionale-container {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 50px 20px;
  text-align: center;
  background: linear-gradient(to left, #045b99, #02223b);
  color: white;
  font-family: "Oxanium", sans-serif;
  letter-spacing: 0.4px;
}

/* Titolo sezione */
.gestionale-title {
  font-size: 3rem;
  font-weight: bold;
  margin-bottom: 30px;
  color: #ffffff;
}

/* Testo introduttivo */
.gestionale-description {
  font-size: 1.4rem;
  max-width: 800px;
  margin-bottom: 60px;
  color: #e0e0e0;
}

/* =========================
   CARD
   ========================= */

/* Contenitore delle card */
.card-container {
  display: flex;
  justify-content: center;
  align-items: stretch;
  flex-wrap: wrap;
  gap: 20px;
}

/* Card base */
.card {
  position: relative;
  width: 314px;
  height: 614px;
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

/* Effetto hover sulla card */
.card:hover {
  transform: scale(1.03);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.3);
}

/* Bordo e ombra della card */
.card-border {
  border: 2px solid #b3c6ff;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Sfondo generico per le card */
.card-bg::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0.5;
  z-index: 0;
}

/* Sfondo specifico per questa pagina */
.card-gestionali.card-bg::before {
  background-image: url('../images/hotel.JPEG');
}

/* Contenuto della card */
.card-content {
  position: relative;
  z-index: 1;
  text-align: center;
  color: #ffffff;
  padding: 20px;
}

.card-title {
  font-size: 1.7em;
  font-weight: 1000;
  margin: 0 0 10px;
}

.card-description {
  font-size: 1em;
  color: #ffffff;
}

/* =========================
   RESPONSIVE
   ========================= */
@media (max-width: 768px) {
  .card-container {
    flex-direction: column;
    align-items: center;
  }

  .gestionare-title {
    font-size: 2.2rem;
  }

  .gestionare-description {
    font-size: 1.1rem;
  }
}

/* =========================
   FOOTER
   ========================= */

.footer {
  background: linear-gradient(to left, #045b99, #02223b);
  color: white;
  padding: 40px 20px 20px;
  font-family: "Oxanium", sans-serif;
  border-top: 1.5px solid #ffffff;
  letter-spacing: 0.4px;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  max-width: 1200px;
  margin: auto;
}

.footer-logo img {
  width: 100px;
  margin-bottom: 10px;
}

.footer-logo p {
  max-width: 200px;
  font-size: 13px;
}

.footer-links,
.footer-contatti {
  min-width: 200px;
  margin-bottom: 20px;
}

.footer-links h4,
.footer-contatti h4 {
  font-size: 22px;
  margin-bottom: 10px;
  color: white;
}

.footer-links ul {
  list-style: none;
  padding: 0;
}

.footer-links ul li {
  margin-bottom: 8px;
}

.footer-links a,
.footer-contatti a {
  color: white;
  text-decoration: none;
}

.footer-links a:hover,
.footer-contatti a:hover {
  color: #b3c6ff;
  transition: color 0.3s;
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  font-size: 15px;
}