body {
    font-family: Arial, sans-serif;
    margin: 0;
    background: #f5f5f5;
    color: #333;
}


@keyframes gradientBG {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Header */
header {
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    background-color: black; /* Color de fondo */
    box-shadow: 0 2px 8px rgba(0,0,0,0.1); /* Sombra sutil */
    position: relative;
}

/* Logo */
header img {
    display: block;
    width: 150px;
    height: 100px;
    object-fit: contain;
}

/* ----- HEADER FIJO ----- */
.header-fijo {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 0px 0px;
    background: black; /* rgba(0, 60, 140, 0.65);  azul transparente elegante */
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 4px 10px rgba(0,0,0,0.25);
    z-index: 1000;
    animation: slideDown 0.6s ease;
}

/* Animación al aparecer */
@keyframes slideDown {
    from { transform: translateY(-100%); }
    to { transform: translateY(0); }
}

.logo-vari {
    width: 80px;
    height: auto;
}

/* ----- NAV MENU ----- */
header nav {
    display: flex;
    gap: 25px;
}

header nav a i {
    margin-right: 8px;
    color: #ffd700;
    transition: 0.3s;
}

header nav a {
    color: #fff;
    text-decoration: none;
    font-size: 18px;
    font-weight: 500;
    transition: 0.3s;
}

header nav a:hover {
    color: #ffd700; /* dorado */
    transform: scale(1.2);
}

/* ----- BOTÓN HAMBURGUESA ----- */
.menu-toggle {
    display: none;
    font-size: 28px;
    color: white;
    cursor: pointer;
}

/* ----- RESPONSIVE ----- */
@media (max-width: 768px) {

.logo-vari {
    width: 80px;
    height: auto;
}

    .menu-toggle {
        display: block;
    }

    header nav {
        position: fixed;
        top: 80px;
        right: -100%;
        width: 200px;
        background: rgba(0, 60, 140, 0.9);
        flex-direction: column;
        padding: 20px;
        gap: 15px;
        border-radius: 10px 0 0 10px;
        transition: 0.4s ease;
    }

    header nav.show {
        right: 0;
    }

    header nav a {
        font-size: 20px;
        padding: 8px 0;
    }
}

main {
    padding-top: 102px; /* evita que el header tape el contenido */

    background: linear-gradient(135deg, #63ff19, #96ff99);
    animation: gradientBG 8s ease infinite;
}

.logo {
  font-size: 0.8em;
  font-weight: bold;
}
.logo span { color: #0077b6; }

/* Estilo general del menú */
#menu {
    display: flex;
    gap: 20px;
    padding: 20px;
    z-index: 2;
}

#menu a {
    color: white;
    text-decoration: none;
    padding: 8px 12px;
}

#menu a:hover {
    background: #555;
}


/* Botón hamburguesa */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 25px;
    height: 20px;
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    height: 3px;
    background-color: #333;
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* Animación del toggle cuando está activo */
.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}
.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}


.mapa {
    text-align: center;
    padding: 0px 0px;
}

.mapa h3 {
    margin-bottom: 5px;
    font-size: 1.8em;
}

.hero {
    position: relative;
    height: 68vh;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

@keyframes gradientBG {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.hero-video {
    position: absolute;
    top: 100%;
    left: 50%;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: translate(-50%, -100%);
    z-index: -1;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: #fff;
    padding: 0px;
}

.hero-content h1,.hero-content h3,
.hero-content p {
    text-shadow: 0 3px 10px rgba(0, 0, 0, 0.5);
}


.btn {
    background: #F86F2F;
    color: white;
  padding: 10px 10px;
  border: none;
  border-radius: 4px;
  text-decoration: none;
}

.btn:hover {
  background: #005f87;
}

.contenido {
  padding: 40px 20px;
  max-width: 800px;
  margin: auto;
}

.grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.card {
  background: #fafafa;
  border: 1px solid #eee;
  border-radius: 8px;
  padding: 20px;
  text-align: center;
}

.contenedor {
    display: grid;
    gap: 20px;
    padding: 20px;
    /* Por defecto en PC (puedes poner 3 o 4) */
    grid-template-columns: repeat(4, 1fr);
}

.destino {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.destino img {
    width: 100%;
    height: 500px;
    object-fit: cover;
}

/* Tablets */
@media (max-width: 768px) {
    .contenedor {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* 📱 Móviles → 2 columnas */
@media (max-width: 480px) {
    .contenedor {
        grid-template-columns: repeat(2, 2fr);
    }

    .destino img {
        width: 100%;
        height: 240px; /* opcional */
    }
}

form {
    max-width: 400px;
    margin: auto;
    display: flex;
    flex-direction: column;
}

input, select, textarea {
    margin-bottom: 10px;
    padding: 10px;
    border-radius: 4px;
    border: 1px solid #ccc;
}

footer {
    background: #F86F2F;
    color: white;
    text-align: center;
    padding: 20px;
    border-top: 1px solid #eee;
    font-size: 0.9em;
}

.social a {
    color: white;
    margin: 0 10px;
    font-size: 1.5em;
}

.img-acerca {
    display: block;
    margin: 20px auto;
    max-width: 60%;
    border-radius: 10px;
}

.exito {
    color: green;
    text-align: center;
    margin-top: 15px;
}

.error {
    color: red;
    text-align: center;
    margin-top: 15px;
}

.whatsapp-button {
    position: fixed;
    top: 3%;
    right: 80%;
    background-color: #25D366;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 25px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    z-index: 1000;
    transition: transform 0.2s ease-in-out;
}

.whatsapp-button:hover {
    transform: scale(.8);
}

.facebook-button {
    position: fixed;
    bottom: 20px;
    left: 2%;
    background-color: blue;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    z-index: 1000;
    transition: transform 0.2s ease-in-out;
}

.facebook-button:hover {
    transform: scale(1.1);
}

.instagram-button {
    position: fixed;
    bottom: 20px;
    left: 6%;
    background-color: #F86F2F;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    z-index: 1000;
    transition: transform 0.2s ease-in-out;
}

.instagram-button:hover {
    transform: scale(1.1);
}

/* para efecto imagenes index.php*/
    .slideshow {
        position: absolute;
        width: 100vw;
        height: 80vh;
        overflow: hidden;
    }

    .slides {
        display: flex;
        width: 500%; /* 5 imágenes */
        height: 100%;
        animation: slide 20s infinite;
    }

    .slide {
        width: 100vw;
        height: 80vh;
        flex-shrink: 0;
        background-size: cover;
        background-position: center;
    }

    /* Animación de desplazamiento (slide) */
    @keyframes slide {
        0% { transform: translateX(0); }
        20% { transform: translateX(0); }

        25% { transform: translateX(-100vw); }
        40% { transform: translateX(-100vw); }

        45% { transform: translateX(-200vw); }
        60% { transform: translateX(-200vw); }

        65% { transform: translateX(-300vw); }
        80% { transform: translateX(-300vw); }

        85% { transform: translateX(-400vw); }
        100% { transform: translateX(-400vw); }
    }


/* Responsive */
@media (max-width: 768px) {

.hero {
    	position: relative;
    	height: 38vh;
    	overflow: hidden;
    	display: flex;
    	justify-content: center;
    	align-items: center;
}

    nav {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 60px;
        right: 0;
        background-color: #fff;
        width: 200px;
        box-shadow: 0 4px 10px rgba(0,0,0,0.1);
        border-radius: 5px;
        overflow: hidden;
    }

    nav.show {
        display: flex;
        animation: slideDown 0.3s ease forwards;
    }

    nav a {
        padding: 12px 20px;
        border-bottom: 1px solid #eee;
    }

    nav a:last-child {
        border-bottom: none;
    }

    /* Mostrar el botón hamburguesa */
    .menu-toggle {
        display: flex;
    }

    /* Menú oculto inicialmente */
    #menu {
        display: none;
        flex-direction: column;
        background: rgba(0, 0, 0, 0.5);
        margin: 25px 25px 5px 5px;
        width: 70%;
    }

    /* Menú visible al hacer click */
    #menu.show {
        display: flex;
    }

    #menu a {
        padding: 1px;
        border-top: 1px solid #444;
    }

.whatsapp-button {
    position: fixed;
    top: 4%;
    right: 40%;
    background-color: #25D366;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 25px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    z-index: 1000;
    transition: transform 0.2s ease-in-out;
}

.whatsapp-button:hover {
    transform: scale(.8);
}

.facebook-button {
    position: fixed;
    bottom: 20px;
    left: 2%;
    background-color: blue;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    z-index: 1000;
    transition: transform 0.2s ease-in-out;
}

.facebook-button:hover {
    transform: scale(1.1);
}

.instagram-button {
    position: fixed;
    bottom: 20px;
    left: 20%;
    background-color: #F86F2F;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    z-index: 1000;
    transition: transform 0.2s ease-in-out;
}

.instagram-button:hover {
    transform: scale(1.1);
}

/* para efecto imagenes index.php*/
    .slideshow {
        position: absolute;
        width: 100vw;
        height: 50vh;
        overflow: hidden;
    }

    .slides {
        display: flex;
        width: 500%; /* 5 imágenes */
        height: 80%;
        animation: slide 20s infinite;
    }

    .slide {
        width: 100vw;
        height: 50vh;
        flex-shrink: 0;
        background-size: cover;
        background-position: center;
    }
}



.modal.lightbox {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.95);
    overflow: hidden;
}

.modal-slider {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    cursor: grab; /* indica que se puede arrastrar */
}

.modal-slider:active {
    cursor: grabbing;
}


.modal-slider img {
    position: absolute;
    max-width: 90%;
    max-height: 80%;
    border-radius: 5px;
    transition: transform 0.5s ease, opacity 0.5s ease;
    opacity: 0;
    z-index: 0;
}

.modal-slider img.active {
    opacity: 1;
    z-index: 2;
}

.cerrar {
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 35px;
    color: white;
    cursor: pointer;
    z-index: 10;
}

.prev, .next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 40px;
    color: white;
    background: rgba(0,0,0,0.4);
    border: none;
    padding: 8px 16px;
    cursor: pointer;
    border-radius: 5px;
    z-index: 10;
}

.prev { left: 5px; }
.next { right: 5px; }

.miniaturas.scrollable {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 5px;
    max-width: 90%;
}

.miniaturas img {
    width: 50px;
    cursor: pointer;
    border: 2px solid transparent;
    border-radius: 4px;
    flex-shrink: 0;
    transition: 0.3s;
}

.miniaturas img.active,
.miniaturas img:hover {
    border-color: #fff;
}



@media screen and (max-width: 600px) {
    .modal-contenido {
        max-height: 50vh;
    }
    .prev, .next {
        font-size: 30px;
        padding: 6px 12px;
    }
    .miniaturas img {
        width: 40px;
    }
}

/* Animación de menú móvil */
@keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}



@keyframes fade {
    from {opacity: 0;}
    to {opacity: 1;}
}

.galeria img {
    cursor: pointer;
    transition: transform 0.3s;
}

.galeria img:hover {
    transform: scale(1.05);
}


.video-responsive {
    width: 80%;
    height: 40%;
    max-width: 500px; /* opcional */
    display: block;
    margin: 0 auto 0px;
}

