:root {
    --colorprincipal: #145294;
    --color-secundario: #30b7cf;
}

/****************************************Generales******************************************/


/*********************************** NAVBAR **************************************************/

.top-bar {
    background-color: var(--colorprincipal);
    color: #fff;
    padding: 12px;
}

.navbar {
    padding: 10px;
}

.navbar li {
    font-size: 13px;
}

.nav-item a {
    color: #000000;
    font-size: 13px;
}

.contact-info {
    font-size: 14px;
}

.navbar-brand .imagen-yuken{
    margin-right: 8px ;
}


/** Estilo submenu***/
@media (min-width: 992px) {

    .menu-largo {
        width: 750px;
        margin: 0 auto;
        left: 50%;
        transform: translateX(-50%);
    }

    .column-left,
    .column-center {
        border-right: 1px solid #eeeeee42;
        padding-right: 20px;
    }

    .menu-largo a {
        white-space: normal;
    }
}

/*Colores submenu*/

.dropdown-menu {
    background-color: rgba(20, 82, 148, 0.85);
    transition: opacity 0.9s ease;
}

.dropdown-menu.show {
    opacity: 1;
    /* Hacer visible */
    visibility: visible;
    /* Cambiar a visible */
}

.dropdown-item {
    color: white;
    /* Texto blanco en los items */
}

.dropdown-item:hover {
    background-color: rgba(255, 255, 255, 0.2);
    /* Efecto hover en items */
}

/******************************** ICONO FLOTANTE *********************************************/

.back-top-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    color: white;
    display: grid;
    place-items: center;
    border-radius: 50%;
    transition: 0.25s ease;
    visibility: hidden;
    opacity: 0;
    z-index: 4;
}
.back-top-btn:hover{
    color: white;
}

.back-top-btn:is(:hover, :focus-visible) {
    box-shadow: 0px 3px 20px hsla(180, 90%, 43%, 0.2);
}

.back-top-btn.active {
    visibility: visible;
    opacity: 1;
    transform: translateY(-10px);
}

.back-top-btn:before,
.back-top-btn:after
{
    content:"";
    position: absolute;
    top: 8px;
    left: 6px;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background-color: #25d366;
    opacity: 0;
    animation: onda 1.7s infinite;
}

.back-top-btn:before{
    animation-delay: 1s;
}

.back-top-btn:after{
    animation-delay: 1.3s;
}

.back-top-btn i{
    position: relative;
    z-index: 2;
}

@keyframes onda {
    0% {
        transform: scale (1);
    }
    15% {
        opacity: 1;
    }

    100% {
        opacity: 0;
        transform: scale(2);
    }
}

/*************************************** SLIDER ******************************************************/

.hero-carousel {
  position: relative;
  margin-top: 0;
  height: 100svh;
  min-height: 100vh;
  -webkit-user-select: none;
  user-select: none;
  touch-action: pan-y;
}

@supports (height: 100dvh) {
  .hero-carousel {
    height: 100dvh;
  }
}

.hero-carousel .carousel,
.hero-carousel .carousel-inner,
.hero-carousel .carousel-item {
  height: 100%;
}

.hero-carousel .carousel-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  -webkit-user-drag: none;
  user-select: none;
}

.hero-carousel .carousel-indicators {
  display: none !important;
}

.hero-carousel .carousel-control-prev,
.hero-carousel .carousel-control-next {
  width: clamp(4rem, 7vw, 7rem);
  opacity: .35;
  transition: opacity .2s ease;
  pointer-events: auto;
}

.hero-carousel .carousel-control-prev:hover,
.hero-carousel .carousel-control-next:hover {
  opacity: .75;
}

/* Difuminado lateral */
.hero-carousel .carousel-control-prev {
  background: linear-gradient(to right, rgba(0, 0, 0, .28), rgba(0, 0, 0, 0));
}

.hero-carousel .carousel-control-next {
  background: linear-gradient(to left, rgba(0, 0, 0, .28), rgba(0, 0, 0, 0));
}

.hero-carousel .carousel-control-prev-icon,
.hero-carousel .carousel-control-next-icon {
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, .35));
}

.hero-carousel::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 20px;
  background: linear-gradient(to bottom, rgba(0, 0, 0, .14), rgba(0, 0, 0, 0));
  pointer-events: none;
}

/* Accesibilidad: reduce motion */
@media (prefers-reduced-motion: reduce) {

  .hero-carousel .carousel,
  .hero-carousel .carousel-item {
    transition: none !important;
  }
}

@media (max-width: 991px) {
  .btn.btn-contactame {
    margin-top: 10px;
    margin-left: 0;
  }
}


/*************************************** PRODUCTOS ********************************************/
.linea {
    display: inline-block;
    border-bottom: 3px solid var(--colorprincipal);
    padding-bottom: 5px;
    margin-bottom: 10px;
    width: 100px;
}

.linea-product {
    display: inline-block;
    border-bottom: 2px solid var(--colorprincipal);
    padding-bottom: 5px;
    margin-bottom: 10px;
    width: 60px;
}

.carta-productos {
    background: transparent;
    border: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
}

.container h1 {
    font-size: 36px;
}

.container h2 {
    font-size: 36px;
}

.carta-productos img {
    padding: 25px;
    transition: opacity 0.3s ease;
    /* Animaci¨Žn para la opacidad */
}

.carta-productos:hover img {
    opacity: 0.6;

}

.carta-productos h3 {
    font-size: 20px;
}

/************************************** SECCION INFORMATIVA*********************************************/

.bg-image {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    color: white;
}

.bg-image::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(10, 17, 40, 0.8);
    /* Ajusta la opacidad seg¨˛n prefieras */
    z-index: 1;
}

.bg-image * {
    position: relative;
    z-index: 2;
}

.btn {
    background-color: var(--colorprincipal);
    color: white;
}

.btn:hover {
    background-color: var(--color-secundario);
    color: white;
    box-shadow: 2px 2px 2px 1px rgba(0, 0, 0, 0.2);
}

.bg-image {
    height: 530px;
}


/*************************************** SERVICIOS ******************************************/

.servicios .service-box {
    padding: 20px;
    margin: 10px;
    border-radius: 10px;

}

.servicios h4 {
    margin-bottom: 15px;
}

.service-box ul {
    list-style-type: disc;
    padding-left: 20px;
}

/************************************* SECCIONES SERVICIOS*****************************************************/

.imagen-servicios {
    width: 100%;
    height: 420px;
    object-fit: cover;
    margin-top:15px;
    object-position: top;
}

.texto-resenas {
    font-size: 32px;
}

.bg-inform h6 {
    font-size: 30px;
}

.bg-inform a {
    color: white;
}

.card-title i {
    background: gray;
    border-radius: 50%;
    color: white;
    padding: 4px;
}

.contenedor-servicio-1{
    background: #f6f6f6;
}

.contenedor-servicio {
    background: #f6f6f6;
}

.img-servicio-list img {
    border-radius: 10px;
}
.lista-servicios li{
    font-size:15px;
}

.dropdown-item.active {
    background-color: #5781ad;
}

/**************************************** SOBRE NOSOTROS*****************************************************************/
.bg-image-nosotros {
    background-size: cover;
    background-attachment: fixed;
    /* Fija la imagen en su lugar */
    background-position: center;
    background-repeat: no-repeat;
    color: white;
    position: relative;
}

.bg-image-nosotros::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(10, 17, 40, 0.8);
    /* Ajusta la opacidad seg¨˛n prefieras */
    z-index: 1;
}

.bg-image-nosotros .container {
    padding-top: 80px;
    padding-bottom: 80px;
}

.bg-image-nosotros * {
    position: relative;
    z-index: 2;
}

.bg-info-nosotros h4 {
    font-size: 24px;
    font-weight: bold;
}

.bg-info-nosotros li {
    font-size: 14px;
}

.bg-info-nosotros p {
    font-size: 16px;
}

/**************************************** PAGINAS PRODUCTOS********************************************************************/
.texto-series {
    opacity: 0;
    font-size: 0;
  }
  
.piston-pump h2 {
    font-size: 28px;
    font-weight: bold;
    color: var(--colorprincipal);
}

.linea-larga {
    display: inline-block;
    border-bottom: 1px solid #000000;
    padding-bottom: 5px;
    margin-bottom: 10px;
    width: 100%;
}

.parr-ficha-tecnica {
    font-size: 20px;
}

.icons-pdf i {
    transition: transform 0.3s ease;
    transform: scale(1);
    color: var(--colorprincipal);
    --fa-animation-duration: 3s;
}

.icons-pdf i:hover {
    transform: scale(1.1);
}

/********************************************* CONTACTO******************************************************/
.datos-contacto {
    margin-top: 35px;
}
.bg-contacto h6 {
    font-size: 20px;
}
.formulario-contacto input {
    border: 1px solid black;
}

.formulario-contacto textarea {
    border: 1px solid black;
}

.formulario-contacto select {
    border: 1px solid black;
}

.formulario-contacto .obligatorio {
    color: red;
}

.formulario-contacto .opcional {
    font-size: 10px;
}

.formulario-contacto .enviar-formulario .btn {
    text-align: center;
    margin: 10px;
    padding: 10px;
    width: 200px;
}


/************************************** FOOTER ****************************************************************/
.linea-footer {
    display: inline-block;
    border-bottom: 1px solid #ffffff;
    padding-bottom: 5px;
    margin-bottom: 10px;
    width: 60px;
}

.linea-larga-footer {
    display: inline-block;
    border-bottom: 1px solid #000000;
    width: 100%;
}

.footer {
    background-color: var(--colorprincipal);
    /* Color de fondo */
}

.footer .social-icons a {
    color: #fff;
    font-size: 1.2rem;
    margin-right: 0.5rem;
}

.footer .footer-bottom {
    background-color: var(--colorprincipal);
    color: #fff;
}

.footer .footer-bottom p {
    padding-bottom: 15px;
}

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

.footer a:hover {
    text-decoration: underline;
}



/**************************************** RESPONSIVE ***********************************************/
@media (min-width: 481px) {
    .datos-contacto-mobile {
        display: none;
    }
}

@media (max-width: 480px) {
    .datos-contacto-desktop {
        display: none;
    }
}
@media (min-width: 481px) {
            .titulos-yuken {
                padding-top: 100px;
            }
        }

        @media (max-width: 480px) {
            .titulos-yuken {
                padding-top: 60px;
            }
        }

@media (max-width: 480px) {

    .navbar-brand img {
        width: 100px;
    }

    /*********** Generales**********/
    .container h1 {
        font-size: 26px;
    }

    .container h5 {
        font-size: 18px;
    }

    .texto-series{
        font-size: 0px !important;
    }
    .container p,
    li {
        font-size: 14px;
    }


    /*********** Header**********/
    .contact-info {
        font-size: 10px;
    }

    /**********Index***********/


    .carta-productos h3 {
        font-size: 19px;
        text-align: center;
    }

    .linea-product {
        width: 100%;
    }

    .carta-productos p {
        text-align: center;
    }

    .bg-image h2 {
        font-size: 32px;
    }

    .bg-image p {
        margin: 10px;
        font-size: 18px;
    }

    .carta-productos .card-body {
        padding: 0;
    }
    
    /**************** Seccioh informativa ****************************/
    .bg-image {
        height: 650px;
    }
    .bg-image .title-repres {
        font-size:22px;
    }
    
    .bg-image .parrafo-repres {
        font-size:14px;
    }

    /*********** Seccion servicio urgente llama al **********/
    .bg-inform h6 {
        font-size: 18px;
    }

    .bg-inform i {
        display: none;
    }

    /*********** Servicios **********/
    .imagen-servicios {
        height: 150px;
    }
    
    .contenedor-servicio{
        margin-left:2px;
        margin-right:2px;
    }

    /*********** Sobre nosotros **********/
    .imagenes-servicios {
        text-align: center;
        display: flex;
        justify-content: center;
        align-items: center;
        padding-top: 20px;
        padding-bottom: 30px;
    }

    .imagenes-servicios img {
        width: 90%;
    }
    
    /************ Contacto ******************/
    .bg-contacto h6 {
        font-size: 15px;
        margin: 1px 5px 1px 5px;
    }


    /*********** Footer **********/
    .footer h5 {
        font-size: 16px;
        text-align: center;
    }

    .footer p,
    .social-icons {
        text-align: center;
    }

    .linea-footer {
        width: 100%;
    }

    .footer li {
        padding-bottom: 5px;
        text-align: center;
    }

}