html,
body {
  height: 100%;
  margin: 0;
  padding: 0;
  overflow-x: hidden; /* Elimina el scroll horizontal */
}

body {
  font-family: "Montserrat", sans-serif;
  min-height: 100vh;
  background-color: #fafafa;
  color: #000;
  display: flex;
  flex-direction: column;
}
.main {
  flex: 1;
}

header,.galeria-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  position: sticky; /* Cambia a absolute para que se superponga */
  width: 100%;
  color: white;
  box-sizing: border-box; /* Para que el padding no afecte el tamaño */
  z-index: 10; /* Asegúrate de que esté por encima del carrusel */
  background: transparent; /* Asegúrate de que no haya fondo */
}

.text-left{
  margin: 2rem 0 1rem 0;
  line-height: 1.5;
  padding-inline: 10px;
  text-align: justify;
  font-weight: 200;
}

footer {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  padding: 20px;
  color: #000;
  box-sizing: border-box;
}
footer h2 {
  color: #dd1417;
  font-size: 1.3em;
  font-weight: 600;
}

footer p {
  font-weight: 200;
}

.social-icons {
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
  flex: 1;
}

.social-icons i {
  font-size: 24px;
  margin-left: 10px;
  color: #dd1417;
}

.social-icons i:hover {
  color: #000;

}

.social-icons a {
  text-decoration: none;
  color: #000;
}

.logo {
  cursor: pointer; /* Cambiar el cursor al pasar por encima */
  flex-shrink: 0; /* Evitar que el logo se reduzca */
}

.logo i {
  font-size: 24px;
  color: #dd1417;
  cursor: pointer; /* Cambiar el cursor al pasar por encima */
}
.titulo{
  display: flex;
  align-items: baseline; /* Alinea verticalmente */
  gap: 10px; /* Espacio entre h1 y h3 */
  flex-wrap: wrap; /* Para que se acomode en móviles */
}
h1 {
  font-size: 2em;
  font-weight: normal;
  margin: 0;
  color: #dd1417;
}
h4{
  font-weight: normal;
  margin: 0;
  color: #dd1417;
}
.galeria-back-link {
  text-decoration: none;
  color: #007bff;
  font-weight: bold;
}



/* === MENÚ FULLSCREEN === */
.fullscreen-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.9);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.fullscreen-menu.show {
  opacity: 1;
  visibility: visible;
}

.close-menu {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  font-size: 30px;
  color: #dd1417;
  cursor: pointer;
}

.menu_svg {
  max-width: 90%;
  max-height: 90%;
  width: auto;
  height: auto;
}


.menu_link{
  color: #dd1417;
}

/* Estilo para el menú cuando se hace visible */
.fullscreen-menu.show {
  display: flex;
}


@media (max-width: 768px) {
  .titulo {
    flex-direction: column;
    align-items: flex-start;
  }
    h1{
    font-size: 1.5em;

  }
}

.card-img{
  border-radius: 0%;
}

.card{
--bs-card-bg:none;
border-radius:0%;
--bs-card-border-color:none!important;
}

@media (prefers-reduced-motion: no-preference) {
    .slider-nav-animation.slider-nav-animation-fadein .slider-container>*>* {
        opacity: 1!important;
    }
  }

  /* #slider-container {
  display: flex;
  flex-direction: column;
  gap: 1rem; 
  padding: 0;
  list-style: none;
} */

.lead{
  font-size: 0.75em!important;
  font-weight: 200!important;
  line-height: 1.5!important;
  text-align: justify;
}


.card-title{
  margin-top: var(--bs-card-title-spacer-y);
}

.texto-ampliado-scroll {
  font-size: 0.75em!important;
  font-weight: 200!important;
  line-height: 1.6!important;
  max-height: 50vh; /* ajustá según lo que quieras mostrar */
  overflow-y: auto;
  padding-right: 1rem;
  padding-left: 0.25rem;
}

/* Para mejorar estética del scroll en navegadores que lo soporten */
.texto-ampliado-scroll::-webkit-scrollbar {
  width: 6px;
}
.texto-ampliado-scroll::-webkit-scrollbar-thumb {
  background-color: rgba(0,0,0,0.3);
  border-radius: 3px;
}
.modal-footer{
  font-size: 0.75em!important;
}

.modal-footer p{
  margin-bottom:0.5em;
}

/* puntitos slides: */
.indicator-dot {
  width: 12px;
  height: 12px;
  background-color: #ccc;
  border-radius: 50%;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.indicator-dot.active {
  background-color: #df1e1e; /* rojo que usás en tu diseño */
}

.modal-title{
  color: #dd1417;
}
.titulo h1, .titulo h4 {
  opacity: 0;
    animation: fadeInText 1.5s ease-out forwards;
}

.titulo h4 {
  animation-delay: 0.4s;
}

@keyframes fadeInText {
  to {
    opacity: 1;
  }
}

/* ==== FIX FOOTER EN MOBILE ==== */

/* Footer siempre pegado al borde visible real del viewport */
footer {
  position: fixed;
  bottom: max(0px, env(safe-area-inset-bottom)); /* respeta el notch o barra del sistema */
  right: max(0px, env(safe-area-inset-right));
  left: max(0px, env(safe-area-inset-left));
  width: 100%;
  background: transparent;
  z-index: 12;
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
  padding: 20px;
}

/* Ajuste para pantallas pequeñas */
@media (max-width: 768px) {
  footer {
    padding-bottom: calc(10px + env(safe-area-inset-bottom));
  }
}


/* Base del SVG como en las otras secciones */
#fullscreen-menu .menu_svg {
  font-size: 0.8rem; /* esto hace que 2em = 1.6rem, igual que en las otras */
}

/* Texto del menú, con más especificidad para vencer atributos inline */
#fullscreen-menu .menu_svg text {
  font-size: 2em !important;
  fill: #dd1417 !important;
  font-family: "Montserrat", sans-serif !important;
  text-anchor: middle;
  transition: transform 0.3s ease, fill 0.3s ease;
}


/* Cursor mano al pasar */
#fullscreen-menu .menu_svg a text {
  cursor: pointer;
}
/* === HOVER SUAVE EN TEXTOS DEL MENÚ === */
#fullscreen-menu .menu_svg a text {
  transition: fill 0.3s ease;
}

