body {
  font-family: Arial, sans-serif;
  text-align: center;
  margin: 0;
  padding: 0;
}
#map {
  width: 100%;
  height: 50vh;
}
form {
  padding: 20px;
  background: #f9f9f9;
  margin: 10px auto;
}
label, input, textarea, select, button {
  display: block;
  width: 90%;
  max-width: 500px;
  margin: 10px auto;
  font-size: 16px;
  padding: 10px;
}
header.topnav {
  background-color: #ff9900ed; /* naranja moderno */
  color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 24px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}
nav ul.menu {
  list-style: none;
  display: flex;
  gap: 20px;
  margin: 0;
  padding: 0;
}
nav ul.menu li a {
  color: #ffffff;
  text-decoration: none;
  font-weight: 600;
  padding: 8px 12px;
  border-radius: 4px;
  transition: background 0.3s ease;
}
nav ul.menu li a:hover {
  background-color: rgba(255, 255, 255, 0.15);
}
table {
  width: 95%;
  margin: 20px auto;
  border-collapse: collapse;
}
th, td {
  padding: 5px;
  font-size: 14px;
}
.botones-acciones {
  margin-top: 30px;
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
}

.btn, .btn-secondary {
  padding: 15px 30px;
  font-size: 18px;
  font-weight: bold;
  text-decoration: none;
  border-radius: 8px;
  transition: background 0.3s, color 0.3s, transform 0.3s;
  display: inline-block;
}

.btn {
  background-color: #ff4b2b; /* Naranja-Rojo Emergencia */
  color: white;
}

.btn:hover {
  background-color: #e03d23;
  transform: scale(1.05);
}

.btn-secondary {
  background-color: #00aaff; /* Azul claro Ver Novedades */
  color: white;
}

.btn-secondary:hover {
  background-color: #008ecc;
  transform: scale(1.05);
}

.imagenes-con-botones {
  margin-top: 40px;
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

.caja-imagen {
  position: relative;
  width: 300px;
  height: 200px;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.caja-imagen img.ilustracion {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Ajuste perfecto */
}

/* Botón sobrepuesto */
.btn-sobrepuesta {
  position: absolute;
  bottom: 15px;
  left: 50%;
  transform: translateX(-50%);
  background-color: rgba(255, 77, 77, 0.95); /* Rojo sólido */
  color: white;
  padding: 14px 28px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 20px; /* Fuente más grande */
  box-shadow: 0 4px 6px rgba(0,0,0,0.3);
  transition: background 0.3s, transform 0.3s;
}

/* Botón azul para novedades */
.btn-sobrepuesta.azul {
  background-color: rgba(0, 123, 255, 0.95); /* Azul sólido */
}

/* Hover */
.btn-sobrepuesta:hover {
  background-color: rgba(200, 0, 0, 0.9); /* Más oscuro al pasar */
  transform: translateX(-50%) scale(1.05);
}
.btn-sobrepuesta.azul:hover {
  background-color: rgba(0, 86, 179, 0.9); /* Azul más oscuro */
}
.banner {
  margin-top: 30px;
  background: url('cam-eljardin.jpg') no-repeat center center;
  background-size: cover;
  height: 45vh;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 2em;
  font-weight: bold;
  text-shadow: 2px 2px 6px #000;
}
/* Responsivo */

/* Adaptabilidad móvil */

@media screen and (max-width: 600px) {
  form {
    padding: 10px;
  }
  input, textarea, select, button {
    font-size: 14px;
  }
  th, td {
    font-size: 12px;
  }
  header.topnav {
    flex-direction: column;
    align-items: flex-start;
  }
  nav ul.menu {
    flex-direction: column;
    width: 100%;
  }
  nav ul.menu li a {
    width: 100%;
    display: block;
  }
  .botones-acciones {
    flex-direction: column;
    gap: 15px;
  }
  .btn, .btn-secondary {
    width: 100%;
    text-align: center;
  }
  .imagenes-con-botones {
    flex-direction: column;
    align-items: center;
  }
  .caja-imagen {
    width: 90%;
    height: 180px;
  }
  .btn-sobrepuesta {
    font-size: 18px;
    padding: 12px 24px;
  }
}