html {
    scroll-behavior: smooth;
}

:root {
    --principal: #2AA3A8;
    --secundario: #F47C5C;
    --fondo: #E6EFF0;
    --negro: #000;
    --blanco: #FFF;
    --fuente: "Poppins", sans-serif;
}

body {
    font-family: var(--fuente);
    margin: 0;
    margin-top: 90px;
}

.container {
    width: 90%;
    margin: 0 auto;
    padding: 0 0;
}

img {
    max-width: 100%;
    display: block;
    border-radius: 15px;
}

.header {
    background-color: var(--fondo);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    width: 100%;
    margin-top: 0;
}

.header h1 {
    font-size: 50px;
}

.header li {
    font-size: 17px;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.navbar__brand {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 0.8;
}

.navbar__logo-link {
    text-decoration: none;
}

.hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
    padding: 5px;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--principal);
    border-radius: 3px;
    transition: all 0.5s ease;
}

.navbar__logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--principal);
    margin: 0;
}

.navbar__logo span {
    color: var(--negro);
}

.navbar__menu {
    display: flex;
    list-style: none;
    gap: 30px;
    margin: 0;
    padding: 0;
    flex: 1;
    justify-content: center;
}

.navbar__menu a {
    text-decoration: none;
    color: var(--negro);
    font-weight: 700;
}

.navbar__right {
    display: flex;
    gap: 10px;
    align-items: center;
    flex: 1;
    justify-content: center;
}

.navbar__search {
    height: 35px;
    padding: 0 15px;
    border-radius: 20px;
    border: none;
    background-color: var(--secundario);
    color: white;
    font-weight: 700;
}

.navbar__search::placeholder {
    color: white;
    font-weight: 700;
}

.navbar__login {
    height: 35px;
    padding: 0 15px;
    border-radius: 20px;
    background-color: var(--secundario);
    color: white;
    text-decoration: none;
    display: flex;
    align-items: center;
    font-weight: 700;
}

.hero {
    background-color: var(--principal);
    color: white;
    display: flex;
    align-items: center;
    padding: 3rem;
    gap: 2rem;
}

.hero__text {
    width: 50%;
}

.hero__text h2 {
    font-size: 2rem;
    max-width: 450px;
    line-height: 1.4;
}

.hero__img {
    width: 50%;
}

.Boton_Principal {
    background-color: var(--secundario);
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 20px;
    text-decoration: none;
    display: inline-block;
    margin-top: 1rem;
    font-weight: 700;
}

.Boton_Principal:hover {
    background-color: white;
    color: var(--secundario);
    border: 2px solid var(--secundario);
    transform: scale(1.05);
    padding: 0.8rem 1.8rem;
    transition: all 0.3s ease;
}

.about {
    background-color: var(--fondo);
    padding: 3rem 0;
    width: 100%;
}

.about__title {
    text-align: center;
    color: var(--principal);
    font-size: 1.8rem;
    max-width: 500px;
    margin: 0 auto 2rem auto;
    line-height: 1.4;
}

.about__content {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.about__img,
.about__text {
    width: 50%;
}

.about__text p {
    line-height: 2;
    font-weight: 600;
    font-size: 1.1rem;
}

@media (max-width: 768px) {

    .navbar__brand,
    .navbar__menu,
    .navbar__right {
        flex: unset; 
    }

    .navbar {
        flex-wrap: wrap; 
    }

    .hamburger {
        display: flex;
        margin-left: auto;
    }

    .navbar__menu, 
    .navbar__right {
        width: 100%;
        flex-direction: column;
        align-items: center;
        gap: 15px;
        margin-top: 15px;
        opacity: 0;
        max-height: 0;
        overflow: hidden;
        transition: opacity 1s ease, max-height 0.4s ease;
    }

    .navbar.active .navbar__menu,
    .navbar.active .navbar__right {
        opacity: 1;
        max-height: 500px;
    }

    .hamburger.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
    .hamburger.active span:nth-child(2) { opacity: 0; }
    .hamburger.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

    .hero {
        flex-direction: column;
        text-align: center;
    }

    .hero__text,
    .hero__img {
        width: 100%;
    }

    .hero__text h2 {
        max-width: 100%;
    }

    .about__content {
        flex-direction: column;
    }

    .about__img,
    .about__text {
        width: 100%;
    }
}

.destinations {
    background-color: var(--principal);
    padding: 3rem 0;
}

.destinations h3 {
    text-align: center;
    color: var(--blanco);
    font-size: 1.8rem;
    max-width: 500px;
    line-height: 1.4;
    margin: 0 auto 2rem auto;
}

.destinations__wrapper {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.destination {
    background-color: var(--fondo);
    padding: 1rem;
    border-radius: 15px;
    width: 35%;
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.destination img {
    width: 40%;
    height: auto;
    border-radius: 15px;
}

.destination-content {
    width: 60%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.destination h4 {
    text-align: left;
    margin: 0 0 0.5rem 0;
    font-size: 1.2rem;
}

.destination p {
    text-align: left;
    margin: 0;
    line-height: 1.5;
    font-size: 0.95rem;
}

.destination .Boton_Mapa {
    margin-top: 1rem;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    background-color: var(--secundario);
    color: white;
    border: 2px solid var(--secundario);
    font-weight: 700;
    cursor: pointer;
    display: inline-block;
    text-align: center;
    transition: all 0.3s ease;
    align-self: center;
    text-decoration: none;
    font-size: 0.9rem;
}

.destination .Boton_Mapa:hover {
    background-color: var(--principal);
    color: white;
    border: 2px solid var(--principal);
    transform: scale(1.05);
    padding: 0.5rem 1.2rem;
}

.Iconos_Destino {
    display: flex;
    gap: 1rem;
    margin-top: 0.5rem;
    justify-content: center;
    gap: 5.5rem;
    padding: 1rem;
}

.Iconos_Destino .Icono_Mapa i,
.Iconos_Destino .Icono_Contacto i {
    font-size: 2rem;
    color: var(--secundario);
    padding: 0;
    transition: all 0.3s ease;
}

.Iconos_Destino .Icono_Mapa i:hover,
.Iconos_Destino .Icono_Contacto i:hover {
    font-size: 2rem;
    color: var(--principal);
    transform: scale(1.25);
}

@media (max-width: 1024px) {
    .destination {
        width: 45%;
    }
}

@media (max-width: 768px) {
    .destinations h3 {
        font-size: 1.5rem;
        max-width: 90%;
    }

    .destinations__wrapper {
        gap: 1.5rem;
    }

    .destination {
        width: 85%;
        flex-direction: column;
        gap: 1rem;
    }

    .destination img {
        width: 70%;
    }

    .destination-content {
        width: 100%;
    }

    .destination h4 {
        text-align: center;
        font-size: 1.3rem;
    }

    .destination p {
        text-align: center;
        font-size: 0.9rem;
    }

    .destination .Boton_Mapa {
        align-self: center;
    }
}

@media (max-width: 480px) {
    .destinations {
        padding: 2rem 0;
    }

    .destinations h3 {
        font-size: 1.3rem;
        margin-bottom: 1.5rem;
    }

    .destinations__wrapper {
        gap: 1rem;
    }

    .destination {
        width: 80%;
    }

    .destination h4 {
        font-size: 1.1rem;
    }

    .destination p {
        font-size: 0.85rem;
        line-height: 1.4;
    }

    .destination .Boton_Mapa {
        padding: 0.4rem 0.8rem;
        font-size: 0.8rem;
    }

    .destination .Boton_Mapa:hover {
        padding: 0.4rem 1rem;
    }
}


/* ====== Fondo del carrusel ====== */
.galeria {
    padding: 40px 0;
    background: var(--fondo);
    text-align: center;
}

.galeria h2 {
    color: var(--principal);
    font-family: var(--fuente);
    text-align: center;
    line-height: 1.3;
    margin-bottom: 20px;
    font-size: clamp(22px, 4vw, 34px);
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 15px;
}

/* ====== CARRUSEL ====== */
.slider {
    width: 100%;
    max-width: 800px;
    aspect-ratio: 16 / 9; 
    margin: 0 auto;
    overflow: hidden;
    position: relative;
    border-radius: 20px;
    background: var(--blanco);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.slider input {
    display: none;
}
.carrusel > input[type="radio"] {
    display: none;
}

.slides {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.8s ease;
}

.slide {
    width: 100%;
    flex-shrink: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    background: var(--fondo);
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;   
    object-position: center; 
}

#slide1:checked ~ .slider .slides { transform: translateX(0); }
#slide2:checked ~ .slider .slides { transform: translateX(-100%); }
#slide3:checked ~ .slider .slides { transform: translateX(-200%); }
#slide4:checked ~ .slider .slides { transform: translateX(-300%); }
#slide5:checked ~ .slider .slides { transform: translateX(-400%); }
#slide6:checked ~ .slider .slides { transform: translateX(-500%); }
#slide7:checked ~ .slider .slides { transform: translateX(-600%); }

.navegacion {
    display: flex;
    justify-content: center;
    margin-top: 15px;
}

.navegacion label {
    width: 12px;
    height: 12px;
    background: rgba(255,255,255,0.6);
    margin: 6px;
    border-radius: 50%;
    display: inline-block;
    cursor: pointer;
    transition: all 0.3s ease;

    border: 2px solid rgba(0, 0, 0, 0.2);
}

.navegacion label:hover {
    background: var(--principal);
}

#slide1:checked ~ .navegacion label[for="slide1"],
#slide2:checked ~ .navegacion label[for="slide2"],
#slide3:checked ~ .navegacion label[for="slide3"],
#slide4:checked ~ .navegacion label[for="slide4"],
#slide5:checked ~ .navegacion label[for="slide5"],
#slide6:checked ~ .navegacion label[for="slide6"],
#slide7:checked ~ .navegacion label[for="slide7"] {
    background: var(--secundario);
    transform: scale(1.2);
}

.slide {
    position: relative;
}

.Boton_Continente {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: var(--principal);
    color: var(--blanco);
    padding: 10px 18px;
    border-radius: 20px;
    font-size: 15px;
    font-family: var(--fuente);
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 4px 10px rgba(0,0,0,0.25);
    transition: all 0.3s ease;
}

.Boton_Continente:hover {
    background: var(--secundario);
    transform: scale(1.08);
}

.Boton_Continente:active {
    transform: scale(0.95);
}

@media (max-width: 768px) {
    .galeria h2 {
        font-size: 24px;
        padding: 0 10px;
    }

    .slider {
        width: 95%;
    }

    .Boton_Continente {
        font-size: 14px;
        padding: 8px 14px;
        bottom: 15px;
        left: 15px;
    }
}

@media (max-width: 480px) {
    .galeria h2 {
        font-size: 20px;
    }

    .slider {
        width: 95%;
        aspect-ratio: 4 / 3; 
    }

    .Boton_Continente {
        font-size: 12px;
        padding: 6px 12px;
        bottom: 10px;
        left: 10px;
    }

    .navegacion label {
        width: 8px;
        height: 8px;
        margin: 4px;
    }
}



/* ===== SECCIÓN FILTROS ===== */
.filtros {
    background: var(--fondo);
    padding: 50px 0;
    text-align: center;
    
}

.filtros h2 {
    color: var(--principal);
    font-family: var(--fuente);
    text-align: center;
    line-height: 1.3;
    margin-bottom: 20px;
    font-size: clamp(22px, 4vw, 34px);
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 15px;
}


.filtros input {
    display: none;
}

.filtros-botones {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 30px;
}

.filtros-botones label {
    background: var(--principal);
    color: var(--blanco);
    padding: 10px 18px;
    border-radius: 20px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.3s;
}

.filtros-botones label:hover {
    background: var(--secundario);
}

.grupo {
    display: none;
    justify-content: center;
    gap: 15px;
}

.grupo img {
    width: 30%;
    height: 300px;
    object-fit: cover;
    border-radius: 20px;
}

/* ===== Mostrar según filtro ===== */
#cascadas:checked ~ .contenidos .cascadas { display: flex; }
#castillos:checked ~ .contenidos .castillos { display: flex; }
#lagos:checked ~ .contenidos .lagos { display: flex; }
#playas:checked ~ .contenidos .playas { display: flex; }
#templos:checked ~ .contenidos .templos { display: flex; }
#volcanes:checked ~ .contenidos .volcanes { display: flex; }

/* ===== Activar con botón ===== */
#cascadas:checked ~ .filtros-botones label[for="cascadas"],
#castillos:checked ~ .filtros-botones label[for="castillos"],
#lagos:checked ~ .filtros-botones label[for="lagos"],
#playas:checked ~ .filtros-botones label[for="playas"],
#templos:checked ~ .filtros-botones label[for="templos"],
#volcanes:checked ~ .filtros-botones label[for="volcanes"] {
    background: var(--secundario);
}
.presupuesto-container {
    display: flex;             
    align-items: center;       
    gap: 15px;                 
    color: white;
    font-weight: 700;
    margin: 20px 0;
}

.presupuesto-container input {
    width: 30px;             
    height: 10px;
    border-radius: 15px;       
    border: 1px solid #ccc;
    padding: 0 10px;
    outline: none;
}
@media (max-width: 768px) {
    .grupo {
        flex-direction: column;
        align-items: center;
    }

    .grupo img {
        width: 80%;
        height: 180px;
    }
}

@media (max-width: 480px) {
    .grupo img {
        width: 90%;
        height: 160px;
    }

    .filtros h2 {
        font-size: 20px;
    }
}

/* =========================================
CONTACTO (Main)
   ========================================= */
.Seccion_Contacto {
    background-color: var(--fondo);
    padding: 3rem 0;
}

.Formulario_Contacto {
    width: 45%;
    margin: 0 auto;
    border-radius: 20px;
    background-color: var(--principal);
    border: solid 1px var(--principal);
}

.Formulario_Contacto h4, form {
    text-align: center;
}

.Formulario_Contacto h4 {
    color: var(--blanco);
    font-size: 1.5rem;
}

.Formulario_Contacto form {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    font-weight: 600;
}

.Formulario_Contacto form input {
    width: 70%;
    padding: 0.8rem;
    border-radius: 20px;
    border: none;
    font-size: 1rem;
    font-weight: 600;
}

.Formulario_Contacto form label {
    color: var(--blanco);
    padding-right: 1rem;
}

.Formulario_Contacto form select {
    border-radius: 20px;
    padding: 0.2rem;
}

.Formulario_Contacto form p, i {
    color: var(--blanco);
    padding: 0 1rem;
}

.Formulario_Contacto .Boton_Enviar {
    border-radius: 20px;
    background-color: var(--secundario);
    color: white;
    border: 1px solid var(--secundario);
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 2rem;
    font-size: 15px;
    padding: 0.8rem 1.5rem;
}

.Formulario_Contacto .Boton_Enviar:hover {
    background-color: white;
    color: var(--secundario);
    border: 2px solid var(--secundario);
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .Formulario_Contacto { width: 85%; padding: 1.5rem 1rem; }
    .Formulario_Contacto h4 { font-size: 1.3rem; }
    .Formulario_Contacto form input { width: 80%; }
    .Formulario_Contacto form p { text-align: center; }
    .Formulario_Contacto form select { width: 35%; }
    .Formulario_Contacto .Boton_Enviar { width: 50%; padding: 0.7rem; }
}

@media (max-width: 480px) {
    .Formulario_Contacto { width: 80%; }
    .Formulario_Contacto form input { width: 80%; font-size: 0.9rem; }
    .Formulario_Contacto h4 { font-size: 1.2rem; }
    .Formulario_Contacto .Boton_Enviar { width: 70%; font-size: 0.9rem; }
}

#about,
#destinations,
#contact {
    scroll-margin-top: 90px;
}

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


.footer-container {
    background-color: #2c3e50; 
    color: #ecf0f1; 
    padding: 40px 5%; 
    margin-top: 30px; 
    display: flex;
    justify-content: space-between; 
    flex-wrap: wrap; 
}

.footer-column {
    
    flex-basis: 22%; 
    margin-bottom: 30px;
    min-width: 180px;
}


.footer-column h4 {
    color: var(--principal); 
    font-size: 18px;
    margin-bottom: 25px;
    border-bottom: 2px solid #3498db; 
    padding-bottom: 5px;
}


.footer-column ul {
    list-style: none; 
    padding: 0;
}

.footer-column li {
    margin-bottom: 12px; 
}

.footer-column a {
    color: #ecf0f1; 
    text-decoration: none; 
    font-size: 15px;
    transition: color 0.3s ease;
}

.footer-column a:hover {
    color: #ffffff;
    text-decoration: underline;
}



.app-column {
    display: flex; 
    flex-direction: column;
    align-items: flex-start; 
}

.app-button {
    display: inline-flex; 
    align-items: center;
    padding: 12px 25px; 
    border-radius: 10px; 
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15); 
    transition: all 0.3s ease; 
    text-decoration: none; 
    display: block; 
    margin-bottom: 15px; 
}

.app-button i {

    color: white; 
    font-size: 28px; 
    margin-right: 10px; 
    transition: transform 0.3s ease; 
}

.app-button:hover {
    transform: translateY(-3px); 
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.25);
}


.google {
    background-color: #f9db00; 
    color: #333;
}
.google:hover {
    background-color: #e0c200;
}

.app-store {
    background-color: #000000; 
    color: #fff;
}
.app-store:hover {
    background-color: #333333;
}
.app-button:hover i {
    transform: scale(1.2); 
}


.footer-bottom {
    background-color: #1f2d38; 
    padding: 20px 5%;
    text-align: center;
    border-top: 1px solid #34495e; 
}

.footer-bottom p {
    font-size: 14px;
    margin-bottom: 10px;
}

.legal-links a {
    color: #a0c4ff; 
    font-size: 14px;
    text-decoration: none;
    margin: 0 5px;
    transition: color 0.2s;
}

.legal-links a:hover {
    color: #ffffff;
}



/* Ajuste para pantallas medianas */
@media (max-width: 992px) {
    .footer-container {
        padding: 10px 4%;
    }
    
    .footer-column {
        flex-basis: 45%; 
    }
}

/* ajuste para pantallas pequeñas */
@media (max-width: 768px) {
    .footer-column {
        flex-basis: 100%; 
        text-align: center; 
    }

    .footer-column h4 {
        text-align: center;
        display: block; 
        width: fit-content; 
        margin-left: auto; 
        margin-right: auto;
    }
    
    .footer-column ul {
        text-align: center;
    }

    .footer-column li {
        text-align: center;
    }
    
    .app-column {
        align-items: center; 
        margin-top: 20px;
    }
}

/* =============================================
   OPTIMIZACIONES DE ACCESIBILIDAD
   ============================================= */

/* Oculta labels visualmente pero los mantiene
   legibles para lectores de pantalla */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Label del campo de fecha */
.date-label {
    color: var(--blanco);
    font-weight: 600;
    font-size: 0.95rem;
}


/* =============================================
    PREGUNTAS FRECUENTES 
   ============================================= */

.faq {
    background-color: var(--blanco);
    padding: 60px 20px;
}

.faq__container {
    max-width: 1200px;
    margin: 0 auto;
}

.faq__title {
    font-size: clamp(22px, 3.5vw, 32px);
    font-weight: 700;
    color: var(--principal);
    margin-bottom: 40px;
}

.faq__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 60px;
}

/* Input checkbox oculto */
.faq__check {
    display: none;
}

.faq__item {
    border-bottom: 1px solid #e0e0e0;
}

.faq__question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 0;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--negro);
    cursor: pointer;
    gap: 12px;
    transition: color 0.2s ease;
    line-height: 1.45;
}

.faq__question:hover {
    color: var(--principal);
}

.faq__icon {
    font-size: 1.3rem;
    color: var(--negro);
    flex-shrink: 0;
    transition: transform 0.3s ease;
    display: inline-block;
}

/* Respuesta oculta por defecto */
.faq__answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.3s ease;
}

.faq__answer p {
    margin: 0 0 16px;
    font-size: 0.9rem;
    color: #555;
    line-height: 1.6;
}

/* Cuando el checkbox está marcado: abre la respuesta */
.faq__check:checked + .faq__question + .faq__answer {
    max-height: 300px;
}

/* Rota el ícono cuando está abierto */
.faq__check:checked + .faq__question .faq__icon {
    transform: rotate(180deg);
    color: var(--principal);
}

.faq__check:checked + .faq__question {
    color: var(--principal);
}

/* Responsive: una columna en móvil */
@media (max-width: 768px) {
    .faq__grid {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .faq__title {
        font-size: 22px;
    }

    .faq__question {
        font-size: 0.9rem;
        padding: 15px 0;
    }
}
