/********** Template CSS **********/

@font-face {
    font-family: 'MiFuente';
    src: url('../fonts/Cabourg OT Regular.otf') format('truetype');

}


:root {
    --primary: #006eb7;
    --secondary: #009d45;
    --orange: #fab427;
    --light-blue: #a1b1c8;
    --light: #f7f5f5;
    --white: #ffffff;
    --dark: #000000;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 30px;
    bottom: 30px;
    z-index: 99;
}

.fw-medium {
    font-weight: 600;
}

.fw-bold {
    font-weight: 700;
}

.fw-black {
    font-weight: 900;
}


/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}


/*** Button ***/
.btn {
    transition: .5s;
    font-weight: 500;
}

.btn-primary,
.btn-outline-primary:hover {
    color: var(--light);
}

.btn-secondary,
.btn-outline-secondary:hover {
    color: var(--dark);
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
}


/*** Navbar ***/
.sticky-top {
    top: -150px;
    transition: .5s;
}

.navbar .navbar-brand {
    padding: 10px;
    width: 120px;
    top: 0;
    left: 0;
}

.navbar .navbar-nav .nav-link {
    margin-right: 35px;
    padding: 25px 0;
    color: var(--dark);
    font-weight: 600;
    text-transform: uppercase;
    outline: none;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: var(--primary);
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 8px;
}

@media (max-width: 991.98px) {
    .navbar .navbar-brand {
        width: 126px;
        height: 100px;
    }

    .navbar .navbar-nav .nav-link  {
        margin-right: 0;
        padding: 10px 0;
    }

    .navbar .navbar-nav {
        margin-top: 75px;
        border-top: 1px solid #EEEEEE;
    }
}

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        border: none;
        margin-top: 0;
        top: 150%;
        opacity: 0;
        visibility: hidden;
        transition: .5s;
    }

    .navbar .nav-item:hover .dropdown-menu {
        top: 100%;
        visibility: visible;
        transition: .5s;
        opacity: 1;
    }
}


/*** Header ***/
.carousel-caption {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    background: linear-gradient(rgba(224, 224, 224, 0.5), rgba(212, 212, 212, 0.5));
    z-index: 1;
}

.carousel-control-prev,
.carousel-control-next {
    width: 15%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 3.5rem;
    background-color: var(--dark);
    border: 15px solid var(--dark);
}

@media (max-width: 768px) {
    #header-carousel .carousel-item {
        position: relative;
        min-height: 450px;
    }
    
    #header-carousel .carousel-item img {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}

.page-header {
    background: linear-gradient(rgba(34, 92, 146, 0.7), rgba(36, 37, 34, 0.7)), url(../img/carousel/carousel-2.jpg) center center no-repeat;
    background-size: cover;
}

.page-header .breadcrumb-item+.breadcrumb-item::before {
    color: var(--light-blue);
}

.page-header .breadcrumb-item,
.page-header .breadcrumb-item a {
    font-size: 18px;
    color: var(--light);
    text-decoration: none;
}

/** title **/

.section-title{
    color: var(--secondary);
    font-weight: bold;
    font-style: italic;
    font-size: .96em;
    padding: 10px 0; /* espacio arriba y abajo del texto */
    margin: 10px 0;  /* margen exterior, arriba y abajo */
    display: inline-block; /* para que padding/margin se comporten mejor */
}

/*** Products ***/
.espacio-deportivo {
    background: linear-gradient(rgba(136, 180, 78, .1), rgba(136, 180, 78, .1)), url(../img/product-bg.png) left bottom no-repeat;
    background-size: auto;
}

.product-carousel .owl-nav {
    display: flex;
    justify-content: center;
    margin-top: 30px;
}

.product-carousel .owl-nav .owl-prev,
.product-carousel .owl-nav .owl-next {
    margin: 0 10px;
    width: 55px;
    height: 55px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    background: var(--primary);
    border-radius: 55px;
    box-shadow: 0 0 45px rgba(0, 0, 0, .15);
    font-size: 25px;
    transition: .5s;
}

.product-carousel .owl-nav .owl-prev:hover,
.product-carousel .owl-nav .owl-next:hover {
    background: #FFFFFF;
    color: var(--primary);
}


/*** About ***/
.convenio{
    background: linear-gradient(rgb(250, 250, 250), rgb(248, 248, 248));
}

.btn-play {
    position: relative;
    display: block;
    box-sizing: content-box;
    width: 65px;
    height: 75px;
    border-radius: 100%;
    border: none;
    outline: none !important;
    padding: 28px 30px 30px 38px;
    background: #FFFFFF;
}

.btn-play:before {
    content: "";
    position: absolute;
    z-index: 0;
    left: 50%;
    top: 50%;
    transform: translateX(-50%) translateY(-50%);
    display: block;
    width: 120px;
    height: 120px;
    background: #FFFFFF;
    border-radius: 100%;
    animation: pulse-border 1500ms ease-out infinite;
}

.btn-play:after {
    content: "";
    position: absolute;
    z-index: 1;
    left: 50%;
    top: 50%;
    transform: translateX(-50%) translateY(-50%);
    display: block;
    width: 120px;
    height: 120px;
    background: #FFFFFF;
    border-radius: 100%;
    transition: all 200ms;
}

.btn-play span {
    display: block;
    position: relative;
    z-index: 3;
    width: 0;
    height: 0;
    left: 13px;
    border-left: 40px solid var(--primary);
    border-top: 28px solid transparent;
    border-bottom: 28px solid transparent;
}

@keyframes pulse-border {
    0% {
        transform: translateX(-50%) translateY(-50%) translateZ(0) scale(1);
        opacity: 1;
    }

    100% {
        transform: translateX(-50%) translateY(-50%) translateZ(0) scale(2);
        opacity: 0;
    }
}

.modal-video .modal-dialog {
    position: relative;
    max-width: 800px;
    margin: 60px auto 0 auto;
}

.modal-video .modal-body {
    position: relative;
    padding: 0px;
}

.modal-video .close {
    position: absolute;
    width: 30px;
    height: 30px;
    right: 0px;
    top: -30px;
    z-index: 999;
    font-size: 30px;
    font-weight: normal;
    color: #FFFFFF;
    background: #000000;
    opacity: 1;
}


/*** Store ***/
.store-item .store-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(138, 180, 78, .3);
    opacity: 0;
    transition: .5s;
}

.store-item:hover .store-overlay {
    opacity: 1;
}


/*** Contact ***/
.contact .btn-square {
    width: 100px;
    height: 100px;
    border: 20px solid var(--light);
    background: var(--primary);
    border-radius: 50px;
}


/*** Testimonial ***/
.testimonial {
    background: linear-gradient(rgba(136, 180, 78, .85), rgba(136, 180, 78, .85)), url(../img/testimonial-bg.jpg) center center no-repeat;
    background-size: cover;
}

.testimonial-item {
    margin: 0 auto;
    max-width: 600px;
    text-align: center;
    background: #FFFFFF;
    border: 30px solid var(--primary);
}

.testimonial-item img {
    width: 60px !important;
    height: 60px !important;
    border-radius: 60px;
}

.testimonial-carousel .owl-dots {
    margin-top: 35px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.testimonial-carousel .owl-dot {
    position: relative;
    display: inline-block;
    margin: 0 5px;
    width: 15px;
    height: 15px;
    background: var(--primary);
    border-radius: 15px;
    transition: .5s;
}

.testimonial-carousel .owl-dot.active {
    width: 30px;
    background: var(--dark);
}


/*** Footer ***/
.footer {
    background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 19, 0.8));
    color: #B0B9AE;
}

.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: #B0B9AE;
    font-weight: normal;
    text-transform: capitalize;
    transition: .3s;
    text-decoration: none;
}

.footer .btn.btn-link::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: var(--secondary);
    margin-right: 10px;
}

.footer .btn.btn-link:hover {
    color: var(--light);
    letter-spacing: 1px;
    box-shadow: none;
}

.copyright {
    color: #B0B9AE;
}

.copyright {
    background: #333333;
}

.copyright a:hover {
    color: #FFFFFF !important;
}

/* ----- */

.kenburns {
    animation: kenburns 10s ease-in-out infinite;
    transform-origin: center center;
}

@keyframes kenburns {
    0% {
        transform: scale(1) translate(0, 0);
    }
    50% {
        transform: scale(1.1) translate(10px, 10px);
    }
    100% {
        transform: scale(1) translate(0, 0);
    }
}

.carousel-item {
    border-bottom-left-radius: 100% 30%;
    border-bottom-right-radius: 100% 30%;
    overflow: hidden;
}

/*----------------------------------------*/

.text-light-blue{
    color: var(--light-blue) !important;
}

/* Nosotros */

.section-gris {
    background: linear-gradient(to bottom, #fafafa, #e0e0e0);
    padding-top: 3em;
    padding-bottom: 3em;
}

.text-subtitulo{
    color: var(--secondary);
}


/* Estilo base para las cajas de valores */
.value-box {
    padding: 15px;
    background-color: #f5f5f5;
    text-align: center;
    transition: all 0.3s ease-in-out;
    border-radius: 5px;
}

.value-box label {
    font-size: 1.3em;
    
}

/* Efecto hover */
.value-box:hover {
    background-color: var(--secondary); /* Fondo al pasar el cursor */
    color: var(--white); /* Cambiar color del texto al hacer hover */
    transform: translateY(-5px); /* Efecto de elevar la caja */
}


/* ----- */



/* Hover: Cambio de color y animación */
.btn-light:hover {
    background-color: #009d45; /* Fondo azul claro */
    color: white; /* Texto blanco */
    border-color: #009d45; /* Borde azul oscuro */
    transform: translateY(-3px); /* Eleva el botón */
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2); /* Aumenta la sombra */
}

/* Hover en el ícono: Movimiento */
.btn-light:hover i {
    transform: translateX(5px); /* Desplaza el ícono a la derecha */
}


a {
    text-decoration: none;
  }

  /*-----*/

  .polygon-img{
    clip-path: polygon(0% 0%, 100% 0%, 100% 100%, 0% 100%, 0% 100%);
  }
  @media (min-width: 992px) {
    .polygon-img{
        clip-path: polygon(0% 0%, 90% 10%, 100% 100%, 0% 100%, 0% 100%);
      }
  }

  /*---------*/
  .instalaciones-lista {
    list-style: none;
    text-align: right;
    
  }
  
  .instalaciones-lista li {
    display: flex;
  align-items: center;
  justify-content: flex-end;
    padding: 3px;
    
  }

  .instalaciones-lista li:hover {
    color: var(--primary);
    letter-spacing: 0.5px;
    box-shadow: none;
  }

  .instalaciones-lista i {
    color: var(--secondary);
    margin-right: 10px;
  }

  .instalaciones-lista a {
    text-decoration: none;
    font-weight: 150;
    font-size: .9em;
  }

  /***/

  .nosotros{
    border-radius: 10px;
  }

  /* imagen hover*/
.img-hover img:hover {
    transform: scale(1.03);  /* Aumenta ligeramente el tamaño */
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15); /* Sombra más prominente */
  
    filter: brightness(105%); /* Aumenta el brillo un poco */
    transition: all 0.3s ease; /* Transición suave */
}

  @media (min-width: 992px) {
    .nosotros{
        border-radius: 50px 50px 200px 50px;
      }
  }