/* ----------------------------- */
/* Buscador                      */
/* ----------------------------- */

.buscador-section {
    padding: 60px 20%;
    position: relative;
    overflow: hidden;
    background-image: url('../img/bg-01.jpg');
    background-size: cover;
    background-attachment: fixed;
    background-position: center;
    min-height: 100vh; /* Ocupa 100% del viewport */
    text-align: center;
    z-index: 1;
    display: flex;
    align-items: center; /* Centra verticalmente el contenido */
}

/* Capa de color superpuesta */
.buscador-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #000000;
    opacity: 0.75;
    z-index: -1;
}

/* Contenedor principal */
.buscador-section .container {
    width: 100%;
    margin: 200px auto 0 auto;
}

/* Estilos Responsive */

@media (max-width: 768px) {
    .portafolio-section {
        padding: 60px 10%;
    }
}

/* Estilos elementales para el buscador */
.search-box {
    max-width: 800px;
    margin: 30px auto 0;
    background-color: rgba(255, 255, 255, 0.9);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.search-form {
    width: 100%;
}

.search-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
}

.filter-group {
    flex: 1;
    min-width: 200px;
}

.filter-group label {
    display: block;
    margin-bottom: 8px;
    color: #333;
    font-weight: 600;
}

.filter-select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
    background-color: white;
    transition: all 0.3s;
}

.filter-select:focus {
    outline: none;
    border-color: #4a90e2;
    box-shadow: 0 0 0 2px rgba(74, 144, 226, 0.2);
}

.search-button {
    background-color: #4a90e2;
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s;
    margin-top: 28px;
    width: 100%;
}

.search-button:hover {
    background-color: #3a7bc8;
}

/* Estilos Responsive */
@media (max-width: 768px) {
    .buscador-section {
        padding: 40px 5%;
        min-height: 100vh;
    }
    
    .search-box {
        padding: 20px;
    }
    
    .search-filters {
        flex-direction: column;
    }
    
    .filter-group {
        min-width: 100%;
    }
    
    .search-button {
        margin-top: 15px;
    }
}