/********** Template CSS **********/
:root {
    --primary: #c90606;
    --secondary: #FE8800;
    --light: #F5F5F5;
    --dark: #14141F;
}

.fw-medium {
    font-weight: 600 !important;
}

.fw-semi-bold {
    font-weight: 700 !important;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 45px;
    bottom: 45px;
    z-index: 99;
}


/*** 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 {
    font-family: 'Nunito', sans-serif;
    font-weight: 600;
    transition: .5s;
}

.btn.btn-primary,
.btn.btn-secondary {
    color: #FFFFFF;
}

.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;
    border-radius: 0px;
}


/*** Navbar ***/
.navbar-light .navbar-nav .nav-link {
    font-family: 'Nunito', sans-serif;
    position: relative;
    margin-right: 25px;
    padding: 35px 0;
    color: #FFFFFF !important;
    font-size: 18px;
    font-weight: 600;
    outline: none;
    transition: .5s;
}

.sticky-top.navbar-light .navbar-nav .nav-link {
    padding: 20px 0;
    color: var(--dark) !important;
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link.active {
    color: var(--primary) !important;
}

.navbar-light .navbar-brand img {
    max-height: 130px;
    transition: .5s;
}

.sticky-top.navbar-light .navbar-brand img {
    max-height: 45px;
}

@media (max-width: 991.98px) {
    .sticky-top.navbar-light {
        position: relative;
        background: #FFFFFF;
    }

    .navbar-light .navbar-collapse {
        margin-top: 15px;
        border-top: 1px solid #DDDDDD;
    }

    .navbar-light .navbar-nav .nav-link,
    .sticky-top.navbar-light .navbar-nav .nav-link {
        padding: 10px 0;
        margin-left: 0;
        color: var(--dark) !important;
    }

    .navbar-light .navbar-brand img {
        max-height: 45px;
    }
}

@media (min-width: 992px) {
    .navbar-light {
        position: absolute;
        width: 100%;
        top: 0;
        left: 0;
        border-bottom: 1px solid rgba(256, 256, 256, .1);
        z-index: 999;
    }
    
    .sticky-top.navbar-light {
        position: fixed;
        background: #FFFFFF;
    }

    .navbar-light .navbar-nav .nav-link::before {
        position: absolute;
        content: "";
        width: 0;
        height: 2px;
        bottom: -1px;
        left: 50%;
        background: var(--primary);
        transition: .5s;
    }

    .navbar-light .navbar-nav .nav-link:hover::before,
    .navbar-light .navbar-nav .nav-link.active::before {
        width: calc(100% - 2px);
        left: 1px;
    }

    .navbar-light .navbar-nav .nav-link.nav-contact::before {
        display: none;
    }
}


/*** Hero Header ***/
.hero-header {
    height: 100vh;
    position: relative;

}
.hero-header1 {
    background: linear-gradient(rgba(20, 20, 31, .7), rgba(20, 20, 31, .7)), url(../img/bg-hero.jpg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}

.hero-header2 {
    background: linear-gradient(rgba(20, 20, 31, .7), rgba(20, 20, 31, .7)), url(../img/bg-hero1.jpg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}

.hero-header3 {
    background: linear-gradient(rgba(20, 20, 31, .7), rgba(20, 20, 31, .7)), url(../img/bg-hero2.jpg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}

.hero-header4 {
    background: linear-gradient(rgba(20, 20, 31, .7), rgba(20, 20, 31, .7)), url(../img/bg-hero3.jpg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}

.hero-header5 {
    background: linear-gradient(rgba(20, 20, 31, .7), rgba(20, 20, 31, .7)), url(../img/best1.jpg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}

.hero-header20 {
    background: linear-gradient(rgba(20, 20, 31, .7), rgba(20, 20, 31, .7)), url(../img/dest.jpg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}

.hero-trip {
    background: linear-gradient(rgba(20, 20, 31, .7), rgba(20, 20, 31, .7)), url(../img/trip0.jpg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}

.hero-gold {
    background: linear-gradient(rgba(20, 20, 31, .7), rgba(20, 20, 31, .7)), url(../img/gold1.jpg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}

.hero-illi {
    background: linear-gradient(rgba(20, 20, 31, .7), rgba(20, 20, 31, .7)), url(../img/illi.jpg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}
.hero-deth {
    background: linear-gradient(rgba(20, 20, 31, .7), rgba(20, 20, 31, .7)), url(../img/deth.jpg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}
.hero-yun {
    background: linear-gradient(rgba(20, 20, 31, .7), rgba(20, 20, 31, .7)), url(../img/yun.jpg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}
.hero-tiwa {
    background: linear-gradient(rgba(20, 20, 31, .7), rgba(20, 20, 31, .7)), url(../img/tiwa.jpg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}
.hero-chaca {
    background: linear-gradient(rgba(20, 20, 31, .7), rgba(20, 20, 31, .7)), url(../img/chaca.jpg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}
.hero-titi {
    background: linear-gradient(rgba(20, 20, 31, .7), rgba(20, 20, 31, .7)), url(../img/titi.jpg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}
.hero-copa {
    background: linear-gradient(rgba(20, 20, 31, .7), rgba(20, 20, 31, .7)), url(../img/copa.jpg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}
.hero-motor {
    background: linear-gradient(rgba(20, 20, 31, .7), rgba(20, 20, 31, .7)), url(../img/motor.jpg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}
.breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255, 255, 255, .5);
}

/* VIDEO DE FONDO */
.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    object-fit: cover;
    transform: translate(-50%, -50%);
    z-index: 1;
}

/* CAPA OSCURA */
.overlay {
    position: absolute;
    inset: 0; /* reemplaza top, left, width, height */
    background: rgba(20, 20, 31, 0.6);
    z-index: 1;
}
.breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255, 255, 255, .5);
}


/*** Section Title ***/
.section-title {
    position: relative;
    display: inline-block;
    text-transform: uppercase;
}

.section-title::before {
    position: absolute;
    content: "";
    width: calc(100% + 80px);
    height: 2px;
    top: 4px;
    left: -40px;
    background: var(--primary);
    z-index: -1;
}

.section-title::after {
    position: absolute;
    content: "";
    width: calc(100% + 120px);
    height: 2px;
    bottom: 5px;
    left: -60px;
    background: var(--primary);
    z-index: -1;
}

.section-title.text-start::before {
    width: calc(100% + 40px);
    left: 0;
}

.section-title.text-start::after {
    width: calc(100% + 60px);
    left: 0;
}


/*** Service ***/
.service-item {
    box-shadow: 0 0 45px rgba(0, 0, 0, .08);
    transition: .5s;
}

.service-item:hover {
    background: var(--primary);
}

.service-item * {
    transition: .5s;
}

.service-item:hover * {
    color: var(--light) !important;
}


/*** Destination ***/
.destination img {
    transition: .5s;
}

.destination a:hover img {
    transform: scale(1.1);
}


/*** Footer ***/
.footer .btn.btn-social {
    margin-right: 5px;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light);
    font-weight: normal;
    border: 1px solid #FFFFFF;
    border-radius: 35px;
    transition: .3s;
}

.footer .btn.btn-social:hover {
    color: var(--primary);
}

.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: #FFFFFF;
    font-size: 15px;
    font-weight: normal;
    text-transform: capitalize;
    transition: .3s;
}

.footer .btn.btn-link::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-right: 10px;
}

.footer .btn.btn-link:hover {
    letter-spacing: 1px;
    box-shadow: none;
}

.footer .copyright {
    padding: 25px 0;
    font-size: 15px;
    border-top: 1px solid rgba(256, 256, 256, .1);
}

.footer .copyright a {
    color: var(--light);
}

.footer .footer-menu a {
    margin-right: 15px;
    padding-right: 15px;
    border-right: 1px solid rgba(255, 255, 255, .1);
}

.footer .footer-menu a:last-child {
    margin-right: 0;
    padding-right: 0;
    border-right: none;
}


.tour-item {
    display: block;
    text-decoration: none;
    color: #333;
    transition: 0.3s;
}

.tour-item img {
    width:50%;
    height: 70px; /* TODAS IGUALES */
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 8px;
}

.tour-item span {
    font-size: 14px;
    font-weight: 600;
    display: block;
}

.tour-item:hover {
    transform: translateY(-5px);
}

.tour-item:hover img {
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}


       /* Red theme primary color ultimo codigo destinos */
        .text-red, .text-accent {
            color: #c90606 !important;
        }
        .bg-red-soft {
            background-color: #fff0f0;
        }
        .btn-red-moto {
            background: #c90606;
            border: none;
            border-radius: 60px;
            padding: 0.7rem 1.2rem;
            font-weight: 600;
            transition: all 0.2s;
            color: white;
        }
        .btn-red-moto:hover {
            background: #c90606;
            transform: translateY(-2px);
            color: white;
        }
        .badge-difficulty-red {
            background: #fee2e2;
            color: #c90606;
            padding: 0.35rem 1rem;
            border-radius: 40px;
            font-size: 0.8rem;
            font-weight: 700;
            display: inline-block;
        }
        .price-badge-red {
            background: linear-gradient(115deg, #e8ad0c 0%, #b22222 100%);
            color: white;
            border-radius: 2rem;
            padding: 0.4rem 1.4rem;
            font-weight: 800;
            font-size: 1.8rem;
            display: inline-block;
            line-height: 1.2;
        }
        .info-card-red {
            background: white;
            border-radius: 1.25rem;
            padding: 1.2rem;
            height: 100%;
            transition: 0.1s ease;
            border-left: 4px solid #c90606;
            box-shadow: 0 5px 12px rgba(0,0,0,0.03);
        }
        .stat-pill-red {
            background: #fff0f0;
            border-radius: 60px;
            padding: 0.3rem 1rem;
            font-size: 0.8rem;
            font-weight: 500;
            color: #a51717;
        }
        .day-item-red {
            background: white;
            border-radius: 1.2rem;
            padding: 1rem 1.3rem;
            box-shadow: 0 2px 6px rgba(0,0,0,0.05);
            border-left: 5px solid #c90606;
            transition: all 0.2s;
        }
        .day-number-red {
            font-weight: 800;
            color: #c90606;
            font-size: 0.9rem;
        }
        .feature-list-custom {
            list-style: none;
            padding-left: 0;
        }
        .feature-list-custom li {
            margin-bottom: 0.75rem;
            display: flex;
            align-items: baseline;
            gap: 0.7rem;
        }
        .feature-list-custom li i.fa-check-circle {
            color: #c90606;
            font-size: 1rem;
            margin-top: 0.2rem;
        }
        .feature-list-custom li i.fa-times-circle {
            color: #b36b1b;
        }
        .carousel-custom-img {
            height: 480px;
            width: 100%;
            object-fit: cover;
            border-radius: 1.8rem;
        }
        .nav-pills-custom .nav-link {
            color: #3b2a22;
            font-weight: 600;
            border-radius: 60px;
            padding: 0.6rem 1.4rem;
            margin-right: 0.5rem;
            background: #f4e8e0;
        }
        .nav-pills-custom .nav-link.active {
            background: #c90606;
            color: white;
        }

        @media (max-width: 768px) {

    .nav-pills-custom {
        display: flex;
        flex-wrap: wrap; /* permite que bajen */
        justify-content: center;
        gap: 10px; /* 🔥 separación entre botones */
    }

    .nav-pills-custom .nav-link {
        margin-right: 0; /* quitamos el margen viejo */
        padding: 0.6rem 1.2rem;
        font-size: 14px;
    }

}
        .tab-pane {
            background: white;
            border-radius: 1.5rem;
            padding: 1.8rem;
            margin-top: 1rem;
            box-shadow: 0 8px 18px rgba(0,0,0,0.05);
        }
        
        @media (max-width: 992px) {
            .carousel-custom-img {
                height: 320px;
            }
        }
        @media (max-width: 768px) {
            .price-badge-red {
                font-size: 1.4rem;
            }
            .tab-pane {
                padding: 1rem;
            }
            .carousel-custom-img {
                height: 260px;
            }
        }
        hr {
            opacity: 0.2;
        }
        .bg-soft-red-warning {
            background-color: #fff4e6;
            border-left: 4px solid #c90606;
        }
        .border-red {
            border-color: #c90606 !important;
        }
        .tour-hero-red {
            background: white;
            border-radius: 2rem;
            box-shadow: 0 20px 35px -12px rgba(150, 25, 25, 0.08);
            margin-bottom: 2rem;
            padding: 2rem;
        }
        .text-shadow-light {
            text-shadow: 0 1px 2px rgba(0,0,0,0.02);
        }

        /* LOGO ENCIMA DEL CARRUSEL */
.logo-overlay {
    position: absolute;
    top: 15px;
    left: 15px;
    z-index: 10;
}

.logo-overlay img {
    width: 90px;
    height: auto;
    opacity: 0.95;
    border-radius: 12px;
    padding: 6px;
    background: rgba(255,255,255,0.85);
    backdrop-filter: blur(6px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.15);
}

/* OPCIONAL: efecto hover elegante */
.logo-overlay img:hover {
    transform: scale(1.05);
    transition: 0.3s ease;
}


