/* Variables y reset */
:root {
    --primary-color: #FF5500;
    --secondary-color: #8B0000;
    --background-light: #FFF0E6;
    --background-orange: #E25822;
    --background-dark-orange: #C14A20;
    --background-blue: #87CEEB;
    --text-color: #333;
    --white: #fff;
    --border-radius: 8px;
    --box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
    --e-global-color-bc65eab: #ffeee6; /* Reemplaza este color por el que tú desees */
    --e-global-typography-primary-font-family: 'Roboto', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    overflow-x: hidden;
    position: relative; /* Añade esto si el padre directo es body */

}

.container {
   
 
    width: 110%;
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 50px;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

h1, h2, h3, h4 {
    margin-bottom: 1rem;
    font-weight: 700;
    line-height: 1.2;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
    color: var(--secondary-color);
    margin-bottom: 2rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
}

section {
    padding: 80px 0;
    position: relative;
}

/* Variables y reset */
:root {
    --primary-color: #FF5500;
    --secondary-color: #8B0000;
    --background-light: #FFF0E6;
    --background-orange: #E25822;
    --background-dark-orange: #C14A20;
    --background-blue: #87CEEB;
    --text-color: #333;
    --white: #fff;
    --border-radius: 8px;
    --box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
    --e-global-color-bc65eab: #ffeee6; /* Reemplaza este color por el que tú desees */
    --e-global-typography-primary-font-family: 'Roboto', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    overflow-x: hidden;
    position: relative; /* Añade esto si el padre directo es body */

}

.container {
   
 
    width: 110%;
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 50px;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

h1, h2, h3, h4 {
    margin-bottom: 1rem;
    font-weight: 700;
    line-height: 1.2;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
    color: var(--secondary-color);
    margin-bottom: 2rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
}

section {
    padding: 80px 0;
    position: relative;
}

/* Botones */
.btn {
    display: inline-block;
    padding: 10px 20px;
    border-radius: var(--border-radius);
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-primary:hover {
    background-color: #ff6a00;
    transform: translateY(-2px);
}

.btn-light {
    background-color: var(--background-light);
    color: var(--text-color);
}

.btn-light:hover {
    background-color: #ffe0cc;
}

.btn-block {
    display: block;
    width: 100%;
    background-color: #ff5800!important;
    color: #ffffff !important;
    height: 40px;
    font-size: 17px;
}



/* Navbar */
.navbar {
    background-image: url('../img/navfondo.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Contenedor principal */
.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

/* Logo */
.logo {
    margin-right: 30px; /* Espacio después del logo */
}

.logo img {
    height: 90px;
    transition: all 0.3s ease;
}

/* Contenedor del menú */
.navbar-collapse {
    flex-grow: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Menú principal */
.navbar-nav.me-auto {
    display: flex;
    align-items: center;
    margin: 0;
    padding: 0;
}

.nav-item {
    margin: 0 8px; /* Espacio entre items */
}

.navbar-nav .nav-link {
    font-weight: 600;
    color: var(--text-color);
    position: relative;
    padding: 8px 12px;
    transition: all 0.3s ease;
}

/* Menú de la derecha (login e idioma) */
.navbar-nav:not(.me-auto) {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Efectos hover y active */
.navbar-nav .nav-link.active,
.navbar-nav .nav-link:hover {
    color: var(--primary-color);
}

.navbar-nav .nav-link.active::after,
.navbar-nav .nav-link:hover::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 12px;
    width: calc(100% - 24px);
    height: 3px;
    background-color: var(--primary-color);
}

/* Botones */
.navbar-nav .btn {
    padding: 8px 16px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

/* Botón hamburguesa */
.navbar-toggler {
    border: none;
    padding: 0.5rem;
}

.navbar-toggler:focus {
    box-shadow: none;
}

/* Estilos para scroll */
.navbar.scrolled {
    background-color: var(--e-global-color-bc65eab);
    background-image: none;
    transition: .3s ease-in-out;
}

.navbar.scrolled .nav-link {
    color: var(--text-color);
}

.navbar.scrolled .nav-link:hover,
.navbar.scrolled .nav-link.active {
    color: var(--primary-color);
}

.navbar.scrolled .btn-light {
    background-color: rgba(255, 85, 0, 0.1);
    color: var(--primary-color);
}

.navbar.scrolled .btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
}

/* Idioma */
.language {
    display: flex;
    align-items: center;
    gap: 5px;
}

.flag {
    font-size: 1.2rem;
}

/* Responsive */
@media (max-width: 991.98px) {
    .navbar-collapse {
        background-color: white;
        padding: 20px;
        margin-top: 15px;
        border-radius: 5px;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
        flex-direction: column;
        align-items: flex-start;
    }
    
    .navbar-nav {
        width: 100%;
    }
    
    .nav-item {
        margin: 5px 0;
    }
    
    .navbar-nav:not(.me-auto) {
        flex-direction: column;
        width: 100%;
        margin-top: 15px;
    }
    
    .navbar-nav .btn {
        width: 100%;
        text-align: center;
    }
    
    .navbar.scrolled .navbar-collapse {
        background-color: var(--e-global-color-bc65eab);
    }
}


/****** SITIOS TURISTICOS ******/

.sitios-turisticos {
    background-image: url('../img/fondohero.jpg');
    background-size: cover; /* Asegura que cubra todo el contenedor */
    background-repeat: no-repeat;
    background-position: center;
    min-height: 800px; /* Define una altura mínima adecuada */
    position: relative;
    z-index: 4; /* Elimina el z-index innecesario */    
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.titulo-container {
    text-align: center;
    color: white; /* Color del texto del título */
    margin-bottom: 50px; /* Espacio entre el título y los sitios */
}

.titulo-principal {
    font-size: 3rem;
    font-weight: bold;
    color: white;
    margin: 0;
}

.subtitulo {
    font-size: 2rem;
    margin: 10px 0;
}

.descripcion {
    font-size: 1.2rem;
    color: #FFD700; /* Color amarillo claro para resaltar */
}

.sitios-container {
    display: flex;
    gap: 50px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 180px;
}

.sitio-card {
    text-align: center;
    width: 300px;
}

.circle-image {
    width: 250px;
    height: 250px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 20px;
    background-image: url('../img/ticket1.jpg');
    background-size: cover; 
    background-position: center;
    border: 8px solid var(--primary-color);
}

/* Agrega estas reglas en tu CSS */
.sitio-card:nth-child(1) .circle-image { background-image: url('../img/valle.jpg'); }
.sitio-card:nth-child(2) .circle-image { background-image: url('../img/chaxa.jpg'); }
.sitio-card:nth-child(3) .circle-image { background-image: url('../img/tara.jpg'); }
.sitio-card:nth-child(4) .circle-image { background-image: url('../img/monjes_packana.jpg'); }
.sitio-card:nth-child(5) .circle-image { background-image: url('../img/aguas_calientes.jpg'); }
.sitio-card:nth-child(6) .circle-image { background-image: url('../img/pueblo_de_sencor.jpg'); }
.sitio-card:nth-child(7) .circle-image { background-image: url('../img/vilaco.jpg'); }
.sitio-card:nth-child(8) .circle-image { background-image: url('../img/alma.jpg'); }


.sitio-card h3 {
    color: var(--secondary-color);
}








/* Tickets Section */
/* Tickets Section - Modificado */
.tickets {
    background-image: url('../img/ticketfondo.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    width: 100%;
    z-index: 4;
    padding: 300px 0 150px;
    margin-top: -400px;
    overflow: hidden;
}

.tickets h2 {
    text-align: right;
    color: var(--accent-color);
    font-size: 2.5rem;
    margin-bottom: 40px;
}

.tickets-slider {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
}

.slider-viewport {
    width: 100%;
    max-width: 1650px; /* Ajustado para 3 tickets + gaps */
    overflow: hidden;
    margin: 0 20px;
}

.tickets-container {
    display: flex;
    gap: 30px;
    transition: transform 0.5s ease;
}

.ticket-card {
    background-image: url('../img/ticket-1-2.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    width: 480px;
    min-width: 480px; /* Asegura que no se reduzca */
    height: 220px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}
.ticket-content h3.txt-larg{
    font-size: 17px;
}
.fondo-1 .ticket-inner {
    background-image: url('../img/ticketfondos.jpg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    display: flex;
    align-items: center;
    padding: 20px 50px;
    width: 100%;
    height: 100%;
}
.fondo-2 .ticket-inner {
    background-image: url('../img/chaxa6.jpg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    display: flex;
    align-items: center;
    padding: 20px 50px;
    width: 100%;
    height: 100%;
}
.fondo-3 .ticket-inner {
    background-image: url('../img/tara.jpg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    display: flex;
    align-items: center;
    padding: 20px 50px;
    width: 100%;
    height: 100%;
}
.fondo-4 .ticket-inner {
    background-image: url('../img/chaxa_4.jpg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    display: flex;
    align-items: center;
    padding: 20px 50px;
    width: 100%;
    height: 100%;
    
}
.fondo-4 .ticket-inner h3{
    font-size: 17px !important;
}
.fondo-1 .ticket-inner h3,
.fondo-2 .ticket-inner h3,
.fondo-3 .ticket-inner h3,
.fondo-4 .ticket-inner h3,
.fondo-5 .ticket-inner h3,
.fondo-6 .ticket-inner h3,
.fondo-7 .ticket-inner h3,
.fondo-8 .ticket-inner h3{
    color: #ff6a00 !important;
}
.fondo-5 .ticket-inner {
    background-image: url('../img/pujsa_2.jpg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    display: flex;
    align-items: center;
    padding: 20px 50px;
    width: 100%;
    height: 100%;
}
.fondo-6 .ticket-inner {
    background-image: url('../img/pujsa.jpg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    display: flex;
    align-items: center;
    padding: 20px 50px;
    width: 100%;
    height: 100%;
}
.fondo-7 .ticket-inner {
    background-image: url('../img/pujsa_2.jpg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    display: flex;
    align-items: center;
    padding: 20px 50px;
    width: 100%;
    height: 100%;
}
.fondo-8 .ticket-inner {
    background-image: url('../img/pujsa.jpg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    display: flex;
    align-items: center;
    padding: 20px 50px;
    width: 100%;
    height: 100%;
}

.ticket-image {
    width: 140px;
    height: 140px;
    margin-right: 20px;
    border: 3px solid white;
    overflow: hidden;
    flex-shrink: 0;
}

.ticket-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ticket-content {
    flex: 1;
    color: var(--white);
}

.ticket-content h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    font-weight: 500;
    color: #333;
    width: 75%;
}

.slider-arrow {
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 10;
}

.pagination-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #ccc;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.dot.active {
    background-color: var(--accent-color);
}

.btn-primary {
    display: inline-block;
    background-color: var(--white);
    color: var(--primary-color);
    padding: 8px 16px;
    text-decoration: none;
    border-radius: 4px;
    font-weight: bold;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}



/* Responsive Mobile Styles - Vertical Layout */
@media (max-width: 768px) {
    .tickets {
        padding: 200px 0 80px;
        margin-top: -300px;
        background-position: right center;
    }
    
    .tickets h2 {
        font-size: 2rem;
        text-align: center;
        margin-bottom: 25px;
        padding: 0 20px;
        margin-top: 28%;
    }
    
    .tickets-slider {
        display: block;
        padding: 0;
    }
    
    .slider-viewport {
        width: 100%;
        margin: 0;
        overflow: visible;
    }
    
    .tickets-container {
        display: flex;
        flex-direction: column;
        gap: 20px;
        padding: 0 15px;
        transform: none !important; /* Elimina cualquier transformación del slider */
    }
    
    .ticket-card {
        width: 100%;
        min-width: 100%;
        height: auto;
        background-size: 100% 100%;
        margin: 0 auto 15px;
    }
    
    .ticket-inner {
        flex-direction: row;
        padding: 20px;
        background-size: cover;
    }
    
    .ticket-image {
        width: 100px;
        height: 100px;
        margin-right: 15px;
        margin-bottom: 0;
    }
    
    .ticket-content {
        text-align: left;
        padding-right: 10px;
    }
    
    .ticket-content h3 {
        width: 100%;
        font-size: 1.1rem;
        margin-bottom: 15px;
        color: #333;
        line-height: 1.3;
    }
    
    .btn-primary {
        padding: 8px 15px;
        font-size: 0.9rem;
    }
    
    /* Ocultar elementos de navegación */
    .slider-arrow,
    .pagination-dots {
        display: none !important;
    }
    
    .container {
        width: 100% !important;
        padding: 0 15px;
    }
}

@media (max-width: 480px) {
    .tickets {
        padding: 180px 0 60px;
    }
    
    .ticket-inner {
        padding: 15px;
    }
    
    .ticket-image {
        width: 80px;
        height: 80px;
    }
    
    .ticket-content h3 {
        font-size: 1rem;
        margin-bottom: 12px;
    }
    
    .btn-primary {
        padding: 7px 12px;
        font-size: 0.85rem;
    }
}

.ticket-content h3.txt-larg{
    font-size: 17px;
}


/* Estilo para el listón "Próximamente" */
.coming-soon-ribbon {
    position: absolute;
    top: 35px;
    right: -30px;
    background-color: var(--accent-color);
    color: rgb(255, 0, 0);
    padding: 5px 30px;
    font-size: 14px;
    font-weight: bold;
    transform: rotate(45deg);
    transform-origin: center;
    z-index: 2;
    box-shadow: 0 2px 5px rgb(236, 118, 21);
    text-transform: uppercase;
}

/* Estilo para botones desactivados */
.btn.disabled {
    opacity: 0.6;
    cursor: not-allowed;
    pointer-events: none;
    background-color: #cccccc;
    color: #666;
}

/* Asegurar que el ticket-inner tenga posición relativa para el listón */
.ticket-inner {
    position: relative;
    overflow: hidden;
}

/* Animación para el listón */
@keyframes ribbonPulse {
    0% { transform: rotate(45deg) scale(1); }
    50% { transform: rotate(45deg) scale(1.05); }
    100% { transform: rotate(45deg) scale(1); }
}

.coming-soon-ribbon {
    animation: ribbonPulse 2s infinite;
}

/******* Contacto Section *******/
.contacto {
    background-image: url('../img/fondocontacto.png');
    background-size: cover; 
    background-position: center;
    color: var(--white);
    padding-top:350px;
    margin-top: -230px; /* Sube la sección 100px */
    z-index: 9;
    position: relative;
    padding-bottom: 10%;
 
}

.contacto h2 {
    color: var(--white);
    text-align: center;
}

.contacto-content {
    display: flex;
    gap: 50px;
   
}

.contacto-form {
    flex: 2;
    background-color:#ff752b2c;
    padding: 30px;
    border-radius: 20px;
    border-color: #ff742b;
    border-style: solid;
    
}
.contacto-form h2{
    font-family: var(--e-global-typography-primary-font-family), Sans-serif;
}
.form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    flex: 1;
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 10px;
    background-color: #ffffff00;
    border: 2px solid white;
    border-radius: 4px;

}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.contacto-info {
    flex: 1;
   margin-top: 12%;
}
.info-item h3,
.info-item p {
    margin: 0;
    line-height: 1.1;
}


.info-item {
    margin-bottom: 30px;
}

.info-item h3 {
    color: var(--white);
    margin-bottom: 10px;
}

/* Footer */
footer {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 20px 0;
    text-align: center;

}

/* Scroll Top Button */
.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--secondary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
}

.scroll-top.visible {
    opacity: 1;
    visibility: visible;
}

.arrow-up {
    font-size: 24px;
}

/* Chat Button */
.chat-button {
    position: fixed;
    bottom: 30px;
    right: 100px;
    width: 60px;
    height: 60px;
    background-color: #4285F4;
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: var(--box-shadow);
    z-index: 999;
}

.chat-icon {
    font-size: 24px;
}




/* ------------------------- */
/* MEDIA QUERIES PARA MÓVIL */
/* ------------------------- */

@media (max-width: 768px) {
    /* Ajustes generales */
    .container {
        width: 100%;
        padding: 0 20px;
    }
    
    section {
        padding: 50px 0;
    }
    
    /* Sitios Turísticos */
    .sitios-turisticos {
        min-height: auto;
        padding: 60px 0;
    }
    
    .titulo-principal {
        font-size: 2rem;
    }
    
    .subtitulo {
        font-size: 1.5rem;
    }
    
    .descripcion {
        font-size: 1rem;
    }
    
    .sitios-container {
        flex-direction: column;
        gap: 30px;
        margin-bottom: 0px;
    }
    
    .circle-image {
        width: 200px;
        height: 200px;
    }
    
    /* Tickets Section */
    .tickets {
        padding: 100px 0 80px;
        margin-top: 0;
        background-position: left center;
    }
    
    .tickets h2 {
        text-align: center;
        font-size: 2rem;
    }
    
    .ticket-card {
        width: 100%;
        max-width: 300px;
        height: auto;
        background-size: 100% 100%;
    }
    
    .ticket-inner {
        flex-direction: column;
        padding: 20px;
        width: 100%;
    }
    
    .ticket-image {
        margin-right: 0;
        margin-bottom: 15px;
    }
    
    .ticket-content {
        text-align: center;
    }
    
    .ticket-content h3 {
        font-size: 1.2rem;
    }
    
    .slider-arrow {
        display: none;
    }
    
    /* Contacto Section */
    .contacto {
        padding-top: 100px;
        margin-top: 0;
        background-position: left center;
    }
    
    .contacto-content {
        flex-direction: column;
        gap: 30px;
    }
    
    .contacto-info {
        margin-top: 0;
        text-align: center;
    }
    
    .form-row {
        flex-direction: column;
        gap: 0;
    }
    
    /* Footer */
    footer p {
        font-size: 0.9rem;
    }
    
    /* Scroll Top Button */
    .scroll-top {
        width: 40px;
        height: 40px;
        bottom: 20px;
        right: 20px;
    }
    
    .arrow-up {
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    /* Ajustes adicionales para pantallas muy pequeñas */
    .titulo-principal {
        font-size: 1.8rem;
    }
    
    .circle-image {
        width: 180px;
        height: 180px;
    }
    
    .ticket-card {
        max-width: 280px;
    }
    
    .contacto-form {
        padding: 20px;
    }
}