* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


.slider-destino, .sobre-grid, .vehiculo-grid, .servicios-grid{
    animation: appear 5s linear;
    animation-timeline: view();
    animation-range: entry 10% cover 40%;
    animation-fill-mode: both;
}

@keyframes appear{
    from{
        opacity: 0;
        translate: 0 200px;
        /* scale: 0; */
    }
    to{
        opacity: 1;
        translate: 0 0;
        /* scale: 1; */
    }
}


html{
    scroll-behavior: smooth;
}


body {
    font-family: 'Poppins', sans-serif;
    color: #333;
    margin: 0;
}




/* ====== Header ====== */

.header {
    position: fixed;
    width: 100%;
    padding: 15px 40px;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    z-index: 1000;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    width: 60px;
    cursor: pointer;
    transition: 0.4s ease;
}

.logo img:hover{
    border-radius: 100px;
    outline: 4px solid #2e7d32;
    padding: 2px ;

}


.nav a {
    color : #333;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.2rem;
}

.nav {
    display: flex;
    gap: 50px;
}

.nav a:hover {
    color: #2e7d32;
    transition: 0.3s;
}

.btn-wsp{
    background: #2e7d32;
    color: white;
    border-radius: 20px;
    border: 3px solid #ffffff;
    padding: 10px 30px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
}

.btn-wsp:hover{
    background-color: #023f05e5;
}

#btn-menu{
    display: none;
}

.nav-container label{
    display: none;
    width: 30px;
    height: 30px;
    padding: 10px;
    border-right:1px solod white;
}

.nav-container label:hover {
    cursor: pointer;
    background: rgba(0,0,0,0.3);
}

.nav img{
    display: none;
}


/* ====== Hero ====== */

.hero {
    height: 100vh;
    background: url('../assets/img/Hero.png') no-repeat 70% center/cover;
    position: relative;
    display: flex;
    align-items: center;
    color: white;
}

.hero-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
}

.hero-content {
    position: relative;
    max-width: 800px;
    padding-left: 80px;

}

.hero-content h1 {
    font-size: 5rem;
    margin-bottom: 20px;
}

.hero-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.btn-main{
    display: inline-block;
    margin-bottom: 20px;
    background: #2e7d32;
    color: white;
    padding: 20px 40px;
    border-radius: 30px;
    border: 2px solid white;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 700;
    transition: 0.3s;
}

.btn-main:hover {
    background: #256427;
}




/* ====== Destinos ====== */

.destino {
    padding: 180px 90px;
    background: linear-gradient(rgba(255, 255, 255, 0.611)), url(../assets/img/FondoDestino.jpeg) center/cover no-repeat; 
}

.destino h2 {
    margin-top: -80px;
    text-align: center;
    font-size: 3rem;
    margin-bottom: 60px;
    color: #2e7d32;
}
.destino h2::after {
    content: '';
    display: block;
    width: 400px;
    height: 4px;
    background: #2e7d32;
    margin: 20px auto 0;
    border-radius: 4px;
}

.destino-item h3 {
    font-size: 1.5rem;
    font-weight: 60;
    margin-bottom: 10px;
    color: #2e7d32;
}

.destino-item p {
    font-size: 1rem;
    color: #000000;
    font-weight: 600;
}

.destino-item{
    background: white;
    text-align: center;
    padding: 30px;
    max-width: 400px;
    border-radius: 50px;
    margin: 0 25px;
    outline: 5px solid #2e7d32;

}

.destino-item img {
    width: 100%; 
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 20px;
    transition: transform 0.3s;
}

/* Ajustes para Swiper */
.slider-destino.swiper {
    width: 100%;
    padding: 20px 0;
    overflow: hidden;
    position: relative;

}

.destino-item.swiper-slide {
    background: white;
    text-align: center;
    padding: 25px; /* Espacio interno */
    border-radius: 30px; /* Bordes redondeados más suaves */
    box-shadow: 0 10px 30px rgba(0,0,0,0.05); 
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}


.swiper-button-next,
.swiper-button-prev {
    color: #2e7d32;
    height: 50px;
    width: 50px;
    background-color: #00000072;
    border-radius: 50%;
    padding: 30px;
    font-size: 20px;
    font-weight: bold;
    display: flex;              /* 🔥 clave */
    align-items: center;        /* centra vertical */
    justify-content: center;    /* centra horizontal */
}


.destino-item img:hover {
    transform: scale(1.1);
}


/* ===== SLIDER ===== */

.slider-destino{
    overflow: hidden;
    width: 100%;
    position: relative;
}

.slide-track-destino img{
    width: 100%px;
    height: 220px;
    object-fit: cover;
    margin-right: 20px;
    border-radius: 15px;
}

/* 
.slide-track-destino{
    display: flex;
    width: calc(450px * 7);
} */


@keyframes scroll{
    0%{
        transform: translateX(0);
    }

    100%{
        transform: translateX(-50%);
    }
} 



/* ===== SOBRE ===== */

.sobre{
    padding: 130px 90px;
    text-align: center;
    background:
    linear-gradient(rgba(255,255,255,0.7), rgba(255,255,255,0.7)),
    url("../assets/img/FondoSobre.jpeg") center/cover no-repeat;
}

.sobre-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center; 
    max-width: 1200px;
    margin: 0 auto;
}

.sobre h2{
    margin-top: -35px;
    text-align: center;
    font-size: 3rem;
    color: #2e7d32;
}

.sobre h2::after {
    content: '';
    display: block;
    width: 150px;
    height: 4px;
    background: #2e7d32;
    margin: 20px auto 0;
    border-radius: 4px;
}

.sobre p{
    text-align: justify;
    margin-top: 90px;
    margin-bottom: 50px;
    font-size: 1.5rem;
    line-height: 1.7;
    font-weight: 600;
    background-color: #ffffff87;
    border-radius: 30px;
    padding: 40px;
    outline: 2px solid #2e7d32;
}

.columna.imagen {
    display: flex;  
    justify-content: center;
    gap: 30px;            
    flex-wrap: wrap;      
    margin-top: 30px;       
}

.imagen img{
    width: 60%;
    height: 70%;
    margin-top: -20px;
    object-fit: cover;
    border-radius: 50%;
    outline: 5px solid #2e7d32;
    outline-offset: 10px;
}

/* ====== vehiculo ======*/

.vehiculo {
    padding: 100px 90px;
    background:
    linear-gradient(rgba(255,255,255,0.7), rgba(255,255,255,0.7)),
    url("../assets/img/FondoSobre.jpeg") center/cover no-repeat;
}

.vehiculo-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center; 
    max-width: 1200px;
    margin: 0 auto;
}

.vehiculo h2{
    text-align: center;
    font-size: 3rem;
    color: #2e7d32;
    margin-bottom: 40px;
}

.vehiculo h2::after {
    content: '';
    display: block;
    width: 150px;
    height: 4px;
    background: #2e7d32;
    margin: 10px auto 0;
    border-radius: 4px;
}

.vehiculo-text ul {
    list-style: none;
    padding: 0;
}

.vehiculo-text li {
    background: white;
    margin-bottom: 15px;
    padding: 20px;
    border-radius: 20px;
    font-size: 1.2rem;
    border-left: 6px solid #2e7d32;
    text-align: left;
    transition: transform 0.3s ease;
}

.vehiculo-text li:hover {
    transform: scale(1.03);
}

.vehiculo-imagen img {
    width: 100%;
    height: 450px;
    object-fit: cover;
    border-radius: 30px;
    outline: 5px solid #2e7d32;
    outline-offset: 10px;
}



/* ====== Servicios ====== */

.servicios {
    padding: 180px 90px;
    background: linear-gradient(rgba(255, 255, 255, 0.611)), url(../assets/img/FondoServicio.png) center/cover no-repeat;
}

.section-title {
    text-align: center;
    font-size: 3rem;
    color: #2e7d32;
    margin-bottom: 90px;
}

.section-title::after {
    content: '';
    display: block;
    width: 400px;
    height: 4px;
    background: #2e7d32;
    margin: 20px auto 0;
    border-radius: 4px;
}

.servicios-grid{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    justify-content: center;
    gap: 15px;
}

.servicio-card{
    background: white;
    border-radius: 30px;
    text-align: center;
    padding: 20px;
    max-width: 350px;
    transition: 0.3s;
    outline: 2px solid #2e7d32;
}

.servicio-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(5, 182, 25);
}

.servicio-card i{
    font-size: 2.5rem;
}

/* ===== FOOTER ===== */

.footer{
    background: #1f1f1f;
    color: white;
    padding: 60px 80px 20px 80px;
}

/* contenedor principal */

.footer-container{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

/* columna izquierda */
.footer-left h1{
    font-size: 2rem;
    color: #2e7d32;
    margin-bottom: 20px;
}

.footer-left p{
    color: #ccc;
    line-height: 1.6;
}

/* columna derecha */
.footer-right {
    text-align: right;
}

.footer-right h3{
    margin-bottom: 15px;
    border-bottom: 2px solid #2e7d32;
    display: inline-block;
    padding-bottom: 5px;
}

.footer-right p{
    margin: 10px 0;
    color: #ccc;
}

.footer-right i{
    margin-right: 10px;
    color: #4a90e2;
}

/* barra inferior */

.footer-bottom{
    border-top: 1px solid #444;
    margin-top: 40px;
    padding-top: 15px;
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    color: #aaa;
}


@media (max-width: 992px) {
    .header { 
        padding: 15px 20px; 
    }
    .nav { 
        gap: 20px;
    }
    
    .hero-content { 
        padding-left: 40px; 
    }
    .hero-content h1 { 
        font-size: 3.5rem;
    }
    
    .destino, .sobre, .vehiculo, .servicios {
        padding: 80px 40px;
    }

    .destino h2::after, .section-title::after { 
        width: 250px; 
    }
}

@media (max-width: 768px) {
    .slider-destino, .sobre-grid, .vehiculo-grid, .servicios-grid{
    animation: appear 5s linear;
    animation-timeline: view();
    animation-range: entry 10% cover 35%;
    animation-fill-mode: both;
    }

    .nav-container label {
        display: block ;
        order: -1; 
        margin-bottom: 20px;
    }

    .nav { 
        position: fixed; 
        background: white;
        width: 50%;      
        height: 100vh;  
        top: 0;
        left: -100%;     
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: all 0.5s ease;
        z-index: 999;
    }

    #btn-menu:checked ~ .nav {
        left: 0; 
    }

    .nav a {
        padding: 20px;
        width: 100%;
        text-align: center;
        border-bottom: 1px solid #eee;
    }
    .nav img{
        display: block;
        width: 80px;
        cursor: pointer;
        transition: 0.4s ease;
        margin-bottom: 50px;
    }

    .logo img {
        display: none;
    }


    .btn-wsp { 
        padding: 8px 15px;
        font-size: 0.9rem; 
    }

    /* Hero */
    .hero-content { 
        padding: 0 20px; text-align: center; 
    }

    .hero-content h1 { 
        font-size: 2.8rem; 
    }

    .hero-content h2 { 
        font-size: 1.8rem; 
    }
    
    .swiper-button-next{
        display: none; 
    }
    .swiper-button-prev {
        display: none; 
    }
    

    .destino-item.swiper-slide {
        border-radius: 30px;
        margin: 0;
    }

    /* Grillas a 1 columna */
    .vehiculo-grid, .footer-container, .sobre-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }

    .destino h2 {
        margin-top: 35px;
    }

    /* Sobre Mi */
    .sobre p { 
        font-size: 1.2rem; 
        margin-top: 40px; 
    }

    .sobre h2{
        margin-top: 20px;
    }

    .imagen img { 
        width: 100%; height: auto; 
        max-width: 200px; 
        margin-top: 20px;

    }

    /* Vehículo */
    .vehiculo-text ul { 
        text-align: center; 
    }

    .vehiculo-text li { 
        font-size: 1rem; 
        padding: 15px; 
    }

    .vehiculo-imagen img { 
        height: 300px; 
        outline-offset: 5px; 
    }

    .servicios h2{
        margin-bottom: 10px;
    }

    /* Servicios  */
    .servicios-grid {
        grid-template-columns: 1fr;
        justify-items: center;
    }

    /* Footer */
    .footer-left{
        display: none;
    }
    .footer-right{
        align-items: center;
        text-align: center;
    }
    .footer-right h4{
        text-align: left;
        align-items: center;
        font-size: .8rem;
    }
     .footer-bottom {
        flex-direction: column;
        gap: 10px;
        text-align: left;
    }
}
