/* ===================================================================
   HOME PAGE - ESTILOS ESPECÍFICOS
   Arquivo separado para evitar conflitos de CSS global
   =================================================================== */

/* ===== ANIMAÇÕES ===== */
@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ===== FEATURED JOBS SECTION ===== */
.featured-jobs-section .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2) !important;
}

/* ===== SEÇÃO DE FILTROS ===== */
.filter-section {
    background: var(--primary-light, #cfe2ff);
    margin: 0;
    padding: 40px 15px;
    border-radius: 0;
    width: 100%;
    box-sizing: border-box;
}

.filter-section h2 {
    text-align: center;
    margin-bottom: 30px;
    font-size: 1.75rem;
    color: #333;
    font-weight: 600;
}

/* Form simplificado com Flexbox */
#filterForm {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
    align-items: flex-end;
    max-width: 1200px;
    margin: 0 auto;
}

/* Grupos de filtros */
.filter-group {
    display: flex;
    flex-direction: column;
    min-width: 180px;
    flex: 1 1 auto;
    max-width: 220px;
}

.filter-group-buttons {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-shrink: 0;
}

/* Labels do Filtro */
.filter-section .form-label {
    font-size: 0.875rem;
    margin-bottom: 6px;
    display: block;
    color: #333;
    font-weight: 500;
}

/* Inputs do Filtro */
.filter-input {
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 10px 14px;
    font-size: 0.95rem;
    min-height: 44px;
    width: 100%;
    transition: all 0.3s ease;
    background-color: #fff;
    color: #333;
}

.filter-input::placeholder {
    color: #999;
    font-size: 0.9rem;
}

.filter-input:focus {
    border-color: var(--primary-color, #0066cc);
    box-shadow: 0 0 0 0.2rem rgba(0, 102, 204, 0.25);
    outline: none;
    background-color: #fff;
}

.filter-input option {
    color: #333;
    background-color: #fff;
    padding: 8px;
}

/* Botões do Filtro */
.filter-btn {
    padding: 10px 24px;
    min-width: 110px;
    height: 44px;
    font-size: 0.95rem;
    font-weight: 500;
    text-align: center;
    border-radius: 6px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    border: none;
    cursor: pointer;
    white-space: nowrap;
}

.filter-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.filter-btn:active {
    transform: translateY(0);
}

.filter-btn i {
    font-size: 0.875rem;
}

/* Responsivo para mobile */
@media (max-width: 768px) {
    .filter-section h2 {
        font-size: 1.4rem;
    }
    
    #filterForm {
        gap: 12px;
    }
    
    .filter-group {
        min-width: 100%;
        max-width: 100%;
    }
    
    .filter-group-buttons {
        width: 100%;
        justify-content: center;
    }
    
    .filter-btn {
        flex: 1;
    }
}

/* Media queries consolidadas em media-queries.css */

/* ===== SEÇÃO DE VAGAS RECENTES ===== */
.recent-jobs-section {
    background: var(--primary-light, #cfe2ff);
    margin: 0;
    padding: 30px 15px;
    border-radius: 0;
    width: 100%;
    box-sizing: border-box;
}

.recent-jobs-section h3 {
    color: var(--primary-color, #0066cc);
    font-weight: 600;
    margin-bottom: 25px;
}

/* ===== FEATURED JOBS SECTION ===== */
.featured-jobs-section {
    background: var(--gradient-primary, linear-gradient(135deg, #0d6efd 0%, #0056b3 100%));
    color: white;
    height: 70vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0;
    margin: 0;
    width: 100%;
}

.featured-jobs-section .container-fluid {
    width: 100%;
    padding: 0 15px;
}

.featured-jobs-section .carousel-track {
    display: flex;
    animation: scroll 40s linear infinite;
}

@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.featured-jobs-section .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

/* ===== REMOVER CONFLITOS BOOTSTRAP ===== */
.filter-section .form-control,
.filter-section .form-select {
    border: 1px solid #ddd;
    padding: 10px 12px;
    height: auto;
    min-height: 44px;
}

.filter-section .form-control:focus,
.filter-section .form-select:focus {
    border-color: var(--primary-color, #0066cc);
    box-shadow: 0 0 0 0.2rem rgba(0, 102, 204, 0.25);
}

/* Resetar estilos padrão que possam conflitar */
.filter-section input,
.filter-section select {
    font-family: inherit;
    line-height: 1.5;
}

.filter-section input::placeholder {
    color: #999;
    opacity: 1;
}

.filter-section input::-webkit-input-placeholder {
    color: #999;
}

.filter-section input::-moz-placeholder {
    color: #999;
}

.filter-section input:-ms-input-placeholder {
    color: #999;
}
