/* Asegura que no haya scroll horizontal ni márgenes inesperados */
body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

/* Contenedor principal de la sección parallax + contacto */
.parallax-contact-section {
  width: 100vw;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
}

/* Columna izquierda: imagen con parallax */
.col-img-parallax {
  flex-basis: 80%;
  min-height: 600px;
  position: relative;
  overflow: hidden;
}

/* Imagen de fondo con efecto parallax */
.fondo-parallax {
  background-image: url('/img/galeria/galerias/Generales/Parallax.jpg'); /* ← ajusta si es necesario */
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  height: 100%;
  width: 100%;
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 0;
}

/* Capa oscura encima de la imagen */
.overlay-dark {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: rgba(0, 0, 0, 0.8); /* 80% negro */
  z-index: 1;
}

/* Texto y contenido encima del fondo oscuro */
.z-2 {
  z-index: 2;
}

/* Columna derecha: tarjeta de contacto */
.col-contacto {
  flex-basis: 20%;
  background-color: #f8f9fa;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 600px;
}
.card img {
  max-height: 250px;
  object-fit: contain;
}
@media (max-width: 768px) {
  .col-img-parallax,
  .col-contacto {
    flex-basis: 100%;
    width: 100%;
  }
}

.navbar .nav-link {
  color: #333;
  font-weight: 500;
}

.navbar .nav-link.active {
  font-weight: bold;
  color: #000;
}


.card {
  border: none;
  transition: transform 0.3s ease;
  background-color: #fff;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 20px rgba(0, 0, 0, 0.1);
}

.card-header button {
  font-size: 1.1rem;
}

.card-body p {
  font-size: 0.95rem;
  color: #444;
}

.estrella {
  font-size: 1.5rem;
  color: gray;
  cursor: pointer;
}
.estrella.seleccionada {
  color: gold;
}

#estrellas-container .estrella {
  cursor: pointer;
  color: gray;
  transition: color 0.3s;
  margin: 0 4px;
}

#estrellas-container .estrella.seleccionada,
#estrellas-container .estrella:hover,
#estrellas-container .estrella:hover ~ .estrella {
  color: gold;
}