/* Booking Section Styles */
.booking {
    padding: 4rem 0;
    background: linear-gradient(135deg, rgba(102, 102, 102, 0.95), rgba(0, 0, 0, 0.9));
    color: var(--color-blanco);
    position: relative;
    z-index: 10;
    margin-top: 0 !important;
    padding-bottom: 4rem;
}

.booking::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.05), rgba(212, 175, 55, 0.02));
    z-index: 0;
}

.booking h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    font-weight: 700;
    color: #ffffff;
    text-align: center;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    position: relative;
    z-index: 1;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

.booking-form-wrapper {
    width: 100%;
    padding: 3.5rem;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border-radius: 12px;
    border: none;
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
    margin: 12rem auto;
    color: #ffffff;
    box-sizing: border-box;
    box-shadow: 20px 20px 20px rgba(0, 0, 0, 0.3);
    max-width: 1400px;
}

.booking-form-index{
    width: 100%;
    padding: 3.5rem;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border-radius: 12px;
    border: none;
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
    margin: 0 auto;
    color: #ffffff;
    box-sizing: border-box;
    box-shadow: 20px 20px 20px rgba(0, 0, 0, 0.3);
    max-width: 1400px;
}

.form-tabs {
    display: flex;
    gap: 0;
    margin-bottom: 1.5rem;
    border-bottom: none;
    padding-bottom: 0;
    justify-content: center;
    flex-wrap: nowrap;
}

.form-tab {
    background: transparent;
    border: 1px solid rgba(0, 0, 0, 0.3);
    color: rgba(255, 255, 255, 0.7);
    padding: 0.8rem 1.5rem;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 6px;
    white-space: nowrap;
}

.form-tab:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
    border-color: transparent;
}

.form-tab.active {
    color: #fff;
    background: rgba(255, 255, 255, 0.2);
    border-color: transparent;
    font-weight: 600;
}

.form-fields {
    margin-bottom: 1.5rem;
    display: flex;
}

.row {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1rem;
}

.form-label {
    color: #ffffff;
    font-size: 0.7rem;
    font-weight: 500;
    margin-bottom: 0.3rem;
    display: block;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.form-label i {
    margin-right: 0.3rem;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.8);
}

/* Estilos específicos para el modal */
.modal .form-label {
    color: #000000;
}

.modal .form-label i {
    color: #000000;
}

.form-control,
.form-select {
    width: 100%;
    padding: 0.8rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.65);
    font-size: 1rem;
    transition: all 0.3s ease;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    touch-action: manipulation;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.form-control::placeholder {
    color: rgba(255, 255, 255, 0.6);
    font-size: 1rem;
}

.form-control:focus,
.form-select:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 0 0 0.1rem rgba(255, 255, 255, 0.1);
    color: #ffffff;
}

.form-control:hover,
.form-select:hover {
    border-color: rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.15);
}

.form-select option {
    background: #333;
    color: #ffffff;
}

.add-leg {
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
    background: #6d6d6d4b;
    border: 1px solid rgba(0, 0, 0, 0.3);
    padding: 0.6rem 1.2rem;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}

.add-leg:hover {
    color: #ffffff;
    background: #6d6d6da4;
    transform: translateY(-1px);
}

.remove-leg {
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
    background: #6d6d6d4b;
    border: 1px solid rgba(0, 0, 0, 0.3);
    padding: 0.6rem 1.2rem;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.remove-leg:hover {
    color: #ffffff;
    background: #6d6d6da4;
    transform: translateY(-1px);
    text-decoration: none;
}

.get-quote {
    background: #6d6d6d4b;
    color: #ffffff;
    padding: 1rem 2rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    width: 100%;
    transition: all 1s ease;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
}

.get-quote::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.205));
    transform: translateX(-100%);
    transition: transform 0.9s ease;
}

.get-quote:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.get-quote:hover::before {
    transform: translateX(100%);
}

/* Ajuste para evitar superposición de secciones */
.legs-container {
    margin-bottom: 2rem;
    position: relative;
    z-index: 2;
}

/* Ajuste para cuando el formulario está activo */
.booking-form-wrapper.active {
    margin-bottom: 4rem;
}

.legs-container.active {
    margin-bottom: 2rem;
}

/* Estilos para la lista de autocompletado */

.autocomplete-container {
    position: relative;
    width: 100%;
}

.autocomplete-list {
    position: absolute;
    width: 100%;
    max-height: 200px;
    overflow-y: auto;
    background-color: #000000;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    margin-top: 5px;
    z-index: 1000;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.autocomplete-item {
    position: absolute;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-bottom: none;
    border-top: none;
    z-index: 99;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 0 0 8px 8px;
    max-height: 200px;
    overflow-y: auto;
}

.autocomplete-item div {
    padding: 10px;
    cursor: pointer;
    background-color: transparent;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    color: #ffffff;
    font-size: 0.9rem;
}

.autocomplete-items div:hover,
.autocomplete-active {
    background-color: rgba(255, 255, 255, 0.1) !important;
    color: #ffffff;
}

.autocomplete-item:last-child {
    border-bottom: none;
}

.autocomplete-item:hover {
    background-color: #1a1a1a;
}

.airport-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.airport-code {
    font-weight: 600;
    color: #000000;
    font-size: 1.1rem;
    letter-spacing: 1px;
}

.airport-details {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.airport-name {
    color: #000000;
    font-size: 0.9rem;
    font-weight: 500;
}

.airport-city {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
}

/* Estilizar scrollbar */
.autocomplete-list::-webkit-scrollbar {
    width: 8px;
}

.autocomplete-list::-webkit-scrollbar-track {
    background: #1a1a1a;
    border-radius: 4px;
}

.autocomplete-list::-webkit-scrollbar-thumb {
    background: #333333;
    border-radius: 4px;
}

.autocomplete-list::-webkit-scrollbar-thumb:hover {
    background: #404040;
}
.row{
    display: flex;

}

    /* Responsive Adjustments */
    @media (max-width: 1100px) {
        .form-tabs {
            flex-direction: column;
            align-items: stretch;
        }
        .form-tab {
            text-align: center;
        }
        .booking-form-wrapper {
            padding: 3.5rem;
            margin: 12rem auto;
        }
        .booking-form-index{
            padding: 3.5rem;
            margin: 0 auto;
        }
         .booking .row {
            gap: 1rem; 
            flex-wrap: nowrap;
         }
         .booking .form-label i {
             margin-right: 0.5rem; /* Ajusta espacio del icono */
         }
         .col{
            flex-direction: column;
            width: 100%;
         }
         .row {
            flex-direction: column;
         }
         .passenger-selector {
            max-width: 100%;
            gap: 0.5rem;
          }
        
          .passenger-input {
            flex: 1;
            width: auto;
            font-size: 1.2rem;
            padding: 0.5rem;
          }
        
          .passenger-btn {
            font-size: 1.5rem;
            padding: 0.5rem 0.7rem;
          }
    }

.passenger-selector {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    max-width: 160px;
    margin: 0 auto;
}
.passenger-btn {
    background: none;
    border: none;
    color: #222;
    font-size: 1.7rem;
    cursor: pointer;
    padding: 0.2rem 0.7rem;
    transition: color 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}
.passenger-btn:active {
    color: #888;
}
.passenger-input {
    width: 50px;
    text-align: center;
    font-size: 1.2rem;
    border: 1px solid #ccc;
    border-radius: 6px;
    padding: 0.3rem 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    margin: 0 0.2rem;
    color: #fff;
}
.passenger-input::placeholder {
    color: rgba(255, 255, 255, 0.6);
    font-size: 1rem;
}

.passenger-input:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 0 0 0.1rem rgba(255, 255, 255, 0.1);
    color: #ffffff;
}

.passenger-input:hover {
    border-color: rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.15);
}

.passenger-input option {
    background: #333;
    color: #ffffff;
}

.booking-description {
    text-align: center;
    color: #fff;
    font-size: 1.1rem;
    margin-bottom: 2rem;
    line-height: 1.6;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero-description {
    text-align: center;
    color: #fff;
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    line-height: 1.6;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 1rem;
}

/* Contenedor para mensajes de validación dentro del formulario */
.booking-message-container {
    padding: 0 10px;
    margin-bottom: 15px;
    text-align: center;
}

.booking-error-message {
    color: #EAEAEA;
    background-color: rgba(44, 62, 80, 0.7);
    border: 1px solid #4E5D6C;
    border-radius: .25rem;
    padding: .75rem 1.25rem;
    width: 100%;
}

@media (max-width: 900px) {
  .hero-description {
    font-size: 1.5rem;
    max-width: 95vw;
    padding: 0 2vw;
  }
}
@media (max-width: 600px) {
  .hero-description {
    font-size: 1.3rem;
    max-width: 98vw;
    padding: 0 3vw;
  }
}
@media (max-width: 400px) {
  .hero-description {
    font-size: 1.2rem;
    max-width: 99vw;
    padding: 0 2vw;
  }
}