@charset "utf-8";
/* CSS Document */

body {
  font-family: Arial, sans-serif;
  background: #FFFFFF;
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.wrapper {
  text-align: center;
  padding: 24px;
  flex: 1; /* spinge il footer in basso */
}

.logo {
  width: 200px;
  margin: 0 auto 30px auto;
  display: block;
}

/* Griglia pulsanti */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 18px;
  justify-content: center;
  margin: 0 auto 20px auto;
  max-width: 900px;
}

.event-button {
  aspect-ratio: 1/1;
  min-width: 130px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  color: #FFF;
  border-radius: 14px;
  box-shadow: 0 6px 12px rgba(0,0,0,0.15);
  transition: transform .18s ease, box-shadow .18s ease;
  padding: 10px;
  text-align: center;
}

.event-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.city { 
  font-size: 16px; 
  font-weight: 700; 
}

.date { 
  font-size: 13px; 
  font-weight: 600; 
  margin-top: 10px; 
  opacity: 0.95; 
}

/* Colori vivaci */
.sora   { background: #00C2A8; }
.capri  { background: #5865F2; }
.milano { background: #0EA5E9; }
.isola  { background: #10B981; }
.roma   { background: #D97706; }

/* Divider Eventi Passati */
section.divider-section {
  text-align: center;
  margin: 30px auto;
}

.divider {
  border-top: 1px solid #CCC;
  max-width: 300px; /* linea più piccola */
  margin: 0 auto;
  position: relative;
}

.divider span {
  position: relative;
  top: -12px;
  background: #FFF;
  padding: 0 10px;
  font-size: 14px;
  font-weight: 600;
  color: #555;
}

/* Footer */
footer {
  background: #F5F5F5;
  border-top: 1px solid #DDD;
  padding: 20px 30px;
  position: relative;
  font-size: 14px;
  color: #333;
  text-align: center;
}

footer h4 {
  margin: 0 0 8px 0;
  font-size: 16px;
  color: #222;
}

footer p {
  margin: 6px 0;
  line-height: 1.4;
}

footer a {
  color: #333;
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}

.lock {
  position: absolute;
  bottom: 10px;
  right: 15px;
  font-size: 22px; /* lucchetto più grande */
}

.lock a {
  color: #555;
  text-decoration: none;
}

.lock a:hover {
  color: #000;
}


