/* Importar fuente Barlow */
@import url('https://fonts.googleapis.com/css2?family=Barlow:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

/* Estilos generales */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    color: #fff;
    background-image: url('images/fondo_pagina.webp');
    background-color: #0e0818;
    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;
}

/* --- 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: #1c1131;
    height: 60px;
}

.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: #f7d54c;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
}

/* --- MAIN CONTENT --- */
.content-wrapper {
    flex-grow: 1;
    padding: 0;
}

/* --- HERO SECTION --- */
.hero-section {
    width: 100%;
    text-align: center;
    padding: 0;
}

.hero-picture {
    display: block;
    width: 100%;
}

.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: 1200px;
    margin: 0 auto;
}

.packs-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 20px;
    align-items: start;
    max-width: 1300px;
    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: 600px;
    object-fit: contain;
}

.pack-derecha img {
    width: 100%;
    height: auto;
    max-height: 450px;
    object-fit: contain;
}

.pack-inferior img {
    width: 100%;
    height: auto;
    max-height: 300px;
    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: 'Barlow', 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 la sección de escenarios (Grid 4x2 en PC, Carrusel en Móviles) */
.attractions-carousel-section {
    width: 100%;
    padding: 50px 0;
    text-align: center;
    overflow: hidden;
}

.attractions-carousel-container {
    display: block;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
    position: relative;
}

.attractions-carousel-wrapper {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    width: 100%;
    justify-items: center;
    align-items: center;
}

.attractions-carousel-item {
    width: 100%;
    text-align: center;
    box-sizing: border-box;
    display: block;
}

.attractions-carousel-item img {
    width: 100%;
    max-width: 270px;
    height: auto;
    display: block;
    margin: 0 auto;
    border-radius: 14px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.attractions-carousel-item img:hover {
    transform: scale(1.04);
    box-shadow: 0 8px 25px rgba(244, 173, 26, 0.4);
}

.carousel-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.65);
    color: #f7d54c;
    border: 2px solid rgba(247, 213, 76, 0.6);
    font-size: 2em;
    width: 45px;
    height: 45px;
    display: none; /* Oculto en PC por defecto (4 arriba y 4 abajo) */
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 20;
    border-radius: 50%;
    user-select: none;
    line-height: 1;
    transition: background 0.3s ease, transform 0.2s ease;
}

.carousel-control:hover {
    background: rgba(0, 0, 0, 0.9);
    border-color: #f7d54c;
}

.prev-btn {
    left: 10px;
}

.next-btn {
    right: 10px;
}

/* 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: auto;
    max-width: 400px;
}

.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: linear-gradient(to bottom, #231632, #0e0a18);
    height: 60px;
    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;
}

.footer-volcanic-logo {
    height: 50px;
}

.footer-social-icons {
    display: flex;
    gap: 20px;
    align-items: center;
}

.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-color: rgba(24, 119, 242, 0.1);
}

.social-icon.facebook:hover {
    background-color: #fff;
    color: white;
    transform: translateY(-2px);
}

.social-icon.instagram {
    color: #fff;
    background-color: rgba(228, 64, 95, 0.1);
}

.social-icon.instagram:hover {
    background-color: linear-gradient(45deg, #f09433 0%,#e6683c 25%,#dc2743 50%,#cc2366 75%,#bc1888 100%);
    color: white;
    transform: translateY(-2px);
}

.social-icon.tiktok {
    color: #fff;
    background-color: rgba(255, 0, 80, 0.1);
}

.social-icon.tiktok:hover {
    background-color: #ff0050;
    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;
    }
    .main-nav ul {
        justify-content: center;
        gap: 15px;
    }
    .main-footer {
        flex-direction: column;
        gap: 15px;
        height: auto;
    }
    .footer-content {
        flex-direction: column;
        gap: 15px;
        padding: 20px 5%;
    }
    .footer-volcanic-logo {
        height: 40px;
    }
    
    .footer-social-icons {
        gap: 15px;
    }
    
    .social-icon {
        width: 35px;
        height: 35px;
    }
    
    .social-icon svg {
        width: 25px;
        height: 25px;
    }
    /* Configurar carrusel de escenarios para móviles */
    .attractions-carousel-section {
        padding: 30px 0;
    }
    .attractions-carousel-container {
        display: flex;
        justify-content: center;
        align-items: center;
        position: relative;
        padding: 0 10px;
        min-height: 240px;
    }
    .attractions-carousel-wrapper {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
        position: relative;
        gap: 0;
    }
    .attractions-carousel-item {
        display: none;
        width: 100%;
        margin-bottom: 0;
        opacity: 0;
        transition: opacity 0.3s ease-in-out;
    }
    .attractions-carousel-item.active {
        display: block !important;
        opacity: 1;
        transform: none;
        filter: brightness(1);
    }
    .attractions-carousel-item img {
        width: 85%;
        max-width: 320px;
        border-radius: 12px;
        margin: 0 auto;
    }
    .carousel-control {
        display: flex; /* Visible en móviles */
    }
    
    /* 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%;
        max-width: 350px;
    }
    
    /* 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;
    }
    
    /* 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;
    }
    
    /* Centrar fondo en móviles */
    body {
        background-position: center top;
    }
}

/* Ajustes para tablets grandes */
@media (max-width: 1024px) and (min-width: 769px) {
    .pack-izquierda img {
        max-height: 450px;
    }
    
    .pack-derecha img {
        max-height: 350px;
    }
    
    .packs-container {
        max-width: 1100px;
        gap: 18px;
    }
    
    /* 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;
    }
}

/* Estilos para la sección de "Cómo llegar" */
.como-llegar-section {
    text-align: center;
    padding: 50px 0;
    background-color: #100e1c; /* Color de fondo */
    color: #ff4500;
}

.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;
    background-color: #100e1c;
    color: #ff4500;
}

/* 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: 'Barlow', 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: 'Barlow', 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: 'Barlow', 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: 'Barlow', 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: 'Barlow', 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;
    }
}