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

body {
  margin: 0;
  background-color: #0d0d0d;
  font-family: 'Orbitron', sans-serif;
  color: #00fff7;
}

.cyberpunk-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 40px;
  background: linear-gradient(to right, #1b0034, #2a004f);
  border-bottom: 3px solid #ff00cc;
  box-shadow: 0 0 15px #ff00cc;
  position: relative;
  z-index: 10;
}

.cyberpunk-header::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, #00fff7, #ff00cc, #00fff7);
  animation: pulseLine 4s infinite linear;
}

.logo-container {
  display: flex;
  align-items: center;
}

.logo-img {
  height: 90px; /* aumentato da 60px */
  max-width: 260px;
  filter: drop-shadow(0 0 8px #00fff7);
  transition: transform 0.3s ease;
}

.logo-img:hover {
  transform: scale(1.05);
}

.logo {
  font-size: 28px;
  color: #00fff7;
  text-shadow: 0 0 10px #00fff7, 0 0 20px #ff00cc;
}

.nav-links a {
  margin-left: 30px;
  color: #ffffff;
  text-decoration: none;
  position: relative;
  transition: color 0.3s;
}

.nav-links a::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 2px;
  background: #ff00cc;
  bottom: -5px;
  left: 0;
  transform: scaleX(0);
  transition: transform 0.3s ease;
  transform-origin: left;
}

.nav-links a:hover::before {
  transform: scaleX(1);
}

.nav-links a:hover {
  color: #ff00cc;
}

/* Container del sottomenu */
.sottomenu {
  position: relative;
  display: inline-block;
}

/* Contenuto del sottomenu (nascosto di default) */
.sottomenu-content {
  display: none;
  position: absolute;
  background-color: #1b0034;
  min-width: 200px;
  box-shadow: 0 0 15px #ff00cc;
  z-index: 1;
  border: 2px solid #ff00cc88;
  border-radius: 8px;
}

/* Stile dei link nel sottomenu */
.sottomenu-content a {
  color: #00fff7;
  padding: 12px 16px;
  display: block;
  text-decoration: none;
  text-shadow: 0 0 6px #00fff7;
}

.sottomenu-content a:hover {
  background-color: #2a004f;
  color: #ff00cc;
  text-shadow: 0 0 8px #ff00cc;
}

/* Mostra il sottomenu al passaggio del mouse */
.sottomenu:hover .sottomenu-content {
  display: block;
}


.hero-section {
  text-align: center;
  padding: 80px 20px;
  background: radial-gradient(ellipse at center, #1a0033 0%, #0d0d0d 100%);
  color: #00fff7;
  box-shadow: inset 0 0 60px #ff00cc33;
  border-top: 2px solid #ff00cc;
}

.hero-section h1 {
  font-size: 48px;
  margin-bottom: 20px;
  color: #ff00cc;
  text-shadow: 0 0 15px #ff00cc, 0 0 30px #00fff7;
}

.hero-section p {
  font-size: 20px;
  max-width: 700px;
  margin: 0 auto;
  color: #ccc;
  text-shadow: 0 0 8px #00fff7;
}
.cyberpunk-footer {
  background: linear-gradient(to right, #2a004f, #1b0034);
  padding: 20px;
  text-align: center;
  color: #00fff7;
  font-size: 16px;
  border-top: 3px solid #ff00cc;
  box-shadow: 0 -2px 15px #ff00cc;
  text-shadow: 0 0 8px #00fff7;
  position: relative;
}

.cyberpunk-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 3px;
  width: 100%;
  background: linear-gradient(90deg, #ff00cc, #00fff7, #ff00cc);
  animation: moveLine 4s infinite linear;
}
.courses-section {
  position: relative;
  padding: 60px 40px;
  background: #0d0d0d;
  color: #00fff7;
  text-align: center;
  overflow: hidden;
  z-index: 0;
}

/* Sfondo neon pulsante con animazione colori */
.courses-section::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, 
    #ff00cc, 
    #00fff7, 
    #ff00cc, 
    #00fff7);
  background-size: 400% 400%;
  animation: neonPulse 8s ease infinite;
  opacity: 0.15;
  pointer-events: none;
  filter: blur(40px);
  z-index: -1;
}

.courses-section h2 {
  font-size: 42px;
  margin-bottom: 40px;
  text-shadow: 0 0 12px #ff00cc;
  color: #ff00cc;
}

.course-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.course-card {
  background: #1a0033;
  border: 2px solid #ff00cc88;
  padding: 25px;
  border-radius: 15px;
  box-shadow: 0 0 20px #00fff766;
  transition: transform 0.3s, box-shadow 0.3s;
  text-align: left;
}

.course-card h3 {
  color: #00fff7;
  font-size: 22px;
  margin-bottom: 10px;
  text-shadow: 0 0 8px #00fff7;
}

.course-card p {
  color: #ccc;
  font-size: 16px;
  text-shadow: 0 0 5px #00fff7;
}

.course-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 0 25px #ff00ccaa, 0 0 30px #00fff7aa;
}

body {
  position: relative;
  overflow-x: hidden;
  background: #0d0d0d;
  color: #00fff7;
  font-family: 'Orbitron', sans-serif;
}

body::before {
  content: "";
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: 
    radial-gradient(circle at 20% 30%, #00fff7 2px, transparent 3px),
    radial-gradient(circle at 80% 70%, #ff00cc 2px, transparent 3px),
    linear-gradient(90deg, #00fff7 1px, transparent 1px),
    linear-gradient(180deg, #ff00cc 1px, transparent 1px);
  background-size:
    150px 150px,
    150px 150px,
    150px 150px,
    150px 150px;
  background-repeat: repeat;
  animation: circuitMove 10s linear infinite;
  opacity: 0.15;
  pointer-events: none;
  z-index: -1;
}

a{
  text-decoration: none ;
  color: yellow;
}

.future-image-section {
  background-color: #0d0d0d;
  padding: 60px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.future-image-section h2 {
  color: #00fff7;
  font-size: 2rem;
  margin-bottom: 30px;
  text-shadow: 0 0 10px #00fff7, 0 0 20px #ff00cc;
}

.image-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  animation: glowPulse 6s ease-in-out infinite;
}

.image-wrapper img {
  max-width: 90%;
  height: auto;
  border-radius: 16px;
  box-shadow: 0 0 25px #00fff7, 0 0 50px #ff00cc;
  transition: transform 0.3s ease;
}

.image-wrapper img:hover {
  transform: scale(1.03);
}

@keyframes glowPulse {
  0%, 100% {
    filter: drop-shadow(0 0 10px #00fff7) drop-shadow(0 0 20px #ff00cc);
  }
  50% {
    filter: drop-shadow(0 0 25px #ff00cc) drop-shadow(0 0 35px #00fff7);
  }
}

@keyframes neonPulse {
  0%, 100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

@keyframes moveLine {
  0% { background-position: 0 0; }
  100% { background-position: 200% 0; }
}

/* Animazione di movimento lento per simulare flusso elettrico */
@keyframes circuitMove {
  0% {
    background-position:
      0 0,
      0 0,
      0 0,
      0 0;
  }
  100% {
    background-position:
      150px 150px,
      150px 150px,
      150px 150px,
      150px 150px;
  }
}
