
/* Estilos para el contenedor del itinerario */
#itinerario-container {
    margin-top: 20px;
}

/* Estilos para cada día del itinerario */
.dia {
    margin-bottom: 30px;
    padding: 15px;
    border: 1px solid #ddd;
    background-color: #f9f9f9;
}

.dia h4 {
    margin-top: 0;
    font-size: 18px;
    color: #333;
}

/* Estilos para los campos de entrada */
.dia input[type="text"],
.dia textarea {
    width: 100%;
    padding: 8px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

/* Estilos para el botón de seleccionar imagen */
.dia .seleccionar-imagen {
    margin-top: 10px;
}

/* Estilos para la vista previa de la imagen */
.vista-previa-imagen {
    margin-top: 10px;
}

.vista-previa-imagen img {
    max-width: 150px;
    height: auto;
    border: 1px solid #ddd;
    padding: 5px;
    background-color: #fff;
}

/* Estilos para el botón de agregar día */
#agregar-dia {
    margin-top: 20px;
    padding: 10px 15px;
    background-color: #0073aa;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

#agregar-dia:hover {
    background-color: #005177;
}



.pregunta-respuesta{
 margin-top: 40px;
}



.content-area.content-single-tour{
    max-width: 1350px;
    margin: 0 auto;
}
/* 
header styles */
.single-tour-header{
    align-content: center;
    min-height: 90vh;
}
.tour-container-header {
    display: grid;
  grid-template-columns: repeat(2, 1fr);
  
    align-items: center;
    padding: 0px 4rem 0 4rem;
    
}

.tour-info-header {
    padding: 20px 20px 0 0;
    height: 100%; 
   border-radius: 10px;
}
.tour-info-header h1 {
    font-size: 4rem;
    margin-bottom: 0px;
    border-width: 0px 1px 1px 0px;
    border-color: #d9d9d9;
    border-style: solid;
    padding: 20px 0px;
}

.tour-details-header {
    border-width: 0px 1px 1px 0px;
    border-color: #d9d9d9;
    border-style: solid;
    padding: 20px 0px;
}
.tour-info-title p{
    border-width: 0px 1px 0px 0px;
    border-color: #d9d9d9;
    border-style: solid;
    margin: 0;
    padding: 20px 10px 20px 0px;
}
.tour-info-title p a{
    text-decoration: none;
    color: #020c24;
    font-weight: 600;
}
.tour-image-header {
    width: 100%;
    height: 60vh;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
}

.tour-image-header img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.tour-label-header {
    position: absolute;
    bottom: 10px;
    left: 10px;
    background-color: rgba(0, 0, 0, 0.5);
    color: #fff;
    padding: 5px 10px;
    border-radius: 5px;
}
.tour-details-header span strong{
    color: #020c24;
}









h1{
    font-family: 'Poppins', sans-serif;
}
p{
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
}
/**/
/*Detalles del tour*/
.entry-title{
    color:#020c24;
}
p{
    color:#020c24;   
}

.tour-details-grid {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 4rem;
    flex-wrap: wrap;
    max-width: 1350px;
}

.detail-item-itinerario {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: #f8f9fa;
    border-radius: 8px;
    padding: 0.75rem;
}

.tour-details-grid .detail-icon {
    font-size: 1.5rem;
}

.detail-content {
    display: flex;
    flex-direction: column;
}

.detail-label {
    font-size: 0.8rem;
    color: #6c757d;
    font-weight: 500;
}

.detail-value {
    font-weight: 600;
    color: #020c24;
}



.main-tour{
 padding: 0 4rem;
}

/*Galeria de imagenes*/
.rutas-slider{
    
    height: 80vh;
    position: relative;
    margin-top: 20px;
}
.rutas-slider .rutas-list .rutas-item{
    position: absolute;
    inset: 0 0 0 0;
    overflow: hidden;
    opacity: 0;
    transition: .5s;
    height: 80vh;
    
}
.rutas-slider .rutas-list .rutas-item img{
    width: 100%;
    height: 80vh;
    object-fit: cover;
    border-radius: 20px;
}
/* .rutas-slider .rutas-list .rutas-item::after{
    content: '';
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    bottom: 0;
   
    border-radius: 20px;
} */

.rutas-slider .rutas-list .rutas-item .rutas-content{
    position: absolute;
    left: 10%;
    top: 20%;
    width: 500px;
    max-width: 80%;
    z-index: 1;
}
.rutas-slider .rutas-list .rutas-item .rutas-content p:nth-child(1){
    text-transform: uppercase;
    letter-spacing: 10px;
    color: aliceblue;
}
.rutas-slider .rutas-list .rutas-item .rutas-content h2{
    font-size: 100px;
    margin: 0;
    color: aliceblue;
}
.rutas-slider .rutas-list .rutas-item.active{
    opacity: 1;
    z-index: 10;
}
@keyframes showContent{
    to{
        transform: translateY(0);
        filter: blur();
        opacity: 1;

    }
}
.rutas-slider .rutas-list .rutas-item.active p:nth-child(1),
.rutas-slider .rutas-list .rutas-item.active h2,
.rutas-slider .rutas-list .rutas-item.active p:nth-child(3){
    transform: translateY(30px);
    filter: blur(20px);
    opacity: 0;
    animation: showContent .5s .7s ease-in-out 1 forwards;
}
.rutas-slider .rutas-list .rutas-item.active h2{
    animation-delay: 1s;
}
.rutas-slider .rutas-list .rutas-item.active p:nth-child(3){
    animation-delay: 1.3s;
}
.rutas-arrows{
    position: absolute;
    top: 88%;
    right: 50%;
    z-index: 100;
    transform: translateX(50%);
    display: flex;
    flex-direction: row;
    gap: 10px;
}
.rutas-arrows button{
    background-color: var(--title-color);
    border: none;
    padding: 5px;
    display: flex;
    align-items: center;
    border-radius: 5px;
    font-size: x-large;
    color: #5143d9;
    transition: .5s;
    cursor: pointer;
}
.rutas-arrows button:hover{
    background-color: #eee;
    color: black;
}
.miniatura{
    position: absolute;
    top: 100%;
    z-index: 11;
    display: flex;
    gap: 10px;
    width: 100%;
    height: auto;
    padding: 20px 0px 20px 0px;
    box-sizing: border-box;
    scroll-behavior: smooth;
    overflow-x: auto;
    justify-content: center;
}
.miniatura::-webkit-scrollbar-thumb {
    background-color: #fa5001;
    border-radius: 10px;
    
}
.miniatura::-webkit-scrollbar{
   
    height: 3px;
}
.miniatura .rutas-item{
    width: 200px;
    height: auto;
    filter: brightness(.5);
    transition: .5s;
    flex-shrink: 0;
}
.miniatura .rutas-item img{
    width: 100%;
    height: 100px;
    object-fit: cover;
    border-radius: 10px;
}
.miniatura .rutas-item.active{
    filter: brightness(1.5);
}
.miniatura .rutas-item .rutas-content{
    position: absolute;
    inset: auto 10px 10px 10px;
}


/*menu de navegacion */

.nav-menu-tours {
    position: sticky;
    margin-top: 150px;
    width: 100%;
    background-color: #f8f9fa;
    padding: 10px 0;
    text-align: center;
    border-radius: 10px;
    z-index: 999;
    display: flex;
    justify-content: space-between;
}

.nav-menu-tours button {
    flex: 1;
    background: transparent;
    color: var(--title-color);
    border: none;
    margin: 0 10px;
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s;
    font-weight: bold;
    border-radius: 6px;
}

.nav-menu-tours button:hover,
.nav-menu-tours button.active {
    background-color: var(--title-color);
    color: #fff;
    
}

.section {
    display: none;
    opacity: 0;
    transform: translateY(20px); /* Efecto de desplazamiento */
    transition: opacity 0.5s ease, transform 0.5s ease; 
}

.section.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}


.content-tour-dates{
    display: flex;
}
.entry-content{
    width: 70%;
    padding-top: 20px;
}




/*Sidebar*/

.reserva-tour-sidebar {
    max-width: 400px;
    height: fit-content;
    margin: 20px auto;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    background: white;
}
.reserva-header h3 {
    color: var(--title-color);
    margin-bottom: 5px;
    font-size: 1.4rem;
}

.precios-info h4 {
    color: #7f8c8d;
    font-size: 1rem;
    margin-bottom: 10px;
}

.lista-precios {
    list-style: none;
    padding: 0;
    margin: 0 0 15px 0;
}

.lista-precios li {
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid #e1e1e1;
    margin-bottom: 5px;
    color: #34495e;
}

.precio-destacado {
    font-weight: bold;
    color: var(--title-color);
}



.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #2c3e50;
    font-weight: 500;
    font-family: var(--font-family);
}

.input-with-icon {
    position: relative;
}

.input-with-icon i {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--title-color);
}

.datepicker {
    width: 100%;
    padding: 12px 15px 12px 40px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.datepicker:focus {
    border-color: #020c2494;
    outline: none;
}

.cantidad-selector {
    display: flex;
    align-items: center;
}

.btn-cantidad {
    width: 40px;
    height: 40px;
    background: #f8f9fa;
    border: 1px solid #ddd;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-cantidad:hover {
    background: #e9ecef;
}

.btn-cantidad:focus {
    outline: none;
}

.input-cantidad {
    width: 60px;
    height: 40px;
    text-align: center;
    border-top: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
    border-left: none;
    border-right: none;
    font-size: 1rem;
    -moz-appearance: textfield;
}

.input-cantidad::-webkit-outer-spin-button,
.input-cantidad::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.resumen-pago {
    margin: 25px 0;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
}

.detalle-precio, .detalle-total {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}
.detalle-total span{
    color: var(--title-color);
}
.detalle-total {
    font-weight: bold;
    font-size: 1.1rem;
    padding-top: 10px;
    border-top: 1px solid #ddd;
}

.total-destacado {
    color: var(--title-color);
    font-size: 1.3rem;
}
.opcion-pago {
    margin: 15px 0;
}

.opciones-pago {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 8px;
}

.radio-option {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.radio-option input {
    margin: 0;
    width: auto;
}

.monto-a-pagar {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #eee;
    font-weight: bold;
    display: flex;
    justify-content: space-between;
}

.btn-reservar {
    width: 100%;
    padding: 14px;
    background: var(--title-color);
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-reservar:hover {
    background: #010308;
}

.btn-reservar:disabled {
    background: #95a5a6;
    cursor: not-allowed;
}
.required {
    color: #e74c3c;
}

.error-message {
    display: none;
    margin-top: 5px;
    font-size: 0.85rem;
    font-family: var(--font-family);
}

.datepicker:invalid {
    border-color: #e74c3c;
}


/*Formulario de pago izipay*/

  
 
.container-form-reserva {
    max-width: 1200px;
    margin: 0px auto 2rem auto;
    padding: 0 1rem;
  }
  
  /* Estructura del formulario */
  #reservaForm {
    display: flex;
    flex-direction: column;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    padding: 2rem;
    margin: 120px 4rem;
  }
  
  .row {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
  }
  
  .left-column, .right-column {
    flex: 1;
    min-width: 300px;
  }
  
  /* Secciones */
  .customer-details, .billing-details, .payment-details {
    margin-bottom: 2rem;
  }
  
  .resumen-reserva {
    background-color: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 2rem;
  }
  
  .resumen-reserva h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
   
  }
  
  .resumen-reserva p {
    margin-bottom: 0.5rem;
  }
  
  .resumen-reserva h4 {
    font-size: 24px;
    margin-top: 1rem;
    color: var(--primary-color);
  }
  
  /* Títulos de sección */
  h2 {
    font-size: 1.5rem;
    
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
  }
  
  #reservaForm h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--primary-color);
  }
  
  /* Campos del formulario */
  .form-group {
    margin-bottom: 1.5rem;
    position: relative;
  }
  
  .form-row {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
  }
  
  .form-row .form-group {
    flex: 1;
    min-width: 200px;
  }
  
  label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #495057;
  }
  
  input, select {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #ced4da;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
  }
  
  input:focus, select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(74, 107, 255, 0.2);
  }
  
  input[readonly] {
    background-color: #e9ecef;
    cursor: not-allowed;
  }
  
  /* Honeypot field */
  .hp-field {
    position: absolute;
    left: -9999px;
  }
  
  /* Botón de submit */
  #submitBtn {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    width: 100%;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
  }
  
  #submitBtn:hover {
    background-color: var(--primary-color);
  }
  
  #loading-spinner {
    display: none;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 1s ease-in-out infinite;
  }
  
  @keyframes spin {
    to { transform: rotate(360deg); }
  }
  
  /* Mensajes de error - ESTOS SON LOS CAMBIOS IMPORTANTES */
  .error-message {
    color: #dc3545;
    font-size: 0.85rem;
    margin-top: 0.5rem;
    display: none;
  }
  
  
  /* Reglas para validación manual */
  .form-submitted input.invalid,
  .form-submitted select.invalid {
    border-color: #dc3545;
  }
  
  .form-submitted .invalid + .error-message {
    display: block;
  }
  
  /* Nota de seguridad */
  .security-note {
    background-color: #e7f5ff;
    color: var(--primary-color);
    font-family: var(--font-family);
    padding: 1rem;
    border-radius: 8px;
    margin-top: 1.5rem;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
  }
  /* Estilos para el checkbox de términos */
.terms-checkbox {
    display: flex;
    align-items: center;
    margin: 1.5rem 0;
  }
  
  .terms-checkbox input[type="checkbox"] {
    width: auto;
    margin-right: 10px;
  }
  
  .terms-checkbox label {
    margin-bottom: 0;
    font-weight: normal;
    cursor: pointer;
  }
  
  .terms-checkbox label a {
    color: var(--primary-color);
    text-decoration: none;
  }
  
  .terms-checkbox label a:hover {
    text-decoration: underline;
  }
  
  .terms-checkbox .error-message {
    position: absolute;
    bottom: -20px;
    
  }

 /*payment form*/
 .payment-container {
    display: grid;
    max-width: 1200px;
    margin: 5rem auto 0 auto;
    gap: 2rem;
    padding: 0 1rem;
    grid-template-columns: repeat(2,1fr);
}

.detail-payment {
    flex: 1;
    background: #fff;
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.reservation-details h2 {
    margin-top: 0;
    color: var(--title-color);
    font-size: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #eee;
    display: flex;
    align-items: center;
    gap: 10px;
}

.reservation-details h2 i {
    color: var(--title-color);
}

.details-section {
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #f0f0f0;
}

.details-section h3 {
    color: #444;
    font-size: 1.2rem;
    margin: 1rem 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.details-section h3 i {
    color: var(--title-color);
    font-size: 1rem;
}

.detail-item {
    display: flex;
    justify-content: space-between;
    margin: 0.8rem 0;
    font-size: 1rem;
    line-height: 1.5;
}

.detail-label {
    color: #666;
    font-weight: 500;
}

.detail-value {
    font-weight: 500;
    color: #333;
    text-align: right;
    max-width: 60%;
}

.detail-value.highlight {
    color: var(--title-color);
    font-weight: 600;
}

.important-note {
    background: #fff8e6;
    padding: 0.8rem;
    border-radius: 5px;
    margin-top: 1rem !important;
    display: flex !important;
    align-items: center;
    gap: 8px;
    color: #e67e22;
}

.important-note i {
    font-size: 1.2rem;
}

.total-amount {
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid #eee;
    font-size: 1.1rem;
}

.payment-security {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #28a745;
    font-size: 0.9rem;
    margin-top: 1.5rem;
    padding: 0.8rem;
    background: #f8f9fa;
    border-radius: 5px;
}

.payment-security i {
    font-size: 1.2rem;
}
.payment-wrapper{
    position: relative;
}
/* .payment-card{
    position: sticky;
} */
.payment-header{
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 20px;
    justify-content: center;
}
.payment-header img{
    width: 300px;
    margin: 0 auto;
}
span.payment-method{
text-align: center;
}

  #micuentawebstd_rest_wrapper{
display: flex;
align-items: center;
justify-content: center;
  }
  /*Pagina de error*/
  .error-container {
    max-width: 600px;
    margin: 6rem auto ;
    padding: 3rem;
    text-align: center;
    border-radius: 12px;
    background: linear-gradient(135deg, #fff5f5 0%, #fff 100%);
    box-shadow: 0 10px 30px rgba(244, 67, 54, 0.1);
    animation: fadeIn 0.6s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.error-title {
    color: #ff5252;
    margin-bottom: 2rem;
    font-size: 2.2rem;
}

.error-message-error {
    margin: 2rem 0;
    padding: 1.5rem;
    background-color: white;
    border-radius: 8px;
    color: #ff1744;
    font-size: 1.1rem;
    box-shadow: 0 2px 10px rgba(255, 82, 82, 0.1);
    border-left: 5px solid #ff5252;
}

.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    background-color: #ff5252;
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 2px 5px rgba(255, 82, 82, 0.3);
}

.btn:hover {
    background-color: #ff1744;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 82, 82, 0.4);
}
.hp-field {
    position: absolute;
    left: -9999px;
  }

  .error-message {
    color: red;
    font-size: 0.875em;
    display: none;
  }

  .form-control.error {
    border-color: #dc3545;
  }

  #loading-spinner {
    display: none;
  }
    @media (max-width: 1024px) {
    
    .tour-container-header{
        display: flex;
        flex-direction: column;
    }
    }

    @media (max-width: 768px) {
        .reserva-tour-sidebar {
            padding: 15px;
        }
        .tour-info-header h1.entry-title{
font-size: 3rem;
        }
    .miniatura{
        justify-content: start;
    }
    .rutas-slider .rutas-list .rutas-item .rutas-content h2{
        font-size: 60px;
    }
   
    .tour-container-header{
        padding: 50px 20px 0 20px;
    }
    .tour-image-header{
        margin-top: 20px;
    }
    .tour-info-header{
        padding: 0;
    }
    .tour-info-header h1 {
        border: none;
       
    }
    .tour-details-header{
        border: none;
    }
    .tour-info-title p{
        border: none;
    }
    .tour-details-grid{
        padding: 1rem 20px;
    }
    .main-tour{
        padding: 0 20px;
    }
    .rutas-slider,
    .rutas-slider .rutas-list .rutas-item,
    .rutas-slider .rutas-list .rutas-item img{
        height: 50vh;
    }
    .rutas-arrows{
        top: 85%;
    }
    .nav-menu-tours{
        overflow-x: scroll;
    }
    .content-tour-dates{
        flex-direction: column;
    }
    .entry-content{
        width: 100%;
    }
    .reserva-tour{
        width: 100%;
    }
    /*Formulario de reserva*/
    .row {
        flex-direction: column;
      }
      
      .left-column, .right-column {
        width: 100%;
      }
      
      .form-row .form-group {
        min-width: 100%;
      }
    .payment-container {
        display: flex;
        flex-direction: column;
    }
    
    .detail-payment {
        order: 2;
        margin-top: 1.5rem;
    }
    
    .detail-item {
        flex-direction: column;
        gap: 0.3rem;
    }
    
    .detail-value {
        max-width: 100%;
        text-align: left;
    }

}




