/* Hero ocupa pantalla completa */
.hero-section {
    display: flex;
    align-items: flex-start; /* 👈 Esto lo empuja hacia abajo */
    justify-content: center;
    padding-top: 370px; /* 👈 Ajusta según lo que necesites */
    padding-bottom: 60px;
    background: url('../images/hcy-travel-slider-03.webp') no-repeat center center / cover;
    min-height: 100vh;
    color: white;
}


/* Título centrado elegante */
.search-title {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 40px;
    text-align: center;
    color: white;
}

/* Caja de búsqueda estilo Booking pro */
.search-box {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    background: white;
    padding: 20px 15px; /* Reducido para mejor ajuste en móviles */
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
    width: 100%;
    max-width: 1400px;
}

/* Iconos */
.search-group i {
    font-size: 18px;
    color: #666;
    margin-right: 10px;
}

/* Grupo de campo */
.search-group {
    position: relative;
    display: flex;
    align-items: center;
    background: #f7f9fc;
    border: 1px solid #d1d1d1;
    padding: 12px 16px;
    border-radius: 10px;
    flex: 1 1 100%; /* Ocupa todo el ancho disponible */
    min-width: 0; /* Evita desbordes */
    transition: border-color 0.3s;
}

.search-group:focus-within {
    border-color: #0071c2;
}

/* Inputs */
.search-group input {
    border: none;
    background: transparent;
    font-size: 16px;
    width: 100%;
    color: #333;
    outline: none;
}

input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
}

/* Botón Buscar */
.btn-search {
    background-color: #0071c2;
    color: white;
    padding: 14px 24px;
    border: none;
    border-radius: 10px;
    font-weight: bold;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s;
    flex: 1 1 100%;
    max-width: 100%; /* Asegura que no exceda el contenedor */
}

.btn-search:hover {
    background-color: #005fa3;
}

.pasajeros-dropdown {
    position: relative;
    cursor: pointer;
}

.pasajeros-dropdown .dropdown-content {
    display: none;
    position: absolute;
    top: 110%;
    left: 0;
    background-color: #fff;
    padding: 15px;
    border: 1px solid #ccc;
    border-radius: 10px;
    z-index: 1000; /* Aumentado para evitar superposiciones */
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
    width: 100%;
    min-width: 200px;
}

.pasajeros-dropdown label {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-size: 14px;
    color: #333;
}

.pasajeros-dropdown input[type="number"] {
    width: 80px; /* Más espacio para interacción táctil */
    padding: 8px;
    font-size: 16px;
    margin-left: 10px;
}

/* Responsive para móvil */
@media (max-width: 768px) {
    .search-box {
        flex-direction: column;
        padding: 15px; /* Menos padding para mejor ajuste */
    }

    .search-group {
        padding: 12px 16px;
        min-height: 50px;
        flex-direction: row;
        align-items: center;
        flex: 1 1 100%; /* Ocupa todo el ancho */
        min-width: 0; /* Evita desbordes */
    }

    .search-group input {
        font-size: 16px; /* Más legible */
        padding: 10px 8px; /* Más espacio para tocar */
    }

    .search-group i {
        font-size: 18px;
        margin-right: 10px;
    }

    .btn-search {
        max-width: 100%;
        width: 100%;
        padding: 14px;
        font-size: 16px;
    }
}