/* RESET GENERAL */
html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
  display: block;
}

body {
  line-height: 1;
  font-family: 'Montserrat', sans-serif;
  background-color: #f5f5f5;
  color: #333;
}

ol,
ul {
  list-style: none;
}

blockquote,
q {
  quotes: none;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
  content: '';
  content: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

/* EVITAR SCROLL HORIZONTAL GLOBAL */
html, body {
  overflow-x: hidden;
}

/* Ajustes Mobile */
@media (max-width: 576px) {

  /* Hero */
  .hero-content {
    margin: 1rem !important;
  }

  /* Evitar desbordamiento de columnas */
  .col-lg-6 {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }

  /* Video wrapper */
  .px-5 {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }

  /* Galería */
  .galeria-content {
    padding: 1.5rem !important;
  }

  /* Sección horarios */
  #Horario .container {
    padding: 1.5rem !important;
  }

  /* Sección contacto */
  .contacto-info {
    padding: 1.5rem !important;
  }
}


/* ===== TABLET (768px a 1023px) ===== */
@media (max-width: 1023px) {
  h1 {
    font-size: 2.4rem !important;
  }

  /* 38px */
  h2 {
    font-size: 1.9rem !important;
  }

  /* 30px */
  h3 {
    font-size: 1.5rem !important;
  }

  /* 24px */
  p {
    font-size: 1rem !important;
  }

  /* 16px */
}

/* ===== MOBILE (≤ 767px) ===== */
@media (max-width: 767px) {
  h1 {
    font-size: 1.9rem !important;
  }

  /* 30px */
  h2 {
    font-size: 1.5rem !important;
  }

  /* 24px */
  h3 {
    font-size: 1.25rem !important;
  }

  /* 20px */
  p {
    font-size: 0.95rem !important;
  }

  /* 15px */
  .pulso-rojo-intenso{
    font-size: 15px !important;
  }

  .extracto{
    font-size: 11px !important;
  }
}

/* ===== SMALL MOBILE (≤ 480px) ===== */
@media (max-width: 480px) {
  h1 {
    font-size: 1.6rem !important;
  }

  /* 25px */
  h2 {
    font-size: 1.3rem !important;
  }

  /* 21px */
  h3 {
    font-size: 1.1rem !important;
  }

  /* 18px */
  p {
    font-size: 0.9rem !important;
  }

  /* 14px */
}


/* NAVBAR */
.navbar {
  background-color: #010973fc;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

img.custom-logo {
  max-height: 12vh;
  /* controla la altura máxima */
  width: auto;
  /* mantiene proporción */
  height: auto;
  /* asegura que no se deforme */
  display: inline-block;
  /* evita que se expanda al 100% */
  vertical-align: middle;
  /* alinea con el contenido del navbar */
  margin: 0rem 1rem;
}


/* Enlaces del menú */

a {
  color: #fff;
  text-decoration: none;
}

a:hover {
  color: #d32f2f;
  text-decoration: none;
}

a:visited {
  color: white;
  text-decoration: none;
}

a:visited:hover {
  color: #d32f2f;
  text-decoration: none;
}

.navbar-nav .nav-link,
.navbar-nav .nav-link:visited {
  color: #fff !important;
  text-decoration: none !important;
  background: none !important;
  font-weight: 600;
  position: relative;
  display: inline-block;
  padding-bottom: 8px;
  transition: color 0.3s ease;
}

/* Hover rojo */
.navbar-nav .nav-link:hover {
  color: #d32f2f;
}

/* Active rojo */
.navbar-nav .nav-link.active,
.navbar-nav .nav-link.show {
  color: #f83c3c;
}

/* Línea animada debajo del texto */
.navbar-nav .nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background-color: #d32f2f;
  transition: width 0.3s ease;
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
  width: 100%;
}

/* Botón Reservar Hora */
.btn-danger {
  background-color: #d32f2f;
  border: none;
  padding: 0.5rem 1rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 5px;
  transition: background-color 0.3s ease;
}

.btn-danger:hover {
  background-color: #b71c1c;
}

a:visited:hover.btn-danger:hover {
  color: #e9e9e9;
}

/* Animación pulso */
@keyframes pulso-rojo-intenso {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 0, 0, 0.8), 0 0 10px rgba(255, 0, 0, 0.6);
  }

  50% {
    box-shadow: 0 0 0 15px rgba(255, 0, 0, 0), 0 0 20px rgba(255, 0, 0, 0.8);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(255, 0, 0, 0.8), 0 0 10px rgba(255, 0, 0, 0.6);
  }
}

.pulso-rojo-intenso {
  animation: pulso-rojo-intenso 1.8s ease-out infinite;
}

/* Icono hamburguesa */
.navbar-toggler-icon {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='white' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

button.navbar-toggler {
  color: transparent;
}


/* HERO SECTION */
.hero {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  width: 100%;
  height: 60vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}


/* Filtro azul */
.hero-filter {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 128, 0.4);
  /* Azul con transparencia */
  z-index: 1;
  pointer-events: none;
}

/* Contenido encima del filtro */
.hero-content {
  position: relative;
  z-index: 2;
}

.hero-content h1,
.hero-content p,
.btn-reserva {
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.6);
}

/*Nosotros*/
.bg-nosotros {
  background-color: #252140;
  color: white;
}

.nav-pills .nav-link {
  font-weight: 600;
  color: white;
  border-radius: 0;
  border-bottom: 2px solid transparent;
}

.nav-pills .nav-link.active {
  color: #d32f2f;
  background-color: transparent;
  border-bottom: 2px solid #d32f2f;
}

@keyframes fadeInSimple {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.tab-pane.fade.show.active {
  animation: fadeInSimple 0.5s ease;
}


/* Servicios */
.servicio-card {
  background-color: #252140;
  color: #ffffff;
  border-radius: 1rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  transition: transform 0.6s ease, box-shadow 0.6s ease;
}

.servicio-card .card-title,
.servicio-card .card-text {
  color: #ffffff;
}

.servicio-card .btn-primary {
  background-color: #ffffff;
  color: #252140;
  border: none;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.servicio-card .btn-primary:hover {
  background-color: #e0e0e0;
  color: #252140;
}

.icono-servicio {
  width: 80px;
  margin: 1rem auto 0;
  filter: invert();
}

.modal-content {
  background-color: #252140;
}

/*Horario de atención*/
.bg-morado {
  background-color: #252140;
  /* Ajusta el tono si lo deseas */
}

/*Galeria*/

/* Fondo de la galería */
#Galeria .galeria-fondo {
  background-size: cover;
  background-position: center;
  position: relative;
}


/* Filtro azul*/
#Galeria .galeria-filter {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #0000809f;
  z-index: 1;
}

#Galeria img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 8px;
  padding: 5px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Contenido encima */
#Galeria .galeria-content {
  position: relative;
  z-index: 2;
}

/*Contacto*/
#contacto h5 {
  font-weight: 600;
}

#contacto p {
  font-size: 1rem;
  color: #333;
}

#contacto i {
  color: #252140;
}

.fa-icon {
  transition: color 0.3s ease;
}

.fa-icon:hover {
  color: #d32f2f;
}

/*Testimonio*/
#testimonios img {
  width: 120px;
  height: 120px;
  object-fit: cover;
}

.card-morado {
  background-color: #252140;
}


/* FOOTER */
footer {
  background-color: #000;
  color: #fff;
  font-size: 0.9rem;
}


/*Testing*/

body {
  overflow-x: hidden;
}

/* Mantener altura constante en el contenedor de pestañas */
#aboutTabContent {
  display: flex;
  flex-direction: column;
  min-height: 400px;
  /* Ajusta según el contenido más largo */
  justify-content: start;
}

/* Asegura que cada tab-pane ocupe todo el alto disponible */
#aboutTabContent .tab-pane {
  flex: 1;
  display: none;
  /* Oculta por defecto */
}

#aboutTabContent .tab-pane.show.active {
  display: block;
  /* Solo muestra la activa */
}

/* Botón flotante de WhatsApp */
#whatsapp-btn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 60px;
  height: 60px;
  background-color: #25d366;
  color: #fff;
  border-radius: 50%;
  text-align: center;
  font-size: 30px;
  box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
  z-index: 9999;
  transition: transform 0.3s ease;
}

#whatsapp-btn i {
  line-height: 60px;
}

/* Animación al hacer hover */
#whatsapp-btn:hover {
  background-color: #20ba5a;
  animation: pulse 0.6s infinite;
}

@keyframes pulso-verde-intenso {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.8), 0 0 10px rgba(37, 211, 102, 0.6);
  }

  50% {
    box-shadow: 0 0 0 15px rgba(37, 211, 102, 0), 0 0 20px rgba(37, 211, 102, 0.8);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.8), 0 0 10px rgba(37, 211, 102, 0.6);
  }
}

.pulso-verde-intenso {
  animation: pulso-verde-intenso 1.8s ease-out infinite;
}

/* Fin botón flotante de WhatsApp */

.post,
.page {
  margin: 0 !important;
  /* elimina el margen inferior */
}

/*Fondo Video*/
.video-wrapper {
  position: relative;
  cursor: pointer;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.video-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  border-radius: 8px;
}

.play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 70px;
  height: 70px;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.4);
}

.play-btn::after {
  content: '';
  position: absolute;
  left: 28px;
  top: 20px;
  border-style: solid;
  border-width: 15px 0 15px 25px;
  border-color: transparent transparent transparent #000;
}