/* Estilos generales */
* {
    box-sizing: border-box;
}

html {
    overflow-x: hidden;
    width: 100%;
}

body {
    font-family: 'ZABALDEMO', sans-serif;
    margin: 0;
    padding: 0;
    color: #fff;
    background-image: url('images/fondo_noelandia_volcanicpark.png');
    background-color: #ac011d;
    background-repeat: repeat-y;
    background-position: center top;
    background-attachment: scroll;
    background-size: cover;
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 100vw;
}

/* --- HEADER --- */
.main-header {
    width: 100%;
    padding: 20px 5%;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    position: relative;
    box-sizing: border-box;
    background-color: #efefef;
    height: 60px;
    font-family: Arial, sans-serif; /* Mantener Arial en el header */
}

.header-logo {
    position: absolute;
    left: 5%;
    top: 50%;
    transform: translateY(-50%);
}

.header-logo img {
    height: 40px;
}

.main-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 30px;
}

.main-nav a {
    color: #165c37;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    font-family: Arial, sans-serif; /* Mantener Arial en la navegación */
}

/* --- MAIN CONTENT --- */
.content-wrapper {
    flex-grow: 1;
    padding: 0;
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
}

/* --- HERO SECTION --- */
.hero-section {
    width: 100%;
    max-width: 100vw;
    text-align: center;
    padding: 0;
    overflow: hidden;
}

.hero-image {
    width: 100%;
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

/* Estilos para el eslogan */
.slogan-section {
    text-align: center;
    padding: 0;
    margin: 0;
}

.slogan-image {
    max-width: 90%;
    height: auto;
    display: block;
    margin: 0 auto;
}

/* Estilos para los ornamentos y fechas */
.ornaments-section {
    position: relative;
    text-align: center;
    padding: 0;
    margin: 0;
}

.ornaments-image {
    width: 100%;
    height: auto;
    display: block;
}

.dates-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
}

.dates-image {
    max-width: 80%;
    height: auto;
}

/* Estilos para el botón universal */
.buy-tickets-section {
    text-align: center;
    padding: 0;
    margin: 0;
}

.buy-tickets-image {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

/* Estilo específico para reducir grup.webp en PC */
.buy-tickets-image[src*="grup.webp"] {
    max-width: 60%;
}

/* En tablets, tamaño intermedio */
@media (max-width: 1024px) and (min-width: 769px) {
    .buy-tickets-image[src*="grup.webp"] {
        max-width: 80%;
    }
}

/* En móviles, tamaño completo */
@media (max-width: 768px) {
    .buy-tickets-image[src*="grup.webp"] {
        max-width: 95%;
    }
}

/* Estilos para la sección de packs */
.packs-section {
    text-align: center;
    padding: 0;
    margin: 0;
    max-width: 2000px;
    margin: 0 auto;
}

.packs-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 30px;
    align-items: start;
    max-width: 1800px;
    margin: 0 auto;
}

.pack-izquierda {
    grid-column: 1;
    grid-row: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pack-derecha {
    grid-column: 2;
    grid-row: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pack-inferior {
    grid-column: 1 / 3; /* Ocupa ambas columnas */
    grid-row: 2;
    display: flex;
    align-items: center;
    justify-content: center;
}

.packs-container img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

.pack-izquierda img {
    width: 100%;
    height: auto;
    max-height: 900px;
    object-fit: contain;
}

.pack-derecha img {
    width: 100%;
    height: auto;
    max-height: 900px;
    object-fit: contain;
}

.pack-inferior img {
    width: 100%;
    height: auto;
    max-height: 600px;
    object-fit: contain;
}

/* Estilos para pack inferior como texto */
.pack-inferior-content {
    text-align: center;
    padding: 30px 20px;
    background-color: transparent;
    border-radius: 15px;
    max-width: 800px;
    margin: 0 auto;
}

.precio-linea-1,
.precio-linea-2 {
    font-family: 'ZABALDEMO', sans-serif;
    font-weight: 500;
    font-style: italic;
    font-size: 1.2rem;
    line-height: 1.4;
    color: #fff;
    margin: 15px 0;
    text-align: center;
}

.precio-destacado {
    color: #ffa500;
    font-weight: 700;
    font-size: 1.4rem;
}

.precio-gratis {
    color: #ffa500;
    font-weight: 700;
    font-size: 1.4rem;
}

/* Estilos para el botón universal */
.buy-hospedaje-section {
    text-align: center;
    padding: 0;
    margin: 0;
}

.buy-hospedaje-image {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}


/* Estilos para la sección de magia */
.magic-section {
    width: 100%;
    text-align: center;
    padding: 0;
    margin-top: 20px;
}

.magic-image {
    max-width: 80%;
    height: auto;
    display: block;
    margin: 0 auto;
}

/* Estilos para el carrusel de atracciones */
.attractions-carousel-section {
    width: 100%;
    padding: 60px 0;
    text-align: center;
    overflow: hidden;
}

.attractions-carousel-container {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    padding: 0 5%;
}

.attractions-carousel-wrapper {
    display: flex;
    transition: transform 0.5s ease-in-out;
    justify-content: center;
    align-items: center;
    width: 100%;
    gap: 20px;
}

.attractions-carousel-item {
    min-width: 33.33%;
    text-align: center;
    box-sizing: border-box;
    transition: transform 0.5s ease-in-out, filter 0.5s ease-in-out;
}

.attractions-carousel-item img {
    width: 75%;
    height: auto;
}

.attractions-carousel-item.active {
    transform: scale(1.2);
    filter: brightness(1);
    z-index: 10;
}

.carousel-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    border: none;
    font-size: 2em;
    padding: 10px;
    cursor: pointer;
    z-index: 20;
    border-radius: 50%;
}

.prev-btn {
    left: 20px;
}

.next-btn {
    right: 20px;
}

/* Estilos para el carrusel de testimonios */
.testimonios-carousel-section {
    width: 100%;
    padding: 60px 0;
    text-align: center;
    overflow: hidden;
    display: block; /* Visible en PC */
}

.testimonios-carousel-container {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    padding: 0 5%;
}

.testimonios-carousel-wrapper {
    display: flex;
    transition: none; /* Sin transición en PC */
    justify-content: center;
    align-items: center;
    width: 100%;
    gap: 20px;
    flex-wrap: wrap; /* Permite que se envuelvan si es necesario */
}

.testimonios-carousel-item {
    min-width: 30%; /* En PC, mostrar múltiples items */
    max-width: 350px;
    text-align: center;
    box-sizing: border-box;
    transition: none; /* Sin transición en PC */
    display: block; /* Visible en PC */
}

.testimonios-carousel-item.active {
    transform: scale(1);
    filter: brightness(1);
    z-index: 10;
}

.testimonios-carousel-item img {
    width: 90%;
    height: 380px;
    max-width: 400px;
    object-fit: contain;
}

.testimonios-carousel-item.active {
    transform: scale(1);
    filter: brightness(1);
    z-index: 10;
}

.testimonios-carousel-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    border: none;
    font-size: 2em;
    padding: 10px;
    cursor: pointer;
    z-index: 20;
    border-radius: 50%;
    display: none; /* Oculto en PC por defecto */
}

.testimonios-prev-btn {
    left: 20px;
}

.testimonios-next-btn {
    right: 20px;
}

/* --- FOOTER --- */
.main-footer {
    width: 100%;
    background: url('images/papel-roto.webp');
    height: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
}

.footer-content {
    width: 100%;
    padding: 0 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    position: relative;
}

.footer-logo-container {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    justify-content: center;
    align-items: center;
}

.footer-volcanic-logo {
    height: 160px;
    max-width: 400px;
    object-fit: contain;
}

.footer-social-icons {
    display: flex;
    gap: 20px;
    align-items: center;
    margin-left: auto;
}

.footer-social-icons img {
    height: 30px;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-icon svg {
    width: 30px;
    height: 30px;
    transition: transform 0.3s ease;
}

.social-icon.facebook {
    color: #fff;
    background: linear-gradient(to bottom, #bb001f 0%, #730114 100%);
}

.social-icon.facebook:hover {
    background: linear-gradient(to bottom, #d1002a 0%, #850118 100%);
    color: white;
    transform: translateY(-2px);
}

.social-icon.instagram {
    color: #fff;
    background: linear-gradient(to bottom, #bb001f 0%, #730114 100%);
}

.social-icon.instagram:hover {
    background: linear-gradient(to bottom, #d1002a 0%, #850118 100%);
    color: white;
    transform: translateY(-2px);
}

.social-icon.tiktok {
    color: #fff;
    background: linear-gradient(to bottom, #bb001f 0%, #730114 100%);
}

.social-icon.tiktok:hover {
    background: linear-gradient(to bottom, #d1002a 0%, #850118 100%);
    color: white;
    transform: translateY(-2px);
}

.social-icon:hover svg {
    transform: scale(1.1);
}

/* Media Queries para responsividad */
@media (max-width: 768px) {
    .main-header {
        flex-direction: column;
        justify-content: center;
        padding-top: 10px;
        height: auto;
    }
    .header-logo {
        position: static;
        transform: none;
        margin-bottom: 10px;
    }
    .header-logo img {
        height: 20px; /* 15% más chico: 40px * 0.85 = 34px */
    }
    .main-nav ul {
        justify-content: center;
        gap: 15px;
    }
    .main-footer {
        flex-direction: column;
        gap: 15px;
        height: 450px;
    }
    .footer-content {
        flex-direction: column;
        gap: 20px;
        padding: 20px 5%;
        height: auto;
        position: static;
    }
    .footer-logo-container {
        position: static;
        transform: none;
        margin-top: 15px;
    }
    .footer-volcanic-logo {
        height: 100px;
        max-width: 220px;
    }
    
    .footer-social-icons {
        gap: 15px;
        margin-bottom: 15px;
        margin-left: 0;
    }
    
    .social-icon {
        width: 35px;
        height: 35px;
    }
    
    .social-icon svg {
        width: 25px;
        height: 25px;
    }
    .attractions-carousel-container {
        flex-direction: column;
    }
    .attractions-carousel-item {
        min-width: 100%;
        margin-bottom: 20px;
    }
    .attractions-carousel-item.active {
        transform: scale(1);
        filter: brightness(1);
    }
    .attractions-carousel-item img {
        border-radius: 0;
    }
    
    /* Configurar carrusel de testimonios para móviles */
    .testimonios-carousel-section {
        display: block;
        overflow: hidden;
    }
    
    .testimonios-carousel-container {
        flex-direction: column; /* Vertical como el carrusel original */
    }
    
    .testimonios-carousel-wrapper {
        transition: transform 0.5s ease-in-out;
        flex-wrap: nowrap;
        display: flex;
        flex-direction: column;
    }
    
    .testimonios-carousel-item {
        min-width: 100%;
        max-width: none;
        margin-bottom: 20px;
        flex-shrink: 0;
        transition: transform 0.5s ease-in-out, filter 0.5s ease-in-out;
        display: none; /* Ocultar por defecto */
    }
    
    .testimonios-carousel-item.active {
        display: block !important; /* Mostrar solo el activo */
        transform: scale(1);
        filter: brightness(1);
    }
    
    .testimonios-carousel-item img {
        border-radius: 0;
        width: 95%;
        height: 320px;
        max-width: 350px;
        object-fit: contain;
    }
    
    /* Mostrar controles solo en móviles */
    .testimonios-carousel-control {
        display: block;
    }
    
    /* Estilos de packs para móviles */
    .packs-container {
        display: flex;
        flex-direction: column;
        gap: 15px;
        min-height: auto;
        align-items: center;
        width: 100%;
        padding: 0 2%;
        box-sizing: border-box;
    }
    
    .pack-izquierda {
        order: 1; /* Primero */
        grid-column: unset;
        grid-row: unset;
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    
    .pack-derecha {
        order: 2; /* Segundo */
        grid-column: unset;
        grid-row: unset;
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    
    .pack-inferior {
        order: 3; /* Tercero */
        grid-column: unset;
        grid-row: unset;
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    
    .pack-izquierda img,
    .pack-derecha img,
    .pack-inferior img {
        width: 100%;
        max-width: none;
        height: auto;
        object-fit: contain;
        margin: 0 auto;
        display: block;
    }
    
    .pack-izquierda img {
        max-height: 700px;
    }
    
    .pack-derecha img {
        max-height: 550px;
    }
    
    .pack-inferior img {
        max-height: 350px;
    }
    
    /* Estilos responsive para pack inferior texto */
    .pack-inferior-content {
        padding: 20px 15px;
        max-width: 95%;
    }
    
    .precio-linea-1,
    .precio-linea-2 {
        font-size: 1.6rem;
        margin: 12px 0;
    }
    
    .precio-destacado,
    .precio-gratis {
        font-size: 1.8rem;
    }
    
    /* Ajustar fondo para móviles */
    body {
        background-image: url('images/fondo_noelandia_volcanicpark.png') !important;
        background-position: center top !important;
        background-size: 100% auto !important; /* Ajustar al ancho completo */
        background-repeat: repeat-y !important;
        background-attachment: scroll !important;
        background-color: #ac011d !important;
        width: 100%;
        max-width: 100vw;
        margin: 0;
        padding: 0;
    }
    
    /* Eliminar espacios en blanco en móviles */
    .main-header,
    .content-wrapper,
    .hero-section,
    .ornaments-section,
    .buy-tickets-section,
    .magic-section,
    .attractions-carousel-section,
    .packs-section,
    .como-llegar-section,
    .faq-section,
    .testimonios-carousel-section,
    .main-footer {
        width: 100%;
        max-width: 100vw;
        margin-left: 0;
        margin-right: 0;
        box-sizing: border-box;
    }
}

/* Ajustes para tablets grandes */
@media (max-width: 1024px) and (min-width: 769px) {
    .pack-izquierda img {
        max-height: 900px;
    }
    
    .pack-derecha img {
        max-height: 700px;
    }
    
    .packs-container {
        max-width: 1600px;
        gap: 25px;
    }
    
    /* Estilos para pack inferior en tablets */
    .pack-inferior-content {
        padding: 25px 18px;
        max-width: 700px;
    }
    
    .precio-linea-1,
    .precio-linea-2 {
        font-size: 1.9rem;
    }
    
    .precio-destacado,
    .precio-gratis {
        font-size: 2.1rem;
    }
    
    /* Ajuste de fondo para tablets */
    body {
        background-size: cover;
        background-position: center top;
    }
}

/* Estilos para la sección de "Cómo llegar" */
.como-llegar-section {
    text-align: center;
    padding: 50px 0;
}

.como-llegar-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.como-llegar-title {
    font-size: 2.5em;
    font-weight: bold;
    margin-bottom: 20px;
}

.map-container {
    width: 80%;
    max-width: 800px;
    margin-bottom: 20px;
}


.map-image {
    width: 100%;
    height: auto;
    border: 5px solid #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.map-text {
    width: 100%;
    height: auto;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.volcanic-logo-location {
    max-width: 400px;
    height: auto;
    margin-bottom: 10px;
}

.location-text {
    font-size: 2.2em;
    color: #fff;
    margin: 0;
}



.como-llegar-content {
    text-align: center;
    padding: 50px 0;

}

/* Estilos para la sección de video */
.video-section {
    width: 100%;
    text-align: center;
    padding: 50px 0;
}

.video-section iframe {
    max-width: 90%;
    width: 800px;
    height: 450px;
}

/* Estilos para FAQ Section - Mantiene estilo de las imágenes originales */
.faq-section {
    background-color: transparent;
    padding: 30px 3%;
    color: #fff;
}

.faq-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 50px;
    padding: 0;
}

.faq-item {
    background-color: transparent;
    padding: 0;
    text-align: center;
}

.faq-question h3 {
    font-family: 'ZABALDEMO', sans-serif;
    font-weight: 700;
    font-style: italic;
    font-size: 1.6rem;
    margin: 0 0 20px 0;
    text-align: center;
    color: #fa3485 !important;
    background: none !important;
    -webkit-text-fill-color: #fa3485 !important;
}

.faq-answer {
    text-align: center;
}

.faq-answer p {
    font-family: 'ZABALDEMO', sans-serif;
    font-weight: 500;
    font-style: italic;
    font-size: 1.3rem;
    line-height: 1.3;
    color: #fff;
    margin: 0 auto;
    max-width: 1100px;
}

.faq-answer p em,
.faq-answer p strong {
    font-family: 'ZABALDEMO', sans-serif;
    font-weight: 500;
    font-style: italic;
    font-size: 1.3rem;
    color: #fff;
}

.faq-answer p strong {
    font-weight: 700;
}

.faq-packages {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-top: 30px;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}

.package {
    background-color: transparent;
    padding: 0;
    text-align: center;
}

.package h4 {
    font-family: 'ZABALDEMO', sans-serif;
    font-weight: 700;
    font-style: italic;
    font-size: 1.5rem;
    margin: 0 0 15px 0;
    text-align: center;
    color: #fff !important;
    background: none !important;
    -webkit-text-fill-color: #fff !important;
}

.package p {
    font-family: 'ZABALDEMO', sans-serif;
    font-weight: 500;
    font-style: italic;
    font-size: 1.1rem;
    line-height: 1.4;
    color: #fff;
    text-align: center;
    margin: 0;
}

/* Responsive para FAQ */
@media (max-width: 768px) {
    .faq-section {
        padding: 20px 5%;
    }
    
    .faq-container {
        gap: 35px;
        padding: 0;
    }
    
    .faq-question h3 {
        font-size: 2rem;
        font-weight: 700;
        color: #fa3485 !important;
    }
    
    .faq-answer p {
        font-size: 1.7rem;
    }
    
    .faq-answer p em,
    .faq-answer p strong {
        font-size: 1.7rem;
    }
    
    .faq-packages {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .package h4 {
        font-size: 1.9rem;
        font-weight: 700;
        color: #fff !important;
    }
    
    .package p {
        font-size: 1.2rem;
    }
}

@media (max-width: 520px) {
    .faq-question h3 {
        font-size: 1.6rem;
        font-weight: 700;
        color: #fa3485 !important;
    }
    
    .faq-answer p {
        font-size: 1.4rem;
    }
    
    .faq-answer p em,
    .faq-answer p strong {
        font-size: 1.4rem;
    }
    
    .package h4 {
        font-size: 1.5rem;
        font-weight: 700;
        color: #fff !important;
    }
    
    .package p {
        font-size: 1.1rem;
    }
    
    /* Ajuste adicional de fondo para pantallas muy pequeñas */
    body {
        background-image: url('images/fondo_noelandia_volcanicpark.png') !important;
        background-size: 120% auto !important; /* Ligeramente más grande para mantener decoraciones */
        background-position: center top !important;
        background-repeat: repeat-y !important;
        background-attachment: scroll !important;
        background-color: #ac011d !important;
    }
}