/* =========================
   HOME – CSS PULITO (solo index)
   ========================= */

body.home{
  background: #121212;
}

/* HERO: immagine solo qui */
body.home .hero.hero-luce{
  position: relative;
  min-height: 78vh;          /* regola se vuoi più/meno altezza */
  display: flex;
  align-items: center;
  justify-content: center;

  background: url("../img/home-luce.jpg") center/cover no-repeat;
}

/* overlay */
body.home .hero.hero-luce::before{
  content:"";
  position:absolute;
  inset:0;
  background: rgba(0,0,0,0.30);
  z-index:0;
}

body.home .hero-inner{
  position: relative;
  z-index: 1;
}

/* SOTTO LA HERO: fondo uniforme (copre qualsiasi "trapelo") */
body.home .home-cards,
body.home .site-footer{
  background: #121212 !important;
}

/* assicurati che la sezione “3 colonne” sia davvero un blocco pieno */
body.home .home-cards{
  position: relative;
  z-index: 2;
  padding: 60px 0;   /* distanza sotto la hero */
}

/* (opzionale) se vuoi un filo di separazione morbida */
body.home .home-cards{
  border-top: 1px solid rgba(255,255,255,0.06);
}

/* griglia 3 colonne: regolare e pulita */
body.home .home-cards-inner{
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 28px;

  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 42px;
  align-items: start;
}

body.home .home-card h2{
  margin: 0 0 12px;
}

body.home .home-card p{
  margin: 0;
  max-width: 40ch;
  line-height: 1.55;
}

/* tablet */
@media (max-width: 980px){
  body.home .home-cards-inner{
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
  }
}

/* mobile */
@media (max-width: 620px){
  body.home .home-cards-inner{
    grid-template-columns: 1fr;
    gap: 22px;
    padding: 0 18px;
  }
}/* ===============================
   HOME – HERO LAYOUT DEFINITIVO
   =============================== */

body.home {
  margin: 0;
}

/* HERO */
.home-hero {
  position: relative;
  min-height: 100vh;
  background-image: url("img/home-luce.html");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* leggera velatura per leggibilità testi */
.home-overlay {
  min-height: 100vh;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.0),
    rgba(0,0,0,0.15)
  );
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

/* TESTI CENTRALI */
.home-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 90px 20px 40px;
  text-align: center;
  color: #f2f2f2;
}

.home-content h1 {
  font-size: clamp(2.8rem, 5vw, 4rem);
  margin-bottom: 30px;
  font-weight: 600;
}

.home-subtitle {
  font-size: 1.4rem;
  margin-bottom: 25px;
  opacity: 0.9;
  font-weight: 200;
}

.home-text {
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 40px;
  opacity: 0.85;
}

/* BOTTONE */
.home-btn {
  display: inline-block;
  padding: 14px 34px;
  border: 1px solid #d6b46a;
  color: #d6b46a;
  text-decoration: none;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.home-btn:hover {
  background: #d6b46a;
  color: #111;
}

/* 3 COLONNE IN BASSO */

  .home-columns {
  margin-top: 160px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 100px;
  max-width: 1100px;
  margin: 100 auto 80px;
  padding: 0 40px;
  color: #e6e6e6;
}

.home-col h3 {
  margin-bottom: 10px;
  font-size: 1.1rem;
}

.home-col p {
  font-size: 0.95rem;
  line-height: 1.5;
  opacity: 0.85;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .home-columns {
    grid-template-columns: 1fr;
    text-align: center;
    margin-bottom: 60px;
  }

  .home-content {
    padding-top: 120px;
  }
}

