/* ===========================
   VARIABLES DE COLOR
=========================== */
:root {
  --color-primario: #007bff;
  --color-primario-claro: #3399ff;
  --color-primario-oscuro: #0056b3;
  --color-secundario: #f4f4f4;
  --color-secundario-oscuro: #e0e0e0;
  --color-acento: #25d366;
  --color-acento-oscuro: #128c7e;
  --color-texto-principal: #333333;
  --color-texto-secundario: #555555;
  --color-fondo: #ffffff;
  --color-footer: #333333;
  --color-footer-texto: #ffffff;
}

/* ===========================
   BODY Y TIPOGRAFÍA
=========================== */
body {
  background-color: var(--color-secundario);
  color: var(--color-texto-principal);
  font-family: 'Arial', sans-serif;
}
img {
  -webkit-user-drag: none;  /* Chrome, Safari, Opera */
  -khtml-user-drag: none;   /* Konqueror */
  -moz-user-drag: none;     /* Firefox */
  -o-user-drag: none;
  pointer-events: none;     /* Evita interacción directa */
}
body {
  -webkit-touch-callout: none; /* iOS Safari */
  -webkit-user-select: none;   /* Chrome/Safari/Opera */
  -khtml-user-select: none;
  -moz-user-select: none;      /* Firefox */
  -ms-user-select: none;       /* IE/Edge */
  user-select: none;
}

/* ===========================
   NAVBAR
=========================== */
/* Evita que la navbar bloquee los clics del carrusel */
.navbar {
  z-index: 1030;
}

#heroCarousel {
  z-index: 1;
  position: relative;
}

.navbar {
  background-color: rgba(255,255,255,0.95);
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
  padding: 0.8rem 1rem;
  transition: all 0.3s ease-in-out;
}

.navbar-nav .nav-link {
  color: var(--color-primario);
  font-weight: 500;
  transition: color 0.3s;
}

.navbar-nav .nav-link:hover {
  color: var(--color-primario-oscuro);
}

.navbar-brand span {
  color: var(--color-primario);
  font-weight: bold;
}

.btn-primary {
  background-color: var(--color-primario);
  border-color: var(--color-primario);
  box-shadow: 0 4px 12px rgba(0,123,255,0.4);
  transition: all 0.3s;
}

.btn-primary:hover {
  background-color: var(--color-primario-oscuro);
  border-color: var(--color-primario-oscuro);
  box-shadow: 0 6px 16px rgba(0,123,255,0.5);
}

#hero .carousel-item {
  display: flex;
  justify-content: center;
  align-items: center;
}

#hero .carousel-item::after {
  font-size: 1.5rem;
  font-weight: bold;
}

/* ===========================
   HERO / CAROUSEL
=========================== */
#hero .carousel-inner img {
  height: 50vh;
  min-height: 400px;
  max-height: 800px;
  width: 100%;
  object-fit: cover;
  filter: brightness(0.85);
  user-select: none;
  /* pointer-events: none;  <-- quitar esta línea */
}
.hero {
  background: url('img/adultam.jpg') center/cover no-repeat;
  height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
} 
#hero .carousel-caption {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(5px);
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}

#hero .carousel-caption h1 {
  color: var(--color-primario);
  text-shadow: 2px 2px 8px rgba(0,0,0,0.5);
}

#hero .carousel-caption h1 span {
  color: var(--color-primario-claro);
}
/* ===========================
   HEADER MODALES
=========================== */
.modal-header {
  background: linear-gradient(90deg, var(--color-primario-claro), var(--color-primario));
  color: #ffffff;
  border-bottom: 2px solid var(--color-primario-oscuro);
  padding: 1rem 1.5rem;
  border-top-left-radius: 0.5rem;
  border-top-right-radius: 0.5rem;
}

.modal-header .modal-title {
  font-size: 1.3rem;
  font-weight: 600;
  display: flex;
  align-items: center;
}

.modal-header .modal-title i {
  margin-right: 0.5rem;
  font-size: 1.4rem;
}

.modal-header .btn-close {
  filter: brightness(1.2);
  width: 1.2rem;
  height: 1.2rem;
}


/* ===========================
   SECCIONES
=========================== */
section { padding: 4rem 0; }

#promociones .card, #servicios .p-3 {
  transition: transform 0.3s, box-shadow 0.3s;
}

#promociones .card:hover, #servicios .p-3:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}


/* ===========================
   FORMULARIO CONTACTO
=========================== */
.shadow-form {
  border-radius: 12px;
  background-color: #fff;
  padding: 30px;
  border: 2px solid rgba(0,0,0,0.2);
  box-shadow: 0 8px 24px rgba(0,0,0,0.35);
  transition: transform 0.3s, box-shadow 0.3s;
}

.shadow-form:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.45);
}

#contacto input,
#contacto textarea {
  border-radius: 8px;
  border: 1px solid #ccc;
  padding: 12px;
  transition: all 0.3s;
}

#contacto input:focus,
#contacto textarea:focus {
  border-color: var(--color-primario);
  box-shadow: 0 0 8px rgba(0,123,255,0.3);
  outline: none;
}

#contacto button {
  border-radius: 8px;
  transition: all 0.3s;
}

#contacto button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0,123,255,0.4);
}

/* ===========================
   FOOTER
=========================== */
footer {
  background-color: var(--color-footer);
  color: var(--color-footer-texto);
}

footer a {
  color: var(--color-primario);
}

footer a:hover {
  color: var(--color-primario-oscuro);
  text-decoration: none;
}


/* ===========================
   BOTÓN WHATSAPP
=========================== */
.whatsapp-float {
  position: fixed;
  bottom: 25px;
  right: 25px;
  background-color: var(--color-acento);
  color: #fff;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  box-shadow: 0 4px 6px rgba(0,0,0,0.2);
  transition: all 0.3s;
}

.whatsapp-float:hover {
  background-color: var(--color-acento-oscuro);
  transform: scale(1.1);
}

.whatsapp-float img {
  width: 35px;
  height: 35px;
}
.reserva-float {
  position: fixed;
  bottom: 90px; /* encima del WhatsApp */
  right: 25px;
  background-color: #28a745; /* verde */
  color: #fff;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  box-shadow: 0 4px 6px rgba(0,0,0,0.2);
  transition: transform 0.3s;
}
.reserva-float:hover {
  transform: scale(1.1);
  background-color: #218838; /* verde más oscuro al pasar el mouse */
}
/* ===========================
   MAPA
=========================== */
#mapa iframe {
  border-radius: 8px;
}

/* ===========================
   RESPONSIVE
=========================== */
@media (max-width: 768px) {
  #hero .carousel-caption h1 { font-size: 1.8rem; }
  .navbar .btn-primary { font-size: 0.9rem; padding: 0.4rem 0.8rem; }
}
/* --- FIX: Carrusel clickeable --- */
header#hero {
  position: relative;
  z-index: 1;
  margin-top: 90px;
}

#heroCarousel {
  position: relative;
  z-index: 1;
}

.carousel-control-prev,
.carousel-control-next,
.carousel-indicators button {
  pointer-events: auto !important;
  z-index: 2;
}

