/* FONT */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Montserrat', sans-serif;
  background: #f4f2f8;
  color: #222;
  line-height: 1.6;
}

/* CONTAINER */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* HEADER */
.site-header {
  background: #fff;
  padding: 40px 0 20px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.logo {
  font-size: 40px;
  font-weight: 700;
  color: #6b1eb1;
  margin-bottom: 8px;
}

.slogan {
  font-size: 18px;
  font-style: italic;
  color: #666;
}

/* NAV */
.main-nav {
  margin-top: 20px;
}

.main-nav ul {
  display: flex;
  justify-content: center;
  gap: 30px;
  list-style: none;
  flex-wrap: wrap;
}

.main-nav a {
  text-decoration: none;
  color: #444;
  font-weight: 500;
  font-size: 16px;
  padding: 10px 18px;
  border-radius: 6px;
  transition: 0.3s ease;
}

.main-nav a:hover {
  background: #6b1eb1;
  color: #fff;
}

/* HERO IMMAGINE */
.hero-img {
  background: url('images/immagine-sitoelite.jpg') no-repeat center center;
  background-size: cover;
  height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-overlay {
  background: rgba(0, 0, 0, 0.5);
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-title {
  color: white;
  font-size: 64px;
  font-weight: 700;
  text-align: center;
  letter-spacing: 2px;
}
.hero-text {
  text-align: center;
  color: white;
}

.hero-slogan {
  font-size: 20px;
  font-style: italic;
  color: #ddd;
  margin-top: 12px;
}

/* HERO CONTENUTO - SLOGAN */
.hero-content {
  background: #fff;
  color: #222;
  padding: 80px 20px;
  text-align: center;
  border-bottom: 1px solid #ddd;
}

.hero-content h2 {
  font-size: 36px;
  margin-bottom: 15px;
}

.hero-content p {
  font-size: 18px;
  max-width: 700px;
  margin: 0 auto 30px;
  color: #555;
}

.btn-primary {
  background: #6b1eb1;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  padding: 12px 28px;
  border-radius: 8px;
  transition: 0.3s;
  display: inline-block;
  font-size: 16px;
}

.btn-primary:hover {
  background: #54199b;
}

/* INTRO TESTO */
.intro-text {
  padding: 60px 0;
  font-size: 17px;
  color: #444;
  line-height: 1.8;
}

.intro-text p {
  margin-bottom: 20px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

/* CATALOG */
.catalog-preview {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: center;
  padding: 80px 0;
  background: #fff;
  border-top: 1px solid #ddd;
  border-bottom: 1px solid #ddd;
}

.catalog-card {
  background: #fafafa;
  border-radius: 12px;
  overflow: hidden;
  width: 350px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
  text-decoration: none;
  color: inherit;
  transition: transform 0.3s, box-shadow 0.3s;
  display: flex;
  flex-direction: column;
}

.catalog-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 28px rgba(107, 30, 177, 0.25);
}

.catalog-image {
  height: 220px;
  background-size: cover;
  background-position: center;
}

.catalog-image.arredi {
  background-image: url('images/placeholder-arredi.jpg');
}

.catalog-image.gazebo {
  background-image: url('images/placeholder-gazebo.jpg');
}

.catalog-image.audio {
  background-image: url('images/placeholder-audio.jpg');
}

.catalog-info {
  padding: 24px;
  text-align: center;
}

.catalog-info h3 {
  font-size: 22px;
  color: #6b1eb1;
  margin-bottom: 10px;
}

.catalog-info p {
  font-size: 15px;
  color: #555;
}

/* FOOTER */
.site-footer {
  background: #2c2c2c;
  color: #ccc;
  text-align: center;
  padding: 30px;
  font-size: 14px;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .catalog-preview {
    flex-direction: column;
    align-items: center;
  }

  .main-nav ul {
    flex-direction: column;
    gap: 12px;
  }

  .hero-title {
    font-size: 42px;
  }

  .hero-content h2 {
    font-size: 28px;
  }
}
/* SEZIONE CENTRATA HERO CONTENT */
.centered-section {
  background: #fff;
  text-align: center;
  padding: 80px 20px 60px;
  border-bottom: 1px solid #ddd;
}

.centered-section h2 {
  font-size: 36px;
  margin-bottom: 20px;
}

.centered-section p {
  font-size: 18px;
  color: #555;
  max-width: 700px;
  margin: 0 auto 30px;
}
/* ENTRY ANIMAZIONE INIZIALE */
#entryOverlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #1c1b26;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeOutOverlay 2s ease-in-out 2.5s forwards;
}

.entry-content h1 {
  font-size: 48px;
  color: white;
  font-weight: 700;
  letter-spacing: 2px;
  animation: zoomIn 1.4s ease forwards;
  font-family: 'Montserrat', sans-serif;
}

@keyframes zoomIn {
  0% {
    transform: scale(0.8);
    opacity: 0;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

@keyframes fadeOutOverlay {
  to {
    opacity: 0;
    visibility: hidden;
  }
}
.scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  animation: fadeIn 2.5s ease forwards 3s;
}

.scroll-indicator .arrow {
  font-size: 28px;
  color: white;
  animation: bounce 1.8s infinite;
}

@keyframes bounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(8px);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
.animate {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.animate.show {
  opacity: 1;
  transform: translateY(0);
}
/* MENU LATERALE */
.menu-button {
  position: fixed;
  top: 25px;
  left: 25px;
  font-size: 28px;
  color: white;
  background: rgba(0,0,0,0.4);
  padding: 10px 14px;
  border-radius: 6px;
  cursor: pointer;
  z-index: 10000;
  transition: background 0.3s;
}

.menu-button:hover {
  background: rgba(0,0,0,0.7);
}

.side-menu {
  position: fixed;
  top: 0;
  left: -250px;
  width: 250px;
  height: 100%;
  background-color: #2e2a4d;
  color: white;
  padding-top: 80px;
  transition: left 0.3s ease;
  z-index: 9999;
}

.side-menu ul {
  list-style: none;
  padding: 0;
}

.side-menu li {
  padding: 15px 20px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.side-menu a {
  text-decoration: none;
  color: white;
  font-size: 18px;
  display: block;
  transition: 0.3s;
}

.side-menu a:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* MENU ATTIVO */
.side-menu.open {
  left: 0;
}
/* BOTTONE FISSO IN BASSO A DESTRA */
.fixed-request-button {
  position: fixed;
  bottom: 25px;
  right: 25px;
  background: #6b1eb1;
  color: white;
  padding: 14px 20px;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 8px 16px rgba(0,0,0,0.2);
  z-index: 10000;
  transition: background 0.3s, transform 0.3s;
}

.fixed-request-button:hover {
  background: #54199b;
  transform: scale(1.05);
}
/* ANIMAZIONE IMPULSO */
@keyframes pulse {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(107, 30, 177, 0.4);
  }
  70% {
    transform: scale(1.05);
    box-shadow: 0 0 0 10px rgba(107, 30, 177, 0);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(107, 30, 177, 0);
  }
}

/* Applichiamo al bottone */
.fixed-request-button {
  animation: pulse 3s infinite;
}
/* --- HEADER DEL CATALOGO --- */
.catalog-header {
  background: linear-gradient(135deg, #6b1eb1, #7b68d6);
  color: white;
  text-align: center;
  padding: 80px 20px;
  margin-bottom: 50px;
}

.catalog-header h1 {
  font-size: 48px;
  margin-bottom: 15px;
  font-weight: 700;
}

.catalog-header p {
  font-size: 20px;
  max-width: 800px;
  margin: 0 auto;
  opacity: 0.9;
}

.catalog-preview {
  display: flex;
  flex-wrap: wrap;
  justify-content: center; /* CENTRA LE CARD */
  gap: 40px;
  padding: 40px 0;
}


/* Riduci dimensione card */
.catalog-card {
  background: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  transition: transform 0.3s, box-shadow 0.3s;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 250px; /* PIÙ PICCOLE */
  padding-top: 15px;
}

.catalog-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(107, 30, 177, 0.25);
}

.catalog-icon {
  width: 100px; /* Riduci anche l'immagine per proporzione */
  height: auto;
  margin-bottom: 15px;
}

.catalog-info {
  padding: 15px;
  text-align: center;
}

.catalog-info h3 {
  font-size: 18px;
  color: #6b1eb1;
  margin-bottom: 8px;
}

.catalog-info p {
  font-size: 14px;
  color: #555;
  line-height: 1.4;
  margin-bottom: 12px;
}

/* Bottone Scopri di più */
.btn-secondary {
  display: inline-block;
  background: #6b1eb1;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 6px;
  text-decoration: none;
  transition: background 0.3s, transform 0.2s;
}

.btn-secondary:hover {
  background: #4b178e;
  transform: scale(1.05);
}


/* --- RESPONSIVE --- */
@media (max-width: 600px) {
  .catalog-header h1 {
    font-size: 32px;
  }
  .catalog-header p {
    font-size: 16px;
  }
}
.contact-section {
  background: #f7f6fb;
  padding: 80px 20px;
  text-align: center;
}

.contact-section h2 {
  font-size: 36px;
  color: #6b1eb1;
  margin-bottom: 10px;
}

.contact-section p {
  font-size: 18px;
  color: #555;
  margin-bottom: 50px;
}

.contact-cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

.contact-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  padding: 30px 20px;
  width: 260px;
  transition: transform 0.3s, box-shadow 0.3s;
}

.contact-card h3 {
  font-size: 20px;
  color: #6b1eb1;
  margin-bottom: 10px;
}

.contact-card p {
  font-size: 16px;
  color: #333;
}

.contact-card a {
  color: #333;
  text-decoration: none;
  font-weight: 500;
}

.contact-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(94,77,178,0.2);
}
/* Logo nell'overlay iniziale */
.entry-logo {
  display: block;
  max-width: 180px;
  margin: 0 auto 20px auto;
}

/* Logo nella hero */
.hero-logo {
  display: block;
  max-width: 200px;
  margin: 0 auto 20px auto;
}
.values-section {
  background: #f9f9fb;
  padding: 80px 20px;
  text-align: center;
}

.values-title {
  font-size: 32px;
  color: #6b1eb1;
  margin-bottom: 50px;
}

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

.value-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  width: 250px;
  padding: 30px 20px;
  transition: transform 0.3s, box-shadow 0.3s;
}

.value-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(94,77,178,0.2);
}

.value-icon {
  width: 60px;
  height: auto;
  margin-bottom: 20px;
}

.value-card h3 {
  font-size: 20px;
  color: #6b1eb1;
  margin-bottom: 10px;
}

.value-card p {
  font-size: 15px;
  color: #555;
  line-height: 1.4;
}
.titolo-maiuscolo {
  text-transform: uppercase;
  letter-spacing: 2px; /* opzionale: un po' di spazio tra lettere */
}
.fixed-request-button {
  position: fixed;
  bottom: 25px;
  right: 25px;
  background: #6b1eb1;
  color: #fff;
  padding: 14px 22px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 30px;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  z-index: 999;
  transition: transform 0.3s ease, background 0.3s ease;
  animation: pulse 1.5s infinite;
}

.fixed-request-button:hover {
  background: #4b178e;
  transform: scale(1.05);
}

/* Effetto impulso */
@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(107, 30, 177, 0.5);
  }
  70% {
    box-shadow: 0 0 0 15px rgba(107, 30, 177, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(107, 30, 177, 0);
  }
}
