/* Fondo general */
body {
  margin: 0;
  padding: 0;
  font-family: 'Segoe UI', sans-serif;
  background: url('../img/palmasola.jpg') no-repeat center center fixed;
  background-size: cover;
}

/* Navbar */
.navbar-custom {
  background-color: #198754;
  padding: 10px 0;
}

.navbar-custom .navbar-brand,
.navbar-custom .nav-link {
  color: #fff;
  font-weight: bold;
}

/* HERO - Parte superior con fondo semioscuro */
.hero-section {
  background: rgba(0, 0, 0, 0.55); /* oscurecimiento elegante */
  padding: 120px 20px 80px 20px;
  text-align: center;
  color: white;
  text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.7);
}

.hero-section h1 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.hero-section p {
  font-size: 1.3rem;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.6);
}

/* Sección principal inferior con fondo blanco semitransparente */
.main-section,
section.container.py-5 {
  background: rgba(255, 255, 255, 0.85);
  padding: 60px 20px;
  border-top-left-radius: 30px;
  border-top-right-radius: 30px;
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.1);
  margin-top: -30px;
  margin-bottom: 0;
}

/* Cards */
.card {
  border: none;
  background: white;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  border-radius: 1rem;
  transition: all 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
}

.card img {
  width: 120px;
  height: 120px;
  object-fit: cover;
  margin: 20px auto 0;
  border-radius: 50%;
  border: 4px solid #dee2e6;
}

.card-title {
  font-weight: 600;
  font-size: 1.2rem;
}

.card-text {
  font-size: 0.95rem;
  color: #6c757d;
}

/* Footer */
.footer {
  background: rgba(0, 0, 0, 0.8);
  color: #f8f9fa;
  padding: 40px 0;
  margin-top: 0;
}

.footer a {
  color: #ffc107;
  text-decoration: none;
}

.footer a:hover {
  text-decoration: underline;
}

/* Botón subir */
.button-up {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: #198754;
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  z-index: 999;
  transition: background 0.3s;
}

.button-up:hover {
  background: #157347;
}

/* Modal */
.modal-content ul {
  padding-left: 1.2rem;
}

.modal-content ul li {
  margin-bottom: 5px;
}
