/* =====================================================
   ComputoGreen — Stile Home Page con video di sfondo
   ===================================================== */

body {
  margin: 0;
  padding: 0;
  font-family: 'Inter', sans-serif;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  color: #1a202c;
}

/* ----- Video a schermo intero ----- */
video.background-video {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

/* ----- Overlay scuro per leggibilità ----- */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: rgba(0, 40, 20, 0.4);
  z-index: 1;
}

/* ----- Card centrale ----- */
.home-card {
  position: relative;
  z-index: 2;
  background: rgb(255, 255, 255);
  padding: 3rem;
  border-radius: 18px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
  text-align: center;
  max-width: 520px;
  animation: fadeIn 1.2s ease;
}

/* ----- Logo ----- */
.home-card img {
  width: 120px;
  margin-bottom: 1.5rem;
  filter: drop-shadow(0 3px 4px rgba(0,0,0,0.15));
}

/* ----- Testo ----- */
.home-card h1 {
  font-size: 2.2rem;
  color: #1a202c;
  margin-bottom: 0.6rem;
}

.home-card p {
  font-size: 1.05rem;
  color: #2d3748;
  line-height: 1.6;
  margin-bottom: 2rem;
}

/* ----- Bottone ----- */
.enter-btn {
  display: inline-block;
  background: #28a745;
  color: #fff;
  border: none;
  border-radius: 12px;
  padding: 1rem 2.5rem;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.3s ease, transform 0.2s ease;
}

.enter-btn:hover {
  background: #218838;
  transform: translateY(-2px);
}

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