/* Reset di base */
body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  background: #fff;
  color: #333;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* Header */
header {
  background: #00b8b8; /* colore logo */
  color: #fff;
  padding: 20px;
}

header .header-container {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  max-width: 1000px;
  margin: 0 auto;
}

header img.logo {
  height: 100px;
  width: auto;
  margin: 10px 20px 10px 0;
  flex-shrink: 0;
}

header h1 {
  font-size: 1.8em;
  margin: 0;
}

header h2 {
  font-size: 1.1em;
  font-weight: normal;
  margin: 0;
}

/* Contenuto principale */
main {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 40px 20px;
}

.card {
  background: #f5f5f5;
  border-radius: 16px;
  padding: 30px;
  max-width: 800px;
  box-shadow: 0 0 10px rgba(0,0,0,0.05);
  text-align: center;
  font-size: 1.1em;
  line-height: 1.6;
  color: #333;
}

.app-links img {
  height: 60px;
  margin: 10px;
}

/* Footer */
footer {
  background:#000;
  color:#fff;
  padding:25px 20px;
  font-size:0.9em;
}

.footer-container {
  display:flex;
  justify-content:space-between;
  align-items:center;
  flex-wrap:wrap;
  max-width:1200px;
  margin:0 auto;
}

.footer-left {
  text-align:left;
}

.footer-right {
  display:flex;
  gap:15px;
}

.social-icons img {
  width:28px;
  height:28px;
  display:block;
  transition:filter 0.3s;
}

.social-icons a:hover img {
  filter: brightness(0) saturate(100%) invert(39%) sepia(99%) saturate(1790%) hue-rotate(175deg) brightness(94%) contrast(101%);
}

/* Mobile */
@media(max-width:600px){
  .footer-container {
    flex-direction:column;
    text-align:center;
    gap:15px;
  }
  .footer-left { text-align:center; }
}
