/* Estilos generales */
:root {
    --primary-color: #020c24;
    --secondary-color: #ffffff;
    --red: #A32911;
    --font-size: 16px;
    --title-color: #020c24;
    --caption-color: #6a6a6a;
    --font-family:'Poppins', sans-serif;
    --primary-hover: #020c24;
    --border-radius: 8px;
    --box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
  }
/* Reset básico */


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    
}
main{
    scroll-behavior: smooth;
}
a,span,li,strong{
    font-family: var(--font-family);
}
h1,h2,h3,h4,p{
    font-family: var(--font-family);
}
.slider-item span{
    font-family: var(--font-family);
    font-size: 12px;
}
p{
    margin-bottom: 16px;
}
p.description{
    color: #fff;
    font-family: var(--font-family);
}
figcaption p{
    color: #fff;
}
section.category-header{
    margin-top: 30px;
}
.logo-movile{
    display: none;
}
.header-conatiner{
    position: relative;
    height: 60px;
}
/*Top Bar*/
.flags-polylang{
    padding: 0;
    display: flex;
    gap: 15px;
   list-style: none; 
}
.flags-polylang.movile{
    display: none;
}
.topbar-white {
    background: white;
    padding: 0.5rem 0 0 0;
    font-size: 0.9rem;
}

.topbar-container {
    max-width: 1350px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 4rem;
}

.contact-info-top {
    display: flex;
    gap: 1.8rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    transition: all 0.3s ease;
    color: var(--title-color);
    font-weight: 600;
    text-decoration: none;
}

.contact-icon {
    color: var(--title-color);
    font-size: 0.85rem;
   
}

.contact-item:hover {
    color: var(--title-color);
    transform: translateY(-1px);
}

.contact-item:hover .contact-icon {
    opacity: 1;
}
.contact-item span{

   
    
}
.social-links-top {
    display: flex;
    gap: 0.8rem;
    align-items: center;
}

.social-link-top {
    color: var(--title-color);
    background: transparent;
    width: 30px;
    height: 30px;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(0,0,0,0.1);
    font-weight: 600;
}

.social-link:hover {
    background: #f8f9fa;
    transform: translateY(-2px);
   
    border-color: rgba(0,0,0,0.15);
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.contact-item img{

object-fit: contain;
}



/* Estilos base del navbar (sin cambios) */
header.header{
    top: 0;
    position: fixed;
    z-index: 1000;
    width: 100%;
}
.navbar {
    background-color: #fff;
    border-bottom: 1px solid #e1e1e1;
    position: relative;
    z-index: 1000;
}

.navbar-container {
    max-width: 1350px;
    padding: 0 4rem;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 40px;
}

.menu-toggle {
    display: none;
}

.hamburger {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 25px;
    height: 23px;
}

.hamburger span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: #333;
    transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: translateY(10px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-10px) rotate(-45deg);
}

.main-navigation {
    display: flex;
    align-items: center;
    width: 100%;
}

.main-menu {
    display: flex;
    list-style: none;
    width: 100%;
    justify-content: space-between;
    max-width: 1350px;
}

.menu-item {
    
    display: flex;
}
.menu-item .mobile-submenu-toggle{
    background: transparent;
    border: 0px;
    margin-left: 10px;
}

.menu-item > a {
    text-decoration: none;
    color: var(--title-color);
    font-weight: 700;
    padding: 10px 0;
    display: flex;
    align-items: center;
    transition: color 0.3s ease;
}

.menu-item > a:hover {
    color: #020c24;
}

.megamenu-submenu {
    position: absolute;
    left: 0;
    top: 40px;
    width: 100vw;
    background-color: #fff;
    box-shadow: 0px 20px 20px 2px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 100;
    padding: 20px;
    
}

.menu-item:hover .megamenu-submenu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.megamenu-grid {
    display: grid;
  grid-template-columns: 1fr 3fr;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.megamenu-description {
    /* width: 100%; */
    
    display: flex;
    align-items: center;
}

.megamenu-items {
   
display: grid;
  grid-template-columns: repeat(2,1fr);
  gap: 1rem;
}

.submenu-item a {
    text-decoration: none;
    color: var(--title-color);
    display: block;
    transition: transform 0.3s ease;
    display: flex;
    align-items: center;
    gap: 5px;
    font-weight: 600;
}

.submenu-item a:hover {
    transform: translateX(5px);
    
}

.submenu-item img {
  
    width: 40px;
    height: 30px;
    object-fit: cover;
    border-radius: 5px;
   
}

.item-content h4 {
    margin-bottom: 5px;
    font-size: 16px;
}
.submenu-level-2{
    margin-top: 10px;
    list-style: none;
}
.submenu-level-2 .submenu-item{
    margin-top: 10px;
}
/*Fin navbar*/

/*HERO SECTION HOME*/

.slider{
    height: 90vh;
    margin-top: 0;
    width: 100%;
    overflow: hidden;
    position: relative;
    
}
.slider .list .item{
    position: absolute;
    inset: 0 0 0 0;
    padding: 40px 20px 0px 20px;
    background-color: #fff;
    
}
.slider .list .item img{
    filter: brightness(50%);
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
   
}
.slider .list .item .content{
    position: absolute;
    top: 50%;
    width: 1140px;
    max-width: 80%;
    left: 50%;
    transform: translate(-50%,-50%);
    padding-right: 40%;
    box-sizing: border-box;
    color: #fff;
    text-shadow: 0 5px 10px #0004;
}

.slider .list .item .content .title{
    font-size: 4em;
    font-weight: bold;
    line-height: 1.3em;
    margin: 0;
}
.slider .list .item .content h1.title{
    font-size: 3em;
    font-weight: bold;
    line-height: 1.3em;
    margin: 0;
}

.slider .list .item .content .type{
    font-size: 3em;
    line-height: 1.3em;
    font-family: var(--font-family);
}
.slider .list .item .type{
    color: #fff;
}
.slider .list .item .button{
    
    margin-top: 20px;
}
.slider .list .item .button button{
    border: none;
    background-color: #eee;
    font-family: Poppins;
    font-weight: bold;
    cursor: pointer;
    transition: 0.4s;
    letter-spacing: 2px;
    border-radius: 0.5rem;
   padding: 15px 25px;

}


.slider .list .item .button button:hover{
    letter-spacing: 3px;
}
.slider .list .item .button button:nth-child(2){
    background-color: transparent;
    border: 1px solid #fff;
    color: #eee;
}





/* Thumbnail Section  */
.thumbnail{
    position: absolute;
    bottom: 50px;
    left: 50%;
    width: max-content;
    z-index: 100;
    display: flex;
    gap: 20px;
}

.thumbnail .item{
    width: 150px;
    height: 220px;
    flex-shrink: 0;
    position: relative;
}

.thumbnail .item img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 5px 0 15px rgba(0, 0, 0, 0.3);
}


/* nextPrevArrows Section  */
.nextPrevArrows{
    position: absolute;
    top: 80%;
    right: 45%;
    z-index: 100;
    width: 300px;
    max-width: 30%;
    display: flex;
    gap: 10px;
    align-items: center;
}
.nextPrevArrows button{
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #fff;
    border: none;
    color: var(--title-color);
    font-family: monospace;
    font-weight: bold;
    transition: .5s;
    cursor: pointer;
}
.nextPrevArrows button:hover{
    background-color: #fff;
    color: var(--title-color);
}

/* Animation Part */
.slider .list .item:nth-child(1){
    z-index: 1;
}


/* animation text in first item */
.slider .list .item:nth-child(1) .content .title,
.slider .list .item:nth-child(1) .content .type,
.slider .list .item:nth-child(1) .content .description,
.slider .list .item:nth-child(1) .content .buttons
{
    transform: translateY(50px);
    filter: blur(20px);
    opacity: 0;
    animation: showContent .5s 1s linear 1 forwards;
}
@keyframes showContent{
    to{
        transform: translateY(0px);
        filter: blur(0px);
        opacity: 1;
    }
}
.slider .list .item:nth-child(1) .content .title{
    animation-delay: 0.4s !important;
}
.slider .list .item:nth-child(1) .content .type{
    animation-delay: 0.6s !important;
}
.slider .list .item:nth-child(1) .content .description{
    animation-delay: 0.8s !important;
}
.slider .list .item:nth-child(1) .content .buttons{
    animation-delay: 1s !important;
}
.description{
    font-size: 16px;
}



/* Animation for next button click */
.slider.next .list .item:nth-child(1) img{
    width: 150px;
    height: 220px;
    position: absolute;
    bottom: 50px;
    left: 50%;
    border-radius: 30px;
    animation: showImage .5s linear 1 forwards;
}

@keyframes showImage{
    to{
        bottom: 0;
        left: 0;
        width: 100%;
        height: 100%;
        border-radius: 0;
    }
}

.slider.next .thumbnail .item:nth-last-child(1){
    overflow: hidden;
    animation: showThumbnail .5s linear 1 forwards;
}
.slider.prev .list .item img{
    z-index: 100;
}


@keyframes showThumbnail{
    from{
        width: 0;
        opacity: 0;
    }
}


.slider.next .thumbnail{
    animation: effectNext .5s linear 1 forwards;
}

@keyframes effectNext{
    from{
        transform: translateX(150px);
    }
}



/* Animation for prev button click */
.slider.prev .list .item:nth-child(2){
    z-index: 2;
}

.slider.prev .list .item:nth-child(2) img{
    animation: outFrame 0.5s linear 1 forwards;
    position: absolute;
    bottom: 0;
    left: 0;
}
@keyframes outFrame{
    to{
        width: 150px;
        height: 220px;
        bottom: 50px;
        left: 50%;
        border-radius: 20px;
    }
}

.slider.prev .thumbnail .item:nth-child(1){
    overflow: hidden;
    opacity: 0;
    animation: showThumbnail .5s linear 1 forwards;
}
.slider.next .nextPrevArrows button,
.slider.prev .nextPrevArrows button{
    pointer-events: none;
}


.slider.prev .list .item:nth-child(2) .content .title,
.slider.prev .list .item:nth-child(2) .content .type,
.slider.prev .list .item:nth-child(2) .content .description,
.slider.prev .list .item:nth-child(2) .content .buttons
{
    animation: contentOut 1.5s linear 1 forwards!important;
}

@keyframes contentOut{
    to{
        transform: translateY(-150px);
        filter: blur(20px);
        opacity: 0;
    }
}

/*About section*/

.about-section{
    z-index: 1;
    position: relative;
    padding: 50px 4rem 0px 4rem;
}
h2.title-about{
    color:var(--title-color);
    font-size: 48px;
    text-align: center;
}
h2.section-title{
    color:var(--title-color);
    font-size: 24px;
    padding: 0;
}
.section-p{
 font-size: 16px;
 color: #333;
}
p.parrafo-about{
    max-width: 50%;
    color:var(--title-color);
    font-size: 16px;
    text-align: center;
    margin: 0 auto;
}
/*Slider*/
.slider-container {
    width: 100%;
    overflow: hidden;
    position: relative;
    margin: 80px 0 0 0;
}

.slider-track {
    display: flex;
    width: max-content; /* Ajusta el ancho al contenido */
    animation: scroll 30s linear infinite;
}

.slider-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0 20px;
    min-width: 80px;
    color: var(--title-color); /* Ajusta el color según tu diseño */
}

.slider-item i {
    font-size: 24px;
    margin-bottom: 5px;
}

/* Animación */
@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%); /* Mueve solo la mitad para el efecto infinito */
    }
}

/* Pausar animación al hacer hover */
.slider-container:hover .slider-track {
    animation-play-state: paused;
}


/*cards*/

.slider-container-card {
    max-width: 1350px;
    margin: 0 auto;
    padding: 80px 4rem 0px 4rem;
    position: relative;
}

.section-title {
    font-size: 28px;
    color: var(--title-color);
    margin-bottom: 15px;
    font-weight: 700;
    padding-left: 10px;
}

.slider-wrapper-card {
    position: relative;
    overflow: hidden;
    padding: 10px 0;
}

.slider-track-card{
    display: flex;
    transition: transform 0.5s ease;
}

.tour-card {
    flex: 0 0 calc(33.333% - 20px);
    min-width: calc(33.333% - 20px);
    margin: 0 10px;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s ease;
}

.tour-card:hover {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

.card-image-container {
    height: 200px;
    position: relative;
    overflow: hidden;
}

.card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.tour-card:hover .card-image {
    transform: scale(1.03);
}

.card-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: #A32911;
    color: white;
    padding: 6px 10px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: bold;
}

.card-content {
    padding: 15px;
}
.card-content a{
    text-decoration: none;
}

.card-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--title-color);
    margin-top: 0;
    margin-bottom: 8px;
    line-height: 1.3;
}

.card-location {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    font-size: 12px;
    color: #59636d94;
}

.location-icon {
    color: #59636d94;
    margin-right: 5px;
    font-size: 16px;
}




.card-description {
    font-size: 14px;
    color: var(--title-color);
    line-height: 1.5;
    margin-bottom: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-details {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 15px;
    list-style: none;
    padding: 0;
    color: var(--title-color);
}
.card-details li{
    font-size: 12px;
}

.detail-item {
    display: flex;
    align-items: center;
    font-size: 13px;
    color: var(--title-color);
}

.detail-icon {
    color: var(--title-color);
    margin-right: 5px;
    font-size: 14px;
}

.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #eee;
    padding-top: 12px;
}

.price-container {
    display: flex;
    flex-direction: column;
}

.price-from {
    font-size: 14px;
    color: var(--title-color);
}

.price-amount {
    font-size: 20px;
    font-weight: 700;
    color: var(--title-color);
}



.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    z-index: 10;
    border: none;
    color: #333;
    font-size: 20px;
    transition: all 0.3s ease;
}

.slider-nav:hover {
    background: var(--title-color);
    color: white;
}

.slider-nav.hidden {
    display: none;
}

.slider-prev {
    left: 0;
}

.slider-next {
    right: 0;
}


/* Founder section */
.founder-section {
    max-width: 1200px;
    margin: 80px auto;
    padding: 10px 4rem 0px 4rem;
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.founder-section.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Animación de la línea superior */
.founder-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 1px;
    background-color: #d9d9d9;
    transition: width 1.5s ease-out;
}

.founder-section.animate::before {
    width: 100%;
}

/* Contenedor del contenido */
.founder-content {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    align-items: center;
    margin-top: 40px;
    position: relative;
}

/* Línea vertical separadora */
.founder-content::after {
    content: '';
    position: absolute;
    left: calc(50% - 1px);
    top: 0;
    bottom: 0;
    width: 0;
    height: 0;
    background-color: #d9d9d9;
    transition: height 2s ease-out;
    transition-delay: 0.8s;
}

.founder-section.animate .founder-content::after {
    width: 1px;
    height: 100%;
}

/* Estilos para la imagen */
.founder-image {
    flex: 1 1 300px;
    min-width: 250px;
}

.founder-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* Estilos para el texto */
.founder-text {
    flex: 1 1 300px;
    padding: 20px 0;
    color: var(--title-color);
}

.founder-text h3 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--title-color);
}

.founder-text blockquote {
    font-size: 16px;
    margin-bottom: 30px;
    margin-left: 0;
    position: relative;
    padding-bottom: 20px ;
    color: var(--title-color);
    font-family: var(--font-family);
}



/* Estilos del botón */
.founder-btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: transparent;
    color: var(--title-color);
    border: 1px solid #d9d9d9;
    font-size: 1rem;
    text-decoration: none;
    position: relative;
    transition: all 0.3s ease;
    cursor: pointer;
    border-radius: 0.5rem;
}

.founder-btn:hover {
    color: var(--title-color);
}




/*Gallery*/
.gallery-container {
    margin: 0 auto;
    max-width: 1350px;
    height: 100%;
    padding: 0 4rem 0 4rem;
}

.gallery {
    display: grid;
    height: 100%;
    width: 100%;
    grid-template-columns: repeat(6, 1fr);
    grid-template-rows: repeat(4, 1fr);
    gap: 8px;
}

.gallery-item {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    margin: 0;
}

.gallery-item:hover {
    transform: scale(0.98);
    box-shadow: 0 6px 12px rgba(0,0,0,0.15);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Posicionamiento de las 5 imágenes */
.gallery-item:nth-child(1) {
    grid-column: 1 / span 3;
    grid-row: 1 / span 2;
}

.gallery-item:nth-child(2) {
    grid-column: 4 / span 3;
    grid-row: 1 / span 2;
}

.gallery-item:nth-child(3) {
    grid-column: 1 / span 2;
    grid-row: 3 / span 2;
}

.gallery-item:nth-child(4) {
    grid-column: 3 / span 2;
    grid-row: 3 / span 2;
}

.gallery-item:nth-child(5) {
    grid-column: 5 / span 2;
    grid-row: 3 / span 2;
}

.gallery-item .overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
    padding: 1rem;
    color: white;
}

.gallery-item .overlay h4 {
    font-size: 16px;
    margin-bottom: 0.3rem;
    padding: 0;
}

.gallery-item .overlay p {
    font-size: 14px;
    opacity: 0.9;
}
/*footer*/


.footer-container {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), 
                url('https://fabricell.top/wp-content/themes/kinti/assets/images/dh1.webp');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-blend-mode: darken;
    color: white;
    padding: 60px 20px 30px;
    margin-top: 100px;
    text-align: center;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-section {
    margin-bottom: 20px;
}

.footer-section h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 2px;
    background: #2b352c;
}

.footer-section p, 
.footer-section a {
    color: #ddd;
    line-height: 1.6;
    margin-bottom: 10px;
    display: block;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 16px;
}

.footer-section a:hover {
    color: #ffffff;
    padding-left: 5px;
}

.contact-info {
    display: flex;
    align-items: center;
    
}
.contact-info span{
    font-size: 16px;
}

.contact-info i {
    margin-right: 10px;
    color: #ffffff;
}

.social-links a {
    display: inline-block;
    margin-right: 15px;
    font-size: 1.2rem;
    color: white;
    transition: all 0.3s ease;
}
.footer-section.links ul li {
    list-style: none;
}

.footer-bottom {
    font-family: var(--font-family);
    text-align: center;
    padding-top: 30px;
    margin-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    color: #aaa;
}

/* Tours Grid Layout */
.tour-category-detail .container {
    max-width: 1350px;
    margin: 0 auto;
    padding: 30px 4rem  0px 4rem;
    display: grid;
    gap: 3rem;
}

/* Cabecera de Categoría */

.category-header {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
}

.header-content h1 {
    color: #020c24;
    font-size: 2.8rem;
    margin-bottom: 1rem;
}

.category-stats {
    display: flex;
    gap: 1.5rem;
    margin-top: 1rem;
}

.category-stats span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: #f8f9fa;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.9rem;
}

.category-stats i {
    color: var(--title-color);
}

.category-description {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    position: relative;
}

.description-text {
    margin: 1.5rem 0;
    line-height: 1.6;
    color: var(--title-color);
}

.inspirational-quote {
 
    color: var(--title-color);
    padding: 1.5rem;
    border-radius: 8px;
  
    position: relative;
    
}



/* Grid de Tours */
.tour-showcase {
    margin-top: 2rem;
}

.tour-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px 5px;
}

/* Cards Detalladas */
.tour-card-detailed {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.tour-card-detailed:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.tour-media {
    position: relative;
    height: 200px;
}

.tour-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tour-badges {
    position: absolute;
    bottom: 10px;
    left: 10px;
    display: flex;
    gap: 0.5rem;
}

.price-badge {
    background: rgba(0,0,0,0.8);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-weight: bold;
}

.difficulty-badge {
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    color: white;
}

.difficulty-badge.fácil { background: #27ae60; }
.difficulty-badge.moderado { background: #f39c12; }
.difficulty-badge.difícil { background: #e74c3c; }
.difficulty-badge.extremo { background: #8e44ad; }

.tour-info {
    padding: 1.5rem;
}

.tour-info h3 {
    margin: 0 0 0.5rem;
    font-size: 1.25rem;
}

.tour-info h3 a {
    color: inherit;
    text-decoration: none;
}

.tour-info h3 a:hover {
    color: #3498db;
}

.duration {
    color: #7f8c8d;
    margin: 0 0 1rem;
    font-size: 0.9rem;
}

.tour-excerpt {
    color: #555;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.tour-meta {
    font-size: 0.85rem;
    color: #7f8c8d;
}

/* Sección de Contacto Fija */
.fixed-contact-section {
   
    color: white;
    padding: 3rem;
    border-radius: 8px;
    margin-top: 3rem;
}

.contact-card {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.contact-card h3 {
    margin-top: 0;
    font-size: 1.5rem;
}

.contact-card h3 i {
    margin-right: 0.5rem;
}

.contact-methods {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.contact-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--title-color);
    font-weight: 600;
    text-decoration: none;
    padding: 0.75rem 1.5rem;
    border-radius: 10px;
    transition: all 0.3s;
}

.contact-link.email { background: #ffffff; }
.contact-link.phone { background: #2ecc71; }
.contact-link.whatsapp { background: #25D366; }

.contact-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 10px rgba(0,0,0,0.2);
}

.expert-advice {
    background: rgba(255,255,255,0.1);
    padding: 1.5rem;
    border-radius: 8px;
    margin-top: 2rem;
}

.expert-advice h4 {
    margin-top: 0;
    color: #fff;
    margin-bottom: 10px;
}
.expert-advice p{
    color:#fff
}
/*Page about us*/
.about-hero {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('http://kinti.local/wp-content/themes/kinti/assets/images/home/yuncaypata dh.webp');
    background-size: cover;
    background-position: center;
    color: var(--white);
    text-align: center;
    padding: 10rem 1rem;
}

.about-hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #fff;
}

.about-hero p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto;
    color: #fff;
}

.about-container {
    max-width: 1350px;
    margin: 4rem auto;
    padding: 0 4rem;
}

.about-page {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    align-items: center;
    margin-bottom: 3rem;
}



.about-text h2 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.about-text p {
    margin-bottom: 1.5rem;
}

.about-image {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.about-image img {
    width: 100%;
    height: auto;
    transition: var(--transition);
}

.about-image:hover img {
    transform: scale(1.03);
}

.mission-vision {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin-bottom: 3rem;
}

.mission-vision h2 {
    text-align: center;
    font-size: 1.8rem;
    margin-bottom: 2rem;
    color: var(--primary-color);
}

.mv-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.mv-card {
    padding: 1.5rem;
    border-radius: 8px;
    background-color: var(--light-bg);
    transition: var(--transition);
}

.mv-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
}

.mv-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--red);
}

.team-section {
    text-align: center;
    margin-bottom: 3rem;
}

.team-section h2 {
    font-size: 1.8rem;
    margin-bottom: 2rem;
    color: var(--primary-color);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.team-card {
    background-color: var(--white);
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: var(--red);
}

.team-card:hover {
    transform: translateY(-5px);
}

.team-card img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1rem;
    border: 3px solid var(--red);
}

.team-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.team-card p {
    color: #666;
    font-style: italic;
}


/*page contact us*/
.contacto-kinti {
    font-family: 'Open Sans', sans-serif;
    color: #333;
    line-height: 1.6;
}

.hero-contacto {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('http://kinti.local/wp-content/themes/kinti/assets/images/home/Yuncaypata-Down-Hill.webp');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 10rem 0;
    text-align: center;
    margin-bottom: 40px;
}

.hero-contacto h1 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    font-weight: 700;
}

.hero-contacto p {
    color: #fff;
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto;
}

.contacto-container {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    max-width: 1350px;
    margin: 50px auto;
    padding: 0 4rem;
    min-height: 100vh;

}

.contacto-formulario {
    flex: 1;
    min-width: 300px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.contacto-formulario h2 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.contacto-formulario h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: var(--primary-color);
}

.formulario-wrapper {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    
}

/* Estilos para el formulario de Contact Form 7 */
.wpcf7-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--primary-color);
}

.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 20px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
    transition: border-color 0.3s;
}

.wpcf7-form input:focus,
.wpcf7-form textarea:focus {
    border-color: var(--primary-color);
    outline: none;
}

.wpcf7-form textarea {
    min-height: 150px;
    resize: vertical;
}

.wpcf7-submit {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 12px 30px;
    font-size: 16px;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s;
    font-weight: 600;
    text-transform: uppercase;
}

.wpcf7-submit:hover {
    background-color: var(--primary-color);
}

.contacto-info {
    flex: 1;
    min-width: 300px;
}

.info-card {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    height: 100%;
}

.contacto-info h3 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.contacto-info h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: var(--primary-color);
}

.contacto-datos {
    list-style: none;
    padding: 0;
}

.contacto-datos li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
}

.contacto-datos i {
    font-size: 20px;
    color: var(--primary-color);
    margin-right: 15px;
    margin-top: 3px;
}

.contacto-datos strong {
    display: block;
    margin-bottom: 3px;
}

.contacto-datos a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s;
}

.contacto-datos a:hover {
    color: var(--primary-color);
}

.redes-sociales {
    margin-top: 30px;
}

.redes-sociales h4 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: #2c3e50;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: #f5f5f5;
    border-radius: 5px;
    color: var(--primary-hover);
    font-size: 18px;
    transition: all 0.3s;
}

.social-icons a:hover {
    background-color: #a32b12;
    color: white;
    transform: translateY(-3px);
}

.mapa-container {
    width: 100%;
    height: 400px;
    margin-bottom: -5px; /* Elimina espacio extra debajo del iframe */
}

.mapa-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Estilos responsive */
@media (max-width: 1024px) {
    .tour-card {
        flex: 0 0 calc(50% - 20px);
        min-width: calc(50% - 20px);
    }
    .contact-info-top .contact-item:last-child{
        display: none;
    }
}

/* Mobile styles */
@media (max-width: 768px) {
    html{
        overflow-x: hidden;
    }
    .flags-polylang.movile{
        position: absolute;
        display: flex;
        right: 60px;
    }
    .header-conatiner{
        height: 30px;
    }
    .logo-movile{
        display: block;
    }
    .logo-movile img{
        height: 40px;
    }
    .navbar-container {
        height: 50px;
        padding: 0 20px;
    }

    .topbar-white{
        display: none;
    }
    .menu-toggle {
        display: block;
        position: absolute;
        right: 20px;
        top: 15px;
        z-index: 1001;
    }
    
    .main-navigation {
        position: fixed;
        top: 0;
        right: 0;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background-color: #fff;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        flex-direction: column;
        padding: 60px 20px 20px;
        transition: right 0.3s ease;
        overflow-y: auto;
        display: none;
    }
    
    .main-navigation.active {
        display: block;
    }
    
    .main-menu {
        flex-direction: column;
        width: 100%;
    }
    
    .menu-item {
        margin: 0 0 15px 0;
        width: 100%;
        position: relative;
        flex-direction: column;
    }
    
    .menu-item > a {
        padding: 10px 0;
        border-bottom: 1px solid #eee;
        width: 100%;
    }
    
    .megamenu-submenu {
        position: relative;
        opacity: 1;
        top: 0;
        visibility: visible;
        transform: none;
        box-shadow: none;
        padding: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease, padding 0.3s ease;
        display: block !important;
    }
    
    .megamenu-submenu.open {
        max-height: 1000px;
        padding: 20px 5px;
    }
    
    .menu-item:hover .megamenu-submenu {
        transform: none;
    }
    
    .megamenu-items {
        grid-template-columns: 1fr;
    }
    
    .mobile-submenu-toggle {
        position: absolute;
        right: 0;
        top: 10px;
        width: 30px;
        height: 30px;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        border: none;
        background: none;
        font-size: 18px;
        z-index: 1;
        transition: transform 0.3s ease;
    }
    
    .mobile-submenu-toggle.open {
        transform: rotate(45deg);
    }
    .megamenu-grid{
        display: flex;
        flex-direction: column;
        gap: 5px;
    }
    .tour-card {
        flex: 0 0 calc(100% - 20px);
        min-width: calc(100% - 20px);
    }
    
    .slider-nav {
        width: 35px;
        height: 35px;
        font-size: 18px;
    }
    .slider .list .item .content{
        padding-right: 0;
    }
    .slider .list .item .content .title{
        font-size: 50px;
    }
    .founder-content {
        flex-direction: column;
    }
    
    .founder-text h2 {
        font-size: 2rem;
    }
    
    .founder-text, .founder-image {
        flex: 1 1 100%;
    }
    
    /* Ocultar línea vertical en móvil */
    .founder-content::after {
        display: none;
    }
    .gallery {
        width: auto;
        padding: 0px;
        grid-template-columns: 1fr;
        grid-template-rows: repeat(5, 1fr);
    }
    
    .gallery-item:nth-child(1),
    .gallery-item:nth-child(2),
    .gallery-item:nth-child(3),
    .gallery-item:nth-child(4),
    .gallery-item:nth-child(5) {
        grid-column: 1;
        grid-row: auto;
    }
    /*Categorias*/
    .category-header {
        grid-template-columns: 1fr;
    }
    
    .tour-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-methods {
        flex-direction: column;
        align-items: center;
    }
    .about-section{
        padding: 50px 20px;
    }
    p.parrafo-about{
        margin-top: 20px;
max-width: 100%;
    }
    .slider-container-card{
        padding: 50px 20px 0 20px;
    }
    .founder-section{
        padding: 10px 20px 0 20px;
    }
    .gallery-container{
        padding: 0 20px;
    }
    .about-page {
        grid-template-columns: 1fr;
    }
    
    .about-image {
        order: -1;
    }
    .hero-contacto {
        padding: 60px 0;
    }
    
    .hero-contacto h1 {
        font-size: 2rem;
    }
    
    .contacto-container {
        flex-direction: column;
        padding: 20px 0;
    }
    
    .formulario-wrapper,
    .info-card {
        padding: 20px;
    }
    .about-container{
        padding: 20px;
    }
    .tour-category-detail .container{
        padding: 20px 20px;
    }
    .gallery-item:hover {
    transform: none;
}
    
}