/* ============================
   Variables base (colores y fuentes)
   ============================ */
:root {
  --azul-principal: #002f5f; /* azul oscuro del logo */
  --azul-claro: #0d6efd; /* puede usarse en íconos o hover */
  --blanco: #ffffff;
  --gris-oscuro: #212529;
  --gris-claro: #f8f9fa;
  --fuente-principal: "Merriweather", serif;
}

/* ============================
   Tipografía general
   ============================ */
body {
  font-family: var(--fuente-principal);
  background-color: var(--gris-claro);
  color: var(--gris-oscuro);
}

header.hero {
  background: linear-gradient(rgba(0, 47, 95, 0.6), rgba(0, 47, 95, 0.6)),
    url("../imagenes/logo.jpeg") no-repeat center center;
  background-size: cover;
  height: 80vh;
  color: var(--blanco);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

header.hero h1 {
  font-size: 3rem;
  text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.6);
}

/* ============================
   Servicios con íconos
   ============================ */
.servicios i {
  font-size: 3rem;
  color: var(--azul-principal);
  margin-bottom: 1rem;
}

/* ============================
   Galería de imágenes
   ============================ */
#galeria img {
  width: 100%;
  height: auto;
  border-radius: 0.5rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

#galeria img:hover {
  transform: scale(1.02);
}

/* ============================
   Pie de página fijo
   ============================ */
footer.footer {
  position: fixed;
  bottom: 0;
  width: 100%;
  background-color: var(--azul-principal);
  color: var(--blanco);
  padding: 0.75rem 0;
  text-align: center;
  z-index: 1000;
  font-family: var(--fuente-principal);
}

/* ============================
   Formulario de contacto
   ============================ */
#contacto iframe {
  width: 100%;
  border: none;
  border-radius: 10px;
  height: 300px;
}

/* ============================
   Botones personalizados
   ============================ */
.btn-custom {
  background-color: var(--azul-principal);
  color: white;
  border: none;
  padding: 0.6rem 1.2rem;
  font-family: var(--fuente-principal);
  border-radius: 0.4rem;
  transition: background-color 0.3s ease;
}

.btn-custom:hover {
  background-color: #001f3f;
  color: white;
}

/* ============================
   Navbar personalizada
   ============================ */
.navbar-custom {
  background-color: var(--azul-principal);
}

.navbar-custom .navbar-brand,
.navbar-custom .nav-link {
  color: var(--blanco) !important;
  font-family: var(--fuente-principal);
  font-weight: 500;
}

.navbar-custom .nav-link:hover {
  color: var(--azul-claro) !important;
}

/* ============================
   Responsive
   ============================ */
@media (max-width: 768px) {
  header.hero {
    height: 60vh;
  }

  header.hero h1 {
    font-size: 2rem;
  }

  .servicios i {
    font-size: 2.5rem;
  }
}
