
/*** Spinner Start ***/
/*** 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;
}
/*** Spinner End ***/

.back-to-top {
    position: fixed;
    right: 30px;
    bottom: 30px;
    transition: 0.5s;
    z-index: 99;
}

/*** Button Start ***/
.btn {
    font-weight: 600;
    transition: .5s;
}

.btn-square {
    width: 32px;
    height: 32px;
}

.btn-sm-square {
    width: 34px;
    height: 34px;
}

.btn-md-square {
    width: 44px;
    height: 44px;
}

.btn-lg-square {
    width: 56px;
    height: 56px;
}

.btn-xl-square {
    width: 66px;
    height: 66px;
}

.btn-square,
.btn-sm-square,
.btn-md-square,
.btn-lg-square,
.btn-xl-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
}

.btn.btn-primary {
    color: var(--bs-white);
    border: none;
}

.btn.btn-primary:hover {
    background: var(--bs-dark);
}

.btn.btn-light {
    color: var(--bs-primary);
    border: none;
}

.btn.btn-light:hover {
    color: var(--bs-white);
    background: var(--bs-primary);
}

.btn.btn-dark {
    color: var(--bs-white);
    border: none;
}

.btn.btn-dark:hover {
    color: var(--bs-primary);
    background: var(--bs-light);
}

/*** Navbar Start ***/
.nav-bar {
    background: var(--bs-white);
}

.sticky-top {
    transition: 1s;
}

.navbar-light .navbar-nav .nav-link {
    position: relative;
    margin-right: 25px;
    padding: 35px 0;
    letter-spacing: 1px;
    color: var(--bs-dark);
    font-size: 17px;
    font-weight: 500;
    outline: none;
    transition: .5s;
}

.sticky-top .navbar-light .navbar-nav .nav-link {
    padding: 20px 0;
    color: var(--bs-dark);
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link.active {
    color: var(--bs-primary);
}

.navbar-light .navbar-brand img {
    max-height: 60px;
    transition: .5s;
}

.sticky-top .navbar-light .navbar-brand img {
    max-height: 50px;
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 600;
    vertical-align: middle;
    margin-left: 8px;
}

.dropdown .dropdown-menu a:hover {
    background: var(--bs-primary);
    color: var(--bs-white);
}

.navbar .nav-item:hover .dropdown-menu {
    transform: rotateX(0deg);
    visibility: visible;
    margin-top: 8px !important;
    background: var(--bs-light);
    transition: .5s;
    opacity: 1;
}

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
    display: block;
    visibility: hidden;
    top: 100%;
    transform: rotateX(-75deg);
    transform-origin: 0% 0%;
    border: 0;
    border-radius: 10px;
    margin-top: 8px !important;
    transition: .5s;
    opacity: 0;
    }
}

@media (max-width: 991px) {
    .navbar.navbar-expand-lg .navbar-toggler {
        padding: 8px 15px;
        border: 1px solid var(--bs-primary);
        color: var(--bs-primary);
    }

    .sticky-top .navbar-light .navbar-nav .nav-link {
        padding: 12px 0;
    }
}
/*** Navbar End ***/

/*** Carousel Hero Header Start ***/
.header-carousel .header-carousel-item img {
    object-fit: cover;
}


@media (min-width: 1200px) {
    .header-carousel .header-carousel-item,
    .header-carousel .header-carousel-item img {
        height: 700px;
    }
}

@media (max-width: 1199px) {
    .header-carousel .header-carousel-item,
    .header-carousel .header-carousel-item img {
        height: 1200px;
    }
}

.header-carousel .owl-nav .owl-prev {
    display: none;
}

.header-carousel .owl-nav .owl-next {
    position: absolute;
    width: 0px;
    height: 0px;
    bottom: -60px;
    right: 50%;
    transform: translateY(-50%);
    margin-right: -60px;
    border-radius: 60px;
    background: var(--bs-primary);
    color: var(--bs-white);
    font-size: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.5s;
}
.header-carousel .owl-nav .owl-next:hover {
    box-shadow: inset 0 0 100px 0 var(--bs-light);
    color: var(--bs-primary);
}

.header-carousel .owl-nav .owl-next i {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation-name: carousel-next-btn;
    animation-duration: 4s;
    animation-delay: 1s;
    animation-iteration-count: infinite;
    transition: 1s;
}

@keyframes carousel-next-btn {
    0%  {margin-top: 35%;}
    50%  {margin-bottom: 70%;}
    100% {margin-top: 35%;}
}

.header-carousel .header-carousel-item .carousel-caption {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    bottom: 0;
    background: rgba(0, 0, 0, .6);
    display: flex;
    align-items: center;
}

.carousel-caption .ticket-form {
    background: rgba(255, 255, 255, 0.4);
    border-radius: 10px;
}

.header-carousel .header-carousel-item img {
    animation-name: image-zoom;
    animation-duration: 10s;
    animation-delay: 1s;
    animation-iteration-count: infinite;
    animation-direction: alternate;
    transition: 1s;
}

@keyframes image-zoom {
    0%  {width: 100%; height: 100%;}

    25% {width: 115%; height: 115%;}

    50% {width: 130%; height: 130%;}

    75% {width: 120%; height: 120%;}

    100% {width: 100%; height: 100%;}
}
/*** Carousel Hero Header End ***/

/*** Single Page Hero Header Start ***/
.bg-breadcrumb {
    position: relative;
    overflow: hidden;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url(../img/carousel-1.jpg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    padding: 100px 0 100px 0;
    transition: 0.5s;
}

.bg-breadcrumb .breadcrumb {
    position: relative;
}

.bg-breadcrumb .breadcrumb .breadcrumb-item a {
    color: var(--bs-white);
}
/*** Single Page Hero Header End ***/


/*** Feature Start ***/
.feature .feature-item {
    position: relative;
    border-radius: 10px;
    background: var(--bs-light);
}

.feature-item .feature-content {
    position: absolute;
    width: 100%; 
    height: 100%; 
    bottom: 0; 
    left: 0;
    margin-top: 0;
    margin-right: 0; 
    background: rgba(0, 0, 0, 0.7); 
    border-radius: 10px;
    z-index: 2;
}

.feature-item .feature-content .feature-content-inner {
    position: relative;
    z-index: 5;
}
/*** Feature End ***/


/*** Service Start ***/
.service {
    position: relative;
    overflow: hidden;
    background-image: url(../img/carousel-4.jpg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}

.service::before {
    content: "";
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background: rgba(0, 0, 0, .7);
    z-index: 1;
}

.service .service-section {
    position: relative;
    z-index: 5;
}

.service .service-days {
    border-radius: 10px;
    background: var(--bs-white);
}

.service .service-item {
    position: relative;
    height: 100%;
    text-align: center;
    border-radius: 10px;
    background: var(--bs-white);
    z-index: 1;
}

.service .service-item::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 0;
    bottom: 0;
    left: 0;
    border-radius: 10px;
    background: var(--bs-primary);
    transition: 0.5s;
    z-index: 2;
}

.service .service-item:hover:after {
    height: 100%;
}

.service .service-item i {
    color: var(--bs-primary);
    transition: 0.5s;
}

.service .service-item:hover i {
    color: var(--bs-white);
}

.service .service-item .service-content {
    position: relative;
    z-index: 3;
}

.service .service-item .service-content p {
    transition: 0.5s;
}

.service .service-item:hover .service-content p {
    color: var(--bs-white);
}

.service .service-item .service-content a.h4 {
    transition: 0.5s;
}

.service .service-item:hover .service-content a.h4:hover {
    color: var(--bs-white);
}
/*** Service End ***/


/*** Blog Start ***/
.blog .blog-item {
    border-radius: 10px;
}

.blog .blog-item .blog-img {
    position: relative;
    overflow: hidden;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    transition: 0.5s;
}

.blog .blog-item .blog-img img {
    transition: 0.5s;
}

.blog .blog-item:hover .blog-img img {
    transform: scale(1.2);
}

.blog .blog-item .blog-img::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    background: rgba(0, 0, 0, .3);
    z-index: 1;
}

.blog .blog-item .blog-img .blog-category {
    position: absolute;
    top: 25px;
    left: 25px;
    border-radius: 10px;
    color: var(--bs-white);
    background: var(--bs-primary);
    z-index: 5;
}

.blog .blog-item .blog-img .blog-date {
    position: absolute;
    bottom: 25px;
    left: 25px;
    color: var(--bs-white);
    z-index: 5;
}

.blog .blog-item {
    border-radius: 10px;
    overflow: hidden;
    background: #eeefef;
}

/*** Blog End ***/

/*** Team Start ***/
.team .team-item {
    position: relative;
    background: transparent;
    border-radius: 10px;
}

.team .team-item::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 0;
    top: 0;
    left: 0;
    border-radius: 10px;
    background: var(--bs-dark);
    transition: 0.5s;
    z-index: 1;
}

.team .team-item:hover:after {
    height: 100%;
}

.team .team-item .team-content {
    position: relative;
    text-align: center;
    z-index: 2;
}

.team .team-item .team-content .team-icon {
    background: var(--bs-light);
    border-radius: 10px;
    display: flex;
    display: inline-flex;
}

.team .team-item .team-content h4,
.team .team-item .team-content p {
    transition: 0.5s;
}

.team .team-item:hover .team-content h4 {
    color: var(--bs-primary);
}

.team .team-item .team-content p {
    color: var(--bs-white);
    transition: 0.5s;
}

.team .team-item:hover .team-content p {
    color: var(--bs-body);
}
/*** Team End ***/


/*** Footer Start ***/
.footer {
    background: var(--bs-dark);
}

.footer .footer-item {
    display: flex;
    flex-direction: column;
}

.footer .footer-item a {
    line-height: 35px;
    color: var(--bs-body);
    transition: 0.5s;
}

.footer .footer-item p {
    line-height: 35px;
}

.footer .footer-item a:hover {
    color: var(--bs-primary);
}

.footer .footer-item .footer-btn a,
.footer .footer-item .footer-btn a i {
    transition: 0.5s;
}

.footer .footer-item .footer-btn a:hover {
    background: var(--bs-white);
}

.footer .footer-item .footer-btn a:hover i {
    color: var(--bs-primary);
}

.footer .footer-item .opening-date {
    border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.footer .footer-item .opening-date .opening-clock {
    display: flex;
    align-items: center;
    line-height: 35px;
}
/*** Footer End ***/

/*** copyright Start ***/
.copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    background: var(--bs-dark);
}
/*** copyright end ***/


.feature-content {
    display: flex;
    align-items: center;        /* centra verticalmente */
    justify-content: center;    /* centra horizontalmente */
    min-height: 220px;          /* ajusta según tu diseño */
}

.feature-content-inner {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.dynamic-text {
    transition: opacity 0.6s ease-in-out;
}
.fade-out {
    opacity: 0;
}
.fade-in {
    opacity: 1;
}

.dynamic-text-wrapper {
    text-align: center;
}

.dynamic-title {
    color: #ffffff;
    font-size: 2.2rem;
    font-weight: 500;
    margin-bottom: 20px;
    line-height: 1.3;
    transition: opacity 1.8s ease-in-out;
}

.dynamic-text {
    color: #ffffff;
    font-size: 1.05rem;
    line-height: 1.7;
    max-width: 820px;
    margin: 0 auto;
    transition: opacity 1.8s ease-in-out;
}

.fade-out {
    opacity: 0;
}

@media (max-width: 768px) {
    .dynamic-title {
        font-size: 1.7rem;
    }

    .dynamic-text {
        font-size: 1rem;
    }
}

/* Ajuste de flechas del slider dinámico */
.dynamic-text-slider .slider-arrow-left {
    left: 20px; /* separa 20px del contenido */
    top: 50%;
    transform: translateY(-50%);
    font-size: 2rem;
    color: #ffffff;
    cursor: pointer;
}

.dynamic-text-slider .slider-arrow-right {
    right: 20px; /* separa 20px del contenido */
    top: 50%;
    transform: translateY(-50%);
    font-size: 2rem;
    color: #ffffff;
    cursor: pointer;
}

/* Scroll horizontal productos */
.horizontal-scroll-wrapper {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 80px;
    padding-bottom: 40px;
}

.horizontal-scroll-item {
    flex: 0 0 100%;
    scroll-snap-align: start;
}

/* Scrollbar elegante */
.horizontal-scroll-wrapper::-webkit-scrollbar {
    height: 8px;
}

.horizontal-scroll-wrapper::-webkit-scrollbar-thumb {
    background: #086ead;
    border-radius: 10px;
}

/* Títulos azules en cards del blog */
.blog .blog-item .blog-content a.h4 {
    color: #086ead;
}

@media (max-width: 576px) {
    .counter-item h5 {
        font-size: 1rem;
        line-height: 1.4;
    }
}

.feature-item {
    transition: all 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
}

.feature-item {
    cursor: pointer;
}

/* Link envolvente */
.feature-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

/* Tarjeta */
.feature-item {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    border-radius: 10px;
}

/* Hover completo */
.feature-link:hover .feature-item {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
}

/* Ícono flotante */
.feature-icon-float {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-link:hover .feature-icon-float {
    transform: scale(1.15);
    box-shadow: 0 10px 25px rgba(13, 110, 253, 0.5);
}

/* Texto */
.feature-item h4 {
    transition: color 0.3s ease;
}

.feature-link:hover h4 {
    color: #0d6efd;
}

/* Cursor */
.feature-link {
    cursor: pointer;
}

/* Imagen base */
.rispacs-img {
    max-width: 450px;
    width: 100%;
    height: auto;
}

/* Mobile */
@media (max-width: 768px) {
    .rispacs-img {
        max-width: 100%;
    }
}

/* Evita overflow horizontal */
.about {
    overflow-x: hidden;
}

/* GIF responsive */
.rispacs-gif {
    width: 100%;
    max-width: 450px;
    height: auto;
    display: block;
}

/* Mobile */
@media (max-width: 768px) {
    .rispacs-gif {
        max-width: 100%;
    }
}

/* Contenedor que limita el GIF */
.about .rounded.mb-4 {
    overflow: hidden;
}

/* GIF siempre completo */
.rispacs-gif {
    display: block;
    max-width: 100%;
    width: 100%;
    height: auto;
    object-fit: contain;
    margin: 0 auto;
}

/* Desktop control */
@media (min-width: 992px) {
    .rispacs-gif {
        max-width: 450px;
    }
}

/* Blindaje total contra scroll */
html, body {
    overflow-x: hidden;
}
