/* Reset & Base */
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: Arial, sans-serif; line-height: 1.6; color: #333; }
a { color: #1e90ff; text-decoration: none; }

/* Layout */
header {
  background: rgba(0,0,0,0.8);
  backdrop-filter: blur(8px);
  box-shadow: 0 2px 6px rgba(0,0,0,0.3);
  color: #fff;
  padding: 1rem 2rem;
  position: sticky;
  top: 0;
  z-index: 100;
}
nav { display: flex; justify-content: space-between; align-items: center; }
nav ul { list-style: none; display: flex; gap: 1rem; }

/* Hero */
.hero {
  background: url('hero-bg.jpg') center/cover no-repeat;
  height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero .container {
  background: rgba(0, 0, 0, 0.6);
  border-radius: 8px;
  padding: 2rem;
  max-width: 800px;
  margin: 0 auto;
}
.hero h1 {
  color: #fff;
  text-shadow: 0 4px 8px rgba(0,0,0,0.7);
  font-size: 3rem;
  line-height: 1.2;
  text-align: center;
}

/* Sections Background */
section { padding: 4rem 2rem; position: relative; }
.container {
  max-width: 1000px;
  margin: 0 auto;
  background-color: rgba(255,255,255,0.9);
  padding: 2rem;
  border-radius: 8px;
}

/* Background Illustrations */
.illustration-bg {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #fff;
}
#about { background-image: url('bg-creatividad-ondas.jpg'); }
#programs { background-image: url('bg-consola-audio.jpg'); }
#portfolio { background-image: url('bg-waveform.jpg'); }
#contact { background-image: url('bg-mix-board.jpg'); }

/* Text Sections */
h2 { margin-bottom: 1rem; }
p { margin-top: 1rem; line-height: 1.5; }

/* Portfolio */
.audio-item { margin-bottom: 2rem; }

/* Contact Form */
#contact form { display: grid; gap: 1rem; max-width: 600px; margin: 0 auto; }
#contact input, #contact textarea { width: 100%; padding: 0.75rem; border: 1px solid #ccc; border-radius: 4px; color: #333; }
#contact button { padding: 0.75rem; background: #1e90ff; color: #fff; border: none; border-radius: 4px; cursor: pointer; transition: background 0.3s; }
#contact button:hover { background: #0f70d1; }
#contact .email { text-align: center; margin-top: 1rem; }

/* Footer */
footer { text-align: center; padding: 2rem; background: #f4f4f4; font-size: 0.9rem; }

/* NAV LINKS - Mejoras de menú */
nav a {
  position: relative;
  padding: 0.5rem 0;
  transition: color 0.3s;
}
nav a::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0%;
  height: 2px;
  background: #ff5500;
  transition: width 0.3s;
}
nav a:hover {
  color: #ff5500;
}
nav a:hover::after {
  width: 100%;
}
/* Estado activo */
nav a.active {
  color: #ff5500;
}
nav a.active::after {
  width: 100%;
}
