html {
  scroll-behavior: smooth;
  overflow-y: scroll;
}

.hohle-background-black{
    background-color: black;
}.hohle-background-gray{
  background-color: #1C1C1C;
}

.hohle-footer{
  position: sticky;
  z-index: 6;
}

.hohle-header {
  position: sticky;
  top: 0;
  transition: top 0.3s ease-in-out;
  z-index: 1000;
  overflow-x: hidden;
}
.hohle-header.hidden {
  top: -100px;
}

.hohle-separator {
  position: absolute;
  width: 100%;
  height: 4px;
  background-color: black;
  border: 1px solid black;
  transform: scaleY(0.5); /* Reduce la altura del borde */
}

/* estilos carrusel de imagenes */
.carousel-container { position: relative; overflow: hidden;}
.carousel { display: flex; transition: transform 0.5s ease-in-out; }
.carousel img { object-fit: cover; }
.controls { position: absolute; bottom: 10px; right: 10px; background: rgba(0, 0, 0, 0.5); padding: 10px; display: flex; gap: 80px; }
.controls button { background: white; border: none; padding: 5px 10px; cursor: pointer; border-radius: 5px; }
.pagination { position: absolute; bottom: 15px; left: 50%; transform: translateX(-50%); display: flex; gap: 5px; }
.pagination div { width: 10px; height: 10px; background: white; border-radius: 50%; opacity: 0.5; cursor: pointer; }
.pagination .active { opacity: 1; }

/* Importar fuente Aptos propia de höhle */
@font-face {
  font-family: 'Aptos';
  src: url('../../app/Models/APTOS/Aptos.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

.seccion-cueva{
    background-color: white;
    display:block;
    margin:0;
}

.container-home {
    position: relative;
    width: 40vh;
    height: 60vh;
    padding-left: 15%;
}

.hohle-carousel-item{
  width: 100%;

  object-fit: cover; 
  object-position: center; 
}

@media(max-width:450px){
  .container-home{
    padding-left: 2%;
  }
}
/* Imagenes para presentaciones implicados */
.hohle-ours-present{
  z-index: 3;
  position: absolute;
  width: 270px;
  height: 270px;
  filter: invert(100%);
  margin-left: -12%;
}
.hohle-ours-person{
  z-index: 4;
  display: block;
  position: absolute;
  width: 180px;
  height: 190px;
  margin-top: -10%;
  border: 2px solid black;
}

.hohle {
  width: 100px; /* Tamaño del logo en la barra */
  height: 90px;
  top: 10px;
  left: 20px;
  transform: none;
  z-index: 9999;
}

/* ANIMACIONES */
/* Animacion para las imagenes en 2x2 servicios */
.fade-in {
  opacity: 0;
  transform: scale(0.8);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in.visible {
  opacity: 1;
  transform: scale(1);
}
/* Animacion para el carrusel de imagenes */
.carousel-item {
  animation-duration: 1s;
  animation-name: fadeIn;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}



/* Animacion para la imagen del inicio */
.hohle-inicio {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: auto;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  align-self: center;
  align-content: center;
  z-index: 1000;
  transition: all 1.5s ease-in-out;
}

/* Estado final: Logo en la barra de navegación */
.hohle-inicio.shrink {
  width: auto; /* Tamaño del logo en la barra */
  height: 80px;
  top: 11px;
  left: 20px;
  transform: none;
}


/* Animaciones quienes somos */
.image-container {
  opacity: 0; 
  transform: translateY(20px); 
  animation: fadeInUp 1s ease-in-out forwards; 
}


.image-container:nth-child(1) {
  animation-delay: 0.3s; 
}

.image-container:nth-child(2) {
  animation-delay: 0.6s; 
}

/* Animacion imagen principal */
.background-image {
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('../../public/images/Render-1.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0; /* Inicialmente invisible */
  transform: translateY(50px); /* Comienza desplazado */
  transition: opacity 2s ease-in-out, transform 2s ease-in-out;
}

/* Cuando se activa la animación */
.show-background {
  background-color: black; /* Cambia el fondo */
}

.show-background .background-image {
  opacity: 1; /* Hace visible la imagen */
  transform: translateY(0); /* Vuelve a su posición original */
}

/* Animaciones barras de navegacion */

.hohle-header , .hohle-footer {
  opacity: 0; 
  transform: translateY(-20px); 
  animation: fadeInUp 1s ease-in-out forwards; 
}


.hohle.header, .hohle-footer:nth-child(1) {
  animation-delay: 0.3s; 
}

.hohle-header, .hohle-footer:nth-child(2) {
  animation-delay: 0.6s; 
}

@keyframes fadeInUp {
  0% {
      opacity: 0;
      transform: translateY(20px); 
  }
  100% {
      opacity: 1;
      transform: translateY(0); 
  }
}


/* Tamaños de fuente */
.big{
  font-size: 40px;
}

/* Fuentes de Höhle */
.smooch-sans-hohle-white{
    font-family:"Aptos" , sans-serif;
    font-optical-sizing: auto;
    color: white;
    font-weight: 100;
    font-style: normal;
    font-size: auto;
}

.smooch-sans-hohle-black{
  font-family:"Aptos" , sans-serif;
  font-optical-sizing: auto;
  color: black;
  font-weight: 100;
  font-style: normal;
  font-size: auto;
}.smooch-sans-hohle-black-person{
  z-index: 5;
  font-family:"Aptos" , sans-serif;
  position: relative;
  text-align: left; 
  margin-left: auto; 
  display: block;
  font-optical-sizing: auto;
  color: black;
  font-weight: 100;
  font-style: normal;
  font-size: large;
  margin-top: 18%;
  margin-left: 50%;
  margin-right: 20%;
}

@media (max-width: 900px) {
  .image-container{
    margin-bottom: 20%;
    margin-top: 20%;
    
  }
  
  @media (max-width: 1000px) {
    .hohle-inicio{
        display:flex;
        justify-content: center;
        margin-left:-28%
    }
  }
  
  .smooch-sans-hohle-black-person{
    font-size: small;
    margin-top: 45%;
    margin-left: 51%;
    margin-right: 6%;
  }
  }
 
 @media (max-width: 800px){
    .hohle-carousel-item img{
        max-width: 250%;
        margin-left:-70%;
        
    }
 } 

  @media (max-width: 450px) {
    .image-container{
      margin-bottom: 20%;
      margin-top: 20%;
      
    }
    .smooch-sans-hohle-black-person{
      font-size: small;
      margin-top: 46%;
      margin-left: 51%;
      margin-right: 2%;
    }
    }

.smooch-sans-hohle-beige{
  font-family:"Aptos" , sans-serif;
  font-optical-sizing: auto;
  color: #CEBBA0;
  font-weight: 100;
  font-style: normal;
  font-size: auto;
}

.smooch-sans-hohle-coffee{
  font-family:"Aptos" , sans-serif;
  font-optical-sizing: auto;
  color: #77583C;
  font-weight: 100;
  font-style: normal;
  font-size: auto;
}.smooch-sans-hohle-coffee-person{
  z-index: 5;
  position: relative;
  text-align: left; 
  margin-left: auto; 
  display: block;
  font-family:"Aptos" , sans-serif;
  font-optical-sizing: auto;
  color: #77583C;
  font-weight: 100;
  font-style: normal;
  font-size: larger;
  margin-left: 30%;
  margin-right: 30%;
}

.smooch-sans-hohle-coffee-white{
  font-family:"Aptos" , sans-serif;
  font-optical-sizing: auto;
  color: #9A765E;
  font-weight: 100;
  font-style: normal;
  font-size: auto;
}

.hohle-image-container-office{
  filter:grayscale(100%);
}
.hohle-image-container-office:hover{
  filter: none;
}


/* Animaciones de Texto */

/* texto aparece de izquierda a derecha */
.hohle-text-leftToRight{
  font-weight: bold;
  opacity: 0;
  transform: translateX(-100%);
  animation: slideIn 1.5s ease-out 1s forwards;
}@keyframes slideIn {
  0% {
    opacity: 0;
    transform: translateX(-100%);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

/* pagindado del carrusel como circulos  */
.carousel-indicators [data-bs-target] {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: gray; /* Puedes cambiar el color */
  opacity: 0.5;
}

/* Estilo para el indicador activo */
.carousel-indicators .active {
  background-color: white;
  opacity: 1;
}

/* Barra de desplazamiento */
::-webkit-scrollbar {
    width: 12px; 
    height: 12px; 
    opacity: 0;
    transition: opacity 0.3s ease; 
  }
  
  ::-webkit-scrollbar-track {
    background: #f0f0f0;
    border-radius: 6px;
  }
  
  
  ::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 6px;
    border: 3px solid #f0f0f0;
  }
  
  ::-webkit-scrollbar-thumb:hover {
    background: #555;
  }
  
  body:hover ::-webkit-scrollbar {
    opacity: 1; 
  
  .scroll-container {
    height: 300px;
    overflow-y: scroll; 
  }
  .scroll-container:hover ::-webkit-scrollbar {
    opacity: 1; 
  }
}