.footer-dark {
  background: linear-gradient(180deg, #0E0E0E 0%, #111 100%);
  color: #ccc;
  font-family: 'Manrope', sans-serif;
  position: relative;
}

/* ==== CUADRO SUPERIOR ==== */
.footer-contact-box {
  background-color: #16213E;
  border-radius: 6px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.4);
  padding: 2rem 2rem;
  position: relative;
  top: -40px;
  z-index: 2;
}
.footer-icon {
  width: 55px;
  height: 55px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #C5A047;
  font-size: 22px;
}
.footer-contact-box h6 {
  color: #fff;
  font-weight: 700;
}
.footer-contact-box a:hover {
  color: #C5A047 !important;
}

/* ==== SECCIÓN PRINCIPAL ==== */
.text-gold { color: #C5A047; }
.border-gold { border-color: #C5A047 !important; }
.social-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(197,160,71,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #C5A047;
  transition: all .3s;
}
.social-icon:hover {
  background: #C5A047;
  color: #111;
}

/* ==== RESPONSIVE ==== */
@media (max-width: 768px){
  .footer-contact-box { top: -20px; padding: 1.5rem; text-align: center; }
  .footer-icon { margin-bottom: .5rem; }
  .footer-main { text-align: center; }
  .footer-main img { margin: 0 auto; }
}


/* ==== BOTÓN FLOTANTE VOLVER ARRIBA ==== */
.btn-top {
  position: fixed;
  bottom: 25px;
  right: 25px;
  width: 45px;
  height: 45px;
  border: none;
  border-radius: 50%;
  background: #C5A047;
  color: #111;
  font-size: 18px;
  display: none;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(0,0,0,0.4);
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 999;
}
.btn-top:hover {
  background: #e6c670;
  color: #000;
  transform: translateY(-3px);
}
.btn-top.show {
  display: flex;
  animation: fadeIn .4s ease-in;
}

@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.8); }
  to { opacity: 1; transform: scale(1); }
}

/* === LIGHTBOX PERSONALIZADO === */
.lightbox-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,.95);
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  z-index: 9999;
  padding: 1rem;
  overflow-y: auto;
}
.lightbox-content {
  position: relative;
  width: 70%;
  max-width: 1000px;
  text-align: center;
}
.lightbox-close {
  position: absolute;
  top: -10px; right: -10px;
  background: #fff;
  color: #000;
  font-size: 24px;
  border: none;
  border-radius: 50%;
  width: 40px; height: 40px;
  cursor: pointer;
  z-index: 10;
}
.lightbox-main {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}
.lightbox-main img,
.lightbox-main video {
  max-width: 100%;
  max-height: 70vh;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(255,255,255,.3);
}
.lightbox-prev,
.lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.2);
  border: none;
  color: white;
  font-size: 20px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  transition: 0.3s;
}
.lightbox-prev:hover,
.lightbox-next:hover {
  background: rgba(255,255,255,0.5);
  color: black;
}
.lightbox-prev { left: -70px; }
.lightbox-next { right: -70px; }

.lightbox-thumbs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 15px;
}
.lightbox-thumbs img,
.lightbox-thumbs video {
  width: 80px;
  height: 60px;
  object-fit: cover;
  border: 2px solid transparent;
  border-radius: 6px;
  cursor: pointer;
  transition: 0.3s;
  opacity: 0.7;
}
.lightbox-thumbs img.active,
.lightbox-thumbs video.active {
  border-color: #c5a047;
  opacity: 1;
  transform: scale(1.05);
}


/* ==== SECCIÓN SERVICIOS ==== */
.servicio-card {
  position: relative;
  height: 240px;
  background-size: cover;
  background-position: center;
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.servicio-card:hover {
  transform: scale(1.03);
}

.servicio-card .overlay {
  position: absolute;
  inset: 0;
  background: rgba(197,160,71,0); /* transparente por defecto */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-align: center;
  padding: 20px;
  transition: background 0.4s ease;
}

.servicio-card:hover .overlay {
  background: rgba(197,160,71,0.85); /* dorado con transparencia */
}

.servicio-card .titulo {
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.servicio-card .descripcion {
  font-size: 0.9rem;
  line-height: 1.4;
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transition: opacity 0.4s ease, max-height 0.4s ease;
}

.servicio-card:hover .descripcion {
  opacity: 1;
  max-height: 120px;
}


/* ==== NOSOTROS ==== */
.gold-divider {
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, #b9933b, #e6c670, #b9933b);
  border-radius: 2px;
}

.text-gold {
  color: #C5A047 !important;
}

.overlay-dorado {
  position: absolute;
  inset: 0;
  background: rgba(197,160,71,0.25);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.position-relative:hover .overlay-dorado {
  opacity: 1;
}

.feature-box {
  background: #f9f9f9;
  border-radius: 10px;
  transition: all 0.3s ease;
}

.feature-box:hover {
  background: #fff;
  box-shadow: 0 4px 15px rgba(0,0,0,0.08);
  transform: translateY(-3px);
}

#nosotros img {
  object-fit: cover;
  width: 100%;
}

/* ==== HERO CAROUSEL ==== */
.hero-carousel {
  height: 100vh;
  min-height: 600px;
  position: relative;
  color: #fff;
}

.parallax-slide {
  height: 100vh;
  background-size: cover;
  background-position: center;
  background-attachment: fixed; /* Efecto parallax */
  transition: transform 1.2s ease-in-out;
  display: flex;
  align-items: center;
}

.carousel-item {
  position: relative;
}

.carousel-item .overlay {
  position: absolute;
  inset: 0;
  background: rgba(14, 14, 14, 0.55);
  /*backdrop-filter: blur(2px);*/
}

.carousel-item.active .overlay {
  animation: fadeOverlay 1.5s ease;
}

@keyframes fadeOverlay {
  from { opacity: 0.2; }
  to { opacity: 1; }
}

/* Texto */
.hero-carousel .container {
  position: relative;
  z-index: 2;
  max-width: 700px;
}

.hero-carousel h1 {
  letter-spacing: 2px;
  text-shadow: 2px 2px 6px rgba(0,0,0,0.3);
}

.hero-carousel p {
  text-shadow: 1px 1px 4px rgba(0,0,0,0.4);
}

.btn-gold {
  background-color: #C5A047;
  border: none;
  color: #fff;
  padding: 10px 25px;
  border-radius: 50px;
  transition: all 0.3s ease;
}

.btn-gold:hover {
  background-color: #b38e3d;
  transform: translateY(-2px);
}

/* Flechas */
.carousel-control-prev-icon,
.carousel-control-next-icon {
  filter: invert(1);
}
.carousel-indicators [data-bs-target] {
  background-color: #c5a047; /* dorado */
  width: 12px;
  height: 12px;
  border-radius: 50%;
  opacity: 0.7;
}

.carousel-indicators .active {
  opacity: 1;
  background-color: #fff; /* blanco o dorado brillante */
}

/* Evita que la navbar tape el carrusel */
#inicio {
  margin-top: -70px; /* ajusta según la altura real de tu navbar */
  position: relative;
}

/* Asegura que los bullets sean visibles */
.carousel-indicators {
  bottom: 20px; /* súbelos o bájalos según necesites */
  z-index: 5;
}

/* Mejora la visibilidad de los bullets */
.carousel-indicators [data-bs-target] {
  background-color: #c5a047;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  opacity: 0.7;
}

.carousel-indicators .active {
  opacity: 1;
  background-color: #fff;
}



