header {
  background-color: #0d0d0d;
  padding: 15px 20px;
  color: #ffffff;
  border-bottom: 2px solid #00ffae;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: #0d0d0d; /* fondo negro o el que estés usando */
  color: #ffffff; /* texto general */
  font-family: 'Roboto', sans-serif;
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
}

.logo img {
  width: 70px;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 0 10px #00ffae;
}

.titulo h1 {
  font-family: 'Orbitron', sans-serif;
  font-size: 2rem;
  margin: 0;
  color: #00ffae;
  text-shadow: 0 0 5px #00ffae;
}

.titulo .slogan {
  font-family: 'Roboto', sans-serif;
  font-size: 1rem;
  color: #ccc;
  margin: 0;
  text-shadow: 0 0 3px #008cff;
}

nav .nav-list {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 30px;
  padding: 15px 0 0;
  margin: 0;
  flex-wrap: wrap;
}

.nav-list a {
  text-decoration: none;
  color: #ffffff;
  font-weight: bold;
  font-size: 1.1rem;
  transition: color 0.3s ease, text-shadow 0.3s ease;
}

.nav-list a:hover {
  color: #008cff;
  text-shadow: 0 0 5px #008cff;
}


.hero {
  background-image: url("Images/fotoinicio.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: white;
  padding: 100px 20px;
  text-align: center;
  position: relative;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: rgba(0, 0, 0, 0.6); /* oscurece un poco para que se lea el texto */
  z-index: 1;
}

.hero h2,
.hero p,
.hero .btn-neon {
  position: relative;
  z-index: 2;
}

.btn-neon {
  display: inline-block;
  padding: 12px 24px;
  font-weight: bold;
  font-family: 'Roboto', sans-serif;
  color: #ffffff;
  background-color: transparent;
  border: 2px solid #00ffae;
  border-radius: 8px;
  text-decoration: none; 
  box-shadow: 0 0 10px #00ffae, 0 0 20px #00ffae inset;
  transition: background-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
}

.btn-neon:hover {
  background-color: #00ffae;
  color: #0d0d0d;
  box-shadow: 0 0 15px #00ffae;
}

.productos {
  background-color: #111;
  color: white;
  padding: 60px 20px;
  text-align: center;
}

.productos h2 {
  font-family: 'Orbitron', sans-serif;
  font-size: 2.2rem;
  margin-bottom: 30px;
  color: #00ffae;
}

.productos-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

.card {
  background-color: #1a1a1a;
  border: 2px solid #00ffae;
  border-radius: 12px;
  width: 250px;
  padding: 20px;
  box-shadow: 0 0 10px #00ffae33;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card img {
  width: 100%;
  border-radius: 8px;
  margin-bottom: 15px;
}

.card h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: #ffffff;
}

.card p {
  font-size: 1rem;
  color: #ccc;
  margin-bottom: 15px;
}

.card:hover {
  transform: scale(1.05);
  box-shadow: 0 0 15px #00ffae;
}

.contacto {
  background-color: #111;
  color: white;
  padding: 60px 20px;
  text-align: center;
}

.contacto h2 {
  font-family: 'Orbitron', sans-serif;
  font-size: 2.2rem;
  margin-bottom: 30px;
  color: #00ffae;
}

.contacto form {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  max-width: 500px;
  margin: 0 auto;
}

.contacto input,
.contacto textarea {
  width: 100%;
  padding: 12px;
  border-radius: 8px;
  border: none;
  font-family: 'Roboto', sans-serif;
}

.contacto textarea {
  resize: vertical;
  height: 120px;
}

.mapa {
  margin-top: 40px;
  border-radius: 10px;
  overflow: hidden;
}

footer {
  background-color: #0d0d0d;
  color: #888;
  text-align: center;
  padding: 25px 10px 15px;
  font-size: 0.9rem;
  border-top: 2px solid #00ffae;
  position: relative;
}

footer p {
  margin-bottom: 10px;
}

.redes-sociales {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.redes-sociales img {
  width: 28px;
  height: 28px;
  filter: drop-shadow(0 0 3px #00ffae);
  transition: transform 0.2s ease;
}

.redes-sociales a:hover img {
  transform: scale(1.2);
}

/* Responsividad para sección contacto */
@media (min-width: 768px) {
  .contacto form {
    max-width: 400px; /* acotar ancho en pantallas medianas */
  }
  .contacto {
    display: flex;
    justify-content: center;
    gap: 40px;
    padding: 60px 40px;
    text-align: left;
  }
  .contacto form {
    flex: 1 1 400px;
    align-items: flex-start;
  }
  .contacto input,
  .contacto textarea {
    width: 100%;
  }
  .mapa {
    flex: 1 1 400px;
    margin-top: 0;
  }
  .mapa iframe {
    width: 100%;
    height: 100%;
    min-height: 320px;
    border-radius: 10px;
  }
}

@media (max-width: 767px) {
  .contacto {
    padding: 40px 20px;
  }
  .contacto form {
    width: 100%;
  }
  .mapa iframe {
    width: 100%;
    height: 300px;
    border-radius: 10px;
  }
}
