/* ========== OPÇÃO 1 - Lupa no Menu ========== */
.search-icon {
    color: #333;
    text-decoration: none;
    padding: 10px 15px;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.search-icon:hover {
    background: #3498db;
    color: white;
    transform: scale(1.05);
}

.search-icon .fas {
    margin-right: 8px;
}

/* Modal de Busca */
.search-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
    z-index: 1000;
}

.search-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    padding: 30px;
    border-radius: 15px;
    width: 90%;
    max-width: 600px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.close-search {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 30px;
    cursor: pointer;
    color: #666;
}

.close-search:hover {
    color: #e74c3c;
}

.search-container h3 {
    margin-bottom: 20px;
    color: #2c3e50;
}

.search-container input {
    width: 100%;
    padding: 15px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    outline: none;
}

.search-container input:focus {
    border-color: #3498db;
}

.search-results {
    margin-top: 20px;
    max-height: 300px;
    overflow-y: auto;
}

/* ========== OPÇÃO 2 - Botão Flutuante ========== */
.floating-search {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
}

.floating-search-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #3498db, #2ecc71);
    border: none;
    color: white;
    font-size: 20px;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
}

.floating-search-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(52, 152, 219, 0.4);
}

/* Modal para Botão Flutuante */
.search-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    padding: 40px;
    border-radius: 20px;
    width: 90%;
    max-width: 500px;
    text-align: center;
}

.search-content h2 {
    margin-bottom: 20px;
    color: #2c3e50;
}

.search-content input {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid #e1e8ed;
    border-radius: 10px;
    font-size: 16px;
    margin-bottom: 20px;
    outline: none;
}

.search-content input:focus {
    border-color: #3498db;
}

/* ========== RESPONSIVO ========== */
@media (max-width: 768px) {
    .search-container {
        width: 95%;
        padding: 20px;
    }
    
    .floating-search {
        bottom: 20px;
        right: 20px;
    }
    
    .floating-search-btn {
        width: 50px;
        height: 50px;
        font-size: 18px;
    }
}