/* --- Reset básico y body --- */
body {
  margin: 0;
  padding: 0;
  font-family: Arial, sans-serif;
  background: #111;   /* fondo oscuro elegante */
  color: white;
  text-align: center;
}

/* --- Navegación --- */
nav {
  background: #222;  /* menú oscuro */
  padding: 10px 0;
}

nav ul {
  list-style: none;
  display: flex;
  justify-content: center; /* fila horizontal centrada */
  margin: 0;
  padding: 0;
  gap: 30px;
}

nav a {
  color: white;
  text-decoration: none;
  font-weight: bold;
  padding: 5px 10px;
  transition: color 0.3s;
}

nav a:hover,
nav a.activo {
  color: #ff0000; /* rojo profesional */
}

/* --- Header --- */
header {
  background: white; /*b30000; puedes poner #111 si quieres todo oscuro */
  color: white;
  padding: 30px 10px;
}

/* Logo sobre fondo blanco */
header .logo-header {
  background: white;
  display: inline-block;
  padding: 10px 20px;
  border-radius: 10px;
  margin-bottom: 15px;
}

header .logo-header img {
  max-width: 180px;
  height: auto;
  display: block;
  margin: 0 auto;
}

header h1 {
  margin: 10px 0 5px 0;
  font-size: 2em;
}

header p {
  margin: 0;
  font-size: 1.1em;
}

/* --- Secciones principales --- */
section {
  max-width: 900px;
  margin: 20px auto;
  padding: 20px;
  background: #1a1a1a; /* fondo gris oscuro para contraste */
  border-radius: 10px;
  text-align: left;
}

/* --- Galería --- */
.grid-galeria {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 15px;
}

.grid-galeria img {
  width: 100%;
  border-radius: 8px;
  object-fit: cover;
  transition: transform 0.3s;
}

.grid-galeria img:hover {
  transform: scale(1.05);
}

/* --- Contacto --- */
.btn-whatsapp {
  display: inline-block;
  background-color: #25D366;
  color: white;
  padding: 12px 20px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: bold;
  margin: 10px 0;
  transition: background 0.3s;
}

.btn-whatsapp:hover {
  background-color: #1EBE5D;
}

.form-contacto {
  display: flex;
  flex-direction: column;
  max-width: 450px;
  margin: 20px auto;
  gap: 10px;
}

.form-contacto input,
.form-contacto textarea {
  padding: 12px;
  border-radius: 8px;
  border: 1px solid #555;
  background: #222;
  color: white;
  resize: none;
}

.form-contacto button {
  background-color: #b30000;
  color: white;
  border: none;
  padding: 12px;
  border-radius: 8px;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s;
}

.form-contacto button:hover {
  background-color: #ff3333;
}

/* --- Pie de página --- */
footer {
  background: #222;
  color: white;
  padding: 20px;
  font-size: 0.9em;
}

/* --- Responsive --- */
@media (max-width: 600px) {
  nav ul {
    flex-direction: column;
    gap: 15px;
  }

  header h1 {
    font-size: 1.5em;
  }

  .form-contacto input,
  .form-contacto textarea,
  .form-contacto button {
    width: 100%;
  }
}
