@import url('https://fonts.googleapis.com/css2?family=Raleway:ital,wght@0,100..900;1,100..900&display=swap');
@font-face {
  font-family: HyundaiMedium;
  src: url(/fuentes/HyundaiSansHeadOffice-Medium.ttf);
}

*{
  margin: 0;
  padding: 0;
  font-family: "HyundaiMedium";
}
body{
  overflow: hidden;
  background-color: #000 !important;
}
html {
  scroll-behavior: smooth;
}
h2,h3{
  font-size: 2.5rem !important;
  color: #f47c21 !important;
}
#animacion-intro .intro{
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  z-index: 999;
  transition: 1s;
}
#animacion-intro .intro img{
  top: 0px;
  left: 0px;
  position: absolute;
  height: 100vh;
  width: 100%;
}
#animacion-intro .intro .logo{
  font-size: 2.5rem;
  color: white;
}
#animacion-intro .intro .logo .partes-logo{
  position: relative;
  display: inline-block;
  bottom: -40px;
  opacity: 0;
}
#animacion-intro .intro .logo .partes-logo.active{
  bottom: 0;
  opacity: 1;
  transition: ease-in-out .5s;
}
#animacion-intro .intro .logo .partes-logo.fade{
  bottom: 250px;
  opacity: 0;
  transition: ease-in-out .5s; 
}
/*-------------*/

/* ----------- */
#cabecera{
  background-color: #00000000;
  display: flex;
  position: fixed;
  width: 100%;
  z-index: 900;
}
#cabecera .nav-link.active {
  font-weight: bold;
  color: #ffffff; /* Color cuando el item está activo */
}
  
/*Hero----------------------------------------------------------------------------------*/
#hero{
  display: flex;
  align-items: center;
  text-align: center;
  flex-direction: column;
  height: 100vh;
  overflow: hidden;
  color: white;
  background-repeat: no-repeat;
  background-image: linear-gradient(
    0deg,
    rgba(0, 0, 0, 0.5),    
    rgba(0, 0, 0, 0.5)
  )    
  ,url(/media/galeria/galeria.jpg) ;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  justify-content: center;
}
#hero h1{
  font-size: 50px;
  /* color: #00000000;
  -webkit-text-stroke: 1px #ffffff; */
  padding-left: 30px;
  /* letter-spacing: 5px; */
  animation: aparecer 3s forwards;
}
@keyframes aparecer {
  0%{
    margin-left: -30px;
    opacity: 0;
  }
  100%{
      margin-left: 0;
      opacity: 1;
  }
}
/*Reel----------------------------------------------------------------------------------*/
#cards-section h2{
  text-align: center;
  margin: 10px 0px;
}
#cards-section .container{
  width: 80%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  padding: 20px 0;
  background-color: #000;
}

#cards-section .card {
  background: #000000;
  padding: 20px;
  position: relative;
  max-height: 750px; /* Limitar la altura de las tarjetas */
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-align: center;
  margin: 10px 0px;
}

#cards-section .content {
  position: relative;
}

#cards-section .content-image, .content-video {
  width: 100%;
  max-height: 600px; /* Limitar la altura de las imágenes y videos */
  object-fit: cover;
  margin-bottom: 10px;
}

#cards-section .text-content {
  display: flex;
  align-items: center;
  text-align: left;
}

#cards-section .logo {
  width: 10vw; /* Ajustar el tamaño del logo */
  margin-right: 50px; /* Espacio entre el logo y el texto */
  margin-top: -20px;
}

#cards-section .text h3, .text p {
  margin: 0;
  padding: 5px 0; /* Añadir algo de espacio alrededor del texto */
}

@media (max-width: 768px) {
  #cards-section .container {
    grid-template-columns: 1fr; /* Una columna en pantallas más pequeñas */
  }
  #cards-section .logo {
    width: 30vw;
  }
}
/*Galeria--------------------------------------------------------------------------------*/
#galeria-vid {
  padding: 60px 0;
}

#galeria-vid h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

#galeria-vid p.lead {
  font-size: 1.25rem;
  color: #6c757d;
  margin-bottom: 30px;
}

#galeria-vid img {
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}


/**/

#galeria {
  padding: 60px 0;
}

#galeria h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

#galeria p.lead {
  font-size: 1.25rem;
  color: #6c757d;
  margin-bottom: 30px;
}

#galeria img {
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}




/*Filtro*/
.filter-container {
    text-align: center;
    margin: 20px 0;
}

.filter-btn {
    padding: 10px 20px;
    margin: 0 5px;
    border: none;
    background-color: #333;
    color: #fff;
    cursor: pointer;
    transition: background-color 0.3s;
}

.filter-btn.active {
    background-color: #666;
}

#clientes {
  background-color: #000000; /* Color de fondo opcional */
  color: rgb(255, 255, 255);
}

#clientes .carousel-control-prev,
#clientes .carousel-control-next {
  display: none;
}

.carousel-item {
    display: flex;
    justify-content: center; /* Centra el contenido horizontalmente */
}

#clientes .carousel-item img {
    width: 100%; /* Ancho ajustable */
    max-width: 150px; /* Ancho máximo del logo */
    transition: filter 0.3s ease;
    filter: grayscale(100%); /* Blanco y negro */
}

#clientes .carousel-item img:hover {
    filter: grayscale(0%); /* Color normal al pasar el ratón */
}


/*Footer--------------------------------------------------------------------------------*/

#miniaturas span{
  color: #f47c21;
}

#miniaturas .container {
  max-width: 100%;
}

/* SOLUCIÓN 1: Container con padding para dar espacio al zoom */
#miniaturas .gallery-item {
  position: relative;
  overflow: visible; /* ← CAMBIO: Permite que la imagen escalada se vea */
  border-radius: 12px;
  max-width: 200px;
  margin: 0 auto;
  padding: 15px; /* ← NUEVO: Espacio para el zoom */
  transition: all 0.3s ease;
}

#miniaturas .gallery-item:hover {
  transform: translateY(-5px); /* ← NUEVO: Efecto sutil en el container */
}

#miniaturas .gallery-item img {
  width: 100%;
  height: auto;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  filter: grayscale(100%) brightness(0.8);
}

#miniaturas .gallery-item:hover img {
  transform: scale(1.08);
  filter: grayscale(0%) brightness(1.1);
}

#miniaturas .row {
  justify-content: center;
  gap: 1rem;
}

#miniaturas .section-title {
  font-size: 2.5rem;
  color: #f47c21;
  margin-bottom: 0.5rem;
}

#miniaturas .section-text {
  font-size: 1.25rem;
  color: #fff;
  max-width: 1200px;
  margin: 0 auto;
}