/* === STILE BASE E FONT === */
body {
  font-family: 'Roboto', sans-serif;
  margin: 0;
  padding: 0;
  background-color: #fff;
  color: #333;
  overflow-x: hidden;
}

/* === HERO VIDEO === */
.hero-video {
  position: relative;
  width: 100%;
  height: 90vh;
  overflow: hidden;
}

.hero-video video {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: translate(-50%, -50%);
}

/* CONTENITORE DEL VIDEO */
.hero {
  position: relative;
}

/* TESTO IN BASSO CENTRATO SUL VIDEO */
.hero-content {
  position: absolute;
  bottom: 60px;              /* distanza dal bordo inferiore */
  left: 50%;
  transform: translateX(-70%);
  text-align: center;
  color: #fff;
  background: none;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
  z-index: 2;
}

.hero-content h1 {
  font-size: 46px;
  font-weight: 700;
  margin: 0;
  letter-spacing: 1px;
}

.hero-content p {
  font-size: 18px;
  margin: 10px 0 25px;
  font-weight: 400;
}

/* PULSANTE */
.hero-btn {
  display: inline-block;
  background-color: #c62828;
  color: #fff;
  text-decoration: none;
  padding: 12px 28px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 16px;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.hero-btn:hover {
  background-color: #a71d1d;
  transform: scale(1.05);
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .hero-content {
    bottom: 40px;
  }
  .hero-content h1 {
    font-size: 32px;
  }
  .hero-content p {
    font-size: 16px;
  }
  .hero-btn {
    font-size: 15px;
    padding: 10px 24px;
  }
}



/* === MIGLIORAMENTO CARD GENERALE === */
.sezioni .blocco,
.faer-card {
  border-radius: 14px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.sezioni .blocco:hover,
.faer-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
}

/* === MARGINI GLOBALI === */
section {
  padding: 40px 5%;
}

h2, h3 {
  letter-spacing: 0.4px;
}


/* === HEADER === */
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 5%;
  background-color: #fff;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.logo img {
  height: 60px;
}

.menu {
  display: flex;
  gap: 20px;
  align-items: center;
}

.menu a {
  text-decoration: none;
  color: #000;
  font-weight: 500;
  transition: color 0.3s ease;
}

.menu a:hover {
  color: #c62828;
}

.menu .pulsante {
  background-color: #c62828;
  color: #fff;
  padding: 8px 14px;
  border-radius: 6px;
  transition: background-color 0.3s ease;
}

.menu .pulsante:hover {
  background-color: #a71d1d;
}

/* === MENU MOBILE === */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  border: none;
  background: none;
  cursor: pointer;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: #000;
  border-radius: 2px;
}

@media (max-width: 900px) {
  .menu {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 70px;
    right: 0;
    width: 100%;
    background: #fff;
    text-align: center;
    padding: 20px 0;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
  }

  .menu.active {
    display: flex;
  }

  .hamburger {
    display: flex;
  }
}

/* === HERO VIDEO === */
.hero-video {
  position: relative;
  width: 100%;
  height: 90vh;
  overflow: hidden;
}

.hero-video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  text-align: center;
  background: rgba(0,0,0,0.45);
  padding: 30px 50px;
  border-radius: 10px;
}

.hero-text h1 {
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 10px;
}

.hero-text p {
  font-size: 18px;
  margin-bottom: 20px;
}

.hero-btn {
  background-color: #c62828;
  color: #fff;
  text-decoration: none;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 500;
  transition: background 0.3s ease;
}

.hero-btn:hover {
  background-color: #a71d1d;
}

/* === SEZIONI PRINCIPALI (Cucine / Living / Tavoli e Sedie) === */
.sezioni {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  padding: 60px 5%;
  background: white;
}

.blocco {
  background: #f8f8f8;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  width: 300px;
  text-align: center;
  transition: 0.3s;
  cursor: pointer;
}

.blocco:hover {
  transform: scale(1.03);
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.blocco img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.blocco h2 {
  padding: 15px;
  background: #ca2922;
  color: white;
  font-size: 1.3rem;
}

/* === COLLEZIONI FAER AMBIENTI === */
.collezioni-faer {
  margin-top: 80px;
  text-align: center;
}

.collezioni-faer h2 {
  font-size: 24px;
  color: #c62828;
  margin-bottom: 30px;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.faer-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
}

.faer-card {
  width: 460px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.faer-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.faer-card img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  display: block;
}

.faer-card h3 {
  font-family: 'Roboto', sans-serif;
  font-weight: 700;
  font-size: 18px;
  color: #000;
  margin: 15px 0;
}

/* === FORM === */
form input, form textarea {
  font-family: 'Roboto', sans-serif;
  font-size: 15px;
  border: 1px solid #ccc;
  border-radius: 6px;
  padding: 10px;
  width: 100%;
  margin-bottom: 15px;
  box-sizing: border-box;
}

form button {
  background-color: #c62828;
  color: #fff;
  border: none;
  padding: 12px 20px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 16px;
  transition: background 0.3s ease;
}

form button:hover {
  background-color: #a71d1d;
}

/* === FOOTER === */
footer {
  margin-top: auto;
  background-color: #333;
  color: #fff;
  text-align: center;
  padding: 25px 15px;
  font-size: 14px;
  line-height: 1.5;
}

/* === COOKIE BANNER === */
#cookie-banner {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: #c62828;
  color: #fff;
  padding: 15px;
  text-align: center;
  font-size: 14px;
  box-shadow: 0 -2px 8px rgba(0,0,0,0.2);
  z-index: 9999;
}

#cookie-banner p {
  margin-bottom: 10px;
}

#cookie-banner button {
  border: none;
  padding: 8px 16px;
  border-radius: 6px;
  cursor: pointer;
  margin: 0 5px;
  font-weight: 500;
}

#acceptCookies {
  background: #fff;
  color: #c62828;
}

#rejectCookies {
  background: #444;
  color: #fff;
}
/* === SEZIONE RICHIEDI APPUNTAMENTO HOME === */
.appuntamento-section {
  background: #f7f7f7;
  padding: 70px 5%;
  text-align: center;
}

.appuntamento-section .container {
  max-width: 600px;
  margin: auto;
}

.appuntamento-section h2 {
  color: #c62828;
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 20px;
}

.appuntamento-section p {
  margin-bottom: 30px;
  color: #555;
}

.appuntamento-section form input,
.appuntamento-section form textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 6px;
  margin-bottom: 15px;
  font-family: 'Roboto', sans-serif;
  font-size: 15px;
  box-sizing: border-box;
}

.appuntamento-section form textarea {
  height: 120px;
  resize: none;
}

.appuntamento-section form button {
  background-color: #c62828;
  color: #fff;
  border: none;
  padding: 12px 28px;
  border-radius: 6px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.appuntamento-section form button:hover {
  background-color: #a71d1d;
  transform: scale(1.05);
}

/* === MAPPA GOOGLE === */
.mappa-section {
  background: #fff;
  padding: 60px 5%;
  text-align: center;
}

.mappa-section .container {
  max-width: 900px;
  margin: auto;
}

.mappa-section h2 {
  color: #c62828;
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 25px;
}
@media(max-width:768px){.hero-video{height:50vh;margin:0;padding:0}.hero-video video{width:100%;height:100%;object-fit:cover}.hero-content{position:absolute;top:75%;left:50%;transform:translate(-50%,-50%);text-align:center;padding:0 15px;white-space:nowrap}.hero-content h1{font-size:1.3rem;margin-bottom:6px;white-space:nowrap}.hero-content p{font-size:.9rem;margin-bottom:10px}.hero-content .hero-btn{padding:6px 14px;font-size:.8rem;border-radius:6px}}
/* === TITOLO "RICHIEDI UN APPUNTAMENTO" (pagina Contatti) === */
.section h3#appuntamento {
  color: #ca2922; /* colore rosso LUBE su tutti i dispositivi */
}

/* Centra solo su desktop */
@media (min-width: 769px) {
  .section h3#appuntamento {
    text-align: center;   /* centrato orizzontalmente sul desktop */
    font-size: 24px;
    font-weight: 700;
    margin-top: 50px;
    margin-bottom: 25px;
  }
}
/* === STILE PAGINA FAER (coordinato con Cucine e Living) === */
main.container {
  padding: 60px 5%;
  text-align: left; /* allinea a sinistra, non centrato */
}

main.container h1.accent {
  color: #ca2922;        /* rosso LUBE */
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 15px;
  text-align: left;
  letter-spacing: 0.5px;
}

main.container p {
  color: #444;
  font-size: 18px;
  font-weight: 400;
  max-width: 800px;
  text-align: left;
  line-height: 1.5;
}

/* Adattamento mobile */
@media (max-width: 768px) {
  main.container {
    padding: 40px 6%;
  }

  main.container h1.accent {
    font-size: 26px;
  }

  main.container p {
    font-size: 16px;
  }
}
