/* --- Reset base --- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}

/* --- Body --- */
body {
  background-color: #000; /* nero di base */
  color: #ff6600; /* testo arancione */
  line-height: 1.6;
}

/* --- Hero / logo --- */
.hero {
  position: relative;
  text-align: center;
  color: #ff6600; /* arancione */
}

.hero img {
  width: 100%;
  max-height: 400px;
  object-fit: cover;
  display: block;
  filter: brightness(0.85);
}

/*.hero h1 {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  color: #ff6600;
  font-size: 3em;
  text-shadow: 2px 2px #000;
} */

/* --- Navbar sotto hero --- */
nav {
  background-color: #111; /* leggermente diverso dal nero di fondo */
}

nav ul {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 40px;
  padding: 15px 0;
}

nav ul li a {
  color: #ff6600;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.2em;
}

nav ul li a:hover {
  text-decoration: underline;
}

/* --- Main content --- */
main {
  max-width: 1200px;
  margin: 40px auto;
  padding: 0 20px;
}

/* --- Sections --- */
section {
  margin-bottom: 50px;
}

/* --- Cards generiche (news / gallery) --- */
.cards {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.card {
  background-color: #111;
  border: 1px solid #222;
  border-radius: 10px;
  overflow: hidden;
  width: 280px;
  transition: transform 0.2s;
}

.card:hover {
  transform: scale(1.05);
}

.card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.card-body {
  padding: 15px;
}

.card-body h3 a {
  color: #ff6600;
  text-decoration: none;
}

.card-body h3 a:hover {
  text-decoration: underline;
}

.card-body time {
  display: block;
  font-size: 0.9em;
  color: #aaa;
  margin-bottom: 10px;
}

.card-body p {
  font-size: 0.95em;
  color: #ddd;
}

/* --- Gallery album --- */
.album {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  justify-content: center;
}

.album img {
  width: 300px;
  max-width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid #222;
}

/* --- Footer --- */
footer {
  background-color: #111;
  text-align: center;
  padding: 20px;
  color: #ff6600;
  font-weight: bold;
}

/* --- Effetto neon arancione --- */
h1, h2, h3, nav ul li a {
  color: #ff6600;
  text-shadow: 0 0 5px #ff6600,
               0 0 10px #ff6600,
               0 0 20px #ff3300,
               0 0 40px #ff3300;
  transition: all 0.3s ease;
}

/* effetto ancora più luminoso al passaggio del mouse */
nav ul li a:hover,
h2:hover,
h3:hover {
  text-shadow: 0 0 10px #ffaa33,
               0 0 20px #ff6600,
               0 0 30px #ff3300,
               0 0 60px #ff3300;
  transform: scale(1.03);
}

/* --- Bottone Iscriviti Ora --- */
.btn-iscriviti {
  display: inline-block;
  background-color: #ff6600;
  color: #000;
  font-weight: bold;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 1.1em;
  margin-top: 20px;
  box-shadow: 0 0 10px #ff6600, 0 0 20px #ff3300;
  transition: all 0.3s ease;
}

.btn-iscriviti:hover {
  background-color: #000;
  color: #ff6600;
  box-shadow: 0 0 20px #ffaa33, 0 0 40px #ff6600;
  transform: scale(1.05);
}

/* Bottone Acquista Ora */
.btn-acquista {
  display: inline-block;
  background-color: #ff6600;
  color: #000;
  font-weight: bold;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 1.1em;
  margin-top: 15px;
  box-shadow: 0 0 10px #ff6600, 0 0 20px #ff3300;
  transition: all 0.3s ease;
}

.btn-acquista:hover {
  background-color: #000;
  color: #ff6600;
  box-shadow: 0 0 20px #ffaa33, 0 0 40px #ff6600;
  transform: scale(1.05);
}
